@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface SsmSapAsyncClient extends AwsClient
builder() method.
This API reference provides descriptions, syntax, and other details about each of the actions and data types for AWS Systems Manager for SAP. The topic for each action shows the API request parameters and responses.
| 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 |
| Modifier and Type | Method and Description |
|---|---|
static SsmSapAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
SsmSapAsyncClient. |
static SsmSapAsyncClient |
create()
Create a
SsmSapAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<DeleteResourcePermissionResponse> |
deleteResourcePermission(Consumer<DeleteResourcePermissionRequest.Builder> deleteResourcePermissionRequest)
Removes permissions associated with the target database.
|
default CompletableFuture<DeleteResourcePermissionResponse> |
deleteResourcePermission(DeleteResourcePermissionRequest deleteResourcePermissionRequest)
Removes permissions associated with the target database.
|
default CompletableFuture<DeregisterApplicationResponse> |
deregisterApplication(Consumer<DeregisterApplicationRequest.Builder> deregisterApplicationRequest)
Deregister an SAP application with AWS Systems Manager for SAP.
|
default CompletableFuture<DeregisterApplicationResponse> |
deregisterApplication(DeregisterApplicationRequest deregisterApplicationRequest)
Deregister an SAP application with AWS Systems Manager for SAP.
|
default CompletableFuture<GetApplicationResponse> |
getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest)
Gets an application registered with AWS Systems Manager for SAP.
|
default CompletableFuture<GetApplicationResponse> |
getApplication(GetApplicationRequest getApplicationRequest)
Gets an application registered with AWS Systems Manager for SAP.
|
default CompletableFuture<GetComponentResponse> |
getComponent(Consumer<GetComponentRequest.Builder> getComponentRequest)
Gets the component of an application registered with AWS Systems Manager for SAP.
|
default CompletableFuture<GetComponentResponse> |
getComponent(GetComponentRequest getComponentRequest)
Gets the component of an application registered with AWS Systems Manager for SAP.
|
default CompletableFuture<GetDatabaseResponse> |
getDatabase(Consumer<GetDatabaseRequest.Builder> getDatabaseRequest)
Gets the SAP HANA database of an application registered with AWS Systems Manager for SAP.
|
default CompletableFuture<GetDatabaseResponse> |
getDatabase(GetDatabaseRequest getDatabaseRequest)
Gets the SAP HANA database of an application registered with AWS Systems Manager for SAP.
|
default CompletableFuture<GetOperationResponse> |
getOperation(Consumer<GetOperationRequest.Builder> getOperationRequest)
Gets the details of an operation by specifying the operation ID.
|
default CompletableFuture<GetOperationResponse> |
getOperation(GetOperationRequest getOperationRequest)
Gets the details of an operation by specifying the operation ID.
|
default CompletableFuture<GetResourcePermissionResponse> |
getResourcePermission(Consumer<GetResourcePermissionRequest.Builder> getResourcePermissionRequest)
Gets permissions associated with the target database.
|
default CompletableFuture<GetResourcePermissionResponse> |
getResourcePermission(GetResourcePermissionRequest getResourcePermissionRequest)
Gets permissions associated with the target database.
|
default CompletableFuture<ListApplicationsResponse> |
listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists all the applications registered with AWS Systems Manager for SAP.
|
default CompletableFuture<ListApplicationsResponse> |
listApplications(ListApplicationsRequest listApplicationsRequest)
Lists all the applications registered with AWS Systems Manager for SAP.
|
default ListApplicationsPublisher |
listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists all the applications registered with AWS Systems Manager for SAP.
|
default ListApplicationsPublisher |
listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)
Lists all the applications registered with AWS Systems Manager for SAP.
|
default CompletableFuture<ListComponentsResponse> |
listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest)
Lists all the components registered with AWS Systems Manager for SAP.
|
default CompletableFuture<ListComponentsResponse> |
listComponents(ListComponentsRequest listComponentsRequest)
Lists all the components registered with AWS Systems Manager for SAP.
|
default ListComponentsPublisher |
listComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest)
Lists all the components registered with AWS Systems Manager for SAP.
|
default ListComponentsPublisher |
listComponentsPaginator(ListComponentsRequest listComponentsRequest)
Lists all the components registered with AWS Systems Manager for SAP.
|
default CompletableFuture<ListDatabasesResponse> |
listDatabases(Consumer<ListDatabasesRequest.Builder> listDatabasesRequest)
Lists the SAP HANA databases of an application registered with AWS Systems Manager for SAP.
|
default CompletableFuture<ListDatabasesResponse> |
listDatabases(ListDatabasesRequest listDatabasesRequest)
Lists the SAP HANA databases of an application registered with AWS Systems Manager for SAP.
|
default ListDatabasesPublisher |
listDatabasesPaginator(Consumer<ListDatabasesRequest.Builder> listDatabasesRequest)
Lists the SAP HANA databases of an application registered with AWS Systems Manager for SAP.
|
default ListDatabasesPublisher |
listDatabasesPaginator(ListDatabasesRequest listDatabasesRequest)
Lists the SAP HANA databases of an application registered with AWS Systems Manager for SAP.
|
default CompletableFuture<ListOperationsResponse> |
listOperations(Consumer<ListOperationsRequest.Builder> listOperationsRequest)
Lists the operations performed by AWS Systems Manager for SAP.
|
default CompletableFuture<ListOperationsResponse> |
listOperations(ListOperationsRequest listOperationsRequest)
Lists the operations performed by AWS Systems Manager for SAP.
|
default ListOperationsPublisher |
listOperationsPaginator(Consumer<ListOperationsRequest.Builder> listOperationsRequest)
Lists the operations performed by AWS Systems Manager for SAP.
|
default ListOperationsPublisher |
listOperationsPaginator(ListOperationsRequest listOperationsRequest)
Lists the operations performed by AWS Systems Manager for SAP.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists all tags on an SAP HANA application and/or database registered with AWS Systems Manager for SAP.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags on an SAP HANA application and/or database registered with AWS Systems Manager for SAP.
|
default CompletableFuture<PutResourcePermissionResponse> |
putResourcePermission(Consumer<PutResourcePermissionRequest.Builder> putResourcePermissionRequest)
Adds permissions to the target database.
|
default CompletableFuture<PutResourcePermissionResponse> |
putResourcePermission(PutResourcePermissionRequest putResourcePermissionRequest)
Adds permissions to the target database.
|
default CompletableFuture<RegisterApplicationResponse> |
registerApplication(Consumer<RegisterApplicationRequest.Builder> registerApplicationRequest)
Register an SAP application with AWS Systems Manager for SAP.
|
default CompletableFuture<RegisterApplicationResponse> |
registerApplication(RegisterApplicationRequest registerApplicationRequest)
Register an SAP application with AWS Systems Manager for SAP.
|
default SsmSapServiceClientConfiguration |
serviceClientConfiguration() |
default CompletableFuture<StartApplicationRefreshResponse> |
startApplicationRefresh(Consumer<StartApplicationRefreshRequest.Builder> startApplicationRefreshRequest)
Refreshes a registered application.
|
default CompletableFuture<StartApplicationRefreshResponse> |
startApplicationRefresh(StartApplicationRefreshRequest startApplicationRefreshRequest)
Refreshes a registered application.
|
default CompletableFuture<TagResourceResponse> |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Creates tag for a resource by specifying the ARN.
|
default CompletableFuture<TagResourceResponse> |
tagResource(TagResourceRequest tagResourceRequest)
Creates tag for a resource by specifying the ARN.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Delete the tags for a resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(UntagResourceRequest untagResourceRequest)
Delete the tags for a resource.
|
default CompletableFuture<UpdateApplicationSettingsResponse> |
updateApplicationSettings(Consumer<UpdateApplicationSettingsRequest.Builder> updateApplicationSettingsRequest)
Updates the settings of an application registered with AWS Systems Manager for SAP.
|
default CompletableFuture<UpdateApplicationSettingsResponse> |
updateApplicationSettings(UpdateApplicationSettingsRequest updateApplicationSettingsRequest)
Updates the settings of an application registered with AWS Systems Manager for SAP.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CompletableFuture<DeleteResourcePermissionResponse> deleteResourcePermission(DeleteResourcePermissionRequest deleteResourcePermissionRequest)
Removes permissions associated with the target database.
deleteResourcePermissionRequest - default CompletableFuture<DeleteResourcePermissionResponse> deleteResourcePermission(Consumer<DeleteResourcePermissionRequest.Builder> deleteResourcePermissionRequest)
Removes permissions associated with the target database.
This is a convenience which creates an instance of the DeleteResourcePermissionRequest.Builder avoiding
the need to create one manually via DeleteResourcePermissionRequest.builder()
deleteResourcePermissionRequest - A Consumer that will call methods on
DeleteResourcePermissionRequest.Builder to create a
request.default CompletableFuture<DeregisterApplicationResponse> deregisterApplication(DeregisterApplicationRequest deregisterApplicationRequest)
Deregister an SAP application with AWS Systems Manager for SAP. This action does not affect the existing setup of your SAP workloads on Amazon EC2.
deregisterApplicationRequest - default CompletableFuture<DeregisterApplicationResponse> deregisterApplication(Consumer<DeregisterApplicationRequest.Builder> deregisterApplicationRequest)
Deregister an SAP application with AWS Systems Manager for SAP. This action does not affect the existing setup of your SAP workloads on Amazon EC2.
This is a convenience which creates an instance of the DeregisterApplicationRequest.Builder avoiding the
need to create one manually via DeregisterApplicationRequest.builder()
deregisterApplicationRequest - A Consumer that will call methods on
DeregisterApplicationRequest.Builder to create a
request.default CompletableFuture<GetApplicationResponse> getApplication(GetApplicationRequest getApplicationRequest)
Gets an application registered with AWS Systems Manager for SAP. It also returns the components of the application.
getApplicationRequest - default CompletableFuture<GetApplicationResponse> getApplication(Consumer<GetApplicationRequest.Builder> getApplicationRequest)
Gets an application registered with AWS Systems Manager for SAP. It also returns the components of the application.
This is a convenience which creates an instance of the GetApplicationRequest.Builder avoiding the need to
create one manually via GetApplicationRequest.builder()
getApplicationRequest - A Consumer that will call methods on
GetApplicationRequest.Builder to create a request.default CompletableFuture<GetComponentResponse> getComponent(GetComponentRequest getComponentRequest)
Gets the component of an application registered with AWS Systems Manager for SAP.
getComponentRequest - default CompletableFuture<GetComponentResponse> getComponent(Consumer<GetComponentRequest.Builder> getComponentRequest)
Gets the component of an application registered with AWS Systems Manager for SAP.
This is a convenience which creates an instance of the GetComponentRequest.Builder avoiding the need to
create one manually via GetComponentRequest.builder()
getComponentRequest - A Consumer that will call methods on
GetComponentRequest.Builder to create a request.default CompletableFuture<GetDatabaseResponse> getDatabase(GetDatabaseRequest getDatabaseRequest)
Gets the SAP HANA database of an application registered with AWS Systems Manager for SAP.
getDatabaseRequest - default CompletableFuture<GetDatabaseResponse> getDatabase(Consumer<GetDatabaseRequest.Builder> getDatabaseRequest)
Gets the SAP HANA database of an application registered with AWS Systems Manager for SAP.
This is a convenience which creates an instance of the GetDatabaseRequest.Builder avoiding the need to
create one manually via GetDatabaseRequest.builder()
getDatabaseRequest - A Consumer that will call methods on
GetDatabaseRequest.Builder to create a request.default CompletableFuture<GetOperationResponse> getOperation(GetOperationRequest getOperationRequest)
Gets the details of an operation by specifying the operation ID.
getOperationRequest - default CompletableFuture<GetOperationResponse> getOperation(Consumer<GetOperationRequest.Builder> getOperationRequest)
Gets the details of an operation by specifying the operation ID.
This is a convenience which creates an instance of the GetOperationRequest.Builder avoiding the need to
create one manually via GetOperationRequest.builder()
getOperationRequest - A Consumer that will call methods on
GetOperationRequest.Builder to create a request.default CompletableFuture<GetResourcePermissionResponse> getResourcePermission(GetResourcePermissionRequest getResourcePermissionRequest)
Gets permissions associated with the target database.
getResourcePermissionRequest - default CompletableFuture<GetResourcePermissionResponse> getResourcePermission(Consumer<GetResourcePermissionRequest.Builder> getResourcePermissionRequest)
Gets permissions associated with the target database.
This is a convenience which creates an instance of the GetResourcePermissionRequest.Builder avoiding the
need to create one manually via GetResourcePermissionRequest.builder()
getResourcePermissionRequest - A Consumer that will call methods on
GetResourcePermissionRequest.Builder to create a
request.default CompletableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest listApplicationsRequest)
Lists all the applications registered with AWS Systems Manager for SAP.
listApplicationsRequest - default CompletableFuture<ListApplicationsResponse> listApplications(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists all the applications registered with AWS Systems Manager for SAP.
This is a convenience which creates an instance of the ListApplicationsRequest.Builder avoiding the need
to create one manually via ListApplicationsRequest.builder()
listApplicationsRequest - A Consumer that will call methods on
ListApplicationsRequest.Builder to create a request.default ListApplicationsPublisher listApplicationsPaginator(ListApplicationsRequest listApplicationsRequest)
Lists all the applications registered with AWS Systems Manager for SAP.
This is a variant of
listApplications(software.amazon.awssdk.services.ssmsap.model.ListApplicationsRequest) 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.ssmsap.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.ssmsap.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmsap.model.ListApplicationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.ssmsap.model.ListApplicationsResponse 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
listApplications(software.amazon.awssdk.services.ssmsap.model.ListApplicationsRequest) operation.
listApplicationsRequest - default ListApplicationsPublisher listApplicationsPaginator(Consumer<ListApplicationsRequest.Builder> listApplicationsRequest)
Lists all the applications registered with AWS Systems Manager for SAP.
This is a variant of
listApplications(software.amazon.awssdk.services.ssmsap.model.ListApplicationsRequest) 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.ssmsap.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.ssmsap.paginators.ListApplicationsPublisher publisher = client.listApplicationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmsap.model.ListApplicationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.ssmsap.model.ListApplicationsResponse 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
listApplications(software.amazon.awssdk.services.ssmsap.model.ListApplicationsRequest) operation.
This is a convenience which creates an instance of the ListApplicationsRequest.Builder avoiding the need
to create one manually via ListApplicationsRequest.builder()
listApplicationsRequest - A Consumer that will call methods on
ListApplicationsRequest.Builder to create a request.default CompletableFuture<ListComponentsResponse> listComponents(ListComponentsRequest listComponentsRequest)
Lists all the components registered with AWS Systems Manager for SAP.
listComponentsRequest - default CompletableFuture<ListComponentsResponse> listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest)
Lists all the components registered with AWS Systems Manager for SAP.
This is a convenience which creates an instance of the ListComponentsRequest.Builder avoiding the need to
create one manually via ListComponentsRequest.builder()
listComponentsRequest - A Consumer that will call methods on
ListComponentsRequest.Builder to create a request.default ListComponentsPublisher listComponentsPaginator(ListComponentsRequest listComponentsRequest)
Lists all the components registered with AWS Systems Manager for SAP.
This is a variant of listComponents(software.amazon.awssdk.services.ssmsap.model.ListComponentsRequest)
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.ssmsap.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.ssmsap.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmsap.model.ListComponentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.ssmsap.model.ListComponentsResponse 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
listComponents(software.amazon.awssdk.services.ssmsap.model.ListComponentsRequest) operation.
listComponentsRequest - default ListComponentsPublisher listComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest)
Lists all the components registered with AWS Systems Manager for SAP.
This is a variant of listComponents(software.amazon.awssdk.services.ssmsap.model.ListComponentsRequest)
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.ssmsap.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.ssmsap.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmsap.model.ListComponentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.ssmsap.model.ListComponentsResponse 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
listComponents(software.amazon.awssdk.services.ssmsap.model.ListComponentsRequest) operation.
This is a convenience which creates an instance of the ListComponentsRequest.Builder avoiding the need to
create one manually via ListComponentsRequest.builder()
listComponentsRequest - A Consumer that will call methods on
ListComponentsRequest.Builder to create a request.default CompletableFuture<ListDatabasesResponse> listDatabases(ListDatabasesRequest listDatabasesRequest)
Lists the SAP HANA databases of an application registered with AWS Systems Manager for SAP.
listDatabasesRequest - default CompletableFuture<ListDatabasesResponse> listDatabases(Consumer<ListDatabasesRequest.Builder> listDatabasesRequest)
Lists the SAP HANA databases of an application registered with AWS Systems Manager for SAP.
This is a convenience which creates an instance of the ListDatabasesRequest.Builder avoiding the need to
create one manually via ListDatabasesRequest.builder()
listDatabasesRequest - A Consumer that will call methods on
ListDatabasesRequest.Builder to create a request.default ListDatabasesPublisher listDatabasesPaginator(ListDatabasesRequest listDatabasesRequest)
Lists the SAP HANA databases of an application registered with AWS Systems Manager for SAP.
This is a variant of listDatabases(software.amazon.awssdk.services.ssmsap.model.ListDatabasesRequest)
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.ssmsap.paginators.ListDatabasesPublisher publisher = client.listDatabasesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.ssmsap.paginators.ListDatabasesPublisher publisher = client.listDatabasesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmsap.model.ListDatabasesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.ssmsap.model.ListDatabasesResponse 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
listDatabases(software.amazon.awssdk.services.ssmsap.model.ListDatabasesRequest) operation.
listDatabasesRequest - default ListDatabasesPublisher listDatabasesPaginator(Consumer<ListDatabasesRequest.Builder> listDatabasesRequest)
Lists the SAP HANA databases of an application registered with AWS Systems Manager for SAP.
This is a variant of listDatabases(software.amazon.awssdk.services.ssmsap.model.ListDatabasesRequest)
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.ssmsap.paginators.ListDatabasesPublisher publisher = client.listDatabasesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.ssmsap.paginators.ListDatabasesPublisher publisher = client.listDatabasesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmsap.model.ListDatabasesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.ssmsap.model.ListDatabasesResponse 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
listDatabases(software.amazon.awssdk.services.ssmsap.model.ListDatabasesRequest) operation.
This is a convenience which creates an instance of the ListDatabasesRequest.Builder avoiding the need to
create one manually via ListDatabasesRequest.builder()
listDatabasesRequest - A Consumer that will call methods on
ListDatabasesRequest.Builder to create a request.default CompletableFuture<ListOperationsResponse> listOperations(ListOperationsRequest listOperationsRequest)
Lists the operations performed by AWS Systems Manager for SAP.
listOperationsRequest - default CompletableFuture<ListOperationsResponse> listOperations(Consumer<ListOperationsRequest.Builder> listOperationsRequest)
Lists the operations performed by AWS Systems Manager for SAP.
This is a convenience which creates an instance of the ListOperationsRequest.Builder avoiding the need to
create one manually via ListOperationsRequest.builder()
listOperationsRequest - A Consumer that will call methods on
ListOperationsRequest.Builder to create a request.default ListOperationsPublisher listOperationsPaginator(ListOperationsRequest listOperationsRequest)
Lists the operations performed by AWS Systems Manager for SAP.
This is a variant of listOperations(software.amazon.awssdk.services.ssmsap.model.ListOperationsRequest)
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.ssmsap.paginators.ListOperationsPublisher publisher = client.listOperationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.ssmsap.paginators.ListOperationsPublisher publisher = client.listOperationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmsap.model.ListOperationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.ssmsap.model.ListOperationsResponse 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
listOperations(software.amazon.awssdk.services.ssmsap.model.ListOperationsRequest) operation.
listOperationsRequest - default ListOperationsPublisher listOperationsPaginator(Consumer<ListOperationsRequest.Builder> listOperationsRequest)
Lists the operations performed by AWS Systems Manager for SAP.
This is a variant of listOperations(software.amazon.awssdk.services.ssmsap.model.ListOperationsRequest)
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.ssmsap.paginators.ListOperationsPublisher publisher = client.listOperationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.ssmsap.paginators.ListOperationsPublisher publisher = client.listOperationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmsap.model.ListOperationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.ssmsap.model.ListOperationsResponse 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
listOperations(software.amazon.awssdk.services.ssmsap.model.ListOperationsRequest) operation.
This is a convenience which creates an instance of the ListOperationsRequest.Builder avoiding the need to
create one manually via ListOperationsRequest.builder()
listOperationsRequest - A Consumer that will call methods on
ListOperationsRequest.Builder to create a request.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags on an SAP HANA application and/or database registered with AWS Systems Manager for SAP.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists all tags on an SAP HANA application and/or database registered with AWS Systems Manager for SAP.
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<PutResourcePermissionResponse> putResourcePermission(PutResourcePermissionRequest putResourcePermissionRequest)
Adds permissions to the target database.
putResourcePermissionRequest - default CompletableFuture<PutResourcePermissionResponse> putResourcePermission(Consumer<PutResourcePermissionRequest.Builder> putResourcePermissionRequest)
Adds permissions to the target database.
This is a convenience which creates an instance of the PutResourcePermissionRequest.Builder avoiding the
need to create one manually via PutResourcePermissionRequest.builder()
putResourcePermissionRequest - A Consumer that will call methods on
PutResourcePermissionRequest.Builder to create a
request.default CompletableFuture<RegisterApplicationResponse> registerApplication(RegisterApplicationRequest registerApplicationRequest)
Register an SAP application with AWS Systems Manager for SAP. You must meet the following requirements before registering.
The SAP application you want to register with AWS Systems Manager for SAP is running on Amazon EC2.
AWS Systems Manager Agent must be setup on an Amazon EC2 instance along with the required IAM permissions.
Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets Manager to manage SAP applications and components.
registerApplicationRequest - default CompletableFuture<RegisterApplicationResponse> registerApplication(Consumer<RegisterApplicationRequest.Builder> registerApplicationRequest)
Register an SAP application with AWS Systems Manager for SAP. You must meet the following requirements before registering.
The SAP application you want to register with AWS Systems Manager for SAP is running on Amazon EC2.
AWS Systems Manager Agent must be setup on an Amazon EC2 instance along with the required IAM permissions.
Amazon EC2 instance(s) must have access to the secrets created in AWS Secrets Manager to manage SAP applications and components.
This is a convenience which creates an instance of the RegisterApplicationRequest.Builder avoiding the
need to create one manually via RegisterApplicationRequest.builder()
registerApplicationRequest - A Consumer that will call methods on
RegisterApplicationRequest.Builder to create a
request.default CompletableFuture<StartApplicationRefreshResponse> startApplicationRefresh(StartApplicationRefreshRequest startApplicationRefreshRequest)
Refreshes a registered application.
startApplicationRefreshRequest - default CompletableFuture<StartApplicationRefreshResponse> startApplicationRefresh(Consumer<StartApplicationRefreshRequest.Builder> startApplicationRefreshRequest)
Refreshes a registered application.
This is a convenience which creates an instance of the StartApplicationRefreshRequest.Builder avoiding
the need to create one manually via StartApplicationRefreshRequest.builder()
startApplicationRefreshRequest - A Consumer that will call methods on
StartApplicationRefreshRequest.Builder to create a
request.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Creates tag for a resource by specifying the ARN.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Creates tag for a resource by specifying the ARN.
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)
Delete the tags for a resource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Delete the tags for a 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<UpdateApplicationSettingsResponse> updateApplicationSettings(UpdateApplicationSettingsRequest updateApplicationSettingsRequest)
Updates the settings of an application registered with AWS Systems Manager for SAP.
updateApplicationSettingsRequest - default CompletableFuture<UpdateApplicationSettingsResponse> updateApplicationSettings(Consumer<UpdateApplicationSettingsRequest.Builder> updateApplicationSettingsRequest)
Updates the settings of an application registered with AWS Systems Manager for SAP.
This is a convenience which creates an instance of the UpdateApplicationSettingsRequest.Builder avoiding
the need to create one manually via UpdateApplicationSettingsRequest.builder()
updateApplicationSettingsRequest - A Consumer that will call methods on
UpdateApplicationSettingsRequest.Builder to create a
request.default SsmSapServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientstatic SsmSapAsyncClient create()
SsmSapAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static SsmSapAsyncClientBuilder builder()
SsmSapAsyncClient.Copyright © 2023. All rights reserved.