com.amazonaws.services.securitytoken.AbstractAWSSecurityTokenServiceAsync Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-sts Show documentation
Show all versions of aws-java-sdk-sts Show documentation
The AWS Java SDK for AWS STS module holds the client classes that are used for communicating with AWS Security Token Service
/*
* Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.securitytoken;
import javax.annotation.Generated;
import com.amazonaws.services.securitytoken.model.*;
/**
* Abstract implementation of {@code AWSSecurityTokenServiceAsync}. Convenient method forms pass through to the
* corresponding overload that takes a request object and an {@code AsyncHandler}, which throws an
* {@code UnsupportedOperationException}.
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class AbstractAWSSecurityTokenServiceAsync extends AbstractAWSSecurityTokenService implements AWSSecurityTokenServiceAsync {
protected AbstractAWSSecurityTokenServiceAsync() {
}
@Override
public java.util.concurrent.Future assumeRoleAsync(AssumeRoleRequest request) {
return assumeRoleAsync(request, null);
}
@Override
public java.util.concurrent.Future assumeRoleAsync(AssumeRoleRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future assumeRoleWithSAMLAsync(AssumeRoleWithSAMLRequest request) {
return assumeRoleWithSAMLAsync(request, null);
}
@Override
public java.util.concurrent.Future assumeRoleWithSAMLAsync(AssumeRoleWithSAMLRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future assumeRoleWithWebIdentityAsync(AssumeRoleWithWebIdentityRequest request) {
return assumeRoleWithWebIdentityAsync(request, null);
}
@Override
public java.util.concurrent.Future assumeRoleWithWebIdentityAsync(AssumeRoleWithWebIdentityRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future decodeAuthorizationMessageAsync(DecodeAuthorizationMessageRequest request) {
return decodeAuthorizationMessageAsync(request, null);
}
@Override
public java.util.concurrent.Future decodeAuthorizationMessageAsync(DecodeAuthorizationMessageRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getAccessKeyInfoAsync(GetAccessKeyInfoRequest request) {
return getAccessKeyInfoAsync(request, null);
}
@Override
public java.util.concurrent.Future getAccessKeyInfoAsync(GetAccessKeyInfoRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getCallerIdentityAsync(GetCallerIdentityRequest request) {
return getCallerIdentityAsync(request, null);
}
@Override
public java.util.concurrent.Future getCallerIdentityAsync(GetCallerIdentityRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getFederationTokenAsync(GetFederationTokenRequest request) {
return getFederationTokenAsync(request, null);
}
@Override
public java.util.concurrent.Future getFederationTokenAsync(GetFederationTokenRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
@Override
public java.util.concurrent.Future getSessionTokenAsync(GetSessionTokenRequest request) {
return getSessionTokenAsync(request, null);
}
@Override
public java.util.concurrent.Future getSessionTokenAsync(GetSessionTokenRequest request,
com.amazonaws.handlers.AsyncHandler asyncHandler) {
throw new java.lang.UnsupportedOperationException();
}
/**
* Simplified method form for invoking the GetSessionToken operation.
*
* @see #getSessionTokenAsync(GetSessionTokenRequest)
*/
@Override
public java.util.concurrent.Future getSessionTokenAsync() {
return getSessionTokenAsync(new GetSessionTokenRequest());
}
/**
* Simplified method form for invoking the GetSessionToken operation with an AsyncHandler.
*
* @see #getSessionTokenAsync(GetSessionTokenRequest, com.amazonaws.handlers.AsyncHandler)
*/
@Override
public java.util.concurrent.Future getSessionTokenAsync(
com.amazonaws.handlers.AsyncHandler asyncHandler) {
return getSessionTokenAsync(new GetSessionTokenRequest(), asyncHandler);
}
}