Interface ResiliencehubAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any
invalid reference
SdkAsyncHttpClient
Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from disruptions. It offers continual 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.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionaddDraftAppVersionResourceMappings
(Consumer<AddDraftAppVersionResourceMappingsRequest.Builder> addDraftAppVersionResourceMappingsRequest) Adds the source of resource-maps to the draft version of an application.addDraftAppVersionResourceMappings
(AddDraftAppVersionResourceMappingsRequest addDraftAppVersionResourceMappingsRequest) Adds the source of resource-maps to the draft version of an application.batchUpdateRecommendationStatus
(Consumer<BatchUpdateRecommendationStatusRequest.Builder> batchUpdateRecommendationStatusRequest) Enables you to include or exclude one or more operational recommendations.batchUpdateRecommendationStatus
(BatchUpdateRecommendationStatusRequest batchUpdateRecommendationStatusRequest) Enables you to include or exclude one or more operational recommendations.builder()
Create a builder that can be used to configure and create aResiliencehubAsyncClient
.static ResiliencehubAsyncClient
create()
Create aResiliencehubAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CompletableFuture
<CreateAppResponse> createApp
(Consumer<CreateAppRequest.Builder> createAppRequest) Creates an Resilience Hub application.default CompletableFuture
<CreateAppResponse> createApp
(CreateAppRequest createAppRequest) Creates an Resilience Hub application.createAppVersionAppComponent
(Consumer<CreateAppVersionAppComponentRequest.Builder> createAppVersionAppComponentRequest) Creates a new Application Component in the Resilience Hub application.createAppVersionAppComponent
(CreateAppVersionAppComponentRequest createAppVersionAppComponentRequest) Creates a new Application Component in the Resilience Hub application.createAppVersionResource
(Consumer<CreateAppVersionResourceRequest.Builder> createAppVersionResourceRequest) Adds a resource to the Resilience Hub application and assigns it to the specified Application Components.createAppVersionResource
(CreateAppVersionResourceRequest createAppVersionResourceRequest) Adds a resource to the Resilience Hub application and assigns it to the specified Application Components.createRecommendationTemplate
(Consumer<CreateRecommendationTemplateRequest.Builder> createRecommendationTemplateRequest) Creates a new recommendation template for the Resilience Hub application.createRecommendationTemplate
(CreateRecommendationTemplateRequest createRecommendationTemplateRequest) Creates a new recommendation template for the Resilience Hub application.createResiliencyPolicy
(Consumer<CreateResiliencyPolicyRequest.Builder> createResiliencyPolicyRequest) Creates a resiliency policy for an application.createResiliencyPolicy
(CreateResiliencyPolicyRequest createResiliencyPolicyRequest) Creates a resiliency policy for an application.default CompletableFuture
<DeleteAppResponse> deleteApp
(Consumer<DeleteAppRequest.Builder> deleteAppRequest) Deletes an Resilience Hub application.default CompletableFuture
<DeleteAppResponse> deleteApp
(DeleteAppRequest deleteAppRequest) Deletes an Resilience Hub application.deleteAppAssessment
(Consumer<DeleteAppAssessmentRequest.Builder> deleteAppAssessmentRequest) Deletes an Resilience Hub application assessment.deleteAppAssessment
(DeleteAppAssessmentRequest deleteAppAssessmentRequest) Deletes an Resilience Hub application assessment.deleteAppInputSource
(Consumer<DeleteAppInputSourceRequest.Builder> deleteAppInputSourceRequest) Deletes the input source and all of its imported resources from the Resilience Hub application.deleteAppInputSource
(DeleteAppInputSourceRequest deleteAppInputSourceRequest) Deletes the input source and all of its imported resources from the Resilience Hub application.deleteAppVersionAppComponent
(Consumer<DeleteAppVersionAppComponentRequest.Builder> deleteAppVersionAppComponentRequest) Deletes an Application Component from the Resilience Hub application.deleteAppVersionAppComponent
(DeleteAppVersionAppComponentRequest deleteAppVersionAppComponentRequest) Deletes an Application Component from the Resilience Hub application.deleteAppVersionResource
(Consumer<DeleteAppVersionResourceRequest.Builder> deleteAppVersionResourceRequest) Deletes a resource from the Resilience Hub application.deleteAppVersionResource
(DeleteAppVersionResourceRequest deleteAppVersionResourceRequest) Deletes a resource from the Resilience Hub application.deleteRecommendationTemplate
(Consumer<DeleteRecommendationTemplateRequest.Builder> deleteRecommendationTemplateRequest) Deletes a recommendation template.deleteRecommendationTemplate
(DeleteRecommendationTemplateRequest deleteRecommendationTemplateRequest) Deletes a recommendation template.deleteResiliencyPolicy
(Consumer<DeleteResiliencyPolicyRequest.Builder> deleteResiliencyPolicyRequest) Deletes a resiliency policy.deleteResiliencyPolicy
(DeleteResiliencyPolicyRequest deleteResiliencyPolicyRequest) Deletes a resiliency policy.default CompletableFuture
<DescribeAppResponse> describeApp
(Consumer<DescribeAppRequest.Builder> describeAppRequest) Describes an Resilience Hub application.default CompletableFuture
<DescribeAppResponse> describeApp
(DescribeAppRequest describeAppRequest) Describes an Resilience Hub application.describeAppAssessment
(Consumer<DescribeAppAssessmentRequest.Builder> describeAppAssessmentRequest) Describes an assessment for an Resilience Hub application.describeAppAssessment
(DescribeAppAssessmentRequest describeAppAssessmentRequest) Describes an assessment for an Resilience Hub application.describeAppVersion
(Consumer<DescribeAppVersionRequest.Builder> describeAppVersionRequest) Describes the Resilience Hub application version.describeAppVersion
(DescribeAppVersionRequest describeAppVersionRequest) Describes the Resilience Hub application version.describeAppVersionAppComponent
(Consumer<DescribeAppVersionAppComponentRequest.Builder> describeAppVersionAppComponentRequest) Describes an Application Component in the Resilience Hub application.describeAppVersionAppComponent
(DescribeAppVersionAppComponentRequest describeAppVersionAppComponentRequest) Describes an Application Component in the Resilience Hub application.describeAppVersionResource
(Consumer<DescribeAppVersionResourceRequest.Builder> describeAppVersionResourceRequest) Describes a resource of the Resilience Hub application.describeAppVersionResource
(DescribeAppVersionResourceRequest describeAppVersionResourceRequest) Describes a resource of the Resilience Hub application.describeAppVersionResourcesResolutionStatus
(Consumer<DescribeAppVersionResourcesResolutionStatusRequest.Builder> describeAppVersionResourcesResolutionStatusRequest) Returns the resolution status for the specified resolution identifier for an application version.describeAppVersionResourcesResolutionStatus
(DescribeAppVersionResourcesResolutionStatusRequest describeAppVersionResourcesResolutionStatusRequest) Returns the resolution status for the specified resolution identifier for an application version.describeAppVersionTemplate
(Consumer<DescribeAppVersionTemplateRequest.Builder> describeAppVersionTemplateRequest) Describes details about an Resilience Hub application.describeAppVersionTemplate
(DescribeAppVersionTemplateRequest describeAppVersionTemplateRequest) Describes details about an Resilience Hub application.describeDraftAppVersionResourcesImportStatus
(Consumer<DescribeDraftAppVersionResourcesImportStatusRequest.Builder> describeDraftAppVersionResourcesImportStatusRequest) Describes the status of importing resources to an application version.describeDraftAppVersionResourcesImportStatus
(DescribeDraftAppVersionResourcesImportStatusRequest describeDraftAppVersionResourcesImportStatusRequest) Describes the status of importing resources to an application version.describeResiliencyPolicy
(Consumer<DescribeResiliencyPolicyRequest.Builder> describeResiliencyPolicyRequest) Describes a specified resiliency policy for an Resilience Hub application.describeResiliencyPolicy
(DescribeResiliencyPolicyRequest describeResiliencyPolicyRequest) Describes a specified resiliency policy for an Resilience Hub application.importResourcesToDraftAppVersion
(Consumer<ImportResourcesToDraftAppVersionRequest.Builder> importResourcesToDraftAppVersionRequest) Imports resources to Resilience Hub application draft version from different input sources.importResourcesToDraftAppVersion
(ImportResourcesToDraftAppVersionRequest importResourcesToDraftAppVersionRequest) Imports resources to Resilience Hub application draft version from different input sources.listAlarmRecommendations
(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest) Lists the alarm recommendations for an Resilience Hub application.listAlarmRecommendations
(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest) Lists the alarm recommendations for an Resilience Hub application.listAlarmRecommendationsPaginator
(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest) This is a variant oflistAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)
operation.listAlarmRecommendationsPaginator
(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest) This is a variant oflistAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)
operation.listAppAssessmentComplianceDrifts
(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest) List of compliance drifts that were detected while running an assessment.listAppAssessmentComplianceDrifts
(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest) List of compliance drifts that were detected while running an assessment.listAppAssessmentComplianceDriftsPaginator
(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest) This is a variant oflistAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest)
operation.listAppAssessmentComplianceDriftsPaginator
(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest) This is a variant oflistAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest)
operation.listAppAssessments
(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest) Lists the assessments for an Resilience Hub application.listAppAssessments
(ListAppAssessmentsRequest listAppAssessmentsRequest) Lists the assessments for an Resilience Hub application.default ListAppAssessmentsPublisher
listAppAssessmentsPaginator
(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest) This is a variant oflistAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)
operation.default ListAppAssessmentsPublisher
listAppAssessmentsPaginator
(ListAppAssessmentsRequest listAppAssessmentsRequest) This is a variant oflistAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)
operation.listAppComponentCompliances
(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest) Lists the compliances for an Resilience Hub Application Component.listAppComponentCompliances
(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest) Lists the compliances for an Resilience Hub Application Component.listAppComponentCompliancesPaginator
(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest) This is a variant oflistAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest)
operation.listAppComponentCompliancesPaginator
(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest) This is a variant oflistAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest)
operation.listAppComponentRecommendations
(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest) Lists the recommendations for an Resilience Hub Application Component.listAppComponentRecommendations
(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest) Lists the recommendations for an Resilience Hub Application Component.listAppComponentRecommendationsPaginator
(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest) This is a variant oflistAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest)
operation.listAppComponentRecommendationsPaginator
(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest) This is a variant oflistAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest)
operation.listAppInputSources
(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest) Lists all the input sources of the Resilience Hub application.listAppInputSources
(ListAppInputSourcesRequest listAppInputSourcesRequest) Lists all the input sources of the Resilience Hub application.default ListAppInputSourcesPublisher
listAppInputSourcesPaginator
(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest) This is a variant oflistAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)
operation.default ListAppInputSourcesPublisher
listAppInputSourcesPaginator
(ListAppInputSourcesRequest listAppInputSourcesRequest) This is a variant oflistAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)
operation.default CompletableFuture
<ListAppsResponse> listApps
(Consumer<ListAppsRequest.Builder> listAppsRequest) Lists your Resilience Hub applications.default CompletableFuture
<ListAppsResponse> listApps
(ListAppsRequest listAppsRequest) Lists your Resilience Hub applications.default ListAppsPublisher
listAppsPaginator
(Consumer<ListAppsRequest.Builder> listAppsRequest) This is a variant oflistApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest)
operation.default ListAppsPublisher
listAppsPaginator
(ListAppsRequest listAppsRequest) This is a variant oflistApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest)
operation.listAppVersionAppComponents
(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest) Lists all the Application Components in the Resilience Hub application.listAppVersionAppComponents
(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest) Lists all the Application Components in the Resilience Hub application.listAppVersionAppComponentsPaginator
(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest) This is a variant oflistAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest)
operation.listAppVersionAppComponentsPaginator
(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest) This is a variant oflistAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest)
operation.listAppVersionResourceMappings
(Consumer<ListAppVersionResourceMappingsRequest.Builder> listAppVersionResourceMappingsRequest) Lists how the resources in an application version are mapped/sourced from.listAppVersionResourceMappings
(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest) Lists how the resources in an application version are mapped/sourced from.listAppVersionResourceMappingsPaginator
(Consumer<ListAppVersionResourceMappingsRequest.Builder> listAppVersionResourceMappingsRequest) This is a variant oflistAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest)
operation.listAppVersionResourceMappingsPaginator
(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest) This is a variant oflistAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest)
operation.listAppVersionResources
(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest) Lists all the resources in an Resilience Hub application.listAppVersionResources
(ListAppVersionResourcesRequest listAppVersionResourcesRequest) Lists all the resources in an Resilience Hub application.default ListAppVersionResourcesPublisher
listAppVersionResourcesPaginator
(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest) This is a variant oflistAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)
operation.default ListAppVersionResourcesPublisher
listAppVersionResourcesPaginator
(ListAppVersionResourcesRequest listAppVersionResourcesRequest) This is a variant oflistAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)
operation.default CompletableFuture
<ListAppVersionsResponse> listAppVersions
(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest) Lists the different versions for the Resilience Hub applications.default CompletableFuture
<ListAppVersionsResponse> listAppVersions
(ListAppVersionsRequest listAppVersionsRequest) Lists the different versions for the Resilience Hub applications.default ListAppVersionsPublisher
listAppVersionsPaginator
(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest) This is a variant oflistAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest)
operation.default ListAppVersionsPublisher
listAppVersionsPaginator
(ListAppVersionsRequest listAppVersionsRequest) This is a variant oflistAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest)
operation.listRecommendationTemplates
(Consumer<ListRecommendationTemplatesRequest.Builder> listRecommendationTemplatesRequest) Lists the recommendation templates for the Resilience Hub applications.listRecommendationTemplates
(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest) Lists the recommendation templates for the Resilience Hub applications.listRecommendationTemplatesPaginator
(Consumer<ListRecommendationTemplatesRequest.Builder> listRecommendationTemplatesRequest) This is a variant oflistRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest)
operation.listRecommendationTemplatesPaginator
(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest) This is a variant oflistRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest)
operation.listResiliencyPolicies
(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest) Lists the resiliency policies for the Resilience Hub applications.listResiliencyPolicies
(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest) Lists the resiliency policies for the Resilience Hub applications.default ListResiliencyPoliciesPublisher
listResiliencyPoliciesPaginator
(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest) This is a variant oflistResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest)
operation.default ListResiliencyPoliciesPublisher
listResiliencyPoliciesPaginator
(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest) This is a variant oflistResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest)
operation.listSopRecommendations
(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest) Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.listSopRecommendations
(ListSopRecommendationsRequest listSopRecommendationsRequest) Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.default ListSopRecommendationsPublisher
listSopRecommendationsPaginator
(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest) This is a variant oflistSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest)
operation.default ListSopRecommendationsPublisher
listSopRecommendationsPaginator
(ListSopRecommendationsRequest listSopRecommendationsRequest) This is a variant oflistSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest)
operation.listSuggestedResiliencyPolicies
(Consumer<ListSuggestedResiliencyPoliciesRequest.Builder> listSuggestedResiliencyPoliciesRequest) Lists the suggested resiliency policies for the Resilience Hub applications.listSuggestedResiliencyPolicies
(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest) Lists the suggested resiliency policies for the Resilience Hub applications.listSuggestedResiliencyPoliciesPaginator
(Consumer<ListSuggestedResiliencyPoliciesRequest.Builder> listSuggestedResiliencyPoliciesRequest) This is a variant oflistSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest)
operation.listSuggestedResiliencyPoliciesPaginator
(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest) This is a variant oflistSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for your resources in your Resilience Hub applications.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for your resources in your Resilience Hub applications.listTestRecommendations
(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest) Lists the test recommendations for the Resilience Hub application.listTestRecommendations
(ListTestRecommendationsRequest listTestRecommendationsRequest) Lists the test recommendations for the Resilience Hub application.default ListTestRecommendationsPublisher
listTestRecommendationsPaginator
(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest) This is a variant oflistTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest)
operation.default ListTestRecommendationsPublisher
listTestRecommendationsPaginator
(ListTestRecommendationsRequest listTestRecommendationsRequest) This is a variant oflistTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest)
operation.listUnsupportedAppVersionResources
(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest) Lists the resources that are not currently supported in Resilience Hub.listUnsupportedAppVersionResources
(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest) Lists the resources that are not currently supported in Resilience Hub.listUnsupportedAppVersionResourcesPaginator
(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest) listUnsupportedAppVersionResourcesPaginator
(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest) publishAppVersion
(Consumer<PublishAppVersionRequest.Builder> publishAppVersionRequest) Publishes a new version of a specific Resilience Hub application.publishAppVersion
(PublishAppVersionRequest publishAppVersionRequest) Publishes a new version of a specific Resilience Hub application.putDraftAppVersionTemplate
(Consumer<PutDraftAppVersionTemplateRequest.Builder> putDraftAppVersionTemplateRequest) Adds or updates the app template for an Resilience Hub application draft version.putDraftAppVersionTemplate
(PutDraftAppVersionTemplateRequest putDraftAppVersionTemplateRequest) Adds or updates the app template for an Resilience Hub application draft version.removeDraftAppVersionResourceMappings
(Consumer<RemoveDraftAppVersionResourceMappingsRequest.Builder> removeDraftAppVersionResourceMappingsRequest) Removes resource mappings from a draft application version.removeDraftAppVersionResourceMappings
(RemoveDraftAppVersionResourceMappingsRequest removeDraftAppVersionResourceMappingsRequest) Removes resource mappings from a draft application version.resolveAppVersionResources
(Consumer<ResolveAppVersionResourcesRequest.Builder> resolveAppVersionResourcesRequest) Resolves the resources for an application version.resolveAppVersionResources
(ResolveAppVersionResourcesRequest resolveAppVersionResourcesRequest) Resolves the resources for an application version.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartAppAssessment
(Consumer<StartAppAssessmentRequest.Builder> startAppAssessmentRequest) Creates a new application assessment for an application.startAppAssessment
(StartAppAssessmentRequest startAppAssessmentRequest) Creates a new application assessment for an application.default CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Applies one or more tags to a resource.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Applies one or more tags to a resource.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from a resource.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes one or more tags from a resource.default CompletableFuture
<UpdateAppResponse> updateApp
(Consumer<UpdateAppRequest.Builder> updateAppRequest) Updates an application.default CompletableFuture
<UpdateAppResponse> updateApp
(UpdateAppRequest updateAppRequest) Updates an application.updateAppVersion
(Consumer<UpdateAppVersionRequest.Builder> updateAppVersionRequest) Updates the Resilience Hub application version.updateAppVersion
(UpdateAppVersionRequest updateAppVersionRequest) Updates the Resilience Hub application version.updateAppVersionAppComponent
(Consumer<UpdateAppVersionAppComponentRequest.Builder> updateAppVersionAppComponentRequest) Updates an existing Application Component in the Resilience Hub application.updateAppVersionAppComponent
(UpdateAppVersionAppComponentRequest updateAppVersionAppComponentRequest) Updates an existing Application Component in the Resilience Hub application.updateAppVersionResource
(Consumer<UpdateAppVersionResourceRequest.Builder> updateAppVersionResourceRequest) Updates the resource details in the Resilience Hub application.updateAppVersionResource
(UpdateAppVersionResourceRequest updateAppVersionResourceRequest) Updates the resource details in the Resilience Hub application.updateResiliencyPolicy
(Consumer<UpdateResiliencyPolicyRequest.Builder> updateResiliencyPolicyRequest) Updates a resiliency policy.updateResiliencyPolicy
(UpdateResiliencyPolicyRequest updateResiliencyPolicyRequest) Updates a resiliency policy.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
addDraftAppVersionResourceMappings
default CompletableFuture<AddDraftAppVersionResourceMappingsResponse> addDraftAppVersionResourceMappings(AddDraftAppVersionResourceMappingsRequest addDraftAppVersionResourceMappingsRequest) Adds the source of resource-maps to the draft version of an application. During assessment, Resilience Hub will use these resource-maps to resolve the latest physical ID for each resource in the application template. For more information about different types of resources suported by Resilience Hub and how to add them in your application, see Step 2: How is your application managed? in the Resilience Hub User Guide.
- Parameters:
addDraftAppVersionResourceMappingsRequest
-- Returns:
- A Java Future containing the result of the AddDraftAppVersionResourceMappings operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addDraftAppVersionResourceMappings
default CompletableFuture<AddDraftAppVersionResourceMappingsResponse> addDraftAppVersionResourceMappings(Consumer<AddDraftAppVersionResourceMappingsRequest.Builder> addDraftAppVersionResourceMappingsRequest) Adds the source of resource-maps to the draft version of an application. During assessment, Resilience Hub will use these resource-maps to resolve the latest physical ID for each resource in the application template. For more information about different types of resources suported by Resilience Hub and how to add them in your application, see Step 2: How is your application managed? in the Resilience Hub User Guide.
This is a convenience which creates an instance of the
AddDraftAppVersionResourceMappingsRequest.Builder
avoiding the need to create one manually viaAddDraftAppVersionResourceMappingsRequest.builder()
- Parameters:
addDraftAppVersionResourceMappingsRequest
- AConsumer
that will call methods onAddDraftAppVersionResourceMappingsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AddDraftAppVersionResourceMappings operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchUpdateRecommendationStatus
default CompletableFuture<BatchUpdateRecommendationStatusResponse> batchUpdateRecommendationStatus(BatchUpdateRecommendationStatusRequest batchUpdateRecommendationStatusRequest) Enables you to include or exclude one or more operational recommendations.
- Parameters:
batchUpdateRecommendationStatusRequest
-- Returns:
- A Java Future containing the result of the BatchUpdateRecommendationStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchUpdateRecommendationStatus
default CompletableFuture<BatchUpdateRecommendationStatusResponse> batchUpdateRecommendationStatus(Consumer<BatchUpdateRecommendationStatusRequest.Builder> batchUpdateRecommendationStatusRequest) Enables you to include or exclude one or more operational recommendations.
This is a convenience which creates an instance of the
BatchUpdateRecommendationStatusRequest.Builder
avoiding the need to create one manually viaBatchUpdateRecommendationStatusRequest.builder()
- Parameters:
batchUpdateRecommendationStatusRequest
- AConsumer
that will call methods onBatchUpdateRecommendationStatusRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the BatchUpdateRecommendationStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApp
Creates an Resilience Hub application. An 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 CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information about the number of resources supported per application, see Service quotas.
After you create an 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).
- Parameters:
createAppRequest
-- Returns:
- A Java Future containing the result of the CreateApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApp
default CompletableFuture<CreateAppResponse> createApp(Consumer<CreateAppRequest.Builder> createAppRequest) Creates an Resilience Hub application. An 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 CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information about the number of resources supported per application, see Service quotas.
After you create an 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).
This is a convenience which creates an instance of the
CreateAppRequest.Builder
avoiding the need to create one manually viaCreateAppRequest.builder()
- Parameters:
createAppRequest
- AConsumer
that will call methods onCreateAppRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAppVersionAppComponent
default CompletableFuture<CreateAppVersionAppComponentResponse> createAppVersionAppComponent(CreateAppVersionAppComponentRequest createAppVersionAppComponentRequest) Creates a new Application Component in the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API.- Parameters:
createAppVersionAppComponentRequest
-- Returns:
- A Java Future containing the result of the CreateAppVersionAppComponent operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAppVersionAppComponent
default CompletableFuture<CreateAppVersionAppComponentResponse> createAppVersionAppComponent(Consumer<CreateAppVersionAppComponentRequest.Builder> createAppVersionAppComponentRequest) Creates a new Application Component in the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API.
This is a convenience which creates an instance of the
CreateAppVersionAppComponentRequest.Builder
avoiding the need to create one manually viaCreateAppVersionAppComponentRequest.builder()
- Parameters:
createAppVersionAppComponentRequest
- AConsumer
that will call methods onCreateAppVersionAppComponentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateAppVersionAppComponent operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAppVersionResource
default CompletableFuture<CreateAppVersionResourceResponse> createAppVersionResource(CreateAppVersionResourceRequest createAppVersionResourceRequest) Adds a resource to the Resilience Hub application and assigns it to the specified Application Components. If you specify a new Application Component, Resilience Hub will automatically create the Application Component.
-
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API. -
To update application version with new
physicalResourceID
, you must callResolveAppVersionResources
API.
- Parameters:
createAppVersionResourceRequest
-- Returns:
- A Java Future containing the result of the CreateAppVersionResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createAppVersionResource
default CompletableFuture<CreateAppVersionResourceResponse> createAppVersionResource(Consumer<CreateAppVersionResourceRequest.Builder> createAppVersionResourceRequest) Adds a resource to the Resilience Hub application and assigns it to the specified Application Components. If you specify a new Application Component, Resilience Hub will automatically create the Application Component.
-
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API. -
To update application version with new
physicalResourceID
, you must callResolveAppVersionResources
API.
This is a convenience which creates an instance of the
CreateAppVersionResourceRequest.Builder
avoiding the need to create one manually viaCreateAppVersionResourceRequest.builder()
- Parameters:
createAppVersionResourceRequest
- AConsumer
that will call methods onCreateAppVersionResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateAppVersionResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createRecommendationTemplate
default CompletableFuture<CreateRecommendationTemplateResponse> createRecommendationTemplate(CreateRecommendationTemplateRequest createRecommendationTemplateRequest) Creates a new recommendation template for the Resilience Hub application.
- Parameters:
createRecommendationTemplateRequest
-- Returns:
- A Java Future containing the result of the CreateRecommendationTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRecommendationTemplate
default CompletableFuture<CreateRecommendationTemplateResponse> createRecommendationTemplate(Consumer<CreateRecommendationTemplateRequest.Builder> createRecommendationTemplateRequest) Creates a new recommendation template for the Resilience Hub application.
This is a convenience which creates an instance of the
CreateRecommendationTemplateRequest.Builder
avoiding the need to create one manually viaCreateRecommendationTemplateRequest.builder()
- Parameters:
createRecommendationTemplateRequest
- AConsumer
that will call methods onCreateRecommendationTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateRecommendationTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createResiliencyPolicy
default CompletableFuture<CreateResiliencyPolicyResponse> createResiliencyPolicy(CreateResiliencyPolicyRequest createResiliencyPolicyRequest) Creates a resiliency policy for an application.
Resilience Hub allows you to provide a value of zero for
rtoInSecs
andrpoInSecs
of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero forrtoInSecs
andrpoInSecs
, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.- Parameters:
createResiliencyPolicyRequest
-- Returns:
- A Java Future containing the result of the CreateResiliencyPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createResiliencyPolicy
default CompletableFuture<CreateResiliencyPolicyResponse> createResiliencyPolicy(Consumer<CreateResiliencyPolicyRequest.Builder> createResiliencyPolicyRequest) Creates a resiliency policy for an application.
Resilience Hub allows you to provide a value of zero for
rtoInSecs
andrpoInSecs
of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero forrtoInSecs
andrpoInSecs
, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.
This is a convenience which creates an instance of the
CreateResiliencyPolicyRequest.Builder
avoiding the need to create one manually viaCreateResiliencyPolicyRequest.builder()
- Parameters:
createResiliencyPolicyRequest
- AConsumer
that will call methods onCreateResiliencyPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateResiliencyPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApp
Deletes an Resilience Hub application. This is a destructive action that can't be undone.
- Parameters:
deleteAppRequest
-- Returns:
- A Java Future containing the result of the DeleteApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApp
default CompletableFuture<DeleteAppResponse> deleteApp(Consumer<DeleteAppRequest.Builder> deleteAppRequest) Deletes an 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 viaDeleteAppRequest.builder()
- Parameters:
deleteAppRequest
- AConsumer
that will call methods onDeleteAppRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAppAssessment
default CompletableFuture<DeleteAppAssessmentResponse> deleteAppAssessment(DeleteAppAssessmentRequest deleteAppAssessmentRequest) Deletes an Resilience Hub application assessment. This is a destructive action that can't be undone.
- Parameters:
deleteAppAssessmentRequest
-- Returns:
- A Java Future containing the result of the DeleteAppAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAppAssessment
default CompletableFuture<DeleteAppAssessmentResponse> deleteAppAssessment(Consumer<DeleteAppAssessmentRequest.Builder> deleteAppAssessmentRequest) Deletes an 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 viaDeleteAppAssessmentRequest.builder()
- Parameters:
deleteAppAssessmentRequest
- AConsumer
that will call methods onDeleteAppAssessmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAppAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAppInputSource
default CompletableFuture<DeleteAppInputSourceResponse> deleteAppInputSource(DeleteAppInputSourceRequest deleteAppInputSourceRequest) Deletes the input source and all of its imported resources from the Resilience Hub application.
- Parameters:
deleteAppInputSourceRequest
-- Returns:
- A Java Future containing the result of the DeleteAppInputSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAppInputSource
default CompletableFuture<DeleteAppInputSourceResponse> deleteAppInputSource(Consumer<DeleteAppInputSourceRequest.Builder> deleteAppInputSourceRequest) Deletes the input source and all of its imported resources from the Resilience Hub application.
This is a convenience which creates an instance of the
DeleteAppInputSourceRequest.Builder
avoiding the need to create one manually viaDeleteAppInputSourceRequest.builder()
- Parameters:
deleteAppInputSourceRequest
- AConsumer
that will call methods onDeleteAppInputSourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAppInputSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAppVersionAppComponent
default CompletableFuture<DeleteAppVersionAppComponentResponse> deleteAppVersionAppComponent(DeleteAppVersionAppComponentRequest deleteAppVersionAppComponentRequest) Deletes an Application Component from the Resilience Hub application.
-
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API. -
You will not be able to delete an Application Component if it has resources associated with it.
- Parameters:
deleteAppVersionAppComponentRequest
-- Returns:
- A Java Future containing the result of the DeleteAppVersionAppComponent operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteAppVersionAppComponent
default CompletableFuture<DeleteAppVersionAppComponentResponse> deleteAppVersionAppComponent(Consumer<DeleteAppVersionAppComponentRequest.Builder> deleteAppVersionAppComponentRequest) Deletes an Application Component from the Resilience Hub application.
-
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API. -
You will not be able to delete an Application Component if it has resources associated with it.
This is a convenience which creates an instance of the
DeleteAppVersionAppComponentRequest.Builder
avoiding the need to create one manually viaDeleteAppVersionAppComponentRequest.builder()
- Parameters:
deleteAppVersionAppComponentRequest
- AConsumer
that will call methods onDeleteAppVersionAppComponentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAppVersionAppComponent operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteAppVersionResource
default CompletableFuture<DeleteAppVersionResourceResponse> deleteAppVersionResource(DeleteAppVersionResourceRequest deleteAppVersionResourceRequest) Deletes a resource from the Resilience Hub application.
-
You can only delete a manually added resource. To exclude non-manually added resources, use the
UpdateAppVersionResource
API. -
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API.
- Parameters:
deleteAppVersionResourceRequest
-- Returns:
- A Java Future containing the result of the DeleteAppVersionResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteAppVersionResource
default CompletableFuture<DeleteAppVersionResourceResponse> deleteAppVersionResource(Consumer<DeleteAppVersionResourceRequest.Builder> deleteAppVersionResourceRequest) Deletes a resource from the Resilience Hub application.
-
You can only delete a manually added resource. To exclude non-manually added resources, use the
UpdateAppVersionResource
API. -
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API.
This is a convenience which creates an instance of the
DeleteAppVersionResourceRequest.Builder
avoiding the need to create one manually viaDeleteAppVersionResourceRequest.builder()
- Parameters:
deleteAppVersionResourceRequest
- AConsumer
that will call methods onDeleteAppVersionResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAppVersionResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteRecommendationTemplate
default CompletableFuture<DeleteRecommendationTemplateResponse> deleteRecommendationTemplate(DeleteRecommendationTemplateRequest deleteRecommendationTemplateRequest) Deletes a recommendation template. This is a destructive action that can't be undone.
- Parameters:
deleteRecommendationTemplateRequest
-- Returns:
- A Java Future containing the result of the DeleteRecommendationTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRecommendationTemplate
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 viaDeleteRecommendationTemplateRequest.builder()
- Parameters:
deleteRecommendationTemplateRequest
- AConsumer
that will call methods onDeleteRecommendationTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteRecommendationTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResiliencyPolicy
default CompletableFuture<DeleteResiliencyPolicyResponse> deleteResiliencyPolicy(DeleteResiliencyPolicyRequest deleteResiliencyPolicyRequest) Deletes a resiliency policy. This is a destructive action that can't be undone.
- Parameters:
deleteResiliencyPolicyRequest
-- Returns:
- A Java Future containing the result of the DeleteResiliencyPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteResiliencyPolicy
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 viaDeleteResiliencyPolicyRequest.builder()
- Parameters:
deleteResiliencyPolicyRequest
- AConsumer
that will call methods onDeleteResiliencyPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteResiliencyPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApp
Describes an Resilience Hub application.
- Parameters:
describeAppRequest
-- Returns:
- A Java Future containing the result of the DescribeApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApp
default CompletableFuture<DescribeAppResponse> describeApp(Consumer<DescribeAppRequest.Builder> describeAppRequest) Describes an Resilience Hub application.
This is a convenience which creates an instance of the
DescribeAppRequest.Builder
avoiding the need to create one manually viaDescribeAppRequest.builder()
- Parameters:
describeAppRequest
- AConsumer
that will call methods onDescribeAppRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAppAssessment
default CompletableFuture<DescribeAppAssessmentResponse> describeAppAssessment(DescribeAppAssessmentRequest describeAppAssessmentRequest) Describes an assessment for an Resilience Hub application.
- Parameters:
describeAppAssessmentRequest
-- Returns:
- A Java Future containing the result of the DescribeAppAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAppAssessment
default CompletableFuture<DescribeAppAssessmentResponse> describeAppAssessment(Consumer<DescribeAppAssessmentRequest.Builder> describeAppAssessmentRequest) Describes an assessment for an Resilience Hub application.
This is a convenience which creates an instance of the
DescribeAppAssessmentRequest.Builder
avoiding the need to create one manually viaDescribeAppAssessmentRequest.builder()
- Parameters:
describeAppAssessmentRequest
- AConsumer
that will call methods onDescribeAppAssessmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeAppAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAppVersion
default CompletableFuture<DescribeAppVersionResponse> describeAppVersion(DescribeAppVersionRequest describeAppVersionRequest) Describes the Resilience Hub application version.
- Parameters:
describeAppVersionRequest
-- Returns:
- A Java Future containing the result of the DescribeAppVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAppVersion
default CompletableFuture<DescribeAppVersionResponse> describeAppVersion(Consumer<DescribeAppVersionRequest.Builder> describeAppVersionRequest) Describes the Resilience Hub application version.
This is a convenience which creates an instance of the
DescribeAppVersionRequest.Builder
avoiding the need to create one manually viaDescribeAppVersionRequest.builder()
- Parameters:
describeAppVersionRequest
- AConsumer
that will call methods onDescribeAppVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeAppVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAppVersionAppComponent
default CompletableFuture<DescribeAppVersionAppComponentResponse> describeAppVersionAppComponent(DescribeAppVersionAppComponentRequest describeAppVersionAppComponentRequest) Describes an Application Component in the Resilience Hub application.
- Parameters:
describeAppVersionAppComponentRequest
-- Returns:
- A Java Future containing the result of the DescribeAppVersionAppComponent operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAppVersionAppComponent
default CompletableFuture<DescribeAppVersionAppComponentResponse> describeAppVersionAppComponent(Consumer<DescribeAppVersionAppComponentRequest.Builder> describeAppVersionAppComponentRequest) Describes an Application Component in the Resilience Hub application.
This is a convenience which creates an instance of the
DescribeAppVersionAppComponentRequest.Builder
avoiding the need to create one manually viaDescribeAppVersionAppComponentRequest.builder()
- Parameters:
describeAppVersionAppComponentRequest
- AConsumer
that will call methods onDescribeAppVersionAppComponentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeAppVersionAppComponent operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAppVersionResource
default CompletableFuture<DescribeAppVersionResourceResponse> describeAppVersionResource(DescribeAppVersionResourceRequest describeAppVersionResourceRequest) Describes a resource of the Resilience Hub application.
This API accepts only one of the following parameters to descibe the resource:
-
resourceName
-
logicalResourceId
-
physicalResourceId
(Along withphysicalResourceId
, you can also provideawsAccountId
, andawsRegion
)
- Parameters:
describeAppVersionResourceRequest
-- Returns:
- A Java Future containing the result of the DescribeAppVersionResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeAppVersionResource
default CompletableFuture<DescribeAppVersionResourceResponse> describeAppVersionResource(Consumer<DescribeAppVersionResourceRequest.Builder> describeAppVersionResourceRequest) Describes a resource of the Resilience Hub application.
This API accepts only one of the following parameters to descibe the resource:
-
resourceName
-
logicalResourceId
-
physicalResourceId
(Along withphysicalResourceId
, you can also provideawsAccountId
, andawsRegion
)
This is a convenience which creates an instance of the
DescribeAppVersionResourceRequest.Builder
avoiding the need to create one manually viaDescribeAppVersionResourceRequest.builder()
- Parameters:
describeAppVersionResourceRequest
- AConsumer
that will call methods onDescribeAppVersionResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeAppVersionResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
describeAppVersionResourcesResolutionStatus
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.- Parameters:
describeAppVersionResourcesResolutionStatusRequest
-- Returns:
- A Java Future containing the result of the DescribeAppVersionResourcesResolutionStatus operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAppVersionResourcesResolutionStatus
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 viaDescribeAppVersionResourcesResolutionStatusRequest.builder()
- Parameters:
describeAppVersionResourcesResolutionStatusRequest
- AConsumer
that will call methods onDescribeAppVersionResourcesResolutionStatusRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeAppVersionResourcesResolutionStatus operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAppVersionTemplate
default CompletableFuture<DescribeAppVersionTemplateResponse> describeAppVersionTemplate(DescribeAppVersionTemplateRequest describeAppVersionTemplateRequest) Describes details about an Resilience Hub application.
- Parameters:
describeAppVersionTemplateRequest
-- Returns:
- A Java Future containing the result of the DescribeAppVersionTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAppVersionTemplate
default CompletableFuture<DescribeAppVersionTemplateResponse> describeAppVersionTemplate(Consumer<DescribeAppVersionTemplateRequest.Builder> describeAppVersionTemplateRequest) Describes details about an Resilience Hub application.
This is a convenience which creates an instance of the
DescribeAppVersionTemplateRequest.Builder
avoiding the need to create one manually viaDescribeAppVersionTemplateRequest.builder()
- Parameters:
describeAppVersionTemplateRequest
- AConsumer
that will call methods onDescribeAppVersionTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeAppVersionTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeDraftAppVersionResourcesImportStatus
default CompletableFuture<DescribeDraftAppVersionResourcesImportStatusResponse> describeDraftAppVersionResourcesImportStatus(DescribeDraftAppVersionResourcesImportStatusRequest describeDraftAppVersionResourcesImportStatusRequest) Describes the status of importing resources to an application version.
If you get a 404 error with
ResourceImportStatusNotFoundAppMetadataException
, you must callimportResourcesToDraftAppVersion
after creating the application and before callingdescribeDraftAppVersionResourcesImportStatus
to obtain the status.- Parameters:
describeDraftAppVersionResourcesImportStatusRequest
-- Returns:
- A Java Future containing the result of the DescribeDraftAppVersionResourcesImportStatus operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeDraftAppVersionResourcesImportStatus
default CompletableFuture<DescribeDraftAppVersionResourcesImportStatusResponse> describeDraftAppVersionResourcesImportStatus(Consumer<DescribeDraftAppVersionResourcesImportStatusRequest.Builder> describeDraftAppVersionResourcesImportStatusRequest) Describes the status of importing resources to an application version.
If you get a 404 error with
ResourceImportStatusNotFoundAppMetadataException
, you must callimportResourcesToDraftAppVersion
after creating the application and before callingdescribeDraftAppVersionResourcesImportStatus
to obtain the status.
This is a convenience which creates an instance of the
DescribeDraftAppVersionResourcesImportStatusRequest.Builder
avoiding the need to create one manually viaDescribeDraftAppVersionResourcesImportStatusRequest.builder()
- Parameters:
describeDraftAppVersionResourcesImportStatusRequest
- AConsumer
that will call methods onDescribeDraftAppVersionResourcesImportStatusRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeDraftAppVersionResourcesImportStatus operation
returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeResiliencyPolicy
default CompletableFuture<DescribeResiliencyPolicyResponse> describeResiliencyPolicy(DescribeResiliencyPolicyRequest describeResiliencyPolicyRequest) Describes a specified resiliency policy for an 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.
- Parameters:
describeResiliencyPolicyRequest
-- Returns:
- A Java Future containing the result of the DescribeResiliencyPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeResiliencyPolicy
default CompletableFuture<DescribeResiliencyPolicyResponse> describeResiliencyPolicy(Consumer<DescribeResiliencyPolicyRequest.Builder> describeResiliencyPolicyRequest) Describes a specified resiliency policy for an 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 viaDescribeResiliencyPolicyRequest.builder()
- Parameters:
describeResiliencyPolicyRequest
- AConsumer
that will call methods onDescribeResiliencyPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeResiliencyPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importResourcesToDraftAppVersion
default CompletableFuture<ImportResourcesToDraftAppVersionResponse> importResourcesToDraftAppVersion(ImportResourcesToDraftAppVersionRequest importResourcesToDraftAppVersionRequest) Imports resources to Resilience Hub application draft version from different input sources. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.
- Parameters:
importResourcesToDraftAppVersionRequest
-- Returns:
- A Java Future containing the result of the ImportResourcesToDraftAppVersion operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importResourcesToDraftAppVersion
default CompletableFuture<ImportResourcesToDraftAppVersionResponse> importResourcesToDraftAppVersion(Consumer<ImportResourcesToDraftAppVersionRequest.Builder> importResourcesToDraftAppVersionRequest) Imports resources to Resilience Hub application draft version from different input sources. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.
This is a convenience which creates an instance of the
ImportResourcesToDraftAppVersionRequest.Builder
avoiding the need to create one manually viaImportResourcesToDraftAppVersionRequest.builder()
- Parameters:
importResourcesToDraftAppVersionRequest
- AConsumer
that will call methods onImportResourcesToDraftAppVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ImportResourcesToDraftAppVersion operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAlarmRecommendations
default CompletableFuture<ListAlarmRecommendationsResponse> listAlarmRecommendations(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest) Lists the alarm recommendations for an Resilience Hub application.
- Parameters:
listAlarmRecommendationsRequest
-- Returns:
- A Java Future containing the result of the ListAlarmRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAlarmRecommendations
default CompletableFuture<ListAlarmRecommendationsResponse> listAlarmRecommendations(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest) Lists the alarm recommendations for an Resilience Hub application.
This is a convenience which creates an instance of the
ListAlarmRecommendationsRequest.Builder
avoiding the need to create one manually viaListAlarmRecommendationsRequest.builder()
- Parameters:
listAlarmRecommendationsRequest
- AConsumer
that will call methods onListAlarmRecommendationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAlarmRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAlarmRecommendationsPaginator
default ListAlarmRecommendationsPublisher listAlarmRecommendationsPaginator(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsPublisher publisher = client.listAlarmRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listAlarmRecommendationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAlarmRecommendationsPaginator
default ListAlarmRecommendationsPublisher listAlarmRecommendationsPaginator(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsPublisher publisher = client.listAlarmRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListAlarmRecommendationsRequest.builder()
- Parameters:
listAlarmRecommendationsRequest
- AConsumer
that will call methods onListAlarmRecommendationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppAssessmentComplianceDrifts
default CompletableFuture<ListAppAssessmentComplianceDriftsResponse> listAppAssessmentComplianceDrifts(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest) List of compliance drifts that were detected while running an assessment.
- Parameters:
listAppAssessmentComplianceDriftsRequest
-- Returns:
- A Java Future containing the result of the ListAppAssessmentComplianceDrifts operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppAssessmentComplianceDrifts
default CompletableFuture<ListAppAssessmentComplianceDriftsResponse> listAppAssessmentComplianceDrifts(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest) List of compliance drifts that were detected while running an assessment.
This is a convenience which creates an instance of the
ListAppAssessmentComplianceDriftsRequest.Builder
avoiding the need to create one manually viaListAppAssessmentComplianceDriftsRequest.builder()
- Parameters:
listAppAssessmentComplianceDriftsRequest
- AConsumer
that will call methods onListAppAssessmentComplianceDriftsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAppAssessmentComplianceDrifts operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppAssessmentComplianceDriftsPaginator
default ListAppAssessmentComplianceDriftsPublisher listAppAssessmentComplianceDriftsPaginator(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest) This is a variant of
listAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest)
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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsPublisher publisher = client.listAppAssessmentComplianceDriftsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsPublisher publisher = client.listAppAssessmentComplianceDriftsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsResponse response) { //... }; });
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
listAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest)
operation.- Parameters:
listAppAssessmentComplianceDriftsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppAssessmentComplianceDriftsPaginator
default ListAppAssessmentComplianceDriftsPublisher listAppAssessmentComplianceDriftsPaginator(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest) This is a variant of
listAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest)
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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsPublisher publisher = client.listAppAssessmentComplianceDriftsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsPublisher publisher = client.listAppAssessmentComplianceDriftsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsResponse response) { //... }; });
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
listAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest)
operation.
This is a convenience which creates an instance of the
ListAppAssessmentComplianceDriftsRequest.Builder
avoiding the need to create one manually viaListAppAssessmentComplianceDriftsRequest.builder()
- Parameters:
listAppAssessmentComplianceDriftsRequest
- AConsumer
that will call methods onListAppAssessmentComplianceDriftsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppAssessments
default CompletableFuture<ListAppAssessmentsResponse> listAppAssessments(ListAppAssessmentsRequest listAppAssessmentsRequest) Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.
- Parameters:
listAppAssessmentsRequest
-- Returns:
- A Java Future containing the result of the ListAppAssessments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppAssessments
default CompletableFuture<ListAppAssessmentsResponse> listAppAssessments(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest) Lists the assessments for an 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 viaListAppAssessmentsRequest.builder()
- Parameters:
listAppAssessmentsRequest
- AConsumer
that will call methods onListAppAssessmentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAppAssessments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppAssessmentsPaginator
default ListAppAssessmentsPublisher listAppAssessmentsPaginator(ListAppAssessmentsRequest listAppAssessmentsRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsPublisher publisher = client.listAppAssessmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listAppAssessmentsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppAssessmentsPaginator
default ListAppAssessmentsPublisher listAppAssessmentsPaginator(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsPublisher publisher = client.listAppAssessmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListAppAssessmentsRequest.builder()
- Parameters:
listAppAssessmentsRequest
- AConsumer
that will call methods onListAppAssessmentsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppComponentCompliances
default CompletableFuture<ListAppComponentCompliancesResponse> listAppComponentCompliances(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest) Lists the compliances for an Resilience Hub Application Component.
- Parameters:
listAppComponentCompliancesRequest
-- Returns:
- A Java Future containing the result of the ListAppComponentCompliances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppComponentCompliances
default CompletableFuture<ListAppComponentCompliancesResponse> listAppComponentCompliances(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest) Lists the compliances for an Resilience Hub Application Component.
This is a convenience which creates an instance of the
ListAppComponentCompliancesRequest.Builder
avoiding the need to create one manually viaListAppComponentCompliancesRequest.builder()
- Parameters:
listAppComponentCompliancesRequest
- AConsumer
that will call methods onListAppComponentCompliancesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAppComponentCompliances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppComponentCompliancesPaginator
default ListAppComponentCompliancesPublisher listAppComponentCompliancesPaginator(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesPublisher publisher = client.listAppComponentCompliancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listAppComponentCompliancesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppComponentCompliancesPaginator
default ListAppComponentCompliancesPublisher listAppComponentCompliancesPaginator(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesPublisher publisher = client.listAppComponentCompliancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListAppComponentCompliancesRequest.builder()
- Parameters:
listAppComponentCompliancesRequest
- AConsumer
that will call methods onListAppComponentCompliancesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppComponentRecommendations
default CompletableFuture<ListAppComponentRecommendationsResponse> listAppComponentRecommendations(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest) Lists the recommendations for an Resilience Hub Application Component.
- Parameters:
listAppComponentRecommendationsRequest
-- Returns:
- A Java Future containing the result of the ListAppComponentRecommendations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppComponentRecommendations
default CompletableFuture<ListAppComponentRecommendationsResponse> listAppComponentRecommendations(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest) Lists the recommendations for an Resilience Hub Application Component.
This is a convenience which creates an instance of the
ListAppComponentRecommendationsRequest.Builder
avoiding the need to create one manually viaListAppComponentRecommendationsRequest.builder()
- Parameters:
listAppComponentRecommendationsRequest
- AConsumer
that will call methods onListAppComponentRecommendationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAppComponentRecommendations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppComponentRecommendationsPaginator
default ListAppComponentRecommendationsPublisher listAppComponentRecommendationsPaginator(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsPublisher publisher = client.listAppComponentRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listAppComponentRecommendationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppComponentRecommendationsPaginator
default ListAppComponentRecommendationsPublisher listAppComponentRecommendationsPaginator(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsPublisher publisher = client.listAppComponentRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListAppComponentRecommendationsRequest.builder()
- Parameters:
listAppComponentRecommendationsRequest
- AConsumer
that will call methods onListAppComponentRecommendationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppInputSources
default CompletableFuture<ListAppInputSourcesResponse> listAppInputSources(ListAppInputSourcesRequest listAppInputSourcesRequest) Lists all the input sources of the Resilience Hub application. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.
- Parameters:
listAppInputSourcesRequest
-- Returns:
- A Java Future containing the result of the ListAppInputSources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppInputSources
default CompletableFuture<ListAppInputSourcesResponse> listAppInputSources(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest) Lists all the input sources of the Resilience Hub application. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.
This is a convenience which creates an instance of the
ListAppInputSourcesRequest.Builder
avoiding the need to create one manually viaListAppInputSourcesRequest.builder()
- Parameters:
listAppInputSourcesRequest
- AConsumer
that will call methods onListAppInputSourcesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAppInputSources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppInputSourcesPaginator
default ListAppInputSourcesPublisher listAppInputSourcesPaginator(ListAppInputSourcesRequest listAppInputSourcesRequest) This is a variant of
listAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)
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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesPublisher publisher = client.listAppInputSourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesPublisher publisher = client.listAppInputSourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesResponse response) { //... }; });
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
listAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)
operation.- Parameters:
listAppInputSourcesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppInputSourcesPaginator
default ListAppInputSourcesPublisher listAppInputSourcesPaginator(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest) This is a variant of
listAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)
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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesPublisher publisher = client.listAppInputSourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesPublisher publisher = client.listAppInputSourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesResponse response) { //... }; });
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
listAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)
operation.
This is a convenience which creates an instance of the
ListAppInputSourcesRequest.Builder
avoiding the need to create one manually viaListAppInputSourcesRequest.builder()
- Parameters:
listAppInputSourcesRequest
- AConsumer
that will call methods onListAppInputSourcesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppVersionAppComponents
default CompletableFuture<ListAppVersionAppComponentsResponse> listAppVersionAppComponents(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest) Lists all the Application Components in the Resilience Hub application.
- Parameters:
listAppVersionAppComponentsRequest
-- Returns:
- A Java Future containing the result of the ListAppVersionAppComponents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppVersionAppComponents
default CompletableFuture<ListAppVersionAppComponentsResponse> listAppVersionAppComponents(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest) Lists all the Application Components in the Resilience Hub application.
This is a convenience which creates an instance of the
ListAppVersionAppComponentsRequest.Builder
avoiding the need to create one manually viaListAppVersionAppComponentsRequest.builder()
- Parameters:
listAppVersionAppComponentsRequest
- AConsumer
that will call methods onListAppVersionAppComponentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAppVersionAppComponents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppVersionAppComponentsPaginator
default ListAppVersionAppComponentsPublisher listAppVersionAppComponentsPaginator(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest) This is a variant of
listAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest)
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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsPublisher publisher = client.listAppVersionAppComponentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsPublisher publisher = client.listAppVersionAppComponentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsResponse response) { //... }; });
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
listAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest)
operation.- Parameters:
listAppVersionAppComponentsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppVersionAppComponentsPaginator
default ListAppVersionAppComponentsPublisher listAppVersionAppComponentsPaginator(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest) This is a variant of
listAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest)
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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsPublisher publisher = client.listAppVersionAppComponentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsPublisher publisher = client.listAppVersionAppComponentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsResponse response) { //... }; });
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
listAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest)
operation.
This is a convenience which creates an instance of the
ListAppVersionAppComponentsRequest.Builder
avoiding the need to create one manually viaListAppVersionAppComponentsRequest.builder()
- Parameters:
listAppVersionAppComponentsRequest
- AConsumer
that will call methods onListAppVersionAppComponentsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppVersionResourceMappings
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.
- Parameters:
listAppVersionResourceMappingsRequest
-- Returns:
- A Java Future containing the result of the ListAppVersionResourceMappings operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppVersionResourceMappings
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 viaListAppVersionResourceMappingsRequest.builder()
- Parameters:
listAppVersionResourceMappingsRequest
- AConsumer
that will call methods onListAppVersionResourceMappingsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAppVersionResourceMappings operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppVersionResourceMappingsPaginator
default ListAppVersionResourceMappingsPublisher listAppVersionResourceMappingsPaginator(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsPublisher publisher = client.listAppVersionResourceMappingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listAppVersionResourceMappingsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppVersionResourceMappingsPaginator
default ListAppVersionResourceMappingsPublisher listAppVersionResourceMappingsPaginator(Consumer<ListAppVersionResourceMappingsRequest.Builder> listAppVersionResourceMappingsRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsPublisher publisher = client.listAppVersionResourceMappingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListAppVersionResourceMappingsRequest.builder()
- Parameters:
listAppVersionResourceMappingsRequest
- AConsumer
that will call methods onListAppVersionResourceMappingsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppVersionResources
default CompletableFuture<ListAppVersionResourcesResponse> listAppVersionResources(ListAppVersionResourcesRequest listAppVersionResourcesRequest) Lists all the resources in an Resilience Hub application.
- Parameters:
listAppVersionResourcesRequest
-- Returns:
- A Java Future containing the result of the ListAppVersionResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppVersionResources
default CompletableFuture<ListAppVersionResourcesResponse> listAppVersionResources(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest) Lists all the resources in an Resilience Hub application.
This is a convenience which creates an instance of the
ListAppVersionResourcesRequest.Builder
avoiding the need to create one manually viaListAppVersionResourcesRequest.builder()
- Parameters:
listAppVersionResourcesRequest
- AConsumer
that will call methods onListAppVersionResourcesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAppVersionResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppVersionResourcesPaginator
default ListAppVersionResourcesPublisher listAppVersionResourcesPaginator(ListAppVersionResourcesRequest listAppVersionResourcesRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesPublisher publisher = client.listAppVersionResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listAppVersionResourcesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppVersionResourcesPaginator
default ListAppVersionResourcesPublisher listAppVersionResourcesPaginator(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesPublisher publisher = client.listAppVersionResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListAppVersionResourcesRequest.builder()
- Parameters:
listAppVersionResourcesRequest
- AConsumer
that will call methods onListAppVersionResourcesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppVersions
default CompletableFuture<ListAppVersionsResponse> listAppVersions(ListAppVersionsRequest listAppVersionsRequest) Lists the different versions for the Resilience Hub applications.
- Parameters:
listAppVersionsRequest
-- Returns:
- A Java Future containing the result of the ListAppVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppVersions
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 viaListAppVersionsRequest.builder()
- Parameters:
listAppVersionsRequest
- AConsumer
that will call methods onListAppVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAppVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppVersionsPaginator
default ListAppVersionsPublisher listAppVersionsPaginator(ListAppVersionsRequest listAppVersionsRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsPublisher publisher = client.listAppVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listAppVersionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppVersionsPaginator
default ListAppVersionsPublisher listAppVersionsPaginator(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsPublisher publisher = client.listAppVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListAppVersionsRequest.builder()
- Parameters:
listAppVersionsRequest
- AConsumer
that will call methods onListAppVersionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApps
Lists your Resilience Hub applications.
You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error:
An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation.
- Parameters:
listAppsRequest
-- Returns:
- A Java Future containing the result of the ListApps operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listApps
default CompletableFuture<ListAppsResponse> listApps(Consumer<ListAppsRequest.Builder> listAppsRequest) Lists your Resilience Hub applications.
You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error:
An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation.
This is a convenience which creates an instance of the
ListAppsRequest.Builder
avoiding the need to create one manually viaListAppsRequest.builder()
- Parameters:
listAppsRequest
- AConsumer
that will call methods onListAppsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListApps operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppsPaginator
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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppsPublisher publisher = client.listAppsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listAppsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAppsPaginator
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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppsPublisher publisher = client.listAppsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListAppsRequest.builder()
- Parameters:
listAppsRequest
- AConsumer
that will call methods onListAppsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecommendationTemplates
default CompletableFuture<ListRecommendationTemplatesResponse> listRecommendationTemplates(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest) Lists the recommendation templates for the Resilience Hub applications.
- Parameters:
listRecommendationTemplatesRequest
-- Returns:
- A Java Future containing the result of the ListRecommendationTemplates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecommendationTemplates
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 viaListRecommendationTemplatesRequest.builder()
- Parameters:
listRecommendationTemplatesRequest
- AConsumer
that will call methods onListRecommendationTemplatesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListRecommendationTemplates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecommendationTemplatesPaginator
default ListRecommendationTemplatesPublisher listRecommendationTemplatesPaginator(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesPublisher publisher = client.listRecommendationTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listRecommendationTemplatesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecommendationTemplatesPaginator
default ListRecommendationTemplatesPublisher listRecommendationTemplatesPaginator(Consumer<ListRecommendationTemplatesRequest.Builder> listRecommendationTemplatesRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesPublisher publisher = client.listRecommendationTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListRecommendationTemplatesRequest.builder()
- Parameters:
listRecommendationTemplatesRequest
- AConsumer
that will call methods onListRecommendationTemplatesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResiliencyPolicies
default CompletableFuture<ListResiliencyPoliciesResponse> listResiliencyPolicies(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest) Lists the resiliency policies for the Resilience Hub applications.
- Parameters:
listResiliencyPoliciesRequest
-- Returns:
- A Java Future containing the result of the ListResiliencyPolicies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResiliencyPolicies
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 viaListResiliencyPoliciesRequest.builder()
- Parameters:
listResiliencyPoliciesRequest
- AConsumer
that will call methods onListResiliencyPoliciesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResiliencyPolicies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResiliencyPoliciesPaginator
default ListResiliencyPoliciesPublisher listResiliencyPoliciesPaginator(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesPublisher publisher = client.listResiliencyPoliciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listResiliencyPoliciesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResiliencyPoliciesPaginator
default ListResiliencyPoliciesPublisher listResiliencyPoliciesPaginator(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesPublisher publisher = client.listResiliencyPoliciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListResiliencyPoliciesRequest.builder()
- Parameters:
listResiliencyPoliciesRequest
- AConsumer
that will call methods onListResiliencyPoliciesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSopRecommendations
default CompletableFuture<ListSopRecommendationsResponse> listSopRecommendations(ListSopRecommendationsRequest listSopRecommendationsRequest) Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
- Parameters:
listSopRecommendationsRequest
-- Returns:
- A Java Future containing the result of the ListSopRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSopRecommendations
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 viaListSopRecommendationsRequest.builder()
- Parameters:
listSopRecommendationsRequest
- AConsumer
that will call methods onListSopRecommendationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSopRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSopRecommendationsPaginator
default ListSopRecommendationsPublisher listSopRecommendationsPaginator(ListSopRecommendationsRequest listSopRecommendationsRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsPublisher publisher = client.listSopRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listSopRecommendationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSopRecommendationsPaginator
default ListSopRecommendationsPublisher listSopRecommendationsPaginator(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsPublisher publisher = client.listSopRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListSopRecommendationsRequest.builder()
- Parameters:
listSopRecommendationsRequest
- AConsumer
that will call methods onListSopRecommendationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSuggestedResiliencyPolicies
default CompletableFuture<ListSuggestedResiliencyPoliciesResponse> listSuggestedResiliencyPolicies(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest) Lists the suggested resiliency policies for the Resilience Hub applications.
- Parameters:
listSuggestedResiliencyPoliciesRequest
-- Returns:
- A Java Future containing the result of the ListSuggestedResiliencyPolicies operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSuggestedResiliencyPolicies
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 viaListSuggestedResiliencyPoliciesRequest.builder()
- Parameters:
listSuggestedResiliencyPoliciesRequest
- AConsumer
that will call methods onListSuggestedResiliencyPoliciesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSuggestedResiliencyPolicies operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSuggestedResiliencyPoliciesPaginator
default ListSuggestedResiliencyPoliciesPublisher listSuggestedResiliencyPoliciesPaginator(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesPublisher publisher = client.listSuggestedResiliencyPoliciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listSuggestedResiliencyPoliciesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSuggestedResiliencyPoliciesPaginator
default ListSuggestedResiliencyPoliciesPublisher listSuggestedResiliencyPoliciesPaginator(Consumer<ListSuggestedResiliencyPoliciesRequest.Builder> listSuggestedResiliencyPoliciesRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesPublisher publisher = client.listSuggestedResiliencyPoliciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListSuggestedResiliencyPoliciesRequest.builder()
- Parameters:
listSuggestedResiliencyPoliciesRequest
- AConsumer
that will call methods onListSuggestedResiliencyPoliciesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for your resources in your Resilience Hub applications.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
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 viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTestRecommendations
default CompletableFuture<ListTestRecommendationsResponse> listTestRecommendations(ListTestRecommendationsRequest listTestRecommendationsRequest) Lists the test recommendations for the Resilience Hub application.
- Parameters:
listTestRecommendationsRequest
-- Returns:
- A Java Future containing the result of the ListTestRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTestRecommendations
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 viaListTestRecommendationsRequest.builder()
- Parameters:
listTestRecommendationsRequest
- AConsumer
that will call methods onListTestRecommendationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTestRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTestRecommendationsPaginator
default ListTestRecommendationsPublisher listTestRecommendationsPaginator(ListTestRecommendationsRequest listTestRecommendationsRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsPublisher publisher = client.listTestRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listTestRecommendationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTestRecommendationsPaginator
default ListTestRecommendationsPublisher listTestRecommendationsPaginator(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsPublisher publisher = client.listTestRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListTestRecommendationsRequest.builder()
- Parameters:
listTestRecommendationsRequest
- AConsumer
that will call methods onListTestRecommendationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUnsupportedAppVersionResources
default CompletableFuture<ListUnsupportedAppVersionResourcesResponse> listUnsupportedAppVersionResources(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest) Lists the resources that are not currently supported in 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.
- Parameters:
listUnsupportedAppVersionResourcesRequest
-- Returns:
- A Java Future containing the result of the ListUnsupportedAppVersionResources operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUnsupportedAppVersionResources
default CompletableFuture<ListUnsupportedAppVersionResourcesResponse> listUnsupportedAppVersionResources(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest) Lists the resources that are not currently supported in 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 viaListUnsupportedAppVersionResourcesRequest.builder()
- Parameters:
listUnsupportedAppVersionResourcesRequest
- AConsumer
that will call methods onListUnsupportedAppVersionResourcesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListUnsupportedAppVersionResources operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUnsupportedAppVersionResourcesPaginator
default ListUnsupportedAppVersionResourcesPublisher listUnsupportedAppVersionResourcesPaginator(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesPublisher publisher = client.listUnsupportedAppVersionResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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.- Parameters:
listUnsupportedAppVersionResourcesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUnsupportedAppVersionResourcesPaginator
default ListUnsupportedAppVersionResourcesPublisher listUnsupportedAppVersionResourcesPaginator(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest) 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 newSubscription
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 methodsoftware.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesPublisher publisher = client.listUnsupportedAppVersionResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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) { //... }; });
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 viaListUnsupportedAppVersionResourcesRequest.builder()
- Parameters:
listUnsupportedAppVersionResourcesRequest
- AConsumer
that will call methods onListUnsupportedAppVersionResourcesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
publishAppVersion
default CompletableFuture<PublishAppVersionResponse> publishAppVersion(PublishAppVersionRequest publishAppVersionRequest) Publishes a new version of a specific Resilience Hub application.
- Parameters:
publishAppVersionRequest
-- Returns:
- A Java Future containing the result of the PublishAppVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
publishAppVersion
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 viaPublishAppVersionRequest.builder()
- Parameters:
publishAppVersionRequest
- AConsumer
that will call methods onPublishAppVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PublishAppVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putDraftAppVersionTemplate
default CompletableFuture<PutDraftAppVersionTemplateResponse> putDraftAppVersionTemplate(PutDraftAppVersionTemplateRequest putDraftAppVersionTemplateRequest) Adds or updates the app template for an Resilience Hub application draft version.
- Parameters:
putDraftAppVersionTemplateRequest
-- Returns:
- A Java Future containing the result of the PutDraftAppVersionTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putDraftAppVersionTemplate
default CompletableFuture<PutDraftAppVersionTemplateResponse> putDraftAppVersionTemplate(Consumer<PutDraftAppVersionTemplateRequest.Builder> putDraftAppVersionTemplateRequest) Adds or updates the app template for an Resilience Hub application draft version.
This is a convenience which creates an instance of the
PutDraftAppVersionTemplateRequest.Builder
avoiding the need to create one manually viaPutDraftAppVersionTemplateRequest.builder()
- Parameters:
putDraftAppVersionTemplateRequest
- AConsumer
that will call methods onPutDraftAppVersionTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutDraftAppVersionTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeDraftAppVersionResourceMappings
default CompletableFuture<RemoveDraftAppVersionResourceMappingsResponse> removeDraftAppVersionResourceMappings(RemoveDraftAppVersionResourceMappingsRequest removeDraftAppVersionResourceMappingsRequest) Removes resource mappings from a draft application version.
- Parameters:
removeDraftAppVersionResourceMappingsRequest
-- Returns:
- A Java Future containing the result of the RemoveDraftAppVersionResourceMappings operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeDraftAppVersionResourceMappings
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 viaRemoveDraftAppVersionResourceMappingsRequest.builder()
- Parameters:
removeDraftAppVersionResourceMappingsRequest
- AConsumer
that will call methods onRemoveDraftAppVersionResourceMappingsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RemoveDraftAppVersionResourceMappings operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
resolveAppVersionResources
default CompletableFuture<ResolveAppVersionResourcesResponse> resolveAppVersionResources(ResolveAppVersionResourcesRequest resolveAppVersionResourcesRequest) Resolves the resources for an application version.
- Parameters:
resolveAppVersionResourcesRequest
-- Returns:
- A Java Future containing the result of the ResolveAppVersionResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
resolveAppVersionResources
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 viaResolveAppVersionResourcesRequest.builder()
- Parameters:
resolveAppVersionResourcesRequest
- AConsumer
that will call methods onResolveAppVersionResourcesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ResolveAppVersionResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startAppAssessment
default CompletableFuture<StartAppAssessmentResponse> startAppAssessment(StartAppAssessmentRequest startAppAssessmentRequest) Creates a new application assessment for an application.
- Parameters:
startAppAssessmentRequest
-- Returns:
- A Java Future containing the result of the StartAppAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startAppAssessment
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 viaStartAppAssessmentRequest.builder()
- Parameters:
startAppAssessmentRequest
- AConsumer
that will call methods onStartAppAssessmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartAppAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Applies one or more tags to a resource.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
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 viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes one or more tags from a resource.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
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 viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApp
Updates an application.
- Parameters:
updateAppRequest
-- Returns:
- A Java Future containing the result of the UpdateApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApp
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 viaUpdateAppRequest.builder()
- Parameters:
updateAppRequest
- AConsumer
that will call methods onUpdateAppRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAppVersion
default CompletableFuture<UpdateAppVersionResponse> updateAppVersion(UpdateAppVersionRequest updateAppVersionRequest) Updates the Resilience Hub application version.
This API updates the Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API.- Parameters:
updateAppVersionRequest
-- Returns:
- A Java Future containing the result of the UpdateAppVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAppVersion
default CompletableFuture<UpdateAppVersionResponse> updateAppVersion(Consumer<UpdateAppVersionRequest.Builder> updateAppVersionRequest) Updates the Resilience Hub application version.
This API updates the Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API.
This is a convenience which creates an instance of the
UpdateAppVersionRequest.Builder
avoiding the need to create one manually viaUpdateAppVersionRequest.builder()
- Parameters:
updateAppVersionRequest
- AConsumer
that will call methods onUpdateAppVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateAppVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAppVersionAppComponent
default CompletableFuture<UpdateAppVersionAppComponentResponse> updateAppVersionAppComponent(UpdateAppVersionAppComponentRequest updateAppVersionAppComponentRequest) Updates an existing Application Component in the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API.- Parameters:
updateAppVersionAppComponentRequest
-- Returns:
- A Java Future containing the result of the UpdateAppVersionAppComponent operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAppVersionAppComponent
default CompletableFuture<UpdateAppVersionAppComponentResponse> updateAppVersionAppComponent(Consumer<UpdateAppVersionAppComponentRequest.Builder> updateAppVersionAppComponentRequest) Updates an existing Application Component in the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API.
This is a convenience which creates an instance of the
UpdateAppVersionAppComponentRequest.Builder
avoiding the need to create one manually viaUpdateAppVersionAppComponentRequest.builder()
- Parameters:
updateAppVersionAppComponentRequest
- AConsumer
that will call methods onUpdateAppVersionAppComponentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateAppVersionAppComponent operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAppVersionResource
default CompletableFuture<UpdateAppVersionResourceResponse> updateAppVersionResource(UpdateAppVersionResourceRequest updateAppVersionResourceRequest) Updates the resource details in the Resilience Hub application.
-
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API. -
To update application version with new
physicalResourceID
, you must callResolveAppVersionResources
API.
- Parameters:
updateAppVersionResourceRequest
-- Returns:
- A Java Future containing the result of the UpdateAppVersionResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
updateAppVersionResource
default CompletableFuture<UpdateAppVersionResourceResponse> updateAppVersionResource(Consumer<UpdateAppVersionResourceRequest.Builder> updateAppVersionResourceRequest) Updates the resource details in the Resilience Hub application.
-
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API. -
To update application version with new
physicalResourceID
, you must callResolveAppVersionResources
API.
This is a convenience which creates an instance of the
UpdateAppVersionResourceRequest.Builder
avoiding the need to create one manually viaUpdateAppVersionResourceRequest.builder()
- Parameters:
updateAppVersionResourceRequest
- AConsumer
that will call methods onUpdateAppVersionResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateAppVersionResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ServiceQuotaExceededException This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
updateResiliencyPolicy
default CompletableFuture<UpdateResiliencyPolicyResponse> updateResiliencyPolicy(UpdateResiliencyPolicyRequest updateResiliencyPolicyRequest) Updates a resiliency policy.
Resilience Hub allows you to provide a value of zero for
rtoInSecs
andrpoInSecs
of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero forrtoInSecs
andrpoInSecs
, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.- Parameters:
updateResiliencyPolicyRequest
-- Returns:
- A Java Future containing the result of the UpdateResiliencyPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateResiliencyPolicy
default CompletableFuture<UpdateResiliencyPolicyResponse> updateResiliencyPolicy(Consumer<UpdateResiliencyPolicyRequest.Builder> updateResiliencyPolicyRequest) Updates a resiliency policy.
Resilience Hub allows you to provide a value of zero for
rtoInSecs
andrpoInSecs
of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero forrtoInSecs
andrpoInSecs
, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.
This is a convenience which creates an instance of the
UpdateResiliencyPolicyRequest.Builder
avoiding the need to create one manually viaUpdateResiliencyPolicyRequest.builder()
- Parameters:
updateResiliencyPolicyRequest
- AConsumer
that will call methods onUpdateResiliencyPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateResiliencyPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- InternalServerException This exception occurs when there is an internal failure in the Resilience Hub service.
- ResourceNotFoundException This exception occurs when the specified resource could not be found.
- ConflictException This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
- ThrottlingException This exception occurs when you have exceeded the limit on the number of requests per second.
- ValidationException This exception occurs when a request is not valid.
- AccessDeniedException You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- ResiliencehubException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aResiliencehubAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aResiliencehubAsyncClient
.
-