@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface ResiliencehubClient extends SdkClient
builder() method.
AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from disruptions. Resilience Hub offers continuous resiliency assessment and validation that integrates into your software development lifecycle. This enables you to uncover resiliency weaknesses, ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your applications are met, and resolve issues before they are released into production.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| 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.
|
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 a Resilience Hub application.
|
default CreateAppResponse |
createApp(CreateAppRequest createAppRequest)
Creates a Resilience Hub application.
|
default CreateRecommendationTemplateResponse |
createRecommendationTemplate(Consumer<CreateRecommendationTemplateRequest.Builder> createRecommendationTemplateRequest)
Creates a new recommendation template.
|
default CreateRecommendationTemplateResponse |
createRecommendationTemplate(CreateRecommendationTemplateRequest createRecommendationTemplateRequest)
Creates a new recommendation template.
|
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 AWS Resilience Hub application.
|
default DeleteAppResponse |
deleteApp(DeleteAppRequest deleteAppRequest)
Deletes an AWS Resilience Hub application.
|
default DeleteAppAssessmentResponse |
deleteAppAssessment(Consumer<DeleteAppAssessmentRequest.Builder> deleteAppAssessmentRequest)
Deletes an AWS Resilience Hub application assessment.
|
default DeleteAppAssessmentResponse |
deleteAppAssessment(DeleteAppAssessmentRequest deleteAppAssessmentRequest)
Deletes an AWS Resilience Hub application assessment.
|
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 AWS Resilience Hub application.
|
default DescribeAppResponse |
describeApp(DescribeAppRequest describeAppRequest)
Describes an AWS Resilience Hub application.
|
default DescribeAppAssessmentResponse |
describeAppAssessment(Consumer<DescribeAppAssessmentRequest.Builder> describeAppAssessmentRequest)
Describes an assessment for an AWS Resilience Hub application.
|
default DescribeAppAssessmentResponse |
describeAppAssessment(DescribeAppAssessmentRequest describeAppAssessmentRequest)
Describes an assessment for an AWS 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 AWS Resilience Hub
|
default DescribeAppVersionTemplateResponse |
describeAppVersionTemplate(DescribeAppVersionTemplateRequest describeAppVersionTemplateRequest)
Describes details about an AWS Resilience Hub
|
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 AWS Resilience Hub application.
|
default DescribeResiliencyPolicyResponse |
describeResiliencyPolicy(DescribeResiliencyPolicyRequest describeResiliencyPolicyRequest)
Describes a specified resiliency policy for an AWS Resilience Hub application.
|
default ImportResourcesToDraftAppVersionResponse |
importResourcesToDraftAppVersion(Consumer<ImportResourcesToDraftAppVersionRequest.Builder> importResourcesToDraftAppVersionRequest)
Imports resources from sources such as a CloudFormation stack, resource-groups, or application registry app to a
draft application version.
|
default ImportResourcesToDraftAppVersionResponse |
importResourcesToDraftAppVersion(ImportResourcesToDraftAppVersionRequest importResourcesToDraftAppVersionRequest)
Imports resources from sources such as a CloudFormation stack, resource-groups, or application registry app to a
draft application version.
|
default ListAlarmRecommendationsResponse |
listAlarmRecommendations(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest)
Lists the alarm recommendations for a AWS Resilience Hub application.
|
default ListAlarmRecommendationsResponse |
listAlarmRecommendations(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest)
Lists the alarm recommendations for a AWS Resilience Hub application.
|
default ListAlarmRecommendationsIterable |
listAlarmRecommendationsPaginator(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest)
Lists the alarm recommendations for a AWS Resilience Hub application.
|
default ListAlarmRecommendationsIterable |
listAlarmRecommendationsPaginator(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest)
Lists the alarm recommendations for a AWS Resilience Hub application.
|
default ListAppAssessmentsResponse |
listAppAssessments(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest)
Lists the assessments for an AWS Resilience Hub application.
|
default ListAppAssessmentsResponse |
listAppAssessments(ListAppAssessmentsRequest listAppAssessmentsRequest)
Lists the assessments for an AWS Resilience Hub application.
|
default ListAppAssessmentsIterable |
listAppAssessmentsPaginator(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest)
Lists the assessments for an AWS Resilience Hub application.
|
default ListAppAssessmentsIterable |
listAppAssessmentsPaginator(ListAppAssessmentsRequest listAppAssessmentsRequest)
Lists the assessments for an AWS Resilience Hub application.
|
default ListAppComponentCompliancesResponse |
listAppComponentCompliances(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest)
Lists the compliances for an AWS Resilience Hub component.
|
default ListAppComponentCompliancesResponse |
listAppComponentCompliances(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest)
Lists the compliances for an AWS Resilience Hub component.
|
default ListAppComponentCompliancesIterable |
listAppComponentCompliancesPaginator(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest)
Lists the compliances for an AWS Resilience Hub component.
|
default ListAppComponentCompliancesIterable |
listAppComponentCompliancesPaginator(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest)
Lists the compliances for an AWS Resilience Hub component.
|
default ListAppComponentRecommendationsResponse |
listAppComponentRecommendations(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest)
Lists the recommendations for an AWS Resilience Hub component.
|
default ListAppComponentRecommendationsResponse |
listAppComponentRecommendations(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest)
Lists the recommendations for an AWS Resilience Hub component.
|
default ListAppComponentRecommendationsIterable |
listAppComponentRecommendationsPaginator(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest)
Lists the recommendations for an AWS Resilience Hub component.
|
default ListAppComponentRecommendationsIterable |
listAppComponentRecommendationsPaginator(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest)
Lists the recommendations for an AWS Resilience Hub component.
|
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 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 application version.
|
default ListAppVersionResourcesResponse |
listAppVersionResources(ListAppVersionResourcesRequest listAppVersionResourcesRequest)
Lists all the resources in an application version.
|
default ListAppVersionResourcesIterable |
listAppVersionResourcesPaginator(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest)
Lists all the resources in an application version.
|
default ListAppVersionResourcesIterable |
listAppVersionResourcesPaginator(ListAppVersionResourcesRequest listAppVersionResourcesRequest)
Lists all the resources in an application version.
|
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 AWS Resilience Hub.
|
default ListUnsupportedAppVersionResourcesResponse |
listUnsupportedAppVersionResources(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest)
Lists the resources that are not currently supported in AWS Resilience Hub.
|
default ListUnsupportedAppVersionResourcesIterable |
listUnsupportedAppVersionResourcesPaginator(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest)
Lists the resources that are not currently supported in AWS Resilience Hub.
|
default ListUnsupportedAppVersionResourcesIterable |
listUnsupportedAppVersionResourcesPaginator(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest)
Lists the resources that are not currently supported in AWS 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 a draft version of a Resilience Hub app.
|
default PutDraftAppVersionTemplateResponse |
putDraftAppVersionTemplate(PutDraftAppVersionTemplateRequest putDraftAppVersionTemplateRequest)
Adds or updates the app template for a draft version of a Resilience Hub app.
|
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.
|
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 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.static ResiliencehubClient create()
ResiliencehubClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static ResiliencehubClientBuilder builder()
ResiliencehubClient.default AddDraftAppVersionResourceMappingsResponse addDraftAppVersionResourceMappings(AddDraftAppVersionResourceMappingsRequest addDraftAppVersionResourceMappingsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Adds the resource mapping for the draft application version.
addDraftAppVersionResourceMappingsRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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.
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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more–up to five–CloudFormation stacks, and an appropriate resiliency policy.
After you create a Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).
createAppRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more–up to five–CloudFormation stacks, and an appropriate resiliency policy.
After you create a Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).
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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Creates a new recommendation template.
createRecommendationTemplateRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Creates a new recommendation template.
This is a convenience which creates an instance of the CreateRecommendationTemplateRequest.Builder
avoiding the need to create one manually via CreateRecommendationTemplateRequest.builder()
createRecommendationTemplateRequest - A Consumer that will call methods on CreateRecommendationTemplateRequest.Builder to create
a request.InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ConflictException - 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 - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ConflictException - 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 - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was 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 AWS Resilience Hub application. This is a destructive action that can't be undone.
This is a convenience which creates an instance of the DeleteAppRequest.Builder avoiding the need to
create one manually via DeleteAppRequest.builder()
deleteAppRequest - A Consumer that will call methods on DeleteAppRequest.Builder to create a request.InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was 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 AWS 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub application assessment. This is a destructive action that can't be undone.
This is a convenience which creates an instance of the DeleteAppAssessmentRequest.Builder avoiding the
need to create one manually via DeleteAppAssessmentRequest.builder()
deleteAppAssessmentRequest - A Consumer that will call methods on DeleteAppAssessmentRequest.Builder to create a
request.InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub application.
describeAppRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub application.
This is a convenience which creates an instance of the DescribeAppRequest.Builder avoiding the need to
create one manually via DescribeAppRequest.builder()
describeAppRequest - A Consumer that will call methods on DescribeAppRequest.Builder to create a request.InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub application.
describeAppAssessmentRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub application.
This is a convenience which creates an instance of the DescribeAppAssessmentRequest.Builder avoiding the
need to create one manually via DescribeAppAssessmentRequest.builder()
describeAppAssessmentRequest - A Consumer that will call methods on DescribeAppAssessmentRequest.Builder to create a
request.InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub
describeAppVersionTemplateRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub
This is a convenience which creates an instance of the DescribeAppVersionTemplateRequest.Builder avoiding
the need to create one manually via DescribeAppVersionTemplateRequest.builder()
describeAppVersionTemplateRequest - A Consumer that will call methods on DescribeAppVersionTemplateRequest.Builder to create a
request.InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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.
describeDraftAppVersionResourcesImportStatusRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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.
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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.
describeResiliencyPolicyRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.
This is a convenience which creates an instance of the DescribeResiliencyPolicyRequest.Builder avoiding
the need to create one manually via DescribeResiliencyPolicyRequest.builder()
describeResiliencyPolicyRequest - A Consumer that will call methods on DescribeResiliencyPolicyRequest.Builder to create a
request.InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Imports resources from sources such as a CloudFormation stack, resource-groups, or application registry app to a draft application version.
importResourcesToDraftAppVersionRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Imports resources from sources such as a CloudFormation stack, resource-groups, or application registry app to a draft application version.
This is a convenience which creates an instance of the ImportResourcesToDraftAppVersionRequest.Builder
avoiding the need to create one manually via ImportResourcesToDraftAppVersionRequest.builder()
importResourcesToDraftAppVersionRequest - A Consumer that will call methods on ImportResourcesToDraftAppVersionRequest.Builder to
create a request.InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 a AWS Resilience Hub application.
listAlarmRecommendationsRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 a AWS Resilience Hub application.
This is a convenience which creates an instance of the ListAlarmRecommendationsRequest.Builder avoiding
the need to create one manually via ListAlarmRecommendationsRequest.builder()
listAlarmRecommendationsRequest - A Consumer that will call methods on ListAlarmRecommendationsRequest.Builder to create a
request.InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 a AWS Resilience Hub application.
This is a variant of
listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)
operation. The return type is a custom 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 a AWS Resilience Hub application.
This is a variant of
listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)
operation. The return type is a custom 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub application. You can use request parameters to refine the results for the response object.
This is a convenience which creates an instance of the ListAppAssessmentsRequest.Builder avoiding the
need to create one manually via ListAppAssessmentsRequest.builder()
listAppAssessmentsRequest - A Consumer that will call methods on ListAppAssessmentsRequest.Builder to create a
request.InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub application. You can use request parameters to refine the results for the response object.
This is a variant of
listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)
operation. The return type is a custom 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub application. You can use request parameters to refine the results for the response object.
This is a variant of
listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)
operation. The return type is a custom 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub component.
listAppComponentCompliancesRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub component.
This is a convenience which creates an instance of the ListAppComponentCompliancesRequest.Builder
avoiding the need to create one manually via ListAppComponentCompliancesRequest.builder()
listAppComponentCompliancesRequest - A Consumer that will call methods on ListAppComponentCompliancesRequest.Builder to create
a request.InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub component.
listAppComponentRecommendationsRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub component.
This is a convenience which creates an instance of the ListAppComponentRecommendationsRequest.Builder
avoiding the need to create one manually via ListAppComponentRecommendationsRequest.builder()
listAppComponentRecommendationsRequest - A Consumer that will call methods on ListAppComponentRecommendationsRequest.Builder to
create a request.InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 application version.
listAppVersionResourcesRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 application version.
This is a convenience which creates an instance of the ListAppVersionResourcesRequest.Builder avoiding
the need to create one manually via ListAppVersionResourcesRequest.builder()
listAppVersionResourcesRequest - A Consumer that will call methods on ListAppVersionResourcesRequest.Builder to create a
request.InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 application version.
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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 application version.
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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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.
listAppsRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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.
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 AWS Resilience Hub service.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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.
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 AWS Resilience Hub service.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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.
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 AWS Resilience Hub service.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.
listUnsupportedAppVersionResourcesRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.
This is a convenience which creates an instance of the ListUnsupportedAppVersionResourcesRequest.Builder
avoiding the need to create one manually via ListUnsupportedAppVersionResourcesRequest.builder()
listUnsupportedAppVersionResourcesRequest - A Consumer that will call methods on ListUnsupportedAppVersionResourcesRequest.Builder to
create a request.InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.
This is a variant of
listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest)
operation. The return type is a custom 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.
This is a variant of
listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest)
operation. The return type is a custom 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 a draft version of a Resilience Hub app.
putDraftAppVersionTemplateRequest - InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 a draft version of a Resilience Hub app.
This is a convenience which creates an instance of the PutDraftAppVersionTemplateRequest.Builder avoiding
the need to create one manually via PutDraftAppVersionTemplateRequest.builder()
putDraftAppVersionTemplateRequest - A Consumer that will call methods on PutDraftAppVersionTemplateRequest.Builder to create a
request.InternalServerException - This exception occurs when there is an internal failure in the AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ThrottlingException - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 AWS Resilience Hub service.ResourceNotFoundException - The specified resource could not be found.ConflictException - 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 - The limit on the number of requests per second was exceeded.ValidationException - Indicates that a request was not valid.AccessDeniedException - You don't have permissions to perform the requested operation. The user or role that is making the
request must have at least one IAM permissions policy attached that grants the required permissions.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 ServiceMetadata serviceMetadata()
Copyright © 2022. All rights reserved.