@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface AmpAsyncClient extends AwsClient
builder() method.
Amazon Managed Service for Prometheus
| 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<CreateAlertManagerDefinitionResponse> createAlertManagerDefinition(CreateAlertManagerDefinitionRequest createAlertManagerDefinitionRequest)
Create an alert manager definition.
createAlertManagerDefinitionRequest - Represents the input of a CreateAlertManagerDefinition operation.default CompletableFuture<CreateAlertManagerDefinitionResponse> createAlertManagerDefinition(Consumer<CreateAlertManagerDefinitionRequest.Builder> createAlertManagerDefinitionRequest)
Create an alert manager definition.
This is a convenience which creates an instance of the CreateAlertManagerDefinitionRequest.Builder
avoiding the need to create one manually via CreateAlertManagerDefinitionRequest.builder()
createAlertManagerDefinitionRequest - A Consumer that will call methods on CreateAlertManagerDefinitionRequest.Builder to create
a request. Represents the input of a CreateAlertManagerDefinition operation.default CompletableFuture<CreateLoggingConfigurationResponse> createLoggingConfiguration(CreateLoggingConfigurationRequest createLoggingConfigurationRequest)
Create logging configuration.
createLoggingConfigurationRequest - Represents the input of a CreateLoggingConfiguration operation.default CompletableFuture<CreateLoggingConfigurationResponse> createLoggingConfiguration(Consumer<CreateLoggingConfigurationRequest.Builder> createLoggingConfigurationRequest)
Create logging configuration.
This is a convenience which creates an instance of the CreateLoggingConfigurationRequest.Builder avoiding
the need to create one manually via CreateLoggingConfigurationRequest.builder()
createLoggingConfigurationRequest - A Consumer that will call methods on CreateLoggingConfigurationRequest.Builder to create a
request. Represents the input of a CreateLoggingConfiguration operation.default CompletableFuture<CreateRuleGroupsNamespaceResponse> createRuleGroupsNamespace(CreateRuleGroupsNamespaceRequest createRuleGroupsNamespaceRequest)
Create a rule group namespace.
createRuleGroupsNamespaceRequest - Represents the input of a CreateRuleGroupsNamespace operation.default CompletableFuture<CreateRuleGroupsNamespaceResponse> createRuleGroupsNamespace(Consumer<CreateRuleGroupsNamespaceRequest.Builder> createRuleGroupsNamespaceRequest)
Create a rule group namespace.
This is a convenience which creates an instance of the CreateRuleGroupsNamespaceRequest.Builder avoiding
the need to create one manually via CreateRuleGroupsNamespaceRequest.builder()
createRuleGroupsNamespaceRequest - A Consumer that will call methods on CreateRuleGroupsNamespaceRequest.Builder to create a
request. Represents the input of a CreateRuleGroupsNamespace operation.default CompletableFuture<CreateWorkspaceResponse> createWorkspace(CreateWorkspaceRequest createWorkspaceRequest)
Creates a new AMP workspace.
createWorkspaceRequest - Represents the input of a CreateWorkspace operation.default CompletableFuture<CreateWorkspaceResponse> createWorkspace(Consumer<CreateWorkspaceRequest.Builder> createWorkspaceRequest)
Creates a new AMP workspace.
This is a convenience which creates an instance of the CreateWorkspaceRequest.Builder avoiding the need
to create one manually via CreateWorkspaceRequest.builder()
createWorkspaceRequest - A Consumer that will call methods on CreateWorkspaceRequest.Builder to create a request.
Represents the input of a CreateWorkspace operation.default CompletableFuture<DeleteAlertManagerDefinitionResponse> deleteAlertManagerDefinition(DeleteAlertManagerDefinitionRequest deleteAlertManagerDefinitionRequest)
Deletes an alert manager definition.
deleteAlertManagerDefinitionRequest - Represents the input of a DeleteAlertManagerDefinition operation.default CompletableFuture<DeleteAlertManagerDefinitionResponse> deleteAlertManagerDefinition(Consumer<DeleteAlertManagerDefinitionRequest.Builder> deleteAlertManagerDefinitionRequest)
Deletes an alert manager definition.
This is a convenience which creates an instance of the DeleteAlertManagerDefinitionRequest.Builder
avoiding the need to create one manually via DeleteAlertManagerDefinitionRequest.builder()
deleteAlertManagerDefinitionRequest - A Consumer that will call methods on DeleteAlertManagerDefinitionRequest.Builder to create
a request. Represents the input of a DeleteAlertManagerDefinition operation.default CompletableFuture<DeleteLoggingConfigurationResponse> deleteLoggingConfiguration(DeleteLoggingConfigurationRequest deleteLoggingConfigurationRequest)
Delete logging configuration.
deleteLoggingConfigurationRequest - Represents the input of a DeleteLoggingConfiguration operation.default CompletableFuture<DeleteLoggingConfigurationResponse> deleteLoggingConfiguration(Consumer<DeleteLoggingConfigurationRequest.Builder> deleteLoggingConfigurationRequest)
Delete logging configuration.
This is a convenience which creates an instance of the DeleteLoggingConfigurationRequest.Builder avoiding
the need to create one manually via DeleteLoggingConfigurationRequest.builder()
deleteLoggingConfigurationRequest - A Consumer that will call methods on DeleteLoggingConfigurationRequest.Builder to create a
request. Represents the input of a DeleteLoggingConfiguration operation.default CompletableFuture<DeleteRuleGroupsNamespaceResponse> deleteRuleGroupsNamespace(DeleteRuleGroupsNamespaceRequest deleteRuleGroupsNamespaceRequest)
Delete a rule groups namespace.
deleteRuleGroupsNamespaceRequest - Represents the input of a DeleteRuleGroupsNamespace operation.default CompletableFuture<DeleteRuleGroupsNamespaceResponse> deleteRuleGroupsNamespace(Consumer<DeleteRuleGroupsNamespaceRequest.Builder> deleteRuleGroupsNamespaceRequest)
Delete a rule groups namespace.
This is a convenience which creates an instance of the DeleteRuleGroupsNamespaceRequest.Builder avoiding
the need to create one manually via DeleteRuleGroupsNamespaceRequest.builder()
deleteRuleGroupsNamespaceRequest - A Consumer that will call methods on DeleteRuleGroupsNamespaceRequest.Builder to create a
request. Represents the input of a DeleteRuleGroupsNamespace operation.default CompletableFuture<DeleteWorkspaceResponse> deleteWorkspace(DeleteWorkspaceRequest deleteWorkspaceRequest)
Deletes an AMP workspace.
deleteWorkspaceRequest - Represents the input of a DeleteWorkspace operation.default CompletableFuture<DeleteWorkspaceResponse> deleteWorkspace(Consumer<DeleteWorkspaceRequest.Builder> deleteWorkspaceRequest)
Deletes an AMP workspace.
This is a convenience which creates an instance of the DeleteWorkspaceRequest.Builder avoiding the need
to create one manually via DeleteWorkspaceRequest.builder()
deleteWorkspaceRequest - A Consumer that will call methods on DeleteWorkspaceRequest.Builder to create a request.
Represents the input of a DeleteWorkspace operation.default CompletableFuture<DescribeAlertManagerDefinitionResponse> describeAlertManagerDefinition(DescribeAlertManagerDefinitionRequest describeAlertManagerDefinitionRequest)
Describes an alert manager definition.
describeAlertManagerDefinitionRequest - Represents the input of a DescribeAlertManagerDefinition operation.default CompletableFuture<DescribeAlertManagerDefinitionResponse> describeAlertManagerDefinition(Consumer<DescribeAlertManagerDefinitionRequest.Builder> describeAlertManagerDefinitionRequest)
Describes an alert manager definition.
This is a convenience which creates an instance of the DescribeAlertManagerDefinitionRequest.Builder
avoiding the need to create one manually via DescribeAlertManagerDefinitionRequest.builder()
describeAlertManagerDefinitionRequest - A Consumer that will call methods on DescribeAlertManagerDefinitionRequest.Builder to
create a request. Represents the input of a DescribeAlertManagerDefinition operation.default CompletableFuture<DescribeLoggingConfigurationResponse> describeLoggingConfiguration(DescribeLoggingConfigurationRequest describeLoggingConfigurationRequest)
Describes logging configuration.
describeLoggingConfigurationRequest - Represents the input of a DescribeLoggingConfiguration operation.default CompletableFuture<DescribeLoggingConfigurationResponse> describeLoggingConfiguration(Consumer<DescribeLoggingConfigurationRequest.Builder> describeLoggingConfigurationRequest)
Describes logging configuration.
This is a convenience which creates an instance of the DescribeLoggingConfigurationRequest.Builder
avoiding the need to create one manually via DescribeLoggingConfigurationRequest.builder()
describeLoggingConfigurationRequest - A Consumer that will call methods on DescribeLoggingConfigurationRequest.Builder to create
a request. Represents the input of a DescribeLoggingConfiguration operation.default CompletableFuture<DescribeRuleGroupsNamespaceResponse> describeRuleGroupsNamespace(DescribeRuleGroupsNamespaceRequest describeRuleGroupsNamespaceRequest)
Describe a rule groups namespace.
describeRuleGroupsNamespaceRequest - Represents the input of a DescribeRuleGroupsNamespace operation.default CompletableFuture<DescribeRuleGroupsNamespaceResponse> describeRuleGroupsNamespace(Consumer<DescribeRuleGroupsNamespaceRequest.Builder> describeRuleGroupsNamespaceRequest)
Describe a rule groups namespace.
This is a convenience which creates an instance of the DescribeRuleGroupsNamespaceRequest.Builder
avoiding the need to create one manually via DescribeRuleGroupsNamespaceRequest.builder()
describeRuleGroupsNamespaceRequest - A Consumer that will call methods on DescribeRuleGroupsNamespaceRequest.Builder to create
a request. Represents the input of a DescribeRuleGroupsNamespace operation.default CompletableFuture<DescribeWorkspaceResponse> describeWorkspace(DescribeWorkspaceRequest describeWorkspaceRequest)
Describes an existing AMP workspace.
describeWorkspaceRequest - Represents the input of a DescribeWorkspace operation.default CompletableFuture<DescribeWorkspaceResponse> describeWorkspace(Consumer<DescribeWorkspaceRequest.Builder> describeWorkspaceRequest)
Describes an existing AMP workspace.
This is a convenience which creates an instance of the DescribeWorkspaceRequest.Builder avoiding the need
to create one manually via DescribeWorkspaceRequest.builder()
describeWorkspaceRequest - A Consumer that will call methods on DescribeWorkspaceRequest.Builder to create a request.
Represents the input of a DescribeWorkspace operation.default CompletableFuture<ListRuleGroupsNamespacesResponse> listRuleGroupsNamespaces(ListRuleGroupsNamespacesRequest listRuleGroupsNamespacesRequest)
Lists rule groups namespaces.
listRuleGroupsNamespacesRequest - Represents the input of a ListRuleGroupsNamespaces operation.default CompletableFuture<ListRuleGroupsNamespacesResponse> listRuleGroupsNamespaces(Consumer<ListRuleGroupsNamespacesRequest.Builder> listRuleGroupsNamespacesRequest)
Lists rule groups namespaces.
This is a convenience which creates an instance of the ListRuleGroupsNamespacesRequest.Builder avoiding
the need to create one manually via ListRuleGroupsNamespacesRequest.builder()
listRuleGroupsNamespacesRequest - A Consumer that will call methods on ListRuleGroupsNamespacesRequest.Builder to create a
request. Represents the input of a ListRuleGroupsNamespaces operation.default ListRuleGroupsNamespacesPublisher listRuleGroupsNamespacesPaginator(ListRuleGroupsNamespacesRequest listRuleGroupsNamespacesRequest)
Lists rule groups namespaces.
This is a variant of
listRuleGroupsNamespaces(software.amazon.awssdk.services.amp.model.ListRuleGroupsNamespacesRequest)
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 new Subscription i.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
software.amazon.awssdk.services.amp.paginators.ListRuleGroupsNamespacesPublisher publisher = client.listRuleGroupsNamespacesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amp.paginators.ListRuleGroupsNamespacesPublisher publisher = client.listRuleGroupsNamespacesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amp.model.ListRuleGroupsNamespacesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amp.model.ListRuleGroupsNamespacesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
listRuleGroupsNamespaces(software.amazon.awssdk.services.amp.model.ListRuleGroupsNamespacesRequest)
operation.
listRuleGroupsNamespacesRequest - Represents the input of a ListRuleGroupsNamespaces operation.default ListRuleGroupsNamespacesPublisher listRuleGroupsNamespacesPaginator(Consumer<ListRuleGroupsNamespacesRequest.Builder> listRuleGroupsNamespacesRequest)
Lists rule groups namespaces.
This is a variant of
listRuleGroupsNamespaces(software.amazon.awssdk.services.amp.model.ListRuleGroupsNamespacesRequest)
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 new Subscription i.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
software.amazon.awssdk.services.amp.paginators.ListRuleGroupsNamespacesPublisher publisher = client.listRuleGroupsNamespacesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amp.paginators.ListRuleGroupsNamespacesPublisher publisher = client.listRuleGroupsNamespacesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amp.model.ListRuleGroupsNamespacesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amp.model.ListRuleGroupsNamespacesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
listRuleGroupsNamespaces(software.amazon.awssdk.services.amp.model.ListRuleGroupsNamespacesRequest)
operation.
This is a convenience which creates an instance of the ListRuleGroupsNamespacesRequest.Builder avoiding
the need to create one manually via ListRuleGroupsNamespacesRequest.builder()
listRuleGroupsNamespacesRequest - A Consumer that will call methods on ListRuleGroupsNamespacesRequest.Builder to create a
request. Represents the input of a ListRuleGroupsNamespaces operation.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags you have assigned to the resource.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags you have assigned to the resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.default CompletableFuture<ListWorkspacesResponse> listWorkspaces(ListWorkspacesRequest listWorkspacesRequest)
Lists all AMP workspaces, including workspaces being created or deleted.
listWorkspacesRequest - Represents the input of a ListWorkspaces operation.default CompletableFuture<ListWorkspacesResponse> listWorkspaces(Consumer<ListWorkspacesRequest.Builder> listWorkspacesRequest)
Lists all AMP workspaces, including workspaces being created or deleted.
This is a convenience which creates an instance of the ListWorkspacesRequest.Builder avoiding the need to
create one manually via ListWorkspacesRequest.builder()
listWorkspacesRequest - A Consumer that will call methods on ListWorkspacesRequest.Builder to create a request.
Represents the input of a ListWorkspaces operation.default ListWorkspacesPublisher listWorkspacesPaginator(ListWorkspacesRequest listWorkspacesRequest)
Lists all AMP workspaces, including workspaces being created or deleted.
This is a variant of listWorkspaces(software.amazon.awssdk.services.amp.model.ListWorkspacesRequest)
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 new Subscription i.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
software.amazon.awssdk.services.amp.paginators.ListWorkspacesPublisher publisher = client.listWorkspacesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amp.paginators.ListWorkspacesPublisher publisher = client.listWorkspacesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amp.model.ListWorkspacesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amp.model.ListWorkspacesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
listWorkspaces(software.amazon.awssdk.services.amp.model.ListWorkspacesRequest) operation.
listWorkspacesRequest - Represents the input of a ListWorkspaces operation.default ListWorkspacesPublisher listWorkspacesPaginator(Consumer<ListWorkspacesRequest.Builder> listWorkspacesRequest)
Lists all AMP workspaces, including workspaces being created or deleted.
This is a variant of listWorkspaces(software.amazon.awssdk.services.amp.model.ListWorkspacesRequest)
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 new Subscription i.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
software.amazon.awssdk.services.amp.paginators.ListWorkspacesPublisher publisher = client.listWorkspacesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.amp.paginators.ListWorkspacesPublisher publisher = client.listWorkspacesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.amp.model.ListWorkspacesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.amp.model.ListWorkspacesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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
listWorkspaces(software.amazon.awssdk.services.amp.model.ListWorkspacesRequest) operation.
This is a convenience which creates an instance of the ListWorkspacesRequest.Builder avoiding the need to
create one manually via ListWorkspacesRequest.builder()
listWorkspacesRequest - A Consumer that will call methods on ListWorkspacesRequest.Builder to create a request.
Represents the input of a ListWorkspaces operation.default CompletableFuture<PutAlertManagerDefinitionResponse> putAlertManagerDefinition(PutAlertManagerDefinitionRequest putAlertManagerDefinitionRequest)
Update an alert manager definition.
putAlertManagerDefinitionRequest - Represents the input of a PutAlertManagerDefinition operation.default CompletableFuture<PutAlertManagerDefinitionResponse> putAlertManagerDefinition(Consumer<PutAlertManagerDefinitionRequest.Builder> putAlertManagerDefinitionRequest)
Update an alert manager definition.
This is a convenience which creates an instance of the PutAlertManagerDefinitionRequest.Builder avoiding
the need to create one manually via PutAlertManagerDefinitionRequest.builder()
putAlertManagerDefinitionRequest - A Consumer that will call methods on PutAlertManagerDefinitionRequest.Builder to create a
request. Represents the input of a PutAlertManagerDefinition operation.default CompletableFuture<PutRuleGroupsNamespaceResponse> putRuleGroupsNamespace(PutRuleGroupsNamespaceRequest putRuleGroupsNamespaceRequest)
Update a rule groups namespace.
putRuleGroupsNamespaceRequest - Represents the input of a PutRuleGroupsNamespace operation.default CompletableFuture<PutRuleGroupsNamespaceResponse> putRuleGroupsNamespace(Consumer<PutRuleGroupsNamespaceRequest.Builder> putRuleGroupsNamespaceRequest)
Update a rule groups namespace.
This is a convenience which creates an instance of the PutRuleGroupsNamespaceRequest.Builder avoiding the
need to create one manually via PutRuleGroupsNamespaceRequest.builder()
putRuleGroupsNamespaceRequest - A Consumer that will call methods on PutRuleGroupsNamespaceRequest.Builder to create a
request. Represents the input of a PutRuleGroupsNamespace operation.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Creates tags for the specified resource.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Creates tags for the specified resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Deletes tags from the specified resource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Deletes tags from the specified resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.default CompletableFuture<UpdateLoggingConfigurationResponse> updateLoggingConfiguration(UpdateLoggingConfigurationRequest updateLoggingConfigurationRequest)
Update logging configuration.
updateLoggingConfigurationRequest - Represents the input of an UpdateLoggingConfiguration operation.default CompletableFuture<UpdateLoggingConfigurationResponse> updateLoggingConfiguration(Consumer<UpdateLoggingConfigurationRequest.Builder> updateLoggingConfigurationRequest)
Update logging configuration.
This is a convenience which creates an instance of the UpdateLoggingConfigurationRequest.Builder avoiding
the need to create one manually via UpdateLoggingConfigurationRequest.builder()
updateLoggingConfigurationRequest - A Consumer that will call methods on UpdateLoggingConfigurationRequest.Builder to create a
request. Represents the input of an UpdateLoggingConfiguration operation.default CompletableFuture<UpdateWorkspaceAliasResponse> updateWorkspaceAlias(UpdateWorkspaceAliasRequest updateWorkspaceAliasRequest)
Updates an AMP workspace alias.
updateWorkspaceAliasRequest - Represents the input of an UpdateWorkspaceAlias operation.default CompletableFuture<UpdateWorkspaceAliasResponse> updateWorkspaceAlias(Consumer<UpdateWorkspaceAliasRequest.Builder> updateWorkspaceAliasRequest)
Updates an AMP workspace alias.
This is a convenience which creates an instance of the UpdateWorkspaceAliasRequest.Builder avoiding the
need to create one manually via UpdateWorkspaceAliasRequest.builder()
updateWorkspaceAliasRequest - A Consumer that will call methods on UpdateWorkspaceAliasRequest.Builder to create a
request. Represents the input of an UpdateWorkspaceAlias operation.default AmpAsyncWaiter waiter()
AmpAsyncWaiter using this client.
Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
AmpAsyncWaiterdefault AmpServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientstatic AmpAsyncClient create()
AmpAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static AmpAsyncClientBuilder builder()
AmpAsyncClient.Copyright © 2023. All rights reserved.