Interface SigninAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
AWS Sign-In manages authentication for AWS services. It implements OAuth 2.0, providing secure token exchange and refresh capabilities.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic SigninAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aSigninAsyncClient.static SigninAsyncClientcreate()Create aSigninAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createOAuth2Token(Consumer<CreateOAuth2TokenRequest.Builder> createOAuth2TokenRequest) Exchanges an authorization code or refresh token for an OAuth 2.0 access token and refresh token.createOAuth2Token(CreateOAuth2TokenRequest createOAuth2TokenRequest) Exchanges an authorization code or refresh token for an OAuth 2.0 access token and refresh token.createOAuth2TokenWithIAM(Consumer<CreateOAuth2TokenWithIamRequest.Builder> createOAuth2TokenWithIamRequest) Exchanges client credentials for an OAuth 2.0 access token scoped to a resource, which you can use to access AWS services from applications.createOAuth2TokenWithIAM(CreateOAuth2TokenWithIamRequest createOAuth2TokenWithIamRequest) Exchanges client credentials for an OAuth 2.0 access token scoped to a resource, which you can use to access AWS services from applications.createOAuth2TokenWithTokenExchange(Consumer<CreateOAuth2TokenWithTokenExchangeRequest.Builder> createOAuth2TokenWithTokenExchangeRequest) Exchanges a supported token for an OAuth 2.0 access token scoped to a resource, which you can use to access AWS services from applications.createOAuth2TokenWithTokenExchange(CreateOAuth2TokenWithTokenExchangeRequest createOAuth2TokenWithTokenExchangeRequest) Exchanges a supported token for an OAuth 2.0 access token scoped to a resource, which you can use to access AWS services from applications.deleteConsoleAuthorizationConfiguration(Consumer<DeleteConsoleAuthorizationConfigurationRequest.Builder> deleteConsoleAuthorizationConfigurationRequest) Delete console authorization configuration with automatic scope detectiondeleteConsoleAuthorizationConfiguration(DeleteConsoleAuthorizationConfigurationRequest deleteConsoleAuthorizationConfigurationRequest) Delete console authorization configuration with automatic scope detectiondeleteResourcePermissionStatement(Consumer<DeleteResourcePermissionStatementRequest.Builder> deleteResourcePermissionStatementRequest) Remove a permission statement from the account's SignIn resource-based policydeleteResourcePermissionStatement(DeleteResourcePermissionStatementRequest deleteResourcePermissionStatementRequest) Remove a permission statement from the account's SignIn resource-based policygetConsoleAuthorizationConfiguration(Consumer<GetConsoleAuthorizationConfigurationRequest.Builder> getConsoleAuthorizationConfigurationRequest) Get console authorization configuration with automatic scope detectiongetConsoleAuthorizationConfiguration(GetConsoleAuthorizationConfigurationRequest getConsoleAuthorizationConfigurationRequest) Get console authorization configuration with automatic scope detectiongetResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Retrieve the account's consolidated SignIn resource-based policygetResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) Retrieve the account's consolidated SignIn resource-based policyintrospectOAuth2TokenWithIAM(Consumer<IntrospectOAuth2TokenWithIamRequest.Builder> introspectOAuth2TokenWithIamRequest) Inspects the metadata and active state of an OAuth 2.0 access token or refresh token.introspectOAuth2TokenWithIAM(IntrospectOAuth2TokenWithIamRequest introspectOAuth2TokenWithIamRequest) Inspects the metadata and active state of an OAuth 2.0 access token or refresh token.listResourcePermissionStatements(Consumer<ListResourcePermissionStatementsRequest.Builder> listResourcePermissionStatementsRequest) Retrieve all permission statements in the account's SignIn resource-based policylistResourcePermissionStatements(ListResourcePermissionStatementsRequest listResourcePermissionStatementsRequest) Retrieve all permission statements in the account's SignIn resource-based policylistResourcePermissionStatementsPaginator(Consumer<ListResourcePermissionStatementsRequest.Builder> listResourcePermissionStatementsRequest) This is a variant oflistResourcePermissionStatements(software.amazon.awssdk.services.signin.model.ListResourcePermissionStatementsRequest)operation.listResourcePermissionStatementsPaginator(ListResourcePermissionStatementsRequest listResourcePermissionStatementsRequest) This is a variant oflistResourcePermissionStatements(software.amazon.awssdk.services.signin.model.ListResourcePermissionStatementsRequest)operation.putConsoleAuthorizationConfiguration(Consumer<PutConsoleAuthorizationConfigurationRequest.Builder> putConsoleAuthorizationConfigurationRequest) Enable console authorization configuration with automatic scope detectionputConsoleAuthorizationConfiguration(PutConsoleAuthorizationConfigurationRequest putConsoleAuthorizationConfigurationRequest) Enable console authorization configuration with automatic scope detectionputResourcePermissionStatement(Consumer<PutResourcePermissionStatementRequest.Builder> putResourcePermissionStatementRequest) Create a permission statement in the account's SignIn resource-based policyputResourcePermissionStatement(PutResourcePermissionStatementRequest putResourcePermissionStatementRequest) Create a permission statement in the account's SignIn resource-based policyrevokeOAuth2TokenWithIAM(Consumer<RevokeOAuth2TokenWithIamRequest.Builder> revokeOAuth2TokenWithIamRequest) Revokes an OAuth 2.0 refresh token and its associated token chain.revokeOAuth2TokenWithIAM(RevokeOAuth2TokenWithIamRequest revokeOAuth2TokenWithIamRequest) Revokes an OAuth 2.0 refresh token and its associated token chain.default SigninServiceClientConfigurationThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationMethods 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
-
createOAuth2Token
default CompletableFuture<CreateOAuth2TokenResponse> createOAuth2Token(CreateOAuth2TokenRequest createOAuth2TokenRequest) Exchanges an authorization code or refresh token for an OAuth 2.0 access token and refresh token.
- Parameters:
createOAuth2TokenRequest- Input structure for CreateOAuth2Token operationContains flattened token operation inputs for both authorization code and refresh token flows. The operation type is determined by the grant_type parameter in the request body.
- Returns:
- A Java Future containing the result of the CreateOAuth2Token operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createOAuth2Token
default CompletableFuture<CreateOAuth2TokenResponse> createOAuth2Token(Consumer<CreateOAuth2TokenRequest.Builder> createOAuth2TokenRequest) Exchanges an authorization code or refresh token for an OAuth 2.0 access token and refresh token.
This is a convenience which creates an instance of the
CreateOAuth2TokenRequest.Builderavoiding the need to create one manually viaCreateOAuth2TokenRequest.builder()- Parameters:
createOAuth2TokenRequest- AConsumerthat will call methods onCreateOAuth2TokenRequest.Builderto create a request. Input structure for CreateOAuth2Token operationContains flattened token operation inputs for both authorization code and refresh token flows. The operation type is determined by the grant_type parameter in the request body.
- Returns:
- A Java Future containing the result of the CreateOAuth2Token operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createOAuth2TokenWithIAM
default CompletableFuture<CreateOAuth2TokenWithIamResponse> createOAuth2TokenWithIAM(CreateOAuth2TokenWithIamRequest createOAuth2TokenWithIamRequest) Exchanges client credentials for an OAuth 2.0 access token scoped to a resource, which you can use to access AWS services from applications.
- Parameters:
createOAuth2TokenWithIamRequest- Input structure for CreateOAuth2TokenWithIAM operation- Returns:
- A Java Future containing the result of the CreateOAuth2TokenWithIAM operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createOAuth2TokenWithIAM
default CompletableFuture<CreateOAuth2TokenWithIamResponse> createOAuth2TokenWithIAM(Consumer<CreateOAuth2TokenWithIamRequest.Builder> createOAuth2TokenWithIamRequest) Exchanges client credentials for an OAuth 2.0 access token scoped to a resource, which you can use to access AWS services from applications.
This is a convenience which creates an instance of the
CreateOAuth2TokenWithIamRequest.Builderavoiding the need to create one manually viaCreateOAuth2TokenWithIamRequest.builder()- Parameters:
createOAuth2TokenWithIamRequest- AConsumerthat will call methods onCreateOAuth2TokenWithIamRequest.Builderto create a request. Input structure for CreateOAuth2TokenWithIAM operation- Returns:
- A Java Future containing the result of the CreateOAuth2TokenWithIAM operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createOAuth2TokenWithTokenExchange
default CompletableFuture<CreateOAuth2TokenWithTokenExchangeResponse> createOAuth2TokenWithTokenExchange(CreateOAuth2TokenWithTokenExchangeRequest createOAuth2TokenWithTokenExchangeRequest) Exchanges a supported token for an OAuth 2.0 access token scoped to a resource, which you can use to access AWS services from applications.
- Parameters:
createOAuth2TokenWithTokenExchangeRequest- Input structure for CreateOAuth2TokenWithTokenExchange operation- Returns:
- A Java Future containing the result of the CreateOAuth2TokenWithTokenExchange operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidGrantException The request failed because the provided grant is invalid or expired.
- InvalidScopeException The request failed because the requested scope is invalid or exceeds the scope that can be granted.
- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ServiceUnavailableException The request failed because a dependency is temporarily unavailable. You can retry the request.
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createOAuth2TokenWithTokenExchange
default CompletableFuture<CreateOAuth2TokenWithTokenExchangeResponse> createOAuth2TokenWithTokenExchange(Consumer<CreateOAuth2TokenWithTokenExchangeRequest.Builder> createOAuth2TokenWithTokenExchangeRequest) Exchanges a supported token for an OAuth 2.0 access token scoped to a resource, which you can use to access AWS services from applications.
This is a convenience which creates an instance of the
CreateOAuth2TokenWithTokenExchangeRequest.Builderavoiding the need to create one manually viaCreateOAuth2TokenWithTokenExchangeRequest.builder()- Parameters:
createOAuth2TokenWithTokenExchangeRequest- AConsumerthat will call methods onCreateOAuth2TokenWithTokenExchangeRequest.Builderto create a request. Input structure for CreateOAuth2TokenWithTokenExchange operation- Returns:
- A Java Future containing the result of the CreateOAuth2TokenWithTokenExchange operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidGrantException The request failed because the provided grant is invalid or expired.
- InvalidScopeException The request failed because the requested scope is invalid or exceeds the scope that can be granted.
- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ServiceUnavailableException The request failed because a dependency is temporarily unavailable. You can retry the request.
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteConsoleAuthorizationConfiguration
default CompletableFuture<DeleteConsoleAuthorizationConfigurationResponse> deleteConsoleAuthorizationConfiguration(DeleteConsoleAuthorizationConfigurationRequest deleteConsoleAuthorizationConfigurationRequest) Delete console authorization configuration with automatic scope detection
- Parameters:
deleteConsoleAuthorizationConfigurationRequest- Input for DeleteConsoleAuthorizationConfiguration operation- Returns:
- A Java Future containing the result of the DeleteConsoleAuthorizationConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ResourceNotFoundException Error thrown when requested resource is not found
HTTP Status Code: 404 Not Found
Used when the specified resource does not exist
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteConsoleAuthorizationConfiguration
default CompletableFuture<DeleteConsoleAuthorizationConfigurationResponse> deleteConsoleAuthorizationConfiguration(Consumer<DeleteConsoleAuthorizationConfigurationRequest.Builder> deleteConsoleAuthorizationConfigurationRequest) Delete console authorization configuration with automatic scope detection
This is a convenience which creates an instance of the
DeleteConsoleAuthorizationConfigurationRequest.Builderavoiding the need to create one manually viaDeleteConsoleAuthorizationConfigurationRequest.builder()- Parameters:
deleteConsoleAuthorizationConfigurationRequest- AConsumerthat will call methods onDeleteConsoleAuthorizationConfigurationRequest.Builderto create a request. Input for DeleteConsoleAuthorizationConfiguration operation- Returns:
- A Java Future containing the result of the DeleteConsoleAuthorizationConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ResourceNotFoundException Error thrown when requested resource is not found
HTTP Status Code: 404 Not Found
Used when the specified resource does not exist
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourcePermissionStatement
default CompletableFuture<DeleteResourcePermissionStatementResponse> deleteResourcePermissionStatement(DeleteResourcePermissionStatementRequest deleteResourcePermissionStatementRequest) Remove a permission statement from the account's SignIn resource-based policy
- Parameters:
deleteResourcePermissionStatementRequest- Input for DeleteResourcePermissionStatement operation- Returns:
- A Java Future containing the result of the DeleteResourcePermissionStatement operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ResourceNotFoundException Error thrown when requested resource is not found
HTTP Status Code: 404 Not Found
Used when the specified resource does not exist
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResourcePermissionStatement
default CompletableFuture<DeleteResourcePermissionStatementResponse> deleteResourcePermissionStatement(Consumer<DeleteResourcePermissionStatementRequest.Builder> deleteResourcePermissionStatementRequest) Remove a permission statement from the account's SignIn resource-based policy
This is a convenience which creates an instance of the
DeleteResourcePermissionStatementRequest.Builderavoiding the need to create one manually viaDeleteResourcePermissionStatementRequest.builder()- Parameters:
deleteResourcePermissionStatementRequest- AConsumerthat will call methods onDeleteResourcePermissionStatementRequest.Builderto create a request. Input for DeleteResourcePermissionStatement operation- Returns:
- A Java Future containing the result of the DeleteResourcePermissionStatement operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ResourceNotFoundException Error thrown when requested resource is not found
HTTP Status Code: 404 Not Found
Used when the specified resource does not exist
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getConsoleAuthorizationConfiguration
default CompletableFuture<GetConsoleAuthorizationConfigurationResponse> getConsoleAuthorizationConfiguration(GetConsoleAuthorizationConfigurationRequest getConsoleAuthorizationConfigurationRequest) Get console authorization configuration with automatic scope detection
- Parameters:
getConsoleAuthorizationConfigurationRequest- Input for GetConsoleAuthorizationConfiguration operation- Returns:
- A Java Future containing the result of the GetConsoleAuthorizationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ResourceNotFoundException Error thrown when requested resource is not found
HTTP Status Code: 404 Not Found
Used when the specified resource does not exist
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getConsoleAuthorizationConfiguration
default CompletableFuture<GetConsoleAuthorizationConfigurationResponse> getConsoleAuthorizationConfiguration(Consumer<GetConsoleAuthorizationConfigurationRequest.Builder> getConsoleAuthorizationConfigurationRequest) Get console authorization configuration with automatic scope detection
This is a convenience which creates an instance of the
GetConsoleAuthorizationConfigurationRequest.Builderavoiding the need to create one manually viaGetConsoleAuthorizationConfigurationRequest.builder()- Parameters:
getConsoleAuthorizationConfigurationRequest- AConsumerthat will call methods onGetConsoleAuthorizationConfigurationRequest.Builderto create a request. Input for GetConsoleAuthorizationConfiguration operation- Returns:
- A Java Future containing the result of the GetConsoleAuthorizationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ResourceNotFoundException Error thrown when requested resource is not found
HTTP Status Code: 404 Not Found
Used when the specified resource does not exist
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourcePolicy
default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) Retrieve the account's consolidated SignIn resource-based policy
- Parameters:
getResourcePolicyRequest- Input for GetResourcePolicy operation- Returns:
- A Java Future containing the result of the GetResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ResourceNotFoundException Error thrown when requested resource is not found
HTTP Status Code: 404 Not Found
Used when the specified resource does not exist
- InternalServerException The request failed because of an internal server error.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourcePolicy
default CompletableFuture<GetResourcePolicyResponse> getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Retrieve the account's consolidated SignIn resource-based policy
This is a convenience which creates an instance of the
GetResourcePolicyRequest.Builderavoiding the need to create one manually viaGetResourcePolicyRequest.builder()- Parameters:
getResourcePolicyRequest- AConsumerthat will call methods onGetResourcePolicyRequest.Builderto create a request. Input for GetResourcePolicy operation- Returns:
- A Java Future containing the result of the GetResourcePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ResourceNotFoundException Error thrown when requested resource is not found
HTTP Status Code: 404 Not Found
Used when the specified resource does not exist
- InternalServerException The request failed because of an internal server error.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
introspectOAuth2TokenWithIAM
default CompletableFuture<IntrospectOAuth2TokenWithIamResponse> introspectOAuth2TokenWithIAM(IntrospectOAuth2TokenWithIamRequest introspectOAuth2TokenWithIamRequest) Inspects the metadata and active state of an OAuth 2.0 access token or refresh token.
Implements RFC 7662 OAuth 2.0 Token Introspection over a SigV4-authenticated endpoint. Returns the claims associated with a token issued by AWS Sign-In.
- Parameters:
introspectOAuth2TokenWithIamRequest- Input structure for IntrospectOAuth2TokenWithIAM operationRFC 7662 §2.1 introspection request. Contains the token to inspect and an optional hint about the token's type.
- Returns:
- A Java Future containing the result of the IntrospectOAuth2TokenWithIAM operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
introspectOAuth2TokenWithIAM
default CompletableFuture<IntrospectOAuth2TokenWithIamResponse> introspectOAuth2TokenWithIAM(Consumer<IntrospectOAuth2TokenWithIamRequest.Builder> introspectOAuth2TokenWithIamRequest) Inspects the metadata and active state of an OAuth 2.0 access token or refresh token.
Implements RFC 7662 OAuth 2.0 Token Introspection over a SigV4-authenticated endpoint. Returns the claims associated with a token issued by AWS Sign-In.
This is a convenience which creates an instance of the
IntrospectOAuth2TokenWithIamRequest.Builderavoiding the need to create one manually viaIntrospectOAuth2TokenWithIamRequest.builder()- Parameters:
introspectOAuth2TokenWithIamRequest- AConsumerthat will call methods onIntrospectOAuth2TokenWithIamRequest.Builderto create a request. Input structure for IntrospectOAuth2TokenWithIAM operationRFC 7662 §2.1 introspection request. Contains the token to inspect and an optional hint about the token's type.
- Returns:
- A Java Future containing the result of the IntrospectOAuth2TokenWithIAM operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourcePermissionStatements
default CompletableFuture<ListResourcePermissionStatementsResponse> listResourcePermissionStatements(ListResourcePermissionStatementsRequest listResourcePermissionStatementsRequest) Retrieve all permission statements in the account's SignIn resource-based policy
- Parameters:
listResourcePermissionStatementsRequest- Input for ListResourcePermissionStatements operation- Returns:
- A Java Future containing the result of the ListResourcePermissionStatements operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ResourceNotFoundException Error thrown when requested resource is not found
HTTP Status Code: 404 Not Found
Used when the specified resource does not exist
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourcePermissionStatements
default CompletableFuture<ListResourcePermissionStatementsResponse> listResourcePermissionStatements(Consumer<ListResourcePermissionStatementsRequest.Builder> listResourcePermissionStatementsRequest) Retrieve all permission statements in the account's SignIn resource-based policy
This is a convenience which creates an instance of the
ListResourcePermissionStatementsRequest.Builderavoiding the need to create one manually viaListResourcePermissionStatementsRequest.builder()- Parameters:
listResourcePermissionStatementsRequest- AConsumerthat will call methods onListResourcePermissionStatementsRequest.Builderto create a request. Input for ListResourcePermissionStatements operation- Returns:
- A Java Future containing the result of the ListResourcePermissionStatements operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ResourceNotFoundException Error thrown when requested resource is not found
HTTP Status Code: 404 Not Found
Used when the specified resource does not exist
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourcePermissionStatementsPaginator
default ListResourcePermissionStatementsPublisher listResourcePermissionStatementsPaginator(ListResourcePermissionStatementsRequest listResourcePermissionStatementsRequest) This is a variant of
listResourcePermissionStatements(software.amazon.awssdk.services.signin.model.ListResourcePermissionStatementsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.signin.paginators.ListResourcePermissionStatementsPublisher publisher = client.listResourcePermissionStatementsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.signin.paginators.ListResourcePermissionStatementsPublisher publisher = client.listResourcePermissionStatementsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signin.model.ListResourcePermissionStatementsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.signin.model.ListResourcePermissionStatementsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourcePermissionStatements(software.amazon.awssdk.services.signin.model.ListResourcePermissionStatementsRequest)operation.- Parameters:
listResourcePermissionStatementsRequest- Input for ListResourcePermissionStatements operation- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ResourceNotFoundException Error thrown when requested resource is not found
HTTP Status Code: 404 Not Found
Used when the specified resource does not exist
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourcePermissionStatementsPaginator
default ListResourcePermissionStatementsPublisher listResourcePermissionStatementsPaginator(Consumer<ListResourcePermissionStatementsRequest.Builder> listResourcePermissionStatementsRequest) This is a variant of
listResourcePermissionStatements(software.amazon.awssdk.services.signin.model.ListResourcePermissionStatementsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.signin.paginators.ListResourcePermissionStatementsPublisher publisher = client.listResourcePermissionStatementsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.signin.paginators.ListResourcePermissionStatementsPublisher publisher = client.listResourcePermissionStatementsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signin.model.ListResourcePermissionStatementsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.signin.model.ListResourcePermissionStatementsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourcePermissionStatements(software.amazon.awssdk.services.signin.model.ListResourcePermissionStatementsRequest)operation.
This is a convenience which creates an instance of the
ListResourcePermissionStatementsRequest.Builderavoiding the need to create one manually viaListResourcePermissionStatementsRequest.builder()- Parameters:
listResourcePermissionStatementsRequest- AConsumerthat will call methods onListResourcePermissionStatementsRequest.Builderto create a request. Input for ListResourcePermissionStatements operation- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ResourceNotFoundException Error thrown when requested resource is not found
HTTP Status Code: 404 Not Found
Used when the specified resource does not exist
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putConsoleAuthorizationConfiguration
default CompletableFuture<PutConsoleAuthorizationConfigurationResponse> putConsoleAuthorizationConfiguration(PutConsoleAuthorizationConfigurationRequest putConsoleAuthorizationConfigurationRequest) Enable console authorization configuration with automatic scope detection
- Parameters:
putConsoleAuthorizationConfigurationRequest- Input for PutConsoleAuthorizationConfiguration operation- Returns:
- A Java Future containing the result of the PutConsoleAuthorizationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ConflictException Error thrown when request conflicts with current state
HTTP Status Code: 409 Conflict
Used when the request conflicts with the current state of the resource
- ResourceNotFoundException Error thrown when requested resource is not found
HTTP Status Code: 404 Not Found
Used when the specified resource does not exist
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putConsoleAuthorizationConfiguration
default CompletableFuture<PutConsoleAuthorizationConfigurationResponse> putConsoleAuthorizationConfiguration(Consumer<PutConsoleAuthorizationConfigurationRequest.Builder> putConsoleAuthorizationConfigurationRequest) Enable console authorization configuration with automatic scope detection
This is a convenience which creates an instance of the
PutConsoleAuthorizationConfigurationRequest.Builderavoiding the need to create one manually viaPutConsoleAuthorizationConfigurationRequest.builder()- Parameters:
putConsoleAuthorizationConfigurationRequest- AConsumerthat will call methods onPutConsoleAuthorizationConfigurationRequest.Builderto create a request. Input for PutConsoleAuthorizationConfiguration operation- Returns:
- A Java Future containing the result of the PutConsoleAuthorizationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ConflictException Error thrown when request conflicts with current state
HTTP Status Code: 409 Conflict
Used when the request conflicts with the current state of the resource
- ResourceNotFoundException Error thrown when requested resource is not found
HTTP Status Code: 404 Not Found
Used when the specified resource does not exist
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putResourcePermissionStatement
default CompletableFuture<PutResourcePermissionStatementResponse> putResourcePermissionStatement(PutResourcePermissionStatementRequest putResourcePermissionStatementRequest) Create a permission statement in the account's SignIn resource-based policy
- Parameters:
putResourcePermissionStatementRequest- Input for PutResourcePermissionStatement operation- Returns:
- A Java Future containing the result of the PutResourcePermissionStatement operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ConflictException Error thrown when request conflicts with current state
HTTP Status Code: 409 Conflict
Used when the request conflicts with the current state of the resource
- ServiceQuotaExceededException Error thrown when service quota is exceeded
HTTP Status Code: 402 Payment Required (used as quota exceeded indicator)
Used when the request would cause a service quota to be exceeded
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putResourcePermissionStatement
default CompletableFuture<PutResourcePermissionStatementResponse> putResourcePermissionStatement(Consumer<PutResourcePermissionStatementRequest.Builder> putResourcePermissionStatementRequest) Create a permission statement in the account's SignIn resource-based policy
This is a convenience which creates an instance of the
PutResourcePermissionStatementRequest.Builderavoiding the need to create one manually viaPutResourcePermissionStatementRequest.builder()- Parameters:
putResourcePermissionStatementRequest- AConsumerthat will call methods onPutResourcePermissionStatementRequest.Builderto create a request. Input for PutResourcePermissionStatement operation- Returns:
- A Java Future containing the result of the PutResourcePermissionStatement operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- ConflictException Error thrown when request conflicts with current state
HTTP Status Code: 409 Conflict
Used when the request conflicts with the current state of the resource
- ServiceQuotaExceededException Error thrown when service quota is exceeded
HTTP Status Code: 402 Payment Required (used as quota exceeded indicator)
Used when the request would cause a service quota to be exceeded
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokeOAuth2TokenWithIAM
default CompletableFuture<RevokeOAuth2TokenWithIamResponse> revokeOAuth2TokenWithIAM(RevokeOAuth2TokenWithIamRequest revokeOAuth2TokenWithIamRequest) Revokes an OAuth 2.0 refresh token and its associated token chain.
- Parameters:
revokeOAuth2TokenWithIamRequest- Input structure for RevokeOAuth2TokenWithIAM operationRFC 7009 §2.1 revocation request. Contains the refresh_token to revoke.
- Returns:
- A Java Future containing the result of the RevokeOAuth2TokenWithIAM operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokeOAuth2TokenWithIAM
default CompletableFuture<RevokeOAuth2TokenWithIamResponse> revokeOAuth2TokenWithIAM(Consumer<RevokeOAuth2TokenWithIamRequest.Builder> revokeOAuth2TokenWithIamRequest) Revokes an OAuth 2.0 refresh token and its associated token chain.
This is a convenience which creates an instance of the
RevokeOAuth2TokenWithIamRequest.Builderavoiding the need to create one manually viaRevokeOAuth2TokenWithIamRequest.builder()- Parameters:
revokeOAuth2TokenWithIamRequest- AConsumerthat will call methods onRevokeOAuth2TokenWithIamRequest.Builderto create a request. Input structure for RevokeOAuth2TokenWithIAM operationRFC 7009 §2.1 revocation request. Contains the refresh_token to revoke.
- Returns:
- A Java Future containing the result of the RevokeOAuth2TokenWithIAM operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- TooManyRequestsErrorException The request failed because you exceeded the request rate limit for this operation.
- InternalServerException The request failed because of an internal server error.
- ValidationException The request failed because it contains a malformed, missing, or invalid parameter.
- AccessDeniedException You do not have sufficient access to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SigninException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
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
-
create
Create aSigninAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aSigninAsyncClient.
-