@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface ResiliencehubAsyncClient extends SdkClient
builder() method.
AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from disruptions. Resilience Hub offers continuous resiliency assessment and validation that integrates into your software development lifecycle. This enables you to uncover resiliency weaknesses, ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your applications are met, and resolve issues before they are released into production.
| 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.static ResiliencehubAsyncClient create()
ResiliencehubAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static ResiliencehubAsyncClientBuilder builder()
ResiliencehubAsyncClient.default CompletableFuture<AddDraftAppVersionResourceMappingsResponse> addDraftAppVersionResourceMappings(AddDraftAppVersionResourceMappingsRequest addDraftAppVersionResourceMappingsRequest)
Adds the resource mapping for the draft application version.
addDraftAppVersionResourceMappingsRequest - default CompletableFuture<AddDraftAppVersionResourceMappingsResponse> addDraftAppVersionResourceMappings(Consumer<AddDraftAppVersionResourceMappingsRequest.Builder> addDraftAppVersionResourceMappingsRequest)
Adds the resource mapping for the draft application version.
This is a convenience which creates an instance of the AddDraftAppVersionResourceMappingsRequest.Builder
avoiding the need to create one manually via AddDraftAppVersionResourceMappingsRequest.builder()
addDraftAppVersionResourceMappingsRequest - A Consumer that will call methods on AddDraftAppVersionResourceMappingsRequest.Builder to
create a request.default CompletableFuture<CreateAppResponse> createApp(CreateAppRequest createAppRequest)
Creates a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more–up to five–CloudFormation stacks, and an appropriate resiliency policy.
<p>After you create a Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).</p>
createAppRequest - default CompletableFuture<CreateAppResponse> createApp(Consumer<CreateAppRequest.Builder> createAppRequest)
Creates a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more–up to five–CloudFormation stacks, and an appropriate resiliency policy.
<p>After you create a Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).</p>
This is a convenience which creates an instance of the CreateAppRequest.Builder avoiding the need to
create one manually via CreateAppRequest.builder()
createAppRequest - A Consumer that will call methods on CreateAppRequest.Builder to create a request.default CompletableFuture<CreateRecommendationTemplateResponse> createRecommendationTemplate(CreateRecommendationTemplateRequest createRecommendationTemplateRequest)
Creates a new recommendation template.
createRecommendationTemplateRequest - default CompletableFuture<CreateRecommendationTemplateResponse> createRecommendationTemplate(Consumer<CreateRecommendationTemplateRequest.Builder> createRecommendationTemplateRequest)
Creates a new recommendation template.
This is a convenience which creates an instance of the CreateRecommendationTemplateRequest.Builder
avoiding the need to create one manually via CreateRecommendationTemplateRequest.builder()
createRecommendationTemplateRequest - A Consumer that will call methods on CreateRecommendationTemplateRequest.Builder to create
a request.default CompletableFuture<CreateResiliencyPolicyResponse> createResiliencyPolicy(CreateResiliencyPolicyRequest createResiliencyPolicyRequest)
Creates a resiliency policy for an application.
createResiliencyPolicyRequest - default CompletableFuture<CreateResiliencyPolicyResponse> createResiliencyPolicy(Consumer<CreateResiliencyPolicyRequest.Builder> createResiliencyPolicyRequest)
Creates a resiliency policy for an application.
This is a convenience which creates an instance of the CreateResiliencyPolicyRequest.Builder avoiding the
need to create one manually via CreateResiliencyPolicyRequest.builder()
createResiliencyPolicyRequest - A Consumer that will call methods on CreateResiliencyPolicyRequest.Builder to create a
request.default CompletableFuture<DeleteAppResponse> deleteApp(DeleteAppRequest deleteAppRequest)
Deletes an AWS Resilience Hub application. This is a destructive action that can't be undone.
deleteAppRequest - default CompletableFuture<DeleteAppResponse> deleteApp(Consumer<DeleteAppRequest.Builder> deleteAppRequest)
Deletes an AWS Resilience Hub application. This is a destructive action that can't be undone.
This is a convenience which creates an instance of the DeleteAppRequest.Builder avoiding the need to
create one manually via DeleteAppRequest.builder()
deleteAppRequest - A Consumer that will call methods on DeleteAppRequest.Builder to create a request.default CompletableFuture<DeleteAppAssessmentResponse> deleteAppAssessment(DeleteAppAssessmentRequest deleteAppAssessmentRequest)
Deletes an AWS Resilience Hub application assessment. This is a destructive action that can't be undone.
deleteAppAssessmentRequest - default CompletableFuture<DeleteAppAssessmentResponse> deleteAppAssessment(Consumer<DeleteAppAssessmentRequest.Builder> deleteAppAssessmentRequest)
Deletes an AWS Resilience Hub application assessment. This is a destructive action that can't be undone.
This is a convenience which creates an instance of the DeleteAppAssessmentRequest.Builder avoiding the
need to create one manually via DeleteAppAssessmentRequest.builder()
deleteAppAssessmentRequest - A Consumer that will call methods on DeleteAppAssessmentRequest.Builder to create a
request.default CompletableFuture<DeleteRecommendationTemplateResponse> deleteRecommendationTemplate(DeleteRecommendationTemplateRequest deleteRecommendationTemplateRequest)
Deletes a recommendation template. This is a destructive action that can't be undone.
deleteRecommendationTemplateRequest - default CompletableFuture<DeleteRecommendationTemplateResponse> deleteRecommendationTemplate(Consumer<DeleteRecommendationTemplateRequest.Builder> deleteRecommendationTemplateRequest)
Deletes a recommendation template. This is a destructive action that can't be undone.
This is a convenience which creates an instance of the DeleteRecommendationTemplateRequest.Builder
avoiding the need to create one manually via DeleteRecommendationTemplateRequest.builder()
deleteRecommendationTemplateRequest - A Consumer that will call methods on DeleteRecommendationTemplateRequest.Builder to create
a request.default CompletableFuture<DeleteResiliencyPolicyResponse> deleteResiliencyPolicy(DeleteResiliencyPolicyRequest deleteResiliencyPolicyRequest)
Deletes a resiliency policy. This is a destructive action that can't be undone.
deleteResiliencyPolicyRequest - default CompletableFuture<DeleteResiliencyPolicyResponse> deleteResiliencyPolicy(Consumer<DeleteResiliencyPolicyRequest.Builder> deleteResiliencyPolicyRequest)
Deletes a resiliency policy. This is a destructive action that can't be undone.
This is a convenience which creates an instance of the DeleteResiliencyPolicyRequest.Builder avoiding the
need to create one manually via DeleteResiliencyPolicyRequest.builder()
deleteResiliencyPolicyRequest - A Consumer that will call methods on DeleteResiliencyPolicyRequest.Builder to create a
request.default CompletableFuture<DescribeAppResponse> describeApp(DescribeAppRequest describeAppRequest)
Describes an AWS Resilience Hub application.
describeAppRequest - default CompletableFuture<DescribeAppResponse> describeApp(Consumer<DescribeAppRequest.Builder> describeAppRequest)
Describes an AWS Resilience Hub application.
This is a convenience which creates an instance of the DescribeAppRequest.Builder avoiding the need to
create one manually via DescribeAppRequest.builder()
describeAppRequest - A Consumer that will call methods on DescribeAppRequest.Builder to create a request.default CompletableFuture<DescribeAppAssessmentResponse> describeAppAssessment(DescribeAppAssessmentRequest describeAppAssessmentRequest)
Describes an assessment for an AWS Resilience Hub application.
describeAppAssessmentRequest - default CompletableFuture<DescribeAppAssessmentResponse> describeAppAssessment(Consumer<DescribeAppAssessmentRequest.Builder> describeAppAssessmentRequest)
Describes an assessment for an AWS Resilience Hub application.
This is a convenience which creates an instance of the DescribeAppAssessmentRequest.Builder avoiding the
need to create one manually via DescribeAppAssessmentRequest.builder()
describeAppAssessmentRequest - A Consumer that will call methods on DescribeAppAssessmentRequest.Builder to create a
request.default CompletableFuture<DescribeAppVersionResourcesResolutionStatusResponse> describeAppVersionResourcesResolutionStatus(DescribeAppVersionResourcesResolutionStatusRequest describeAppVersionResourcesResolutionStatusRequest)
Returns the resolution status for the specified resolution identifier for an application version. If
resolutionId is not specified, the current resolution status is returned.
describeAppVersionResourcesResolutionStatusRequest - default CompletableFuture<DescribeAppVersionResourcesResolutionStatusResponse> describeAppVersionResourcesResolutionStatus(Consumer<DescribeAppVersionResourcesResolutionStatusRequest.Builder> describeAppVersionResourcesResolutionStatusRequest)
Returns the resolution status for the specified resolution identifier for an application version. If
resolutionId is not specified, the current resolution status is returned.
This is a convenience which creates an instance of the
DescribeAppVersionResourcesResolutionStatusRequest.Builder avoiding the need to create one manually via
DescribeAppVersionResourcesResolutionStatusRequest.builder()
describeAppVersionResourcesResolutionStatusRequest - A Consumer that will call methods on
DescribeAppVersionResourcesResolutionStatusRequest.Builder to create a request.default CompletableFuture<DescribeAppVersionTemplateResponse> describeAppVersionTemplate(DescribeAppVersionTemplateRequest describeAppVersionTemplateRequest)
Describes details about an AWS Resilience Hub
describeAppVersionTemplateRequest - default CompletableFuture<DescribeAppVersionTemplateResponse> describeAppVersionTemplate(Consumer<DescribeAppVersionTemplateRequest.Builder> describeAppVersionTemplateRequest)
Describes details about an AWS Resilience Hub
This is a convenience which creates an instance of the DescribeAppVersionTemplateRequest.Builder avoiding
the need to create one manually via DescribeAppVersionTemplateRequest.builder()
describeAppVersionTemplateRequest - A Consumer that will call methods on DescribeAppVersionTemplateRequest.Builder to create a
request.default CompletableFuture<DescribeDraftAppVersionResourcesImportStatusResponse> describeDraftAppVersionResourcesImportStatus(DescribeDraftAppVersionResourcesImportStatusRequest describeDraftAppVersionResourcesImportStatusRequest)
Describes the status of importing resources to an application version.
describeDraftAppVersionResourcesImportStatusRequest - default CompletableFuture<DescribeDraftAppVersionResourcesImportStatusResponse> describeDraftAppVersionResourcesImportStatus(Consumer<DescribeDraftAppVersionResourcesImportStatusRequest.Builder> describeDraftAppVersionResourcesImportStatusRequest)
Describes the status of importing resources to an application version.
This is a convenience which creates an instance of the
DescribeDraftAppVersionResourcesImportStatusRequest.Builder avoiding the need to create one manually via
DescribeDraftAppVersionResourcesImportStatusRequest.builder()
describeDraftAppVersionResourcesImportStatusRequest - A Consumer that will call methods on
DescribeDraftAppVersionResourcesImportStatusRequest.Builder to create a request.default CompletableFuture<DescribeResiliencyPolicyResponse> describeResiliencyPolicy(DescribeResiliencyPolicyRequest describeResiliencyPolicyRequest)
Describes a specified resiliency policy for an AWS Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.
describeResiliencyPolicyRequest - default CompletableFuture<DescribeResiliencyPolicyResponse> describeResiliencyPolicy(Consumer<DescribeResiliencyPolicyRequest.Builder> describeResiliencyPolicyRequest)
Describes a specified resiliency policy for an AWS Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.
This is a convenience which creates an instance of the DescribeResiliencyPolicyRequest.Builder avoiding
the need to create one manually via DescribeResiliencyPolicyRequest.builder()
describeResiliencyPolicyRequest - A Consumer that will call methods on DescribeResiliencyPolicyRequest.Builder to create a
request.default CompletableFuture<ImportResourcesToDraftAppVersionResponse> importResourcesToDraftAppVersion(ImportResourcesToDraftAppVersionRequest importResourcesToDraftAppVersionRequest)
Imports resources from sources such as a CloudFormation stack, resource-groups, or application registry app to a draft application version.
importResourcesToDraftAppVersionRequest - default CompletableFuture<ImportResourcesToDraftAppVersionResponse> importResourcesToDraftAppVersion(Consumer<ImportResourcesToDraftAppVersionRequest.Builder> importResourcesToDraftAppVersionRequest)
Imports resources from sources such as a CloudFormation stack, resource-groups, or application registry app to a draft application version.
This is a convenience which creates an instance of the ImportResourcesToDraftAppVersionRequest.Builder
avoiding the need to create one manually via ImportResourcesToDraftAppVersionRequest.builder()
importResourcesToDraftAppVersionRequest - A Consumer that will call methods on ImportResourcesToDraftAppVersionRequest.Builder to
create a request.default CompletableFuture<ListAlarmRecommendationsResponse> listAlarmRecommendations(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest)
Lists the alarm recommendations for a AWS Resilience Hub application.
listAlarmRecommendationsRequest - default CompletableFuture<ListAlarmRecommendationsResponse> listAlarmRecommendations(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest)
Lists the alarm recommendations for a AWS Resilience Hub application.
This is a convenience which creates an instance of the ListAlarmRecommendationsRequest.Builder avoiding
the need to create one manually via ListAlarmRecommendationsRequest.builder()
listAlarmRecommendationsRequest - A Consumer that will call methods on ListAlarmRecommendationsRequest.Builder to create a
request.default ListAlarmRecommendationsPublisher listAlarmRecommendationsPaginator(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest)
Lists the alarm recommendations for a AWS Resilience Hub application.
This is a variant of
listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)
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.resiliencehub.paginators.ListAlarmRecommendationsPublisher publisher = client.listAlarmRecommendationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsPublisher publisher = client.listAlarmRecommendationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsResponse 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
listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)
operation.
listAlarmRecommendationsRequest - default ListAlarmRecommendationsPublisher listAlarmRecommendationsPaginator(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest)
Lists the alarm recommendations for a AWS Resilience Hub application.
This is a variant of
listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)
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.resiliencehub.paginators.ListAlarmRecommendationsPublisher publisher = client.listAlarmRecommendationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsPublisher publisher = client.listAlarmRecommendationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsResponse 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
listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)
operation.
This is a convenience which creates an instance of the ListAlarmRecommendationsRequest.Builder avoiding
the need to create one manually via ListAlarmRecommendationsRequest.builder()
listAlarmRecommendationsRequest - A Consumer that will call methods on ListAlarmRecommendationsRequest.Builder to create a
request.default CompletableFuture<ListAppAssessmentsResponse> listAppAssessments(ListAppAssessmentsRequest listAppAssessmentsRequest)
Lists the assessments for an AWS Resilience Hub application. You can use request parameters to refine the results for the response object.
listAppAssessmentsRequest - default CompletableFuture<ListAppAssessmentsResponse> listAppAssessments(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest)
Lists the assessments for an AWS Resilience Hub application. You can use request parameters to refine the results for the response object.
This is a convenience which creates an instance of the ListAppAssessmentsRequest.Builder avoiding the
need to create one manually via ListAppAssessmentsRequest.builder()
listAppAssessmentsRequest - A Consumer that will call methods on ListAppAssessmentsRequest.Builder to create a
request.default ListAppAssessmentsPublisher listAppAssessmentsPaginator(ListAppAssessmentsRequest listAppAssessmentsRequest)
Lists the assessments for an AWS Resilience Hub application. You can use request parameters to refine the results for the response object.
This is a variant of
listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)
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.resiliencehub.paginators.ListAppAssessmentsPublisher publisher = client.listAppAssessmentsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsPublisher publisher = client.listAppAssessmentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsResponse 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
listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)
operation.
listAppAssessmentsRequest - default ListAppAssessmentsPublisher listAppAssessmentsPaginator(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest)
Lists the assessments for an AWS Resilience Hub application. You can use request parameters to refine the results for the response object.
This is a variant of
listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)
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.resiliencehub.paginators.ListAppAssessmentsPublisher publisher = client.listAppAssessmentsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsPublisher publisher = client.listAppAssessmentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsResponse 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
listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)
operation.
This is a convenience which creates an instance of the ListAppAssessmentsRequest.Builder avoiding the
need to create one manually via ListAppAssessmentsRequest.builder()
listAppAssessmentsRequest - A Consumer that will call methods on ListAppAssessmentsRequest.Builder to create a
request.default CompletableFuture<ListAppComponentCompliancesResponse> listAppComponentCompliances(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest)
Lists the compliances for an AWS Resilience Hub component.
listAppComponentCompliancesRequest - default CompletableFuture<ListAppComponentCompliancesResponse> listAppComponentCompliances(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest)
Lists the compliances for an AWS Resilience Hub component.
This is a convenience which creates an instance of the ListAppComponentCompliancesRequest.Builder
avoiding the need to create one manually via ListAppComponentCompliancesRequest.builder()
listAppComponentCompliancesRequest - A Consumer that will call methods on ListAppComponentCompliancesRequest.Builder to create
a request.default ListAppComponentCompliancesPublisher listAppComponentCompliancesPaginator(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest)
Lists the compliances for an AWS Resilience Hub component.
This is a variant of
listAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest)
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.resiliencehub.paginators.ListAppComponentCompliancesPublisher publisher = client.listAppComponentCompliancesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesPublisher publisher = client.listAppComponentCompliancesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesResponse 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
listAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest)
operation.
listAppComponentCompliancesRequest - default ListAppComponentCompliancesPublisher listAppComponentCompliancesPaginator(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest)
Lists the compliances for an AWS Resilience Hub component.
This is a variant of
listAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest)
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.resiliencehub.paginators.ListAppComponentCompliancesPublisher publisher = client.listAppComponentCompliancesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesPublisher publisher = client.listAppComponentCompliancesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesResponse 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
listAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest)
operation.
This is a convenience which creates an instance of the ListAppComponentCompliancesRequest.Builder
avoiding the need to create one manually via ListAppComponentCompliancesRequest.builder()
listAppComponentCompliancesRequest - A Consumer that will call methods on ListAppComponentCompliancesRequest.Builder to create
a request.default CompletableFuture<ListAppComponentRecommendationsResponse> listAppComponentRecommendations(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest)
Lists the recommendations for an AWS Resilience Hub component.
listAppComponentRecommendationsRequest - default CompletableFuture<ListAppComponentRecommendationsResponse> listAppComponentRecommendations(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest)
Lists the recommendations for an AWS Resilience Hub component.
This is a convenience which creates an instance of the ListAppComponentRecommendationsRequest.Builder
avoiding the need to create one manually via ListAppComponentRecommendationsRequest.builder()
listAppComponentRecommendationsRequest - A Consumer that will call methods on ListAppComponentRecommendationsRequest.Builder to
create a request.default ListAppComponentRecommendationsPublisher listAppComponentRecommendationsPaginator(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest)
Lists the recommendations for an AWS Resilience Hub component.
This is a variant of
listAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest)
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.resiliencehub.paginators.ListAppComponentRecommendationsPublisher publisher = client.listAppComponentRecommendationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsPublisher publisher = client.listAppComponentRecommendationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsResponse 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
listAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest)
operation.
listAppComponentRecommendationsRequest - default ListAppComponentRecommendationsPublisher listAppComponentRecommendationsPaginator(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest)
Lists the recommendations for an AWS Resilience Hub component.
This is a variant of
listAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest)
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.resiliencehub.paginators.ListAppComponentRecommendationsPublisher publisher = client.listAppComponentRecommendationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsPublisher publisher = client.listAppComponentRecommendationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsResponse 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
listAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest)
operation.
This is a convenience which creates an instance of the ListAppComponentRecommendationsRequest.Builder
avoiding the need to create one manually via ListAppComponentRecommendationsRequest.builder()
listAppComponentRecommendationsRequest - A Consumer that will call methods on ListAppComponentRecommendationsRequest.Builder to
create a request.default CompletableFuture<ListAppVersionResourceMappingsResponse> listAppVersionResourceMappings(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest)
Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.
listAppVersionResourceMappingsRequest - default CompletableFuture<ListAppVersionResourceMappingsResponse> listAppVersionResourceMappings(Consumer<ListAppVersionResourceMappingsRequest.Builder> listAppVersionResourceMappingsRequest)
Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.
This is a convenience which creates an instance of the ListAppVersionResourceMappingsRequest.Builder
avoiding the need to create one manually via ListAppVersionResourceMappingsRequest.builder()
listAppVersionResourceMappingsRequest - A Consumer that will call methods on ListAppVersionResourceMappingsRequest.Builder to
create a request.default ListAppVersionResourceMappingsPublisher listAppVersionResourceMappingsPaginator(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest)
Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.
This is a variant of
listAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest)
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.resiliencehub.paginators.ListAppVersionResourceMappingsPublisher publisher = client.listAppVersionResourceMappingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsPublisher publisher = client.listAppVersionResourceMappingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsResponse 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
listAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest)
operation.
listAppVersionResourceMappingsRequest - default ListAppVersionResourceMappingsPublisher listAppVersionResourceMappingsPaginator(Consumer<ListAppVersionResourceMappingsRequest.Builder> listAppVersionResourceMappingsRequest)
Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.
This is a variant of
listAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest)
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.resiliencehub.paginators.ListAppVersionResourceMappingsPublisher publisher = client.listAppVersionResourceMappingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsPublisher publisher = client.listAppVersionResourceMappingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsResponse 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
listAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest)
operation.
This is a convenience which creates an instance of the ListAppVersionResourceMappingsRequest.Builder
avoiding the need to create one manually via ListAppVersionResourceMappingsRequest.builder()
listAppVersionResourceMappingsRequest - A Consumer that will call methods on ListAppVersionResourceMappingsRequest.Builder to
create a request.default CompletableFuture<ListAppVersionResourcesResponse> listAppVersionResources(ListAppVersionResourcesRequest listAppVersionResourcesRequest)
Lists all the resources in an application version.
listAppVersionResourcesRequest - default CompletableFuture<ListAppVersionResourcesResponse> listAppVersionResources(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest)
Lists all the resources in an application version.
This is a convenience which creates an instance of the ListAppVersionResourcesRequest.Builder avoiding
the need to create one manually via ListAppVersionResourcesRequest.builder()
listAppVersionResourcesRequest - A Consumer that will call methods on ListAppVersionResourcesRequest.Builder to create a
request.default ListAppVersionResourcesPublisher listAppVersionResourcesPaginator(ListAppVersionResourcesRequest listAppVersionResourcesRequest)
Lists all the resources in an application version.
This is a variant of
listAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)
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.resiliencehub.paginators.ListAppVersionResourcesPublisher publisher = client.listAppVersionResourcesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesPublisher publisher = client.listAppVersionResourcesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesResponse 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
listAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)
operation.
listAppVersionResourcesRequest - default ListAppVersionResourcesPublisher listAppVersionResourcesPaginator(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest)
Lists all the resources in an application version.
This is a variant of
listAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)
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.resiliencehub.paginators.ListAppVersionResourcesPublisher publisher = client.listAppVersionResourcesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesPublisher publisher = client.listAppVersionResourcesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesResponse 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
listAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)
operation.
This is a convenience which creates an instance of the ListAppVersionResourcesRequest.Builder avoiding
the need to create one manually via ListAppVersionResourcesRequest.builder()
listAppVersionResourcesRequest - A Consumer that will call methods on ListAppVersionResourcesRequest.Builder to create a
request.default CompletableFuture<ListAppVersionsResponse> listAppVersions(ListAppVersionsRequest listAppVersionsRequest)
Lists the different versions for the Resilience Hub applications.
listAppVersionsRequest - default CompletableFuture<ListAppVersionsResponse> listAppVersions(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest)
Lists the different versions for the Resilience Hub applications.
This is a convenience which creates an instance of the ListAppVersionsRequest.Builder avoiding the need
to create one manually via ListAppVersionsRequest.builder()
listAppVersionsRequest - A Consumer that will call methods on ListAppVersionsRequest.Builder to create a request.default ListAppVersionsPublisher listAppVersionsPaginator(ListAppVersionsRequest listAppVersionsRequest)
Lists the different versions for the Resilience Hub applications.
This is a variant of
listAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest) 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.resiliencehub.paginators.ListAppVersionsPublisher publisher = client.listAppVersionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsPublisher publisher = client.listAppVersionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsResponse 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
listAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest)
operation.
listAppVersionsRequest - default ListAppVersionsPublisher listAppVersionsPaginator(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest)
Lists the different versions for the Resilience Hub applications.
This is a variant of
listAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest) 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.resiliencehub.paginators.ListAppVersionsPublisher publisher = client.listAppVersionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsPublisher publisher = client.listAppVersionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsResponse 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
listAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest)
operation.
This is a convenience which creates an instance of the ListAppVersionsRequest.Builder avoiding the need
to create one manually via ListAppVersionsRequest.builder()
listAppVersionsRequest - A Consumer that will call methods on ListAppVersionsRequest.Builder to create a request.default CompletableFuture<ListAppsResponse> listApps(ListAppsRequest listAppsRequest)
Lists your Resilience Hub applications.
listAppsRequest - default CompletableFuture<ListAppsResponse> listApps(Consumer<ListAppsRequest.Builder> listAppsRequest)
Lists your Resilience Hub applications.
This is a convenience which creates an instance of the ListAppsRequest.Builder avoiding the need to
create one manually via ListAppsRequest.builder()
listAppsRequest - A Consumer that will call methods on ListAppsRequest.Builder to create a request.default ListAppsPublisher listAppsPaginator(ListAppsRequest listAppsRequest)
Lists your Resilience Hub applications.
This is a variant of listApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest)
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.resiliencehub.paginators.ListAppsPublisher publisher = client.listAppsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListAppsPublisher publisher = client.listAppsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppsResponse 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
listApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest) operation.
listAppsRequest - default ListAppsPublisher listAppsPaginator(Consumer<ListAppsRequest.Builder> listAppsRequest)
Lists your Resilience Hub applications.
This is a variant of listApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest)
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.resiliencehub.paginators.ListAppsPublisher publisher = client.listAppsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListAppsPublisher publisher = client.listAppsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppsResponse 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
listApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest) operation.
This is a convenience which creates an instance of the ListAppsRequest.Builder avoiding the need to
create one manually via ListAppsRequest.builder()
listAppsRequest - A Consumer that will call methods on ListAppsRequest.Builder to create a request.default CompletableFuture<ListRecommendationTemplatesResponse> listRecommendationTemplates(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest)
Lists the recommendation templates for the Resilience Hub applications.
listRecommendationTemplatesRequest - default CompletableFuture<ListRecommendationTemplatesResponse> listRecommendationTemplates(Consumer<ListRecommendationTemplatesRequest.Builder> listRecommendationTemplatesRequest)
Lists the recommendation templates for the Resilience Hub applications.
This is a convenience which creates an instance of the ListRecommendationTemplatesRequest.Builder
avoiding the need to create one manually via ListRecommendationTemplatesRequest.builder()
listRecommendationTemplatesRequest - A Consumer that will call methods on ListRecommendationTemplatesRequest.Builder to create
a request.default ListRecommendationTemplatesPublisher listRecommendationTemplatesPaginator(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest)
Lists the recommendation templates for the Resilience Hub applications.
This is a variant of
listRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest)
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.resiliencehub.paginators.ListRecommendationTemplatesPublisher publisher = client.listRecommendationTemplatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesPublisher publisher = client.listRecommendationTemplatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesResponse 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
listRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest)
operation.
listRecommendationTemplatesRequest - default ListRecommendationTemplatesPublisher listRecommendationTemplatesPaginator(Consumer<ListRecommendationTemplatesRequest.Builder> listRecommendationTemplatesRequest)
Lists the recommendation templates for the Resilience Hub applications.
This is a variant of
listRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest)
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.resiliencehub.paginators.ListRecommendationTemplatesPublisher publisher = client.listRecommendationTemplatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesPublisher publisher = client.listRecommendationTemplatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesResponse 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
listRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest)
operation.
This is a convenience which creates an instance of the ListRecommendationTemplatesRequest.Builder
avoiding the need to create one manually via ListRecommendationTemplatesRequest.builder()
listRecommendationTemplatesRequest - A Consumer that will call methods on ListRecommendationTemplatesRequest.Builder to create
a request.default CompletableFuture<ListResiliencyPoliciesResponse> listResiliencyPolicies(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest)
Lists the resiliency policies for the Resilience Hub applications.
listResiliencyPoliciesRequest - default CompletableFuture<ListResiliencyPoliciesResponse> listResiliencyPolicies(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest)
Lists the resiliency policies for the Resilience Hub applications.
This is a convenience which creates an instance of the ListResiliencyPoliciesRequest.Builder avoiding the
need to create one manually via ListResiliencyPoliciesRequest.builder()
listResiliencyPoliciesRequest - A Consumer that will call methods on ListResiliencyPoliciesRequest.Builder to create a
request.default ListResiliencyPoliciesPublisher listResiliencyPoliciesPaginator(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest)
Lists the resiliency policies for the Resilience Hub applications.
This is a variant of
listResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest)
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.resiliencehub.paginators.ListResiliencyPoliciesPublisher publisher = client.listResiliencyPoliciesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesPublisher publisher = client.listResiliencyPoliciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesResponse 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
listResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest)
operation.
listResiliencyPoliciesRequest - default ListResiliencyPoliciesPublisher listResiliencyPoliciesPaginator(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest)
Lists the resiliency policies for the Resilience Hub applications.
This is a variant of
listResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest)
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.resiliencehub.paginators.ListResiliencyPoliciesPublisher publisher = client.listResiliencyPoliciesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesPublisher publisher = client.listResiliencyPoliciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesResponse 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
listResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest)
operation.
This is a convenience which creates an instance of the ListResiliencyPoliciesRequest.Builder avoiding the
need to create one manually via ListResiliencyPoliciesRequest.builder()
listResiliencyPoliciesRequest - A Consumer that will call methods on ListResiliencyPoliciesRequest.Builder to create a
request.default CompletableFuture<ListSopRecommendationsResponse> listSopRecommendations(ListSopRecommendationsRequest listSopRecommendationsRequest)
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
listSopRecommendationsRequest - default CompletableFuture<ListSopRecommendationsResponse> listSopRecommendations(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest)
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
This is a convenience which creates an instance of the ListSopRecommendationsRequest.Builder avoiding the
need to create one manually via ListSopRecommendationsRequest.builder()
listSopRecommendationsRequest - A Consumer that will call methods on ListSopRecommendationsRequest.Builder to create a
request.default ListSopRecommendationsPublisher listSopRecommendationsPaginator(ListSopRecommendationsRequest listSopRecommendationsRequest)
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
This is a variant of
listSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest)
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.resiliencehub.paginators.ListSopRecommendationsPublisher publisher = client.listSopRecommendationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsPublisher publisher = client.listSopRecommendationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsResponse 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
listSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest)
operation.
listSopRecommendationsRequest - default ListSopRecommendationsPublisher listSopRecommendationsPaginator(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest)
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
This is a variant of
listSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest)
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.resiliencehub.paginators.ListSopRecommendationsPublisher publisher = client.listSopRecommendationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsPublisher publisher = client.listSopRecommendationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsResponse 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
listSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest)
operation.
This is a convenience which creates an instance of the ListSopRecommendationsRequest.Builder avoiding the
need to create one manually via ListSopRecommendationsRequest.builder()
listSopRecommendationsRequest - A Consumer that will call methods on ListSopRecommendationsRequest.Builder to create a
request.default CompletableFuture<ListSuggestedResiliencyPoliciesResponse> listSuggestedResiliencyPolicies(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest)
Lists the suggested resiliency policies for the Resilience Hub applications.
listSuggestedResiliencyPoliciesRequest - default CompletableFuture<ListSuggestedResiliencyPoliciesResponse> listSuggestedResiliencyPolicies(Consumer<ListSuggestedResiliencyPoliciesRequest.Builder> listSuggestedResiliencyPoliciesRequest)
Lists the suggested resiliency policies for the Resilience Hub applications.
This is a convenience which creates an instance of the ListSuggestedResiliencyPoliciesRequest.Builder
avoiding the need to create one manually via ListSuggestedResiliencyPoliciesRequest.builder()
listSuggestedResiliencyPoliciesRequest - A Consumer that will call methods on ListSuggestedResiliencyPoliciesRequest.Builder to
create a request.default ListSuggestedResiliencyPoliciesPublisher listSuggestedResiliencyPoliciesPaginator(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest)
Lists the suggested resiliency policies for the Resilience Hub applications.
This is a variant of
listSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest)
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.resiliencehub.paginators.ListSuggestedResiliencyPoliciesPublisher publisher = client.listSuggestedResiliencyPoliciesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesPublisher publisher = client.listSuggestedResiliencyPoliciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesResponse 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
listSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest)
operation.
listSuggestedResiliencyPoliciesRequest - default ListSuggestedResiliencyPoliciesPublisher listSuggestedResiliencyPoliciesPaginator(Consumer<ListSuggestedResiliencyPoliciesRequest.Builder> listSuggestedResiliencyPoliciesRequest)
Lists the suggested resiliency policies for the Resilience Hub applications.
This is a variant of
listSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest)
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.resiliencehub.paginators.ListSuggestedResiliencyPoliciesPublisher publisher = client.listSuggestedResiliencyPoliciesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesPublisher publisher = client.listSuggestedResiliencyPoliciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesResponse 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
listSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest)
operation.
This is a convenience which creates an instance of the ListSuggestedResiliencyPoliciesRequest.Builder
avoiding the need to create one manually via ListSuggestedResiliencyPoliciesRequest.builder()
listSuggestedResiliencyPoliciesRequest - A Consumer that will call methods on ListSuggestedResiliencyPoliciesRequest.Builder to
create a request.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for your resources in your Resilience Hub applications.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for your resources in your Resilience Hub applications.
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<ListTestRecommendationsResponse> listTestRecommendations(ListTestRecommendationsRequest listTestRecommendationsRequest)
Lists the test recommendations for the Resilience Hub application.
listTestRecommendationsRequest - default CompletableFuture<ListTestRecommendationsResponse> listTestRecommendations(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest)
Lists the test recommendations for the Resilience Hub application.
This is a convenience which creates an instance of the ListTestRecommendationsRequest.Builder avoiding
the need to create one manually via ListTestRecommendationsRequest.builder()
listTestRecommendationsRequest - A Consumer that will call methods on ListTestRecommendationsRequest.Builder to create a
request.default ListTestRecommendationsPublisher listTestRecommendationsPaginator(ListTestRecommendationsRequest listTestRecommendationsRequest)
Lists the test recommendations for the Resilience Hub application.
This is a variant of
listTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest)
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.resiliencehub.paginators.ListTestRecommendationsPublisher publisher = client.listTestRecommendationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsPublisher publisher = client.listTestRecommendationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsResponse 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
listTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest)
operation.
listTestRecommendationsRequest - default ListTestRecommendationsPublisher listTestRecommendationsPaginator(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest)
Lists the test recommendations for the Resilience Hub application.
This is a variant of
listTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest)
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.resiliencehub.paginators.ListTestRecommendationsPublisher publisher = client.listTestRecommendationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsPublisher publisher = client.listTestRecommendationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsResponse 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
listTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest)
operation.
This is a convenience which creates an instance of the ListTestRecommendationsRequest.Builder avoiding
the need to create one manually via ListTestRecommendationsRequest.builder()
listTestRecommendationsRequest - A Consumer that will call methods on ListTestRecommendationsRequest.Builder to create a
request.default CompletableFuture<ListUnsupportedAppVersionResourcesResponse> listUnsupportedAppVersionResources(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest)
Lists the resources that are not currently supported in AWS Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.
listUnsupportedAppVersionResourcesRequest - default CompletableFuture<ListUnsupportedAppVersionResourcesResponse> listUnsupportedAppVersionResources(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest)
Lists the resources that are not currently supported in AWS Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.
This is a convenience which creates an instance of the ListUnsupportedAppVersionResourcesRequest.Builder
avoiding the need to create one manually via ListUnsupportedAppVersionResourcesRequest.builder()
listUnsupportedAppVersionResourcesRequest - A Consumer that will call methods on ListUnsupportedAppVersionResourcesRequest.Builder to
create a request.default ListUnsupportedAppVersionResourcesPublisher listUnsupportedAppVersionResourcesPaginator(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest)
Lists the resources that are not currently supported in AWS Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.
This is a variant of
listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest)
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.resiliencehub.paginators.ListUnsupportedAppVersionResourcesPublisher publisher = client.listUnsupportedAppVersionResourcesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesPublisher publisher = client.listUnsupportedAppVersionResourcesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesResponse 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
listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest)
operation.
listUnsupportedAppVersionResourcesRequest - default ListUnsupportedAppVersionResourcesPublisher listUnsupportedAppVersionResourcesPaginator(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest)
Lists the resources that are not currently supported in AWS Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.
This is a variant of
listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest)
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.resiliencehub.paginators.ListUnsupportedAppVersionResourcesPublisher publisher = client.listUnsupportedAppVersionResourcesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesPublisher publisher = client.listUnsupportedAppVersionResourcesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesResponse 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
listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest)
operation.
This is a convenience which creates an instance of the ListUnsupportedAppVersionResourcesRequest.Builder
avoiding the need to create one manually via ListUnsupportedAppVersionResourcesRequest.builder()
listUnsupportedAppVersionResourcesRequest - A Consumer that will call methods on ListUnsupportedAppVersionResourcesRequest.Builder to
create a request.default CompletableFuture<PublishAppVersionResponse> publishAppVersion(PublishAppVersionRequest publishAppVersionRequest)
Publishes a new version of a specific Resilience Hub application.
publishAppVersionRequest - default CompletableFuture<PublishAppVersionResponse> publishAppVersion(Consumer<PublishAppVersionRequest.Builder> publishAppVersionRequest)
Publishes a new version of a specific Resilience Hub application.
This is a convenience which creates an instance of the PublishAppVersionRequest.Builder avoiding the need
to create one manually via PublishAppVersionRequest.builder()
publishAppVersionRequest - A Consumer that will call methods on PublishAppVersionRequest.Builder to create a request.default CompletableFuture<PutDraftAppVersionTemplateResponse> putDraftAppVersionTemplate(PutDraftAppVersionTemplateRequest putDraftAppVersionTemplateRequest)
Adds or updates the app template for a draft version of a Resilience Hub app.
putDraftAppVersionTemplateRequest - default CompletableFuture<PutDraftAppVersionTemplateResponse> putDraftAppVersionTemplate(Consumer<PutDraftAppVersionTemplateRequest.Builder> putDraftAppVersionTemplateRequest)
Adds or updates the app template for a draft version of a Resilience Hub app.
This is a convenience which creates an instance of the PutDraftAppVersionTemplateRequest.Builder avoiding
the need to create one manually via PutDraftAppVersionTemplateRequest.builder()
putDraftAppVersionTemplateRequest - A Consumer that will call methods on PutDraftAppVersionTemplateRequest.Builder to create a
request.default CompletableFuture<RemoveDraftAppVersionResourceMappingsResponse> removeDraftAppVersionResourceMappings(RemoveDraftAppVersionResourceMappingsRequest removeDraftAppVersionResourceMappingsRequest)
Removes resource mappings from a draft application version.
removeDraftAppVersionResourceMappingsRequest - default CompletableFuture<RemoveDraftAppVersionResourceMappingsResponse> removeDraftAppVersionResourceMappings(Consumer<RemoveDraftAppVersionResourceMappingsRequest.Builder> removeDraftAppVersionResourceMappingsRequest)
Removes resource mappings from a draft application version.
This is a convenience which creates an instance of the
RemoveDraftAppVersionResourceMappingsRequest.Builder avoiding the need to create one manually via
RemoveDraftAppVersionResourceMappingsRequest.builder()
removeDraftAppVersionResourceMappingsRequest - A Consumer that will call methods on RemoveDraftAppVersionResourceMappingsRequest.Builder
to create a request.default CompletableFuture<ResolveAppVersionResourcesResponse> resolveAppVersionResources(ResolveAppVersionResourcesRequest resolveAppVersionResourcesRequest)
Resolves the resources for an application version.
resolveAppVersionResourcesRequest - default CompletableFuture<ResolveAppVersionResourcesResponse> resolveAppVersionResources(Consumer<ResolveAppVersionResourcesRequest.Builder> resolveAppVersionResourcesRequest)
Resolves the resources for an application version.
This is a convenience which creates an instance of the ResolveAppVersionResourcesRequest.Builder avoiding
the need to create one manually via ResolveAppVersionResourcesRequest.builder()
resolveAppVersionResourcesRequest - A Consumer that will call methods on ResolveAppVersionResourcesRequest.Builder to create a
request.default CompletableFuture<StartAppAssessmentResponse> startAppAssessment(StartAppAssessmentRequest startAppAssessmentRequest)
Creates a new application assessment for an application.
startAppAssessmentRequest - default CompletableFuture<StartAppAssessmentResponse> startAppAssessment(Consumer<StartAppAssessmentRequest.Builder> startAppAssessmentRequest)
Creates a new application assessment for an application.
This is a convenience which creates an instance of the StartAppAssessmentRequest.Builder avoiding the
need to create one manually via StartAppAssessmentRequest.builder()
startAppAssessmentRequest - A Consumer that will call methods on StartAppAssessmentRequest.Builder to create a
request.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Applies one or more tags to a resource.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Applies one or more tags to a 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)
Removes one or more tags from a resource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes one or more tags from 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<UpdateAppResponse> updateApp(UpdateAppRequest updateAppRequest)
Updates an application.
updateAppRequest - default CompletableFuture<UpdateAppResponse> updateApp(Consumer<UpdateAppRequest.Builder> updateAppRequest)
Updates an application.
This is a convenience which creates an instance of the UpdateAppRequest.Builder avoiding the need to
create one manually via UpdateAppRequest.builder()
updateAppRequest - A Consumer that will call methods on UpdateAppRequest.Builder to create a request.default CompletableFuture<UpdateResiliencyPolicyResponse> updateResiliencyPolicy(UpdateResiliencyPolicyRequest updateResiliencyPolicyRequest)
Updates a resiliency policy.
updateResiliencyPolicyRequest - default CompletableFuture<UpdateResiliencyPolicyResponse> updateResiliencyPolicy(Consumer<UpdateResiliencyPolicyRequest.Builder> updateResiliencyPolicyRequest)
Updates a resiliency policy.
This is a convenience which creates an instance of the UpdateResiliencyPolicyRequest.Builder avoiding the
need to create one manually via UpdateResiliencyPolicyRequest.builder()
updateResiliencyPolicyRequest - A Consumer that will call methods on UpdateResiliencyPolicyRequest.Builder to create a
request.Copyright © 2021. All rights reserved.