Interface EksAuthClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
The Amazon EKS Auth API and the AssumeRoleForPodIdentity action are only used by the EKS Pod Identity
Agent.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault AssumeRoleForPodIdentityResponseassumeRoleForPodIdentity(Consumer<AssumeRoleForPodIdentityRequest.Builder> assumeRoleForPodIdentityRequest) The Amazon EKS Auth API and theAssumeRoleForPodIdentityaction are only used by the EKS Pod Identity Agent.default AssumeRoleForPodIdentityResponseassumeRoleForPodIdentity(AssumeRoleForPodIdentityRequest assumeRoleForPodIdentityRequest) The Amazon EKS Auth API and theAssumeRoleForPodIdentityaction are only used by the EKS Pod Identity Agent.static EksAuthClientBuilderbuilder()Create a builder that can be used to configure and create aEksAuthClient.static EksAuthClientcreate()Create aEksAuthClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadataMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
assumeRoleForPodIdentity
default AssumeRoleForPodIdentityResponse assumeRoleForPodIdentity(AssumeRoleForPodIdentityRequest assumeRoleForPodIdentityRequest) throws ThrottlingException, InvalidRequestException, AccessDeniedException, InternalServerException, InvalidTokenException, InvalidParameterException, ExpiredTokenException, ResourceNotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, EksAuthException The Amazon EKS Auth API and the
AssumeRoleForPodIdentityaction are only used by the EKS Pod Identity Agent.We recommend that applications use the Amazon Web Services SDKs to connect to Amazon Web Services services; if credentials from an EKS Pod Identity association are available in the pod, the latest versions of the SDKs use them automatically.
- Parameters:
assumeRoleForPodIdentityRequest-- Returns:
- Result of the AssumeRoleForPodIdentity operation returned by the service.
- See Also:
-
assumeRoleForPodIdentity
default AssumeRoleForPodIdentityResponse assumeRoleForPodIdentity(Consumer<AssumeRoleForPodIdentityRequest.Builder> assumeRoleForPodIdentityRequest) throws ThrottlingException, InvalidRequestException, AccessDeniedException, InternalServerException, InvalidTokenException, InvalidParameterException, ExpiredTokenException, ResourceNotFoundException, ServiceUnavailableException, AwsServiceException, SdkClientException, EksAuthException The Amazon EKS Auth API and the
AssumeRoleForPodIdentityaction are only used by the EKS Pod Identity Agent.We recommend that applications use the Amazon Web Services SDKs to connect to Amazon Web Services services; if credentials from an EKS Pod Identity association are available in the pod, the latest versions of the SDKs use them automatically.
This is a convenience which creates an instance of the
AssumeRoleForPodIdentityRequest.Builderavoiding the need to create one manually viaAssumeRoleForPodIdentityRequest.builder()- Parameters:
assumeRoleForPodIdentityRequest- AConsumerthat will call methods onAssumeRoleForPodIdentityRequest.Builderto create a request.- Returns:
- Result of the AssumeRoleForPodIdentity operation returned by the service.
- See Also:
-
create
Create aEksAuthClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aEksAuthClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-