@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface ResiliencehubClient extends AwsClient
builder() method.
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default AddDraftAppVersionResourceMappingsResponse |
addDraftAppVersionResourceMappings(AddDraftAppVersionResourceMappingsRequest addDraftAppVersionResourceMappingsRequest)
Adds the resource mapping for the draft application version.
|
default AddDraftAppVersionResourceMappingsResponse |
addDraftAppVersionResourceMappings(Consumer<AddDraftAppVersionResourceMappingsRequest.Builder> addDraftAppVersionResourceMappingsRequest)
Adds the resource mapping for the draft application version.
|
default BatchUpdateRecommendationStatusResponse |
batchUpdateRecommendationStatus(BatchUpdateRecommendationStatusRequest batchUpdateRecommendationStatusRequest)
Enables you to include or exclude one or more operational recommendations.
|
default BatchUpdateRecommendationStatusResponse |
batchUpdateRecommendationStatus(Consumer<BatchUpdateRecommendationStatusRequest.Builder> batchUpdateRecommendationStatusRequest)
Enables you to include or exclude one or more operational recommendations.
|
static ResiliencehubClientBuilder |
builder()
Create a builder that can be used to configure and create a
ResiliencehubClient. |
static ResiliencehubClient |
create()
Create a
ResiliencehubClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateAppResponse |
createApp(Consumer<CreateAppRequest.Builder> createAppRequest)
Creates an Resilience Hub application.
|
default CreateAppResponse |
createApp(CreateAppRequest createAppRequest)
Creates an Resilience Hub application.
|
default CreateAppVersionAppComponentResponse |
createAppVersionAppComponent(Consumer<CreateAppVersionAppComponentRequest.Builder> createAppVersionAppComponentRequest)
Creates a new Application Component in the Resilience Hub application.
|
default CreateAppVersionAppComponentResponse |
createAppVersionAppComponent(CreateAppVersionAppComponentRequest createAppVersionAppComponentRequest)
Creates a new Application Component in the Resilience Hub application.
|
default CreateAppVersionResourceResponse |
createAppVersionResource(Consumer<CreateAppVersionResourceRequest.Builder> createAppVersionResourceRequest)
Adds a resource to the Resilience Hub application and assigns it to the specified Application Components.
|
default CreateAppVersionResourceResponse |
createAppVersionResource(CreateAppVersionResourceRequest createAppVersionResourceRequest)
Adds a resource to the Resilience Hub application and assigns it to the specified Application Components.
|
default CreateRecommendationTemplateResponse |
createRecommendationTemplate(Consumer<CreateRecommendationTemplateRequest.Builder> createRecommendationTemplateRequest)
Creates a new recommendation template for the Resilience Hub application.
|
default CreateRecommendationTemplateResponse |
createRecommendationTemplate(CreateRecommendationTemplateRequest createRecommendationTemplateRequest)
Creates a new recommendation template for the Resilience Hub application.
|
default CreateResiliencyPolicyResponse |
createResiliencyPolicy(Consumer<CreateResiliencyPolicyRequest.Builder> createResiliencyPolicyRequest)
Creates a resiliency policy for an application.
|
default CreateResiliencyPolicyResponse |
createResiliencyPolicy(CreateResiliencyPolicyRequest createResiliencyPolicyRequest)
Creates a resiliency policy for an application.
|
default DeleteAppResponse |
deleteApp(Consumer<DeleteAppRequest.Builder> deleteAppRequest)
Deletes an Resilience Hub application.
|
default DeleteAppResponse |
deleteApp(DeleteAppRequest deleteAppRequest)
Deletes an Resilience Hub application.
|
default DeleteAppAssessmentResponse |
deleteAppAssessment(Consumer<DeleteAppAssessmentRequest.Builder> deleteAppAssessmentRequest)
Deletes an Resilience Hub application assessment.
|
default DeleteAppAssessmentResponse |
deleteAppAssessment(DeleteAppAssessmentRequest deleteAppAssessmentRequest)
Deletes an Resilience Hub application assessment.
|
default DeleteAppInputSourceResponse |
deleteAppInputSource(Consumer<DeleteAppInputSourceRequest.Builder> deleteAppInputSourceRequest)
Deletes the input source and all of its imported resources from the Resilience Hub application.
|
default DeleteAppInputSourceResponse |
deleteAppInputSource(DeleteAppInputSourceRequest deleteAppInputSourceRequest)
Deletes the input source and all of its imported resources from the Resilience Hub application.
|
default DeleteAppVersionAppComponentResponse |
deleteAppVersionAppComponent(Consumer<DeleteAppVersionAppComponentRequest.Builder> deleteAppVersionAppComponentRequest)
Deletes an Application Component from the Resilience Hub application.
|
default DeleteAppVersionAppComponentResponse |
deleteAppVersionAppComponent(DeleteAppVersionAppComponentRequest deleteAppVersionAppComponentRequest)
Deletes an Application Component from the Resilience Hub application.
|
default DeleteAppVersionResourceResponse |
deleteAppVersionResource(Consumer<DeleteAppVersionResourceRequest.Builder> deleteAppVersionResourceRequest)
Deletes a resource from the Resilience Hub application.
|
default DeleteAppVersionResourceResponse |
deleteAppVersionResource(DeleteAppVersionResourceRequest deleteAppVersionResourceRequest)
Deletes a resource from the Resilience Hub application.
|
default DeleteRecommendationTemplateResponse |
deleteRecommendationTemplate(Consumer<DeleteRecommendationTemplateRequest.Builder> deleteRecommendationTemplateRequest)
Deletes a recommendation template.
|
default DeleteRecommendationTemplateResponse |
deleteRecommendationTemplate(DeleteRecommendationTemplateRequest deleteRecommendationTemplateRequest)
Deletes a recommendation template.
|
default DeleteResiliencyPolicyResponse |
deleteResiliencyPolicy(Consumer<DeleteResiliencyPolicyRequest.Builder> deleteResiliencyPolicyRequest)
Deletes a resiliency policy.
|
default DeleteResiliencyPolicyResponse |
deleteResiliencyPolicy(DeleteResiliencyPolicyRequest deleteResiliencyPolicyRequest)
Deletes a resiliency policy.
|
default DescribeAppResponse |
describeApp(Consumer<DescribeAppRequest.Builder> describeAppRequest)
Describes an Resilience Hub application.
|
default DescribeAppResponse |
describeApp(DescribeAppRequest describeAppRequest)
Describes an Resilience Hub application.
|
default DescribeAppAssessmentResponse |
describeAppAssessment(Consumer<DescribeAppAssessmentRequest.Builder> describeAppAssessmentRequest)
Describes an assessment for an Resilience Hub application.
|
default DescribeAppAssessmentResponse |
describeAppAssessment(DescribeAppAssessmentRequest describeAppAssessmentRequest)
Describes an assessment for an Resilience Hub application.
|
default DescribeAppVersionResponse |
describeAppVersion(Consumer<DescribeAppVersionRequest.Builder> describeAppVersionRequest)
Describes the Resilience Hub application version.
|
default DescribeAppVersionResponse |
describeAppVersion(DescribeAppVersionRequest describeAppVersionRequest)
Describes the Resilience Hub application version.
|
default DescribeAppVersionAppComponentResponse |
describeAppVersionAppComponent(Consumer<DescribeAppVersionAppComponentRequest.Builder> describeAppVersionAppComponentRequest)
Describes an Application Component in the Resilience Hub application.
|
default DescribeAppVersionAppComponentResponse |
describeAppVersionAppComponent(DescribeAppVersionAppComponentRequest describeAppVersionAppComponentRequest)
Describes an Application Component in the Resilience Hub application.
|
default DescribeAppVersionResourceResponse |
describeAppVersionResource(Consumer<DescribeAppVersionResourceRequest.Builder> describeAppVersionResourceRequest)
Describes a resource of the Resilience Hub application.
|
default DescribeAppVersionResourceResponse |
describeAppVersionResource(DescribeAppVersionResourceRequest describeAppVersionResourceRequest)
Describes a resource of the Resilience Hub application.
|
default DescribeAppVersionResourcesResolutionStatusResponse |
describeAppVersionResourcesResolutionStatus(Consumer<DescribeAppVersionResourcesResolutionStatusRequest.Builder> describeAppVersionResourcesResolutionStatusRequest)
Returns the resolution status for the specified resolution identifier for an application version.
|
default DescribeAppVersionResourcesResolutionStatusResponse |
describeAppVersionResourcesResolutionStatus(DescribeAppVersionResourcesResolutionStatusRequest describeAppVersionResourcesResolutionStatusRequest)
Returns the resolution status for the specified resolution identifier for an application version.
|
default DescribeAppVersionTemplateResponse |
describeAppVersionTemplate(Consumer<DescribeAppVersionTemplateRequest.Builder> describeAppVersionTemplateRequest)
Describes details about an Resilience Hub application.
|
default DescribeAppVersionTemplateResponse |
describeAppVersionTemplate(DescribeAppVersionTemplateRequest describeAppVersionTemplateRequest)
Describes details about an Resilience Hub application.
|
default DescribeDraftAppVersionResourcesImportStatusResponse |
describeDraftAppVersionResourcesImportStatus(Consumer<DescribeDraftAppVersionResourcesImportStatusRequest.Builder> describeDraftAppVersionResourcesImportStatusRequest)
Describes the status of importing resources to an application version.
|
default DescribeDraftAppVersionResourcesImportStatusResponse |
describeDraftAppVersionResourcesImportStatus(DescribeDraftAppVersionResourcesImportStatusRequest describeDraftAppVersionResourcesImportStatusRequest)
Describes the status of importing resources to an application version.
|
default DescribeResiliencyPolicyResponse |
describeResiliencyPolicy(Consumer<DescribeResiliencyPolicyRequest.Builder> describeResiliencyPolicyRequest)
Describes a specified resiliency policy for an Resilience Hub application.
|
default DescribeResiliencyPolicyResponse |
describeResiliencyPolicy(DescribeResiliencyPolicyRequest describeResiliencyPolicyRequest)
Describes a specified resiliency policy for an Resilience Hub application.
|
default ImportResourcesToDraftAppVersionResponse |
importResourcesToDraftAppVersion(Consumer<ImportResourcesToDraftAppVersionRequest.Builder> importResourcesToDraftAppVersionRequest)
Imports resources to Resilience Hub application draft version from different input sources.
|
default ImportResourcesToDraftAppVersionResponse |
importResourcesToDraftAppVersion(ImportResourcesToDraftAppVersionRequest importResourcesToDraftAppVersionRequest)
Imports resources to Resilience Hub application draft version from different input sources.
|
default ListAlarmRecommendationsResponse |
listAlarmRecommendations(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest)
Lists the alarm recommendations for an Resilience Hub application.
|
default ListAlarmRecommendationsResponse |
listAlarmRecommendations(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest)
Lists the alarm recommendations for an Resilience Hub application.
|
default ListAlarmRecommendationsIterable |
listAlarmRecommendationsPaginator(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest)
Lists the alarm recommendations for an Resilience Hub application.
|
default ListAlarmRecommendationsIterable |
listAlarmRecommendationsPaginator(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest)
Lists the alarm recommendations for an Resilience Hub application.
|
default ListAppAssessmentComplianceDriftsResponse |
listAppAssessmentComplianceDrifts(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest)
List of compliance drifts that were detected while running an assessment.
|
default ListAppAssessmentComplianceDriftsResponse |
listAppAssessmentComplianceDrifts(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest)
List of compliance drifts that were detected while running an assessment.
|
default ListAppAssessmentComplianceDriftsIterable |
listAppAssessmentComplianceDriftsPaginator(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest)
List of compliance drifts that were detected while running an assessment.
|
default ListAppAssessmentComplianceDriftsIterable |
listAppAssessmentComplianceDriftsPaginator(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest)
List of compliance drifts that were detected while running an assessment.
|
default ListAppAssessmentsResponse |
listAppAssessments(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest)
Lists the assessments for an Resilience Hub application.
|
default ListAppAssessmentsResponse |
listAppAssessments(ListAppAssessmentsRequest listAppAssessmentsRequest)
Lists the assessments for an Resilience Hub application.
|
default ListAppAssessmentsIterable |
listAppAssessmentsPaginator(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest)
Lists the assessments for an Resilience Hub application.
|
default ListAppAssessmentsIterable |
listAppAssessmentsPaginator(ListAppAssessmentsRequest listAppAssessmentsRequest)
Lists the assessments for an Resilience Hub application.
|
default ListAppComponentCompliancesResponse |
listAppComponentCompliances(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest)
Lists the compliances for an Resilience Hub Application Component.
|
default ListAppComponentCompliancesResponse |
listAppComponentCompliances(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest)
Lists the compliances for an Resilience Hub Application Component.
|
default ListAppComponentCompliancesIterable |
listAppComponentCompliancesPaginator(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest)
Lists the compliances for an Resilience Hub Application Component.
|
default ListAppComponentCompliancesIterable |
listAppComponentCompliancesPaginator(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest)
Lists the compliances for an Resilience Hub Application Component.
|
default ListAppComponentRecommendationsResponse |
listAppComponentRecommendations(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest)
Lists the recommendations for an Resilience Hub Application Component.
|
default ListAppComponentRecommendationsResponse |
listAppComponentRecommendations(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest)
Lists the recommendations for an Resilience Hub Application Component.
|
default ListAppComponentRecommendationsIterable |
listAppComponentRecommendationsPaginator(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest)
Lists the recommendations for an Resilience Hub Application Component.
|
default ListAppComponentRecommendationsIterable |
listAppComponentRecommendationsPaginator(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest)
Lists the recommendations for an Resilience Hub Application Component.
|
default ListAppInputSourcesResponse |
listAppInputSources(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest)
Lists all the input sources of the Resilience Hub application.
|
default ListAppInputSourcesResponse |
listAppInputSources(ListAppInputSourcesRequest listAppInputSourcesRequest)
Lists all the input sources of the Resilience Hub application.
|
default ListAppInputSourcesIterable |
listAppInputSourcesPaginator(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest)
Lists all the input sources of the Resilience Hub application.
|
default ListAppInputSourcesIterable |
listAppInputSourcesPaginator(ListAppInputSourcesRequest listAppInputSourcesRequest)
Lists all the input sources of the Resilience Hub application.
|
default ListAppsResponse |
listApps(Consumer<ListAppsRequest.Builder> listAppsRequest)
Lists your Resilience Hub applications.
|
default ListAppsResponse |
listApps(ListAppsRequest listAppsRequest)
Lists your Resilience Hub applications.
|
default ListAppsIterable |
listAppsPaginator(Consumer<ListAppsRequest.Builder> listAppsRequest)
Lists your Resilience Hub applications.
|
default ListAppsIterable |
listAppsPaginator(ListAppsRequest listAppsRequest)
Lists your Resilience Hub applications.
|
default ListAppVersionAppComponentsResponse |
listAppVersionAppComponents(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest)
Lists all the Application Components in the Resilience Hub application.
|
default ListAppVersionAppComponentsResponse |
listAppVersionAppComponents(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest)
Lists all the Application Components in the Resilience Hub application.
|
default ListAppVersionAppComponentsIterable |
listAppVersionAppComponentsPaginator(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest)
Lists all the Application Components in the Resilience Hub application.
|
default ListAppVersionAppComponentsIterable |
listAppVersionAppComponentsPaginator(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest)
Lists all the Application Components in the Resilience Hub application.
|
default ListAppVersionResourceMappingsResponse |
listAppVersionResourceMappings(Consumer<ListAppVersionResourceMappingsRequest.Builder> listAppVersionResourceMappingsRequest)
Lists how the resources in an application version are mapped/sourced from.
|
default ListAppVersionResourceMappingsResponse |
listAppVersionResourceMappings(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest)
Lists how the resources in an application version are mapped/sourced from.
|
default ListAppVersionResourceMappingsIterable |
listAppVersionResourceMappingsPaginator(Consumer<ListAppVersionResourceMappingsRequest.Builder> listAppVersionResourceMappingsRequest)
Lists how the resources in an application version are mapped/sourced from.
|
default ListAppVersionResourceMappingsIterable |
listAppVersionResourceMappingsPaginator(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest)
Lists how the resources in an application version are mapped/sourced from.
|
default ListAppVersionResourcesResponse |
listAppVersionResources(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest)
Lists all the resources in an Resilience Hub application.
|
default ListAppVersionResourcesResponse |
listAppVersionResources(ListAppVersionResourcesRequest listAppVersionResourcesRequest)
Lists all the resources in an Resilience Hub application.
|
default ListAppVersionResourcesIterable |
listAppVersionResourcesPaginator(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest)
Lists all the resources in an Resilience Hub application.
|
default ListAppVersionResourcesIterable |
listAppVersionResourcesPaginator(ListAppVersionResourcesRequest listAppVersionResourcesRequest)
Lists all the resources in an Resilience Hub application.
|
default ListAppVersionsResponse |
listAppVersions(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest)
Lists the different versions for the Resilience Hub applications.
|
default ListAppVersionsResponse |
listAppVersions(ListAppVersionsRequest listAppVersionsRequest)
Lists the different versions for the Resilience Hub applications.
|
default ListAppVersionsIterable |
listAppVersionsPaginator(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest)
Lists the different versions for the Resilience Hub applications.
|
default ListAppVersionsIterable |
listAppVersionsPaginator(ListAppVersionsRequest listAppVersionsRequest)
Lists the different versions for the Resilience Hub applications.
|
default ListRecommendationTemplatesResponse |
listRecommendationTemplates(Consumer<ListRecommendationTemplatesRequest.Builder> listRecommendationTemplatesRequest)
Lists the recommendation templates for the Resilience Hub applications.
|
default ListRecommendationTemplatesResponse |
listRecommendationTemplates(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest)
Lists the recommendation templates for the Resilience Hub applications.
|
default ListRecommendationTemplatesIterable |
listRecommendationTemplatesPaginator(Consumer<ListRecommendationTemplatesRequest.Builder> listRecommendationTemplatesRequest)
Lists the recommendation templates for the Resilience Hub applications.
|
default ListRecommendationTemplatesIterable |
listRecommendationTemplatesPaginator(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest)
Lists the recommendation templates for the Resilience Hub applications.
|
default ListResiliencyPoliciesResponse |
listResiliencyPolicies(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest)
Lists the resiliency policies for the Resilience Hub applications.
|
default ListResiliencyPoliciesResponse |
listResiliencyPolicies(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest)
Lists the resiliency policies for the Resilience Hub applications.
|
default ListResiliencyPoliciesIterable |
listResiliencyPoliciesPaginator(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest)
Lists the resiliency policies for the Resilience Hub applications.
|
default ListResiliencyPoliciesIterable |
listResiliencyPoliciesPaginator(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest)
Lists the resiliency policies for the Resilience Hub applications.
|
default ListSopRecommendationsResponse |
listSopRecommendations(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest)
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
|
default ListSopRecommendationsResponse |
listSopRecommendations(ListSopRecommendationsRequest listSopRecommendationsRequest)
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
|
default ListSopRecommendationsIterable |
listSopRecommendationsPaginator(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest)
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
|
default ListSopRecommendationsIterable |
listSopRecommendationsPaginator(ListSopRecommendationsRequest listSopRecommendationsRequest)
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
|
default ListSuggestedResiliencyPoliciesResponse |
listSuggestedResiliencyPolicies(Consumer<ListSuggestedResiliencyPoliciesRequest.Builder> listSuggestedResiliencyPoliciesRequest)
Lists the suggested resiliency policies for the Resilience Hub applications.
|
default ListSuggestedResiliencyPoliciesResponse |
listSuggestedResiliencyPolicies(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest)
Lists the suggested resiliency policies for the Resilience Hub applications.
|
default ListSuggestedResiliencyPoliciesIterable |
listSuggestedResiliencyPoliciesPaginator(Consumer<ListSuggestedResiliencyPoliciesRequest.Builder> listSuggestedResiliencyPoliciesRequest)
Lists the suggested resiliency policies for the Resilience Hub applications.
|
default ListSuggestedResiliencyPoliciesIterable |
listSuggestedResiliencyPoliciesPaginator(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest)
Lists the suggested resiliency policies for the Resilience Hub applications.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for your resources in your Resilience Hub applications.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for your resources in your Resilience Hub applications.
|
default ListTestRecommendationsResponse |
listTestRecommendations(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest)
Lists the test recommendations for the Resilience Hub application.
|
default ListTestRecommendationsResponse |
listTestRecommendations(ListTestRecommendationsRequest listTestRecommendationsRequest)
Lists the test recommendations for the Resilience Hub application.
|
default ListTestRecommendationsIterable |
listTestRecommendationsPaginator(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest)
Lists the test recommendations for the Resilience Hub application.
|
default ListTestRecommendationsIterable |
listTestRecommendationsPaginator(ListTestRecommendationsRequest listTestRecommendationsRequest)
Lists the test recommendations for the Resilience Hub application.
|
default ListUnsupportedAppVersionResourcesResponse |
listUnsupportedAppVersionResources(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest)
Lists the resources that are not currently supported in Resilience Hub.
|
default ListUnsupportedAppVersionResourcesResponse |
listUnsupportedAppVersionResources(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest)
Lists the resources that are not currently supported in Resilience Hub.
|
default ListUnsupportedAppVersionResourcesIterable |
listUnsupportedAppVersionResourcesPaginator(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest)
Lists the resources that are not currently supported in Resilience Hub.
|
default ListUnsupportedAppVersionResourcesIterable |
listUnsupportedAppVersionResourcesPaginator(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest)
Lists the resources that are not currently supported in Resilience Hub.
|
default PublishAppVersionResponse |
publishAppVersion(Consumer<PublishAppVersionRequest.Builder> publishAppVersionRequest)
Publishes a new version of a specific Resilience Hub application.
|
default PublishAppVersionResponse |
publishAppVersion(PublishAppVersionRequest publishAppVersionRequest)
Publishes a new version of a specific Resilience Hub application.
|
default PutDraftAppVersionTemplateResponse |
putDraftAppVersionTemplate(Consumer<PutDraftAppVersionTemplateRequest.Builder> putDraftAppVersionTemplateRequest)
Adds or updates the app template for an Resilience Hub application draft version.
|
default PutDraftAppVersionTemplateResponse |
putDraftAppVersionTemplate(PutDraftAppVersionTemplateRequest putDraftAppVersionTemplateRequest)
Adds or updates the app template for an Resilience Hub application draft version.
|
default RemoveDraftAppVersionResourceMappingsResponse |
removeDraftAppVersionResourceMappings(Consumer<RemoveDraftAppVersionResourceMappingsRequest.Builder> removeDraftAppVersionResourceMappingsRequest)
Removes resource mappings from a draft application version.
|
default RemoveDraftAppVersionResourceMappingsResponse |
removeDraftAppVersionResourceMappings(RemoveDraftAppVersionResourceMappingsRequest removeDraftAppVersionResourceMappingsRequest)
Removes resource mappings from a draft application version.
|
default ResolveAppVersionResourcesResponse |
resolveAppVersionResources(Consumer<ResolveAppVersionResourcesRequest.Builder> resolveAppVersionResourcesRequest)
Resolves the resources for an application version.
|
default ResolveAppVersionResourcesResponse |
resolveAppVersionResources(ResolveAppVersionResourcesRequest resolveAppVersionResourcesRequest)
Resolves the resources for an application version.
|
default ResiliencehubServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default StartAppAssessmentResponse |
startAppAssessment(Consumer<StartAppAssessmentRequest.Builder> startAppAssessmentRequest)
Creates a new application assessment for an application.
|
default StartAppAssessmentResponse |
startAppAssessment(StartAppAssessmentRequest startAppAssessmentRequest)
Creates a new application assessment for an application.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Applies one or more tags to a resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Applies one or more tags to a resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes one or more tags from a resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes one or more tags from a resource.
|
default UpdateAppResponse |
updateApp(Consumer<UpdateAppRequest.Builder> updateAppRequest)
Updates an application.
|
default UpdateAppResponse |
updateApp(UpdateAppRequest updateAppRequest)
Updates an application.
|
default UpdateAppVersionResponse |
updateAppVersion(Consumer<UpdateAppVersionRequest.Builder> updateAppVersionRequest)
Updates the Resilience Hub application version.
|
default UpdateAppVersionResponse |
updateAppVersion(UpdateAppVersionRequest updateAppVersionRequest)
Updates the Resilience Hub application version.
|
default UpdateAppVersionAppComponentResponse |
updateAppVersionAppComponent(Consumer<UpdateAppVersionAppComponentRequest.Builder> updateAppVersionAppComponentRequest)
Updates an existing Application Component in the Resilience Hub application.
|
default UpdateAppVersionAppComponentResponse |
updateAppVersionAppComponent(UpdateAppVersionAppComponentRequest updateAppVersionAppComponentRequest)
Updates an existing Application Component in the Resilience Hub application.
|
default UpdateAppVersionResourceResponse |
updateAppVersionResource(Consumer<UpdateAppVersionResourceRequest.Builder> updateAppVersionResourceRequest)
Updates the resource details in the Resilience Hub application.
|
default UpdateAppVersionResourceResponse |
updateAppVersionResource(UpdateAppVersionResourceRequest updateAppVersionResourceRequest)
Updates the resource details in the Resilience Hub application.
|
default UpdateResiliencyPolicyResponse |
updateResiliencyPolicy(Consumer<UpdateResiliencyPolicyRequest.Builder> updateResiliencyPolicyRequest)
Updates a resiliency policy.
|
default UpdateResiliencyPolicyResponse |
updateResiliencyPolicy(UpdateResiliencyPolicyRequest updateResiliencyPolicyRequest)
Updates a resiliency policy.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default AddDraftAppVersionResourceMappingsResponse addDraftAppVersionResourceMappings(AddDraftAppVersionResourceMappingsRequest addDraftAppVersionResourceMappingsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Adds the resource mapping for the draft application version. You can also update an existing resource mapping to a new physical resource.
addDraftAppVersionResourceMappingsRequest - 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.AwsServiceExceptiondefault AddDraftAppVersionResourceMappingsResponse addDraftAppVersionResourceMappings(Consumer<AddDraftAppVersionResourceMappingsRequest.Builder> addDraftAppVersionResourceMappingsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Adds the resource mapping for the draft application version. You can also update an existing resource mapping to a new physical resource.
This is a convenience which creates an instance of the AddDraftAppVersionResourceMappingsRequest.Builder
avoiding the need to create one manually via AddDraftAppVersionResourceMappingsRequest.builder()
addDraftAppVersionResourceMappingsRequest - A Consumer that will call methods on
AddDraftAppVersionResourceMappingsRequest.Builder
to create a request.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.AwsServiceExceptiondefault BatchUpdateRecommendationStatusResponse batchUpdateRecommendationStatus(BatchUpdateRecommendationStatusRequest batchUpdateRecommendationStatusRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Enables you to include or exclude one or more operational recommendations.
batchUpdateRecommendationStatusRequest - 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.AwsServiceExceptiondefault BatchUpdateRecommendationStatusResponse batchUpdateRecommendationStatus(Consumer<BatchUpdateRecommendationStatusRequest.Builder> batchUpdateRecommendationStatusRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via BatchUpdateRecommendationStatusRequest.builder()
batchUpdateRecommendationStatusRequest - A Consumer that will call methods on
BatchUpdateRecommendationStatusRequest.Builder
to create a request.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.AwsServiceExceptiondefault CreateAppResponse createApp(CreateAppRequest createAppRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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).
createAppRequest - 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.AwsServiceExceptiondefault CreateAppResponse createApp(Consumer<CreateAppRequest.Builder> createAppRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via CreateAppRequest.builder()
createAppRequest - A Consumer that will call methods on
CreateAppRequest.Builder to create a request.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.AwsServiceExceptiondefault CreateAppVersionAppComponentResponse createAppVersionAppComponent(CreateAppVersionAppComponentRequest createAppVersionAppComponentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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.
createAppVersionAppComponentRequest - 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.AwsServiceExceptiondefault CreateAppVersionAppComponentResponse createAppVersionAppComponent(Consumer<CreateAppVersionAppComponentRequest.Builder> createAppVersionAppComponentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via CreateAppVersionAppComponentRequest.builder()
createAppVersionAppComponentRequest - A Consumer that will call methods on
CreateAppVersionAppComponentRequest.Builder to
create a request.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.AwsServiceExceptiondefault CreateAppVersionResourceResponse createAppVersionResource(CreateAppVersionResourceRequest createAppVersionResourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 call
ResolveAppVersionResources API.
createAppVersionResourceRequest - 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.AwsServiceExceptiondefault CreateAppVersionResourceResponse createAppVersionResource(Consumer<CreateAppVersionResourceRequest.Builder> createAppVersionResourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 call
ResolveAppVersionResources API.
This is a convenience which creates an instance of the CreateAppVersionResourceRequest.Builder avoiding
the need to create one manually via CreateAppVersionResourceRequest.builder()
createAppVersionResourceRequest - A Consumer that will call methods on
CreateAppVersionResourceRequest.Builder to
create a request.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.AwsServiceExceptiondefault CreateRecommendationTemplateResponse createRecommendationTemplate(CreateRecommendationTemplateRequest createRecommendationTemplateRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Creates a new recommendation template for the Resilience Hub application.
createRecommendationTemplateRequest - 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.AwsServiceExceptiondefault CreateRecommendationTemplateResponse createRecommendationTemplate(Consumer<CreateRecommendationTemplateRequest.Builder> createRecommendationTemplateRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via CreateRecommendationTemplateRequest.builder()
createRecommendationTemplateRequest - A Consumer that will call methods on
CreateRecommendationTemplateRequest.Builder to
create a request.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.AwsServiceExceptiondefault CreateResiliencyPolicyResponse createResiliencyPolicy(CreateResiliencyPolicyRequest createResiliencyPolicyRequest) throws InternalServerException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Creates a resiliency policy for an application.
createResiliencyPolicyRequest - 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.AwsServiceExceptiondefault CreateResiliencyPolicyResponse createResiliencyPolicy(Consumer<CreateResiliencyPolicyRequest.Builder> createResiliencyPolicyRequest) throws InternalServerException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Creates a resiliency policy for an application.
This is a convenience which creates an instance of the CreateResiliencyPolicyRequest.Builder avoiding the
need to create one manually via CreateResiliencyPolicyRequest.builder()
createResiliencyPolicyRequest - A Consumer that will call methods on
CreateResiliencyPolicyRequest.Builder to
create a request.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.AwsServiceExceptiondefault DeleteAppResponse deleteApp(DeleteAppRequest deleteAppRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes an Resilience Hub application. This is a destructive action that can't be undone.
deleteAppRequest - 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.AwsServiceExceptiondefault DeleteAppResponse deleteApp(Consumer<DeleteAppRequest.Builder> deleteAppRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, ResiliencehubException
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 via DeleteAppRequest.builder()
deleteAppRequest - A Consumer that will call methods on
DeleteAppRequest.Builder to create a request.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.AwsServiceExceptiondefault DeleteAppAssessmentResponse deleteAppAssessment(DeleteAppAssessmentRequest deleteAppAssessmentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes an Resilience Hub application assessment. This is a destructive action that can't be undone.
deleteAppAssessmentRequest - 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.AwsServiceExceptiondefault DeleteAppAssessmentResponse deleteAppAssessment(Consumer<DeleteAppAssessmentRequest.Builder> deleteAppAssessmentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via DeleteAppAssessmentRequest.builder()
deleteAppAssessmentRequest - A Consumer that will call methods on
DeleteAppAssessmentRequest.Builder to create a
request.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.AwsServiceExceptiondefault DeleteAppInputSourceResponse deleteAppInputSource(DeleteAppInputSourceRequest deleteAppInputSourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes the input source and all of its imported resources from the Resilience Hub application.
deleteAppInputSourceRequest - 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.AwsServiceExceptiondefault DeleteAppInputSourceResponse deleteAppInputSource(Consumer<DeleteAppInputSourceRequest.Builder> deleteAppInputSourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via DeleteAppInputSourceRequest.builder()
deleteAppInputSourceRequest - A Consumer that will call methods on
DeleteAppInputSourceRequest.Builder to create
a request.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.AwsServiceExceptiondefault DeleteAppVersionAppComponentResponse deleteAppVersionAppComponent(DeleteAppVersionAppComponentRequest deleteAppVersionAppComponentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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.
deleteAppVersionAppComponentRequest - 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.AwsServiceExceptiondefault DeleteAppVersionAppComponentResponse deleteAppVersionAppComponent(Consumer<DeleteAppVersionAppComponentRequest.Builder> deleteAppVersionAppComponentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via DeleteAppVersionAppComponentRequest.builder()
deleteAppVersionAppComponentRequest - A Consumer that will call methods on
DeleteAppVersionAppComponentRequest.Builder to
create a request.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.AwsServiceExceptiondefault DeleteAppVersionResourceResponse deleteAppVersionResource(DeleteAppVersionResourceRequest deleteAppVersionResourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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.
deleteAppVersionResourceRequest - 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.AwsServiceExceptiondefault DeleteAppVersionResourceResponse deleteAppVersionResource(Consumer<DeleteAppVersionResourceRequest.Builder> deleteAppVersionResourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via DeleteAppVersionResourceRequest.builder()
deleteAppVersionResourceRequest - A Consumer that will call methods on
DeleteAppVersionResourceRequest.Builder to
create a request.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.AwsServiceExceptiondefault DeleteRecommendationTemplateResponse deleteRecommendationTemplate(DeleteRecommendationTemplateRequest deleteRecommendationTemplateRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes a recommendation template. This is a destructive action that can't be undone.
deleteRecommendationTemplateRequest - 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.AwsServiceExceptiondefault DeleteRecommendationTemplateResponse deleteRecommendationTemplate(Consumer<DeleteRecommendationTemplateRequest.Builder> deleteRecommendationTemplateRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes a recommendation template. This is a destructive action that can't be undone.
This is a convenience which creates an instance of the DeleteRecommendationTemplateRequest.Builder
avoiding the need to create one manually via DeleteRecommendationTemplateRequest.builder()
deleteRecommendationTemplateRequest - A Consumer that will call methods on
DeleteRecommendationTemplateRequest.Builder to
create a request.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.AwsServiceExceptiondefault DeleteResiliencyPolicyResponse deleteResiliencyPolicy(DeleteResiliencyPolicyRequest deleteResiliencyPolicyRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes a resiliency policy. This is a destructive action that can't be undone.
deleteResiliencyPolicyRequest - 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.AwsServiceExceptiondefault DeleteResiliencyPolicyResponse deleteResiliencyPolicy(Consumer<DeleteResiliencyPolicyRequest.Builder> deleteResiliencyPolicyRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes a resiliency policy. This is a destructive action that can't be undone.
This is a convenience which creates an instance of the DeleteResiliencyPolicyRequest.Builder avoiding the
need to create one manually via DeleteResiliencyPolicyRequest.builder()
deleteResiliencyPolicyRequest - A Consumer that will call methods on
DeleteResiliencyPolicyRequest.Builder to
create a request.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.AwsServiceExceptiondefault DescribeAppResponse describeApp(DescribeAppRequest describeAppRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes an Resilience Hub application.
describeAppRequest - 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.AwsServiceExceptiondefault DescribeAppResponse describeApp(Consumer<DescribeAppRequest.Builder> describeAppRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes an Resilience Hub application.
This is a convenience which creates an instance of the DescribeAppRequest.Builder avoiding the need to
create one manually via DescribeAppRequest.builder()
describeAppRequest - A Consumer that will call methods on
DescribeAppRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribeAppAssessmentResponse describeAppAssessment(DescribeAppAssessmentRequest describeAppAssessmentRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes an assessment for an Resilience Hub application.
describeAppAssessmentRequest - 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.AwsServiceExceptiondefault DescribeAppAssessmentResponse describeAppAssessment(Consumer<DescribeAppAssessmentRequest.Builder> describeAppAssessmentRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via DescribeAppAssessmentRequest.builder()
describeAppAssessmentRequest - A Consumer that will call methods on
DescribeAppAssessmentRequest.Builder to create
a request.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.AwsServiceExceptiondefault DescribeAppVersionResponse describeAppVersion(DescribeAppVersionRequest describeAppVersionRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes the Resilience Hub application version.
describeAppVersionRequest - 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.AwsServiceExceptiondefault DescribeAppVersionResponse describeAppVersion(Consumer<DescribeAppVersionRequest.Builder> describeAppVersionRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via DescribeAppVersionRequest.builder()
describeAppVersionRequest - A Consumer that will call methods on
DescribeAppVersionRequest.Builder to create a
request.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.AwsServiceExceptiondefault DescribeAppVersionAppComponentResponse describeAppVersionAppComponent(DescribeAppVersionAppComponentRequest describeAppVersionAppComponentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes an Application Component in the Resilience Hub application.
describeAppVersionAppComponentRequest - 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.AwsServiceExceptiondefault DescribeAppVersionAppComponentResponse describeAppVersionAppComponent(Consumer<DescribeAppVersionAppComponentRequest.Builder> describeAppVersionAppComponentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via DescribeAppVersionAppComponentRequest.builder()
describeAppVersionAppComponentRequest - A Consumer that will call methods on
DescribeAppVersionAppComponentRequest.Builder
to create a request.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.AwsServiceExceptiondefault DescribeAppVersionResourceResponse describeAppVersionResource(DescribeAppVersionResourceRequest describeAppVersionResourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 with physicalResourceId, you can also provide
awsAccountId, and awsRegion)
describeAppVersionResourceRequest - 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.AwsServiceExceptiondefault DescribeAppVersionResourceResponse describeAppVersionResource(Consumer<DescribeAppVersionResourceRequest.Builder> describeAppVersionResourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 with physicalResourceId, you can also provide
awsAccountId, and awsRegion)
This is a convenience which creates an instance of the DescribeAppVersionResourceRequest.Builder avoiding
the need to create one manually via DescribeAppVersionResourceRequest.builder()
describeAppVersionResourceRequest - A Consumer that will call methods on
DescribeAppVersionResourceRequest.Builder to
create a request.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.AwsServiceExceptiondefault DescribeAppVersionResourcesResolutionStatusResponse describeAppVersionResourcesResolutionStatus(DescribeAppVersionResourcesResolutionStatusRequest describeAppVersionResourcesResolutionStatusRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Returns the resolution status for the specified resolution identifier for an application version. If
resolutionId is not specified, the current resolution status is returned.
describeAppVersionResourcesResolutionStatusRequest - 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.AwsServiceExceptiondefault DescribeAppVersionResourcesResolutionStatusResponse describeAppVersionResourcesResolutionStatus(Consumer<DescribeAppVersionResourcesResolutionStatusRequest.Builder> describeAppVersionResourcesResolutionStatusRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Returns the resolution status for the specified resolution identifier for an application version. If
resolutionId is not specified, the current resolution status is returned.
This is a convenience which creates an instance of the
DescribeAppVersionResourcesResolutionStatusRequest.Builder avoiding the need to create one manually via
DescribeAppVersionResourcesResolutionStatusRequest.builder()
describeAppVersionResourcesResolutionStatusRequest - A Consumer that will call methods on
DescribeAppVersionResourcesResolutionStatusRequest.Builder
to create a request.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.AwsServiceExceptiondefault DescribeAppVersionTemplateResponse describeAppVersionTemplate(DescribeAppVersionTemplateRequest describeAppVersionTemplateRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes details about an Resilience Hub application.
describeAppVersionTemplateRequest - 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.AwsServiceExceptiondefault DescribeAppVersionTemplateResponse describeAppVersionTemplate(Consumer<DescribeAppVersionTemplateRequest.Builder> describeAppVersionTemplateRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via DescribeAppVersionTemplateRequest.builder()
describeAppVersionTemplateRequest - A Consumer that will call methods on
DescribeAppVersionTemplateRequest.Builder to
create a request.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.AwsServiceExceptiondefault DescribeDraftAppVersionResourcesImportStatusResponse describeDraftAppVersionResourcesImportStatus(DescribeDraftAppVersionResourcesImportStatusRequest describeDraftAppVersionResourcesImportStatusRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes the status of importing resources to an application version.
If you get a 404 error with ResourceImportStatusNotFoundAppMetadataException, you must call
importResourcesToDraftAppVersion after creating the application and before calling
describeDraftAppVersionResourcesImportStatus to obtain the status.
describeDraftAppVersionResourcesImportStatusRequest - 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.AwsServiceExceptiondefault DescribeDraftAppVersionResourcesImportStatusResponse describeDraftAppVersionResourcesImportStatus(Consumer<DescribeDraftAppVersionResourcesImportStatusRequest.Builder> describeDraftAppVersionResourcesImportStatusRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes the status of importing resources to an application version.
If you get a 404 error with ResourceImportStatusNotFoundAppMetadataException, you must call
importResourcesToDraftAppVersion after creating the application and before calling
describeDraftAppVersionResourcesImportStatus to obtain the status.
This is a convenience which creates an instance of the
DescribeDraftAppVersionResourcesImportStatusRequest.Builder avoiding the need to create one manually via
DescribeDraftAppVersionResourcesImportStatusRequest.builder()
describeDraftAppVersionResourcesImportStatusRequest - A Consumer that will call methods on
DescribeDraftAppVersionResourcesImportStatusRequest.Builder
to create a request.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.AwsServiceExceptiondefault DescribeResiliencyPolicyResponse describeResiliencyPolicy(DescribeResiliencyPolicyRequest describeResiliencyPolicyRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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.
describeResiliencyPolicyRequest - 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.AwsServiceExceptiondefault DescribeResiliencyPolicyResponse describeResiliencyPolicy(Consumer<DescribeResiliencyPolicyRequest.Builder> describeResiliencyPolicyRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via DescribeResiliencyPolicyRequest.builder()
describeResiliencyPolicyRequest - A Consumer that will call methods on
DescribeResiliencyPolicyRequest.Builder to
create a request.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.AwsServiceExceptiondefault ImportResourcesToDraftAppVersionResponse importResourcesToDraftAppVersion(ImportResourcesToDraftAppVersionRequest importResourcesToDraftAppVersionRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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.
importResourcesToDraftAppVersionRequest - 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.AwsServiceExceptiondefault ImportResourcesToDraftAppVersionResponse importResourcesToDraftAppVersion(Consumer<ImportResourcesToDraftAppVersionRequest.Builder> importResourcesToDraftAppVersionRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via ImportResourcesToDraftAppVersionRequest.builder()
importResourcesToDraftAppVersionRequest - A Consumer that will call methods on
ImportResourcesToDraftAppVersionRequest.Builder
to create a request.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.AwsServiceExceptiondefault ListAlarmRecommendationsResponse listAlarmRecommendations(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the alarm recommendations for an Resilience Hub application.
listAlarmRecommendationsRequest - 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.AwsServiceExceptiondefault ListAlarmRecommendationsResponse listAlarmRecommendations(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via ListAlarmRecommendationsRequest.builder()
listAlarmRecommendationsRequest - A Consumer that will call methods on
ListAlarmRecommendationsRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListAlarmRecommendationsIterable listAlarmRecommendationsPaginator(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the alarm recommendations for an Resilience Hub application.
This is a variant of
listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsIterable responses = client.listAlarmRecommendationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsIterable responses = client
.listAlarmRecommendationsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsIterable responses = client.listAlarmRecommendationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)
operation.
listAlarmRecommendationsRequest - 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.AwsServiceExceptiondefault ListAlarmRecommendationsIterable listAlarmRecommendationsPaginator(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the alarm recommendations for an Resilience Hub application.
This is a variant of
listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsIterable responses = client.listAlarmRecommendationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsIterable responses = client
.listAlarmRecommendationsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsIterable responses = client.listAlarmRecommendationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)
operation.
This is a convenience which creates an instance of the ListAlarmRecommendationsRequest.Builder avoiding
the need to create one manually via ListAlarmRecommendationsRequest.builder()
listAlarmRecommendationsRequest - A Consumer that will call methods on
ListAlarmRecommendationsRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListAppAssessmentComplianceDriftsResponse listAppAssessmentComplianceDrifts(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
List of compliance drifts that were detected while running an assessment.
listAppAssessmentComplianceDriftsRequest - 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.AwsServiceExceptiondefault ListAppAssessmentComplianceDriftsResponse listAppAssessmentComplianceDrifts(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via ListAppAssessmentComplianceDriftsRequest.builder()
listAppAssessmentComplianceDriftsRequest - A Consumer that will call methods on
ListAppAssessmentComplianceDriftsRequest.Builder
to create a request.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.AwsServiceExceptiondefault ListAppAssessmentComplianceDriftsIterable listAppAssessmentComplianceDriftsPaginator(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
List of compliance drifts that were detected while running an assessment.
This is a variant of
listAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client.listAppAssessmentComplianceDriftsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client
.listAppAssessmentComplianceDriftsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client.listAppAssessmentComplianceDriftsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listAppAssessmentComplianceDriftsRequest - 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.AwsServiceExceptiondefault ListAppAssessmentComplianceDriftsIterable listAppAssessmentComplianceDriftsPaginator(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
List of compliance drifts that were detected while running an assessment.
This is a variant of
listAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client.listAppAssessmentComplianceDriftsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client
.listAppAssessmentComplianceDriftsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client.listAppAssessmentComplianceDriftsPaginator(request);
responses.iterator().forEachRemaining(....);
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 via ListAppAssessmentComplianceDriftsRequest.builder()
listAppAssessmentComplianceDriftsRequest - A Consumer that will call methods on
ListAppAssessmentComplianceDriftsRequest.Builder
to create a request.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.AwsServiceExceptiondefault ListAppAssessmentsResponse listAppAssessments(ListAppAssessmentsRequest listAppAssessmentsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.
listAppAssessmentsRequest - 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.AwsServiceExceptiondefault ListAppAssessmentsResponse listAppAssessments(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via ListAppAssessmentsRequest.builder()
listAppAssessmentsRequest - A Consumer that will call methods on
ListAppAssessmentsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListAppAssessmentsIterable listAppAssessmentsPaginator(ListAppAssessmentsRequest listAppAssessmentsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.
This is a variant of
listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsIterable responses = client.listAppAssessmentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsIterable responses = client
.listAppAssessmentsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsIterable responses = client.listAppAssessmentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)
operation.
listAppAssessmentsRequest - 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.AwsServiceExceptiondefault ListAppAssessmentsIterable listAppAssessmentsPaginator(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.
This is a variant of
listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsIterable responses = client.listAppAssessmentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsIterable responses = client
.listAppAssessmentsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsIterable responses = client.listAppAssessmentsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)
operation.
This is a convenience which creates an instance of the ListAppAssessmentsRequest.Builder avoiding the
need to create one manually via ListAppAssessmentsRequest.builder()
listAppAssessmentsRequest - A Consumer that will call methods on
ListAppAssessmentsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListAppComponentCompliancesResponse listAppComponentCompliances(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the compliances for an Resilience Hub Application Component.
listAppComponentCompliancesRequest - 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.AwsServiceExceptiondefault ListAppComponentCompliancesResponse listAppComponentCompliances(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via ListAppComponentCompliancesRequest.builder()
listAppComponentCompliancesRequest - A Consumer that will call methods on
ListAppComponentCompliancesRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListAppComponentCompliancesIterable listAppComponentCompliancesPaginator(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the compliances for an Resilience Hub Application Component.
This is a variant of
listAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesIterable responses = client.listAppComponentCompliancesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesIterable responses = client
.listAppComponentCompliancesPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesIterable responses = client.listAppComponentCompliancesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest)
operation.
listAppComponentCompliancesRequest - 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.AwsServiceExceptiondefault ListAppComponentCompliancesIterable listAppComponentCompliancesPaginator(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the compliances for an Resilience Hub Application Component.
This is a variant of
listAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesIterable responses = client.listAppComponentCompliancesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesIterable responses = client
.listAppComponentCompliancesPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesIterable responses = client.listAppComponentCompliancesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest)
operation.
This is a convenience which creates an instance of the ListAppComponentCompliancesRequest.Builder
avoiding the need to create one manually via ListAppComponentCompliancesRequest.builder()
listAppComponentCompliancesRequest - A Consumer that will call methods on
ListAppComponentCompliancesRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListAppComponentRecommendationsResponse listAppComponentRecommendations(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the recommendations for an Resilience Hub Application Component.
listAppComponentRecommendationsRequest - 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.AwsServiceExceptiondefault ListAppComponentRecommendationsResponse listAppComponentRecommendations(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via ListAppComponentRecommendationsRequest.builder()
listAppComponentRecommendationsRequest - A Consumer that will call methods on
ListAppComponentRecommendationsRequest.Builder
to create a request.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.AwsServiceExceptiondefault ListAppComponentRecommendationsIterable listAppComponentRecommendationsPaginator(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the recommendations for an Resilience Hub Application Component.
This is a variant of
listAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsIterable responses = client.listAppComponentRecommendationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsIterable responses = client
.listAppComponentRecommendationsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsIterable responses = client.listAppComponentRecommendationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest)
operation.
listAppComponentRecommendationsRequest - 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.AwsServiceExceptiondefault ListAppComponentRecommendationsIterable listAppComponentRecommendationsPaginator(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the recommendations for an Resilience Hub Application Component.
This is a variant of
listAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsIterable responses = client.listAppComponentRecommendationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsIterable responses = client
.listAppComponentRecommendationsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsIterable responses = client.listAppComponentRecommendationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest)
operation.
This is a convenience which creates an instance of the ListAppComponentRecommendationsRequest.Builder
avoiding the need to create one manually via ListAppComponentRecommendationsRequest.builder()
listAppComponentRecommendationsRequest - A Consumer that will call methods on
ListAppComponentRecommendationsRequest.Builder
to create a request.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.AwsServiceExceptiondefault ListAppInputSourcesResponse listAppInputSources(ListAppInputSourcesRequest listAppInputSourcesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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.
listAppInputSourcesRequest - 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.AwsServiceExceptiondefault ListAppInputSourcesResponse listAppInputSources(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via ListAppInputSourcesRequest.builder()
listAppInputSourcesRequest - A Consumer that will call methods on
ListAppInputSourcesRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListAppInputSourcesIterable listAppInputSourcesPaginator(ListAppInputSourcesRequest listAppInputSourcesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 variant of
listAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client.listAppInputSourcesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client
.listAppInputSourcesPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client.listAppInputSourcesPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listAppInputSourcesRequest - 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.AwsServiceExceptiondefault ListAppInputSourcesIterable listAppInputSourcesPaginator(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 variant of
listAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client.listAppInputSourcesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client
.listAppInputSourcesPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client.listAppInputSourcesPaginator(request);
responses.iterator().forEachRemaining(....);
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 via ListAppInputSourcesRequest.builder()
listAppInputSourcesRequest - A Consumer that will call methods on
ListAppInputSourcesRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListAppVersionAppComponentsResponse listAppVersionAppComponents(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the Application Components in the Resilience Hub application.
listAppVersionAppComponentsRequest - 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.AwsServiceExceptiondefault ListAppVersionAppComponentsResponse listAppVersionAppComponents(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via ListAppVersionAppComponentsRequest.builder()
listAppVersionAppComponentsRequest - A Consumer that will call methods on
ListAppVersionAppComponentsRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListAppVersionAppComponentsIterable listAppVersionAppComponentsPaginator(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the Application Components in the Resilience Hub application.
This is a variant of
listAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client.listAppVersionAppComponentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client
.listAppVersionAppComponentsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client.listAppVersionAppComponentsPaginator(request);
responses.iterator().forEachRemaining(....);
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.
listAppVersionAppComponentsRequest - 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.AwsServiceExceptiondefault ListAppVersionAppComponentsIterable listAppVersionAppComponentsPaginator(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the Application Components in the Resilience Hub application.
This is a variant of
listAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client.listAppVersionAppComponentsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client
.listAppVersionAppComponentsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client.listAppVersionAppComponentsPaginator(request);
responses.iterator().forEachRemaining(....);
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 via ListAppVersionAppComponentsRequest.builder()
listAppVersionAppComponentsRequest - A Consumer that will call methods on
ListAppVersionAppComponentsRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListAppVersionResourceMappingsResponse listAppVersionResourceMappings(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.
listAppVersionResourceMappingsRequest - 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.AwsServiceExceptiondefault ListAppVersionResourceMappingsResponse listAppVersionResourceMappings(Consumer<ListAppVersionResourceMappingsRequest.Builder> listAppVersionResourceMappingsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.
This is a convenience which creates an instance of the ListAppVersionResourceMappingsRequest.Builder
avoiding the need to create one manually via ListAppVersionResourceMappingsRequest.builder()
listAppVersionResourceMappingsRequest - A Consumer that will call methods on
ListAppVersionResourceMappingsRequest.Builder
to create a request.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.AwsServiceExceptiondefault ListAppVersionResourceMappingsIterable listAppVersionResourceMappingsPaginator(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.
This is a variant of
listAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsIterable responses = client.listAppVersionResourceMappingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsIterable responses = client
.listAppVersionResourceMappingsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsIterable responses = client.listAppVersionResourceMappingsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest)
operation.
listAppVersionResourceMappingsRequest - 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.AwsServiceExceptiondefault ListAppVersionResourceMappingsIterable listAppVersionResourceMappingsPaginator(Consumer<ListAppVersionResourceMappingsRequest.Builder> listAppVersionResourceMappingsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.
This is a variant of
listAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsIterable responses = client.listAppVersionResourceMappingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsIterable responses = client
.listAppVersionResourceMappingsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsIterable responses = client.listAppVersionResourceMappingsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest)
operation.
This is a convenience which creates an instance of the ListAppVersionResourceMappingsRequest.Builder
avoiding the need to create one manually via ListAppVersionResourceMappingsRequest.builder()
listAppVersionResourceMappingsRequest - A Consumer that will call methods on
ListAppVersionResourceMappingsRequest.Builder
to create a request.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.AwsServiceExceptiondefault ListAppVersionResourcesResponse listAppVersionResources(ListAppVersionResourcesRequest listAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the resources in an Resilience Hub application.
listAppVersionResourcesRequest - 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.AwsServiceExceptiondefault ListAppVersionResourcesResponse listAppVersionResources(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via ListAppVersionResourcesRequest.builder()
listAppVersionResourcesRequest - A Consumer that will call methods on
ListAppVersionResourcesRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListAppVersionResourcesIterable listAppVersionResourcesPaginator(ListAppVersionResourcesRequest listAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the resources in an Resilience Hub application.
This is a variant of
listAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesIterable responses = client.listAppVersionResourcesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesIterable responses = client
.listAppVersionResourcesPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesIterable responses = client.listAppVersionResourcesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)
operation.
listAppVersionResourcesRequest - 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.AwsServiceExceptiondefault ListAppVersionResourcesIterable listAppVersionResourcesPaginator(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the resources in an Resilience Hub application.
This is a variant of
listAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesIterable responses = client.listAppVersionResourcesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesIterable responses = client
.listAppVersionResourcesPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesIterable responses = client.listAppVersionResourcesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)
operation.
This is a convenience which creates an instance of the ListAppVersionResourcesRequest.Builder avoiding
the need to create one manually via ListAppVersionResourcesRequest.builder()
listAppVersionResourcesRequest - A Consumer that will call methods on
ListAppVersionResourcesRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListAppVersionsResponse listAppVersions(ListAppVersionsRequest listAppVersionsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the different versions for the Resilience Hub applications.
listAppVersionsRequest - 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.AwsServiceExceptiondefault ListAppVersionsResponse listAppVersions(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the different versions for the Resilience Hub applications.
This is a convenience which creates an instance of the ListAppVersionsRequest.Builder avoiding the need
to create one manually via ListAppVersionsRequest.builder()
listAppVersionsRequest - A Consumer that will call methods on
ListAppVersionsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListAppVersionsIterable listAppVersionsPaginator(ListAppVersionsRequest listAppVersionsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the different versions for the Resilience Hub applications.
This is a variant of
listAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsIterable responses = client.listAppVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsIterable responses = client
.listAppVersionsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsIterable responses = client.listAppVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest)
operation.
listAppVersionsRequest - 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.AwsServiceExceptiondefault ListAppVersionsIterable listAppVersionsPaginator(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the different versions for the Resilience Hub applications.
This is a variant of
listAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsIterable responses = client.listAppVersionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsIterable responses = client
.listAppVersionsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsIterable responses = client.listAppVersionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest)
operation.
This is a convenience which creates an instance of the ListAppVersionsRequest.Builder avoiding the need
to create one manually via ListAppVersionsRequest.builder()
listAppVersionsRequest - A Consumer that will call methods on
ListAppVersionsRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListAppsResponse listApps(ListAppsRequest listAppsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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.
listAppsRequest - 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.AwsServiceExceptiondefault ListAppsResponse listApps(Consumer<ListAppsRequest.Builder> listAppsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via ListAppsRequest.builder()
listAppsRequest - A Consumer that will call methods on
ListAppsRequest.Builder to create a request.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.AwsServiceExceptiondefault ListAppsIterable listAppsPaginator(ListAppsRequest listAppsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 variant of listApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppsIterable responses = client.listAppsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppsIterable responses = client.listAppsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppsIterable responses = client.listAppsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest) operation.
listAppsRequest - 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.AwsServiceExceptiondefault ListAppsIterable listAppsPaginator(Consumer<ListAppsRequest.Builder> listAppsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 variant of listApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListAppsIterable responses = client.listAppsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListAppsIterable responses = client.listAppsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListAppsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListAppsIterable responses = client.listAppsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest) operation.
This is a convenience which creates an instance of the ListAppsRequest.Builder avoiding the need to
create one manually via ListAppsRequest.builder()
listAppsRequest - A Consumer that will call methods on
ListAppsRequest.Builder to create a request.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.AwsServiceExceptiondefault ListRecommendationTemplatesResponse listRecommendationTemplates(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the recommendation templates for the Resilience Hub applications.
listRecommendationTemplatesRequest - 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.AwsServiceExceptiondefault ListRecommendationTemplatesResponse listRecommendationTemplates(Consumer<ListRecommendationTemplatesRequest.Builder> listRecommendationTemplatesRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the recommendation templates for the Resilience Hub applications.
This is a convenience which creates an instance of the ListRecommendationTemplatesRequest.Builder
avoiding the need to create one manually via ListRecommendationTemplatesRequest.builder()
listRecommendationTemplatesRequest - A Consumer that will call methods on
ListRecommendationTemplatesRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListRecommendationTemplatesIterable listRecommendationTemplatesPaginator(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the recommendation templates for the Resilience Hub applications.
This is a variant of
listRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesIterable responses = client.listRecommendationTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesIterable responses = client
.listRecommendationTemplatesPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesIterable responses = client.listRecommendationTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest)
operation.
listRecommendationTemplatesRequest - 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.AwsServiceExceptiondefault ListRecommendationTemplatesIterable listRecommendationTemplatesPaginator(Consumer<ListRecommendationTemplatesRequest.Builder> listRecommendationTemplatesRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the recommendation templates for the Resilience Hub applications.
This is a variant of
listRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesIterable responses = client.listRecommendationTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesIterable responses = client
.listRecommendationTemplatesPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesIterable responses = client.listRecommendationTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest)
operation.
This is a convenience which creates an instance of the ListRecommendationTemplatesRequest.Builder
avoiding the need to create one manually via ListRecommendationTemplatesRequest.builder()
listRecommendationTemplatesRequest - A Consumer that will call methods on
ListRecommendationTemplatesRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListResiliencyPoliciesResponse listResiliencyPolicies(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the resiliency policies for the Resilience Hub applications.
listResiliencyPoliciesRequest - 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.AwsServiceExceptiondefault ListResiliencyPoliciesResponse listResiliencyPolicies(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the resiliency policies for the Resilience Hub applications.
This is a convenience which creates an instance of the ListResiliencyPoliciesRequest.Builder avoiding the
need to create one manually via ListResiliencyPoliciesRequest.builder()
listResiliencyPoliciesRequest - A Consumer that will call methods on
ListResiliencyPoliciesRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListResiliencyPoliciesIterable listResiliencyPoliciesPaginator(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the resiliency policies for the Resilience Hub applications.
This is a variant of
listResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesIterable responses = client.listResiliencyPoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesIterable responses = client
.listResiliencyPoliciesPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesIterable responses = client.listResiliencyPoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest)
operation.
listResiliencyPoliciesRequest - 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.AwsServiceExceptiondefault ListResiliencyPoliciesIterable listResiliencyPoliciesPaginator(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the resiliency policies for the Resilience Hub applications.
This is a variant of
listResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesIterable responses = client.listResiliencyPoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesIterable responses = client
.listResiliencyPoliciesPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesIterable responses = client.listResiliencyPoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest)
operation.
This is a convenience which creates an instance of the ListResiliencyPoliciesRequest.Builder avoiding the
need to create one manually via ListResiliencyPoliciesRequest.builder()
listResiliencyPoliciesRequest - A Consumer that will call methods on
ListResiliencyPoliciesRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListSopRecommendationsResponse listSopRecommendations(ListSopRecommendationsRequest listSopRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
listSopRecommendationsRequest - 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.AwsServiceExceptiondefault ListSopRecommendationsResponse listSopRecommendations(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
This is a convenience which creates an instance of the ListSopRecommendationsRequest.Builder avoiding the
need to create one manually via ListSopRecommendationsRequest.builder()
listSopRecommendationsRequest - A Consumer that will call methods on
ListSopRecommendationsRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListSopRecommendationsIterable listSopRecommendationsPaginator(ListSopRecommendationsRequest listSopRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
This is a variant of
listSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsIterable responses = client.listSopRecommendationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsIterable responses = client
.listSopRecommendationsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsIterable responses = client.listSopRecommendationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest)
operation.
listSopRecommendationsRequest - 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.AwsServiceExceptiondefault ListSopRecommendationsIterable listSopRecommendationsPaginator(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
This is a variant of
listSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsIterable responses = client.listSopRecommendationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsIterable responses = client
.listSopRecommendationsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsIterable responses = client.listSopRecommendationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest)
operation.
This is a convenience which creates an instance of the ListSopRecommendationsRequest.Builder avoiding the
need to create one manually via ListSopRecommendationsRequest.builder()
listSopRecommendationsRequest - A Consumer that will call methods on
ListSopRecommendationsRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListSuggestedResiliencyPoliciesResponse listSuggestedResiliencyPolicies(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the suggested resiliency policies for the Resilience Hub applications.
listSuggestedResiliencyPoliciesRequest - 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.AwsServiceExceptiondefault ListSuggestedResiliencyPoliciesResponse listSuggestedResiliencyPolicies(Consumer<ListSuggestedResiliencyPoliciesRequest.Builder> listSuggestedResiliencyPoliciesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the suggested resiliency policies for the Resilience Hub applications.
This is a convenience which creates an instance of the ListSuggestedResiliencyPoliciesRequest.Builder
avoiding the need to create one manually via ListSuggestedResiliencyPoliciesRequest.builder()
listSuggestedResiliencyPoliciesRequest - A Consumer that will call methods on
ListSuggestedResiliencyPoliciesRequest.Builder
to create a request.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.AwsServiceExceptiondefault ListSuggestedResiliencyPoliciesIterable listSuggestedResiliencyPoliciesPaginator(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the suggested resiliency policies for the Resilience Hub applications.
This is a variant of
listSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesIterable responses = client.listSuggestedResiliencyPoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesIterable responses = client
.listSuggestedResiliencyPoliciesPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesIterable responses = client.listSuggestedResiliencyPoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest)
operation.
listSuggestedResiliencyPoliciesRequest - 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.AwsServiceExceptiondefault ListSuggestedResiliencyPoliciesIterable listSuggestedResiliencyPoliciesPaginator(Consumer<ListSuggestedResiliencyPoliciesRequest.Builder> listSuggestedResiliencyPoliciesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the suggested resiliency policies for the Resilience Hub applications.
This is a variant of
listSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesIterable responses = client.listSuggestedResiliencyPoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesIterable responses = client
.listSuggestedResiliencyPoliciesPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesIterable responses = client.listSuggestedResiliencyPoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest)
operation.
This is a convenience which creates an instance of the ListSuggestedResiliencyPoliciesRequest.Builder
avoiding the need to create one manually via ListSuggestedResiliencyPoliciesRequest.builder()
listSuggestedResiliencyPoliciesRequest - A Consumer that will call methods on
ListSuggestedResiliencyPoliciesRequest.Builder
to create a request.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.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the tags for your resources in your Resilience Hub applications.
listTagsForResourceRequest - 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.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the tags for your resources in your Resilience Hub applications.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on
ListTagsForResourceRequest.Builder to create a
request.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.AwsServiceExceptiondefault ListTestRecommendationsResponse listTestRecommendations(ListTestRecommendationsRequest listTestRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the test recommendations for the Resilience Hub application.
listTestRecommendationsRequest - 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.AwsServiceExceptiondefault ListTestRecommendationsResponse listTestRecommendations(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the test recommendations for the Resilience Hub application.
This is a convenience which creates an instance of the ListTestRecommendationsRequest.Builder avoiding
the need to create one manually via ListTestRecommendationsRequest.builder()
listTestRecommendationsRequest - A Consumer that will call methods on
ListTestRecommendationsRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListTestRecommendationsIterable listTestRecommendationsPaginator(ListTestRecommendationsRequest listTestRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the test recommendations for the Resilience Hub application.
This is a variant of
listTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsIterable responses = client.listTestRecommendationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsIterable responses = client
.listTestRecommendationsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsIterable responses = client.listTestRecommendationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest)
operation.
listTestRecommendationsRequest - 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.AwsServiceExceptiondefault ListTestRecommendationsIterable listTestRecommendationsPaginator(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the test recommendations for the Resilience Hub application.
This is a variant of
listTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsIterable responses = client.listTestRecommendationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsIterable responses = client
.listTestRecommendationsPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsIterable responses = client.listTestRecommendationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest)
operation.
This is a convenience which creates an instance of the ListTestRecommendationsRequest.Builder avoiding
the need to create one manually via ListTestRecommendationsRequest.builder()
listTestRecommendationsRequest - A Consumer that will call methods on
ListTestRecommendationsRequest.Builder to
create a request.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.AwsServiceExceptiondefault ListUnsupportedAppVersionResourcesResponse listUnsupportedAppVersionResources(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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.
listUnsupportedAppVersionResourcesRequest - 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.AwsServiceExceptiondefault ListUnsupportedAppVersionResourcesResponse listUnsupportedAppVersionResources(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via ListUnsupportedAppVersionResourcesRequest.builder()
listUnsupportedAppVersionResourcesRequest - A Consumer that will call methods on
ListUnsupportedAppVersionResourcesRequest.Builder
to create a request.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.AwsServiceExceptiondefault ListUnsupportedAppVersionResourcesIterable listUnsupportedAppVersionResourcesPaginator(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 variant of
listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesIterable responses = client.listUnsupportedAppVersionResourcesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesIterable responses = client
.listUnsupportedAppVersionResourcesPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesIterable responses = client.listUnsupportedAppVersionResourcesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest)
operation.
listUnsupportedAppVersionResourcesRequest - 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.AwsServiceExceptiondefault ListUnsupportedAppVersionResourcesIterable listUnsupportedAppVersionResourcesPaginator(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 variant of
listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesIterable responses = client.listUnsupportedAppVersionResourcesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesIterable responses = client
.listUnsupportedAppVersionResourcesPaginator(request);
for (software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesIterable responses = client.listUnsupportedAppVersionResourcesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest)
operation.
This is a convenience which creates an instance of the ListUnsupportedAppVersionResourcesRequest.Builder
avoiding the need to create one manually via ListUnsupportedAppVersionResourcesRequest.builder()
listUnsupportedAppVersionResourcesRequest - A Consumer that will call methods on
ListUnsupportedAppVersionResourcesRequest.Builder
to create a request.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.AwsServiceExceptiondefault PublishAppVersionResponse publishAppVersion(PublishAppVersionRequest publishAppVersionRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Publishes a new version of a specific Resilience Hub application.
publishAppVersionRequest - 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.AwsServiceExceptiondefault PublishAppVersionResponse publishAppVersion(Consumer<PublishAppVersionRequest.Builder> publishAppVersionRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Publishes a new version of a specific Resilience Hub application.
This is a convenience which creates an instance of the PublishAppVersionRequest.Builder avoiding the need
to create one manually via PublishAppVersionRequest.builder()
publishAppVersionRequest - A Consumer that will call methods on
PublishAppVersionRequest.Builder to create a
request.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.AwsServiceExceptiondefault PutDraftAppVersionTemplateResponse putDraftAppVersionTemplate(PutDraftAppVersionTemplateRequest putDraftAppVersionTemplateRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Adds or updates the app template for an Resilience Hub application draft version.
putDraftAppVersionTemplateRequest - 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.AwsServiceExceptiondefault PutDraftAppVersionTemplateResponse putDraftAppVersionTemplate(Consumer<PutDraftAppVersionTemplateRequest.Builder> putDraftAppVersionTemplateRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via PutDraftAppVersionTemplateRequest.builder()
putDraftAppVersionTemplateRequest - A Consumer that will call methods on
PutDraftAppVersionTemplateRequest.Builder to
create a request.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.AwsServiceExceptiondefault RemoveDraftAppVersionResourceMappingsResponse removeDraftAppVersionResourceMappings(RemoveDraftAppVersionResourceMappingsRequest removeDraftAppVersionResourceMappingsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Removes resource mappings from a draft application version.
removeDraftAppVersionResourceMappingsRequest - 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.AwsServiceExceptiondefault RemoveDraftAppVersionResourceMappingsResponse removeDraftAppVersionResourceMappings(Consumer<RemoveDraftAppVersionResourceMappingsRequest.Builder> removeDraftAppVersionResourceMappingsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Removes resource mappings from a draft application version.
This is a convenience which creates an instance of the
RemoveDraftAppVersionResourceMappingsRequest.Builder avoiding the need to create one manually via
RemoveDraftAppVersionResourceMappingsRequest.builder()
removeDraftAppVersionResourceMappingsRequest - A Consumer that will call methods on
RemoveDraftAppVersionResourceMappingsRequest.Builder
to create a request.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.AwsServiceExceptiondefault ResolveAppVersionResourcesResponse resolveAppVersionResources(ResolveAppVersionResourcesRequest resolveAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Resolves the resources for an application version.
resolveAppVersionResourcesRequest - 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.AwsServiceExceptiondefault ResolveAppVersionResourcesResponse resolveAppVersionResources(Consumer<ResolveAppVersionResourcesRequest.Builder> resolveAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Resolves the resources for an application version.
This is a convenience which creates an instance of the ResolveAppVersionResourcesRequest.Builder avoiding
the need to create one manually via ResolveAppVersionResourcesRequest.builder()
resolveAppVersionResourcesRequest - A Consumer that will call methods on
ResolveAppVersionResourcesRequest.Builder to
create a request.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.AwsServiceExceptiondefault StartAppAssessmentResponse startAppAssessment(StartAppAssessmentRequest startAppAssessmentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Creates a new application assessment for an application.
startAppAssessmentRequest - 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.AwsServiceExceptiondefault StartAppAssessmentResponse startAppAssessment(Consumer<StartAppAssessmentRequest.Builder> startAppAssessmentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Creates a new application assessment for an application.
This is a convenience which creates an instance of the StartAppAssessmentRequest.Builder avoiding the
need to create one manually via StartAppAssessmentRequest.builder()
startAppAssessmentRequest - A Consumer that will call methods on
StartAppAssessmentRequest.Builder to create a
request.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.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Applies one or more tags to a resource.
tagResourceRequest - 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.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Applies one or more tags to a resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on
TagResourceRequest.Builder to create a
request.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.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Removes one or more tags from a resource.
untagResourceRequest - 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.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Removes one or more tags from a resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on
UntagResourceRequest.Builder to create a
request.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.AwsServiceExceptiondefault UpdateAppResponse updateApp(UpdateAppRequest updateAppRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Updates an application.
updateAppRequest - 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.AwsServiceExceptiondefault UpdateAppResponse updateApp(Consumer<UpdateAppRequest.Builder> updateAppRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Updates an application.
This is a convenience which creates an instance of the UpdateAppRequest.Builder avoiding the need to
create one manually via UpdateAppRequest.builder()
updateAppRequest - A Consumer that will call methods on
UpdateAppRequest.Builder to create a request.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.AwsServiceExceptiondefault UpdateAppVersionResponse updateAppVersion(UpdateAppVersionRequest updateAppVersionRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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.
updateAppVersionRequest - 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.AwsServiceExceptiondefault UpdateAppVersionResponse updateAppVersion(Consumer<UpdateAppVersionRequest.Builder> updateAppVersionRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via UpdateAppVersionRequest.builder()
updateAppVersionRequest - A Consumer that will call methods on
UpdateAppVersionRequest.Builder to create a
request.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.AwsServiceExceptiondefault UpdateAppVersionAppComponentResponse updateAppVersionAppComponent(UpdateAppVersionAppComponentRequest updateAppVersionAppComponentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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.
updateAppVersionAppComponentRequest - 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.AwsServiceExceptiondefault UpdateAppVersionAppComponentResponse updateAppVersionAppComponent(Consumer<UpdateAppVersionAppComponentRequest.Builder> updateAppVersionAppComponentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 via UpdateAppVersionAppComponentRequest.builder()
updateAppVersionAppComponentRequest - A Consumer that will call methods on
UpdateAppVersionAppComponentRequest.Builder to
create a request.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.AwsServiceExceptiondefault UpdateAppVersionResourceResponse updateAppVersionResource(UpdateAppVersionResourceRequest updateAppVersionResourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 call
ResolveAppVersionResources API.
updateAppVersionResourceRequest - 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.AwsServiceExceptiondefault UpdateAppVersionResourceResponse updateAppVersionResource(Consumer<UpdateAppVersionResourceRequest.Builder> updateAppVersionResourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
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 call
ResolveAppVersionResources API.
This is a convenience which creates an instance of the UpdateAppVersionResourceRequest.Builder avoiding
the need to create one manually via UpdateAppVersionResourceRequest.builder()
updateAppVersionResourceRequest - A Consumer that will call methods on
UpdateAppVersionResourceRequest.Builder to
create a request.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.AwsServiceExceptiondefault UpdateResiliencyPolicyResponse updateResiliencyPolicy(UpdateResiliencyPolicyRequest updateResiliencyPolicyRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Updates a resiliency policy.
updateResiliencyPolicyRequest - 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.AwsServiceExceptiondefault UpdateResiliencyPolicyResponse updateResiliencyPolicy(Consumer<UpdateResiliencyPolicyRequest.Builder> updateResiliencyPolicyRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Updates a resiliency policy.
This is a convenience which creates an instance of the UpdateResiliencyPolicyRequest.Builder avoiding the
need to create one manually via UpdateResiliencyPolicyRequest.builder()
updateResiliencyPolicyRequest - A Consumer that will call methods on
UpdateResiliencyPolicyRequest.Builder to
create a request.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.AwsServiceExceptionstatic ResiliencehubClient create()
ResiliencehubClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static ResiliencehubClientBuilder builder()
ResiliencehubClient.static ServiceMetadata serviceMetadata()
default ResiliencehubServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.