@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface ApiGatewayManagementApiAsyncClient extends AwsClient
builder() method.
The Amazon API Gateway Management API allows you to directly manage runtime aspects of your deployed APIs. To use it, you must explicitly set the SDK's endpoint to point to the endpoint of your deployed API. The endpoint will be of the form https://{api-id}.execute-api.{region}.amazonaws.com/{stage}, or will be the endpoint corresponding to your API's custom domain and base path, if applicable.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CompletableFuture<DeleteConnectionResponse> deleteConnection(DeleteConnectionRequest deleteConnectionRequest)
Delete the connection with the provided id.
deleteConnectionRequest - default CompletableFuture<DeleteConnectionResponse> deleteConnection(Consumer<DeleteConnectionRequest.Builder> deleteConnectionRequest)
Delete the connection with the provided id.
This is a convenience which creates an instance of the DeleteConnectionRequest.Builder avoiding the need
to create one manually via DeleteConnectionRequest.builder()
deleteConnectionRequest - A Consumer that will call methods on DeleteConnectionRequest.Builder to create a request.default CompletableFuture<GetConnectionResponse> getConnection(GetConnectionRequest getConnectionRequest)
Get information about the connection with the provided id.
getConnectionRequest - default CompletableFuture<GetConnectionResponse> getConnection(Consumer<GetConnectionRequest.Builder> getConnectionRequest)
Get information about the connection with the provided id.
This is a convenience which creates an instance of the GetConnectionRequest.Builder avoiding the need to
create one manually via GetConnectionRequest.builder()
getConnectionRequest - A Consumer that will call methods on GetConnectionRequest.Builder to create a request.default CompletableFuture<PostToConnectionResponse> postToConnection(PostToConnectionRequest postToConnectionRequest)
Sends the provided data to the specified connection.
postToConnectionRequest - default CompletableFuture<PostToConnectionResponse> postToConnection(Consumer<PostToConnectionRequest.Builder> postToConnectionRequest)
Sends the provided data to the specified connection.
This is a convenience which creates an instance of the PostToConnectionRequest.Builder avoiding the need
to create one manually via PostToConnectionRequest.builder()
postToConnectionRequest - A Consumer that will call methods on PostToConnectionRequest.Builder to create a request.default ApiGatewayManagementApiServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientstatic ApiGatewayManagementApiAsyncClient create()
ApiGatewayManagementApiAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static ApiGatewayManagementApiAsyncClientBuilder builder()
ApiGatewayManagementApiAsyncClient.Copyright © 2023. All rights reserved.