Interface ResiliencehubClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface ResiliencehubClient extends AwsClient
Service client for accessing AWS Resilience Hub. This can be created using the staticbuilder()method.Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from disruptions. It offers continual resiliency assessment and validation that integrates into your software development lifecycle. This enables you to uncover resiliency weaknesses, ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your applications are met, and resolve issues before they are released into production.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default AddDraftAppVersionResourceMappingsResponseaddDraftAppVersionResourceMappings(Consumer<AddDraftAppVersionResourceMappingsRequest.Builder> addDraftAppVersionResourceMappingsRequest)Adds the source of resource-maps to the draft version of an application.default AddDraftAppVersionResourceMappingsResponseaddDraftAppVersionResourceMappings(AddDraftAppVersionResourceMappingsRequest addDraftAppVersionResourceMappingsRequest)Adds the source of resource-maps to the draft version of an application.default BatchUpdateRecommendationStatusResponsebatchUpdateRecommendationStatus(Consumer<BatchUpdateRecommendationStatusRequest.Builder> batchUpdateRecommendationStatusRequest)Enables you to include or exclude one or more operational recommendations.default BatchUpdateRecommendationStatusResponsebatchUpdateRecommendationStatus(BatchUpdateRecommendationStatusRequest batchUpdateRecommendationStatusRequest)Enables you to include or exclude one or more operational recommendations.static ResiliencehubClientBuilderbuilder()Create a builder that can be used to configure and create aResiliencehubClient.static ResiliencehubClientcreate()Create aResiliencehubClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateAppResponsecreateApp(Consumer<CreateAppRequest.Builder> createAppRequest)Creates an Resilience Hub application.default CreateAppResponsecreateApp(CreateAppRequest createAppRequest)Creates an Resilience Hub application.default CreateAppVersionAppComponentResponsecreateAppVersionAppComponent(Consumer<CreateAppVersionAppComponentRequest.Builder> createAppVersionAppComponentRequest)Creates a new Application Component in the Resilience Hub application.default CreateAppVersionAppComponentResponsecreateAppVersionAppComponent(CreateAppVersionAppComponentRequest createAppVersionAppComponentRequest)Creates a new Application Component in the Resilience Hub application.default CreateAppVersionResourceResponsecreateAppVersionResource(Consumer<CreateAppVersionResourceRequest.Builder> createAppVersionResourceRequest)Adds a resource to the Resilience Hub application and assigns it to the specified Application Components.default CreateAppVersionResourceResponsecreateAppVersionResource(CreateAppVersionResourceRequest createAppVersionResourceRequest)Adds a resource to the Resilience Hub application and assigns it to the specified Application Components.default CreateRecommendationTemplateResponsecreateRecommendationTemplate(Consumer<CreateRecommendationTemplateRequest.Builder> createRecommendationTemplateRequest)Creates a new recommendation template for the Resilience Hub application.default CreateRecommendationTemplateResponsecreateRecommendationTemplate(CreateRecommendationTemplateRequest createRecommendationTemplateRequest)Creates a new recommendation template for the Resilience Hub application.default CreateResiliencyPolicyResponsecreateResiliencyPolicy(Consumer<CreateResiliencyPolicyRequest.Builder> createResiliencyPolicyRequest)Creates a resiliency policy for an application.default CreateResiliencyPolicyResponsecreateResiliencyPolicy(CreateResiliencyPolicyRequest createResiliencyPolicyRequest)Creates a resiliency policy for an application.default DeleteAppResponsedeleteApp(Consumer<DeleteAppRequest.Builder> deleteAppRequest)Deletes an Resilience Hub application.default DeleteAppResponsedeleteApp(DeleteAppRequest deleteAppRequest)Deletes an Resilience Hub application.default DeleteAppAssessmentResponsedeleteAppAssessment(Consumer<DeleteAppAssessmentRequest.Builder> deleteAppAssessmentRequest)Deletes an Resilience Hub application assessment.default DeleteAppAssessmentResponsedeleteAppAssessment(DeleteAppAssessmentRequest deleteAppAssessmentRequest)Deletes an Resilience Hub application assessment.default DeleteAppInputSourceResponsedeleteAppInputSource(Consumer<DeleteAppInputSourceRequest.Builder> deleteAppInputSourceRequest)Deletes the input source and all of its imported resources from the Resilience Hub application.default DeleteAppInputSourceResponsedeleteAppInputSource(DeleteAppInputSourceRequest deleteAppInputSourceRequest)Deletes the input source and all of its imported resources from the Resilience Hub application.default DeleteAppVersionAppComponentResponsedeleteAppVersionAppComponent(Consumer<DeleteAppVersionAppComponentRequest.Builder> deleteAppVersionAppComponentRequest)Deletes an Application Component from the Resilience Hub application.default DeleteAppVersionAppComponentResponsedeleteAppVersionAppComponent(DeleteAppVersionAppComponentRequest deleteAppVersionAppComponentRequest)Deletes an Application Component from the Resilience Hub application.default DeleteAppVersionResourceResponsedeleteAppVersionResource(Consumer<DeleteAppVersionResourceRequest.Builder> deleteAppVersionResourceRequest)Deletes a resource from the Resilience Hub application.default DeleteAppVersionResourceResponsedeleteAppVersionResource(DeleteAppVersionResourceRequest deleteAppVersionResourceRequest)Deletes a resource from the Resilience Hub application.default DeleteRecommendationTemplateResponsedeleteRecommendationTemplate(Consumer<DeleteRecommendationTemplateRequest.Builder> deleteRecommendationTemplateRequest)Deletes a recommendation template.default DeleteRecommendationTemplateResponsedeleteRecommendationTemplate(DeleteRecommendationTemplateRequest deleteRecommendationTemplateRequest)Deletes a recommendation template.default DeleteResiliencyPolicyResponsedeleteResiliencyPolicy(Consumer<DeleteResiliencyPolicyRequest.Builder> deleteResiliencyPolicyRequest)Deletes a resiliency policy.default DeleteResiliencyPolicyResponsedeleteResiliencyPolicy(DeleteResiliencyPolicyRequest deleteResiliencyPolicyRequest)Deletes a resiliency policy.default DescribeAppResponsedescribeApp(Consumer<DescribeAppRequest.Builder> describeAppRequest)Describes an Resilience Hub application.default DescribeAppResponsedescribeApp(DescribeAppRequest describeAppRequest)Describes an Resilience Hub application.default DescribeAppAssessmentResponsedescribeAppAssessment(Consumer<DescribeAppAssessmentRequest.Builder> describeAppAssessmentRequest)Describes an assessment for an Resilience Hub application.default DescribeAppAssessmentResponsedescribeAppAssessment(DescribeAppAssessmentRequest describeAppAssessmentRequest)Describes an assessment for an Resilience Hub application.default DescribeAppVersionResponsedescribeAppVersion(Consumer<DescribeAppVersionRequest.Builder> describeAppVersionRequest)Describes the Resilience Hub application version.default DescribeAppVersionResponsedescribeAppVersion(DescribeAppVersionRequest describeAppVersionRequest)Describes the Resilience Hub application version.default DescribeAppVersionAppComponentResponsedescribeAppVersionAppComponent(Consumer<DescribeAppVersionAppComponentRequest.Builder> describeAppVersionAppComponentRequest)Describes an Application Component in the Resilience Hub application.default DescribeAppVersionAppComponentResponsedescribeAppVersionAppComponent(DescribeAppVersionAppComponentRequest describeAppVersionAppComponentRequest)Describes an Application Component in the Resilience Hub application.default DescribeAppVersionResourceResponsedescribeAppVersionResource(Consumer<DescribeAppVersionResourceRequest.Builder> describeAppVersionResourceRequest)Describes a resource of the Resilience Hub application.default DescribeAppVersionResourceResponsedescribeAppVersionResource(DescribeAppVersionResourceRequest describeAppVersionResourceRequest)Describes a resource of the Resilience Hub application.default DescribeAppVersionResourcesResolutionStatusResponsedescribeAppVersionResourcesResolutionStatus(Consumer<DescribeAppVersionResourcesResolutionStatusRequest.Builder> describeAppVersionResourcesResolutionStatusRequest)Returns the resolution status for the specified resolution identifier for an application version.default DescribeAppVersionResourcesResolutionStatusResponsedescribeAppVersionResourcesResolutionStatus(DescribeAppVersionResourcesResolutionStatusRequest describeAppVersionResourcesResolutionStatusRequest)Returns the resolution status for the specified resolution identifier for an application version.default DescribeAppVersionTemplateResponsedescribeAppVersionTemplate(Consumer<DescribeAppVersionTemplateRequest.Builder> describeAppVersionTemplateRequest)Describes details about an Resilience Hub application.default DescribeAppVersionTemplateResponsedescribeAppVersionTemplate(DescribeAppVersionTemplateRequest describeAppVersionTemplateRequest)Describes details about an Resilience Hub application.default DescribeDraftAppVersionResourcesImportStatusResponsedescribeDraftAppVersionResourcesImportStatus(Consumer<DescribeDraftAppVersionResourcesImportStatusRequest.Builder> describeDraftAppVersionResourcesImportStatusRequest)Describes the status of importing resources to an application version.default DescribeDraftAppVersionResourcesImportStatusResponsedescribeDraftAppVersionResourcesImportStatus(DescribeDraftAppVersionResourcesImportStatusRequest describeDraftAppVersionResourcesImportStatusRequest)Describes the status of importing resources to an application version.default DescribeResiliencyPolicyResponsedescribeResiliencyPolicy(Consumer<DescribeResiliencyPolicyRequest.Builder> describeResiliencyPolicyRequest)Describes a specified resiliency policy for an Resilience Hub application.default DescribeResiliencyPolicyResponsedescribeResiliencyPolicy(DescribeResiliencyPolicyRequest describeResiliencyPolicyRequest)Describes a specified resiliency policy for an Resilience Hub application.default ImportResourcesToDraftAppVersionResponseimportResourcesToDraftAppVersion(Consumer<ImportResourcesToDraftAppVersionRequest.Builder> importResourcesToDraftAppVersionRequest)Imports resources to Resilience Hub application draft version from different input sources.default ImportResourcesToDraftAppVersionResponseimportResourcesToDraftAppVersion(ImportResourcesToDraftAppVersionRequest importResourcesToDraftAppVersionRequest)Imports resources to Resilience Hub application draft version from different input sources.default ListAlarmRecommendationsResponselistAlarmRecommendations(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest)Lists the alarm recommendations for an Resilience Hub application.default ListAlarmRecommendationsResponselistAlarmRecommendations(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest)Lists the alarm recommendations for an Resilience Hub application.default ListAlarmRecommendationsIterablelistAlarmRecommendationsPaginator(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest)Lists the alarm recommendations for an Resilience Hub application.default ListAlarmRecommendationsIterablelistAlarmRecommendationsPaginator(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest)Lists the alarm recommendations for an Resilience Hub application.default ListAppAssessmentComplianceDriftsResponselistAppAssessmentComplianceDrifts(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest)List of compliance drifts that were detected while running an assessment.default ListAppAssessmentComplianceDriftsResponselistAppAssessmentComplianceDrifts(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest)List of compliance drifts that were detected while running an assessment.default ListAppAssessmentComplianceDriftsIterablelistAppAssessmentComplianceDriftsPaginator(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest)List of compliance drifts that were detected while running an assessment.default ListAppAssessmentComplianceDriftsIterablelistAppAssessmentComplianceDriftsPaginator(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest)List of compliance drifts that were detected while running an assessment.default ListAppAssessmentsResponselistAppAssessments(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest)Lists the assessments for an Resilience Hub application.default ListAppAssessmentsResponselistAppAssessments(ListAppAssessmentsRequest listAppAssessmentsRequest)Lists the assessments for an Resilience Hub application.default ListAppAssessmentsIterablelistAppAssessmentsPaginator(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest)Lists the assessments for an Resilience Hub application.default ListAppAssessmentsIterablelistAppAssessmentsPaginator(ListAppAssessmentsRequest listAppAssessmentsRequest)Lists the assessments for an Resilience Hub application.default ListAppComponentCompliancesResponselistAppComponentCompliances(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest)Lists the compliances for an Resilience Hub Application Component.default ListAppComponentCompliancesResponselistAppComponentCompliances(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest)Lists the compliances for an Resilience Hub Application Component.default ListAppComponentCompliancesIterablelistAppComponentCompliancesPaginator(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest)Lists the compliances for an Resilience Hub Application Component.default ListAppComponentCompliancesIterablelistAppComponentCompliancesPaginator(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest)Lists the compliances for an Resilience Hub Application Component.default ListAppComponentRecommendationsResponselistAppComponentRecommendations(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest)Lists the recommendations for an Resilience Hub Application Component.default ListAppComponentRecommendationsResponselistAppComponentRecommendations(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest)Lists the recommendations for an Resilience Hub Application Component.default ListAppComponentRecommendationsIterablelistAppComponentRecommendationsPaginator(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest)Lists the recommendations for an Resilience Hub Application Component.default ListAppComponentRecommendationsIterablelistAppComponentRecommendationsPaginator(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest)Lists the recommendations for an Resilience Hub Application Component.default ListAppInputSourcesResponselistAppInputSources(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest)Lists all the input sources of the Resilience Hub application.default ListAppInputSourcesResponselistAppInputSources(ListAppInputSourcesRequest listAppInputSourcesRequest)Lists all the input sources of the Resilience Hub application.default ListAppInputSourcesIterablelistAppInputSourcesPaginator(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest)Lists all the input sources of the Resilience Hub application.default ListAppInputSourcesIterablelistAppInputSourcesPaginator(ListAppInputSourcesRequest listAppInputSourcesRequest)Lists all the input sources of the Resilience Hub application.default ListAppsResponselistApps(Consumer<ListAppsRequest.Builder> listAppsRequest)Lists your Resilience Hub applications.default ListAppsResponselistApps(ListAppsRequest listAppsRequest)Lists your Resilience Hub applications.default ListAppsIterablelistAppsPaginator(Consumer<ListAppsRequest.Builder> listAppsRequest)Lists your Resilience Hub applications.default ListAppsIterablelistAppsPaginator(ListAppsRequest listAppsRequest)Lists your Resilience Hub applications.default ListAppVersionAppComponentsResponselistAppVersionAppComponents(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest)Lists all the Application Components in the Resilience Hub application.default ListAppVersionAppComponentsResponselistAppVersionAppComponents(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest)Lists all the Application Components in the Resilience Hub application.default ListAppVersionAppComponentsIterablelistAppVersionAppComponentsPaginator(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest)Lists all the Application Components in the Resilience Hub application.default ListAppVersionAppComponentsIterablelistAppVersionAppComponentsPaginator(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest)Lists all the Application Components in the Resilience Hub application.default ListAppVersionResourceMappingsResponselistAppVersionResourceMappings(Consumer<ListAppVersionResourceMappingsRequest.Builder> listAppVersionResourceMappingsRequest)Lists how the resources in an application version are mapped/sourced from.default ListAppVersionResourceMappingsResponselistAppVersionResourceMappings(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest)Lists how the resources in an application version are mapped/sourced from.default ListAppVersionResourceMappingsIterablelistAppVersionResourceMappingsPaginator(Consumer<ListAppVersionResourceMappingsRequest.Builder> listAppVersionResourceMappingsRequest)Lists how the resources in an application version are mapped/sourced from.default ListAppVersionResourceMappingsIterablelistAppVersionResourceMappingsPaginator(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest)Lists how the resources in an application version are mapped/sourced from.default ListAppVersionResourcesResponselistAppVersionResources(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest)Lists all the resources in an Resilience Hub application.default ListAppVersionResourcesResponselistAppVersionResources(ListAppVersionResourcesRequest listAppVersionResourcesRequest)Lists all the resources in an Resilience Hub application.default ListAppVersionResourcesIterablelistAppVersionResourcesPaginator(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest)Lists all the resources in an Resilience Hub application.default ListAppVersionResourcesIterablelistAppVersionResourcesPaginator(ListAppVersionResourcesRequest listAppVersionResourcesRequest)Lists all the resources in an Resilience Hub application.default ListAppVersionsResponselistAppVersions(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest)Lists the different versions for the Resilience Hub applications.default ListAppVersionsResponselistAppVersions(ListAppVersionsRequest listAppVersionsRequest)Lists the different versions for the Resilience Hub applications.default ListAppVersionsIterablelistAppVersionsPaginator(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest)Lists the different versions for the Resilience Hub applications.default ListAppVersionsIterablelistAppVersionsPaginator(ListAppVersionsRequest listAppVersionsRequest)Lists the different versions for the Resilience Hub applications.default ListRecommendationTemplatesResponselistRecommendationTemplates(Consumer<ListRecommendationTemplatesRequest.Builder> listRecommendationTemplatesRequest)Lists the recommendation templates for the Resilience Hub applications.default ListRecommendationTemplatesResponselistRecommendationTemplates(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest)Lists the recommendation templates for the Resilience Hub applications.default ListRecommendationTemplatesIterablelistRecommendationTemplatesPaginator(Consumer<ListRecommendationTemplatesRequest.Builder> listRecommendationTemplatesRequest)Lists the recommendation templates for the Resilience Hub applications.default ListRecommendationTemplatesIterablelistRecommendationTemplatesPaginator(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest)Lists the recommendation templates for the Resilience Hub applications.default ListResiliencyPoliciesResponselistResiliencyPolicies(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest)Lists the resiliency policies for the Resilience Hub applications.default ListResiliencyPoliciesResponselistResiliencyPolicies(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest)Lists the resiliency policies for the Resilience Hub applications.default ListResiliencyPoliciesIterablelistResiliencyPoliciesPaginator(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest)Lists the resiliency policies for the Resilience Hub applications.default ListResiliencyPoliciesIterablelistResiliencyPoliciesPaginator(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest)Lists the resiliency policies for the Resilience Hub applications.default ListSopRecommendationsResponselistSopRecommendations(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest)Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.default ListSopRecommendationsResponselistSopRecommendations(ListSopRecommendationsRequest listSopRecommendationsRequest)Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.default ListSopRecommendationsIterablelistSopRecommendationsPaginator(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest)Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.default ListSopRecommendationsIterablelistSopRecommendationsPaginator(ListSopRecommendationsRequest listSopRecommendationsRequest)Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.default ListSuggestedResiliencyPoliciesResponselistSuggestedResiliencyPolicies(Consumer<ListSuggestedResiliencyPoliciesRequest.Builder> listSuggestedResiliencyPoliciesRequest)Lists the suggested resiliency policies for the Resilience Hub applications.default ListSuggestedResiliencyPoliciesResponselistSuggestedResiliencyPolicies(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest)Lists the suggested resiliency policies for the Resilience Hub applications.default ListSuggestedResiliencyPoliciesIterablelistSuggestedResiliencyPoliciesPaginator(Consumer<ListSuggestedResiliencyPoliciesRequest.Builder> listSuggestedResiliencyPoliciesRequest)Lists the suggested resiliency policies for the Resilience Hub applications.default ListSuggestedResiliencyPoliciesIterablelistSuggestedResiliencyPoliciesPaginator(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest)Lists the suggested resiliency policies for the Resilience Hub applications.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)Lists the tags for your resources in your Resilience Hub applications.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)Lists the tags for your resources in your Resilience Hub applications.default ListTestRecommendationsResponselistTestRecommendations(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest)Lists the test recommendations for the Resilience Hub application.default ListTestRecommendationsResponselistTestRecommendations(ListTestRecommendationsRequest listTestRecommendationsRequest)Lists the test recommendations for the Resilience Hub application.default ListTestRecommendationsIterablelistTestRecommendationsPaginator(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest)Lists the test recommendations for the Resilience Hub application.default ListTestRecommendationsIterablelistTestRecommendationsPaginator(ListTestRecommendationsRequest listTestRecommendationsRequest)Lists the test recommendations for the Resilience Hub application.default ListUnsupportedAppVersionResourcesResponselistUnsupportedAppVersionResources(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest)Lists the resources that are not currently supported in Resilience Hub.default ListUnsupportedAppVersionResourcesResponselistUnsupportedAppVersionResources(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest)Lists the resources that are not currently supported in Resilience Hub.default ListUnsupportedAppVersionResourcesIterablelistUnsupportedAppVersionResourcesPaginator(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest)Lists the resources that are not currently supported in Resilience Hub.default ListUnsupportedAppVersionResourcesIterablelistUnsupportedAppVersionResourcesPaginator(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest)Lists the resources that are not currently supported in Resilience Hub.default PublishAppVersionResponsepublishAppVersion(Consumer<PublishAppVersionRequest.Builder> publishAppVersionRequest)Publishes a new version of a specific Resilience Hub application.default PublishAppVersionResponsepublishAppVersion(PublishAppVersionRequest publishAppVersionRequest)Publishes a new version of a specific Resilience Hub application.default PutDraftAppVersionTemplateResponseputDraftAppVersionTemplate(Consumer<PutDraftAppVersionTemplateRequest.Builder> putDraftAppVersionTemplateRequest)Adds or updates the app template for an Resilience Hub application draft version.default PutDraftAppVersionTemplateResponseputDraftAppVersionTemplate(PutDraftAppVersionTemplateRequest putDraftAppVersionTemplateRequest)Adds or updates the app template for an Resilience Hub application draft version.default RemoveDraftAppVersionResourceMappingsResponseremoveDraftAppVersionResourceMappings(Consumer<RemoveDraftAppVersionResourceMappingsRequest.Builder> removeDraftAppVersionResourceMappingsRequest)Removes resource mappings from a draft application version.default RemoveDraftAppVersionResourceMappingsResponseremoveDraftAppVersionResourceMappings(RemoveDraftAppVersionResourceMappingsRequest removeDraftAppVersionResourceMappingsRequest)Removes resource mappings from a draft application version.default ResolveAppVersionResourcesResponseresolveAppVersionResources(Consumer<ResolveAppVersionResourcesRequest.Builder> resolveAppVersionResourcesRequest)Resolves the resources for an application version.default ResolveAppVersionResourcesResponseresolveAppVersionResources(ResolveAppVersionResourcesRequest resolveAppVersionResourcesRequest)Resolves the resources for an application version.default ResiliencehubServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default StartAppAssessmentResponsestartAppAssessment(Consumer<StartAppAssessmentRequest.Builder> startAppAssessmentRequest)Creates a new application assessment for an application.default StartAppAssessmentResponsestartAppAssessment(StartAppAssessmentRequest startAppAssessmentRequest)Creates a new application assessment for an application.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)Applies one or more tags to a resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest)Applies one or more tags to a resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)Removes one or more tags from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest)Removes one or more tags from a resource.default UpdateAppResponseupdateApp(Consumer<UpdateAppRequest.Builder> updateAppRequest)Updates an application.default UpdateAppResponseupdateApp(UpdateAppRequest updateAppRequest)Updates an application.default UpdateAppVersionResponseupdateAppVersion(Consumer<UpdateAppVersionRequest.Builder> updateAppVersionRequest)Updates the Resilience Hub application version.default UpdateAppVersionResponseupdateAppVersion(UpdateAppVersionRequest updateAppVersionRequest)Updates the Resilience Hub application version.default UpdateAppVersionAppComponentResponseupdateAppVersionAppComponent(Consumer<UpdateAppVersionAppComponentRequest.Builder> updateAppVersionAppComponentRequest)Updates an existing Application Component in the Resilience Hub application.default UpdateAppVersionAppComponentResponseupdateAppVersionAppComponent(UpdateAppVersionAppComponentRequest updateAppVersionAppComponentRequest)Updates an existing Application Component in the Resilience Hub application.default UpdateAppVersionResourceResponseupdateAppVersionResource(Consumer<UpdateAppVersionResourceRequest.Builder> updateAppVersionResourceRequest)Updates the resource details in the Resilience Hub application.default UpdateAppVersionResourceResponseupdateAppVersionResource(UpdateAppVersionResourceRequest updateAppVersionResourceRequest)Updates the resource details in the Resilience Hub application.default UpdateResiliencyPolicyResponseupdateResiliencyPolicy(Consumer<UpdateResiliencyPolicyRequest.Builder> updateResiliencyPolicyRequest)Updates a resiliency policy.default UpdateResiliencyPolicyResponseupdateResiliencyPolicy(UpdateResiliencyPolicyRequest updateResiliencyPolicyRequest)Updates a resiliency policy.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
addDraftAppVersionResourceMappings
default AddDraftAppVersionResourceMappingsResponse addDraftAppVersionResourceMappings(AddDraftAppVersionResourceMappingsRequest addDraftAppVersionResourceMappingsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Adds the source of resource-maps to the draft version of an application. During assessment, Resilience Hub will use these resource-maps to resolve the latest physical ID for each resource in the application template. For more information about different types of resources suported by Resilience Hub and how to add them in your application, see Step 2: How is your application managed? in the Resilience Hub User Guide.
- Parameters:
addDraftAppVersionResourceMappingsRequest-- Returns:
- Result of the AddDraftAppVersionResourceMappings operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
addDraftAppVersionResourceMappings
default AddDraftAppVersionResourceMappingsResponse addDraftAppVersionResourceMappings(Consumer<AddDraftAppVersionResourceMappingsRequest.Builder> addDraftAppVersionResourceMappingsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Adds the source of resource-maps to the draft version of an application. During assessment, Resilience Hub will use these resource-maps to resolve the latest physical ID for each resource in the application template. For more information about different types of resources suported by Resilience Hub and how to add them in your application, see Step 2: How is your application managed? in the Resilience Hub User Guide.
This is a convenience which creates an instance of the
AddDraftAppVersionResourceMappingsRequest.Builderavoiding the need to create one manually viaAddDraftAppVersionResourceMappingsRequest.builder()- Parameters:
addDraftAppVersionResourceMappingsRequest- AConsumerthat will call methods onAddDraftAppVersionResourceMappingsRequest.Builderto create a request.- Returns:
- Result of the AddDraftAppVersionResourceMappings operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
batchUpdateRecommendationStatus
default BatchUpdateRecommendationStatusResponse batchUpdateRecommendationStatus(BatchUpdateRecommendationStatusRequest batchUpdateRecommendationStatusRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Enables you to include or exclude one or more operational recommendations.
- Parameters:
batchUpdateRecommendationStatusRequest-- Returns:
- Result of the BatchUpdateRecommendationStatus operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
batchUpdateRecommendationStatus
default BatchUpdateRecommendationStatusResponse batchUpdateRecommendationStatus(Consumer<BatchUpdateRecommendationStatusRequest.Builder> batchUpdateRecommendationStatusRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Enables you to include or exclude one or more operational recommendations.
This is a convenience which creates an instance of the
BatchUpdateRecommendationStatusRequest.Builderavoiding the need to create one manually viaBatchUpdateRecommendationStatusRequest.builder()- Parameters:
batchUpdateRecommendationStatusRequest- AConsumerthat will call methods onBatchUpdateRecommendationStatusRequest.Builderto create a request.- Returns:
- Result of the BatchUpdateRecommendationStatus operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createApp
default CreateAppResponse createApp(CreateAppRequest createAppRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Creates an Resilience Hub application. An Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information about the number of resources supported per application, see Service quotas.
After you create an Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).
- Parameters:
createAppRequest-- Returns:
- Result of the CreateApp operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException- This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createApp
default CreateAppResponse createApp(Consumer<CreateAppRequest.Builder> createAppRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Creates an Resilience Hub application. An Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information about the number of resources supported per application, see Service quotas.
After you create an Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).
This is a convenience which creates an instance of the
CreateAppRequest.Builderavoiding the need to create one manually viaCreateAppRequest.builder()- Parameters:
createAppRequest- AConsumerthat will call methods onCreateAppRequest.Builderto create a request.- Returns:
- Result of the CreateApp operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException- This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createAppVersionAppComponent
default CreateAppVersionAppComponentResponse createAppVersionAppComponent(CreateAppVersionAppComponentRequest createAppVersionAppComponentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Creates a new Application Component in the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the
PublishAppVersionAPI.- Parameters:
createAppVersionAppComponentRequest-- Returns:
- Result of the CreateAppVersionAppComponent operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException- This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createAppVersionAppComponent
default CreateAppVersionAppComponentResponse createAppVersionAppComponent(Consumer<CreateAppVersionAppComponentRequest.Builder> createAppVersionAppComponentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Creates a new Application Component in the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the
PublishAppVersionAPI.
This is a convenience which creates an instance of the
CreateAppVersionAppComponentRequest.Builderavoiding the need to create one manually viaCreateAppVersionAppComponentRequest.builder()- Parameters:
createAppVersionAppComponentRequest- AConsumerthat will call methods onCreateAppVersionAppComponentRequest.Builderto create a request.- Returns:
- Result of the CreateAppVersionAppComponent operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException- This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createAppVersionResource
default CreateAppVersionResourceResponse createAppVersionResource(CreateAppVersionResourceRequest createAppVersionResourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Adds a resource to the Resilience Hub application and assigns it to the specified Application Components. If you specify a new Application Component, Resilience Hub will automatically create the Application Component.
-
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersionAPI. -
To update application version with new
physicalResourceID, you must callResolveAppVersionResourcesAPI.
- Parameters:
createAppVersionResourceRequest-- Returns:
- Result of the CreateAppVersionResource operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException- This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
createAppVersionResource
default CreateAppVersionResourceResponse createAppVersionResource(Consumer<CreateAppVersionResourceRequest.Builder> createAppVersionResourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Adds a resource to the Resilience Hub application and assigns it to the specified Application Components. If you specify a new Application Component, Resilience Hub will automatically create the Application Component.
-
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersionAPI. -
To update application version with new
physicalResourceID, you must callResolveAppVersionResourcesAPI.
This is a convenience which creates an instance of the
CreateAppVersionResourceRequest.Builderavoiding the need to create one manually viaCreateAppVersionResourceRequest.builder()- Parameters:
createAppVersionResourceRequest- AConsumerthat will call methods onCreateAppVersionResourceRequest.Builderto create a request.- Returns:
- Result of the CreateAppVersionResource operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException- This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
createRecommendationTemplate
default CreateRecommendationTemplateResponse createRecommendationTemplate(CreateRecommendationTemplateRequest createRecommendationTemplateRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Creates a new recommendation template for the Resilience Hub application.
- Parameters:
createRecommendationTemplateRequest-- Returns:
- Result of the CreateRecommendationTemplate operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException- This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createRecommendationTemplate
default CreateRecommendationTemplateResponse createRecommendationTemplate(Consumer<CreateRecommendationTemplateRequest.Builder> createRecommendationTemplateRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Creates a new recommendation template for the Resilience Hub application.
This is a convenience which creates an instance of the
CreateRecommendationTemplateRequest.Builderavoiding the need to create one manually viaCreateRecommendationTemplateRequest.builder()- Parameters:
createRecommendationTemplateRequest- AConsumerthat will call methods onCreateRecommendationTemplateRequest.Builderto create a request.- Returns:
- Result of the CreateRecommendationTemplate operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException- This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createResiliencyPolicy
default CreateResiliencyPolicyResponse createResiliencyPolicy(CreateResiliencyPolicyRequest createResiliencyPolicyRequest) throws InternalServerException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Creates a resiliency policy for an application.
Resilience Hub allows you to provide a value of zero for
rtoInSecsandrpoInSecsof your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero forrtoInSecsandrpoInSecs, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.- Parameters:
createResiliencyPolicyRequest-- Returns:
- Result of the CreateResiliencyPolicy operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException- This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createResiliencyPolicy
default CreateResiliencyPolicyResponse createResiliencyPolicy(Consumer<CreateResiliencyPolicyRequest.Builder> createResiliencyPolicyRequest) throws InternalServerException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Creates a resiliency policy for an application.
Resilience Hub allows you to provide a value of zero for
rtoInSecsandrpoInSecsof your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero forrtoInSecsandrpoInSecs, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.
This is a convenience which creates an instance of the
CreateResiliencyPolicyRequest.Builderavoiding the need to create one manually viaCreateResiliencyPolicyRequest.builder()- Parameters:
createResiliencyPolicyRequest- AConsumerthat will call methods onCreateResiliencyPolicyRequest.Builderto create a request.- Returns:
- Result of the CreateResiliencyPolicy operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException- This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApp
default DeleteAppResponse deleteApp(DeleteAppRequest deleteAppRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes an Resilience Hub application. This is a destructive action that can't be undone.
- Parameters:
deleteAppRequest-- Returns:
- Result of the DeleteApp operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteApp
default DeleteAppResponse deleteApp(Consumer<DeleteAppRequest.Builder> deleteAppRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes an Resilience Hub application. This is a destructive action that can't be undone.
This is a convenience which creates an instance of the
DeleteAppRequest.Builderavoiding the need to create one manually viaDeleteAppRequest.builder()- Parameters:
deleteAppRequest- AConsumerthat will call methods onDeleteAppRequest.Builderto create a request.- Returns:
- Result of the DeleteApp operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAppAssessment
default DeleteAppAssessmentResponse deleteAppAssessment(DeleteAppAssessmentRequest deleteAppAssessmentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes an Resilience Hub application assessment. This is a destructive action that can't be undone.
- Parameters:
deleteAppAssessmentRequest-- Returns:
- Result of the DeleteAppAssessment operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAppAssessment
default DeleteAppAssessmentResponse deleteAppAssessment(Consumer<DeleteAppAssessmentRequest.Builder> deleteAppAssessmentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes an Resilience Hub application assessment. This is a destructive action that can't be undone.
This is a convenience which creates an instance of the
DeleteAppAssessmentRequest.Builderavoiding the need to create one manually viaDeleteAppAssessmentRequest.builder()- Parameters:
deleteAppAssessmentRequest- AConsumerthat will call methods onDeleteAppAssessmentRequest.Builderto create a request.- Returns:
- Result of the DeleteAppAssessment operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAppInputSource
default DeleteAppInputSourceResponse deleteAppInputSource(DeleteAppInputSourceRequest deleteAppInputSourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes the input source and all of its imported resources from the Resilience Hub application.
- Parameters:
deleteAppInputSourceRequest-- Returns:
- Result of the DeleteAppInputSource operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAppInputSource
default DeleteAppInputSourceResponse deleteAppInputSource(Consumer<DeleteAppInputSourceRequest.Builder> deleteAppInputSourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes the input source and all of its imported resources from the Resilience Hub application.
This is a convenience which creates an instance of the
DeleteAppInputSourceRequest.Builderavoiding the need to create one manually viaDeleteAppInputSourceRequest.builder()- Parameters:
deleteAppInputSourceRequest- AConsumerthat will call methods onDeleteAppInputSourceRequest.Builderto create a request.- Returns:
- Result of the DeleteAppInputSource operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteAppVersionAppComponent
default DeleteAppVersionAppComponentResponse deleteAppVersionAppComponent(DeleteAppVersionAppComponentRequest deleteAppVersionAppComponentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes an Application Component from the Resilience Hub application.
-
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the
PublishAppVersionAPI. -
You will not be able to delete an Application Component if it has resources associated with it.
- Parameters:
deleteAppVersionAppComponentRequest-- Returns:
- Result of the DeleteAppVersionAppComponent operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
deleteAppVersionAppComponent
default DeleteAppVersionAppComponentResponse deleteAppVersionAppComponent(Consumer<DeleteAppVersionAppComponentRequest.Builder> deleteAppVersionAppComponentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes an Application Component from the Resilience Hub application.
-
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the
PublishAppVersionAPI. -
You will not be able to delete an Application Component if it has resources associated with it.
This is a convenience which creates an instance of the
DeleteAppVersionAppComponentRequest.Builderavoiding the need to create one manually viaDeleteAppVersionAppComponentRequest.builder()- Parameters:
deleteAppVersionAppComponentRequest- AConsumerthat will call methods onDeleteAppVersionAppComponentRequest.Builderto create a request.- Returns:
- Result of the DeleteAppVersionAppComponent operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
deleteAppVersionResource
default DeleteAppVersionResourceResponse deleteAppVersionResource(DeleteAppVersionResourceRequest deleteAppVersionResourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes a resource from the Resilience Hub application.
-
You can only delete a manually added resource. To exclude non-manually added resources, use the
UpdateAppVersionResourceAPI. -
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersionAPI.
- Parameters:
deleteAppVersionResourceRequest-- Returns:
- Result of the DeleteAppVersionResource operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
deleteAppVersionResource
default DeleteAppVersionResourceResponse deleteAppVersionResource(Consumer<DeleteAppVersionResourceRequest.Builder> deleteAppVersionResourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Deletes a resource from the Resilience Hub application.
-
You can only delete a manually added resource. To exclude non-manually added resources, use the
UpdateAppVersionResourceAPI. -
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersionAPI.
This is a convenience which creates an instance of the
DeleteAppVersionResourceRequest.Builderavoiding the need to create one manually viaDeleteAppVersionResourceRequest.builder()- Parameters:
deleteAppVersionResourceRequest- AConsumerthat will call methods onDeleteAppVersionResourceRequest.Builderto create a request.- Returns:
- Result of the DeleteAppVersionResource operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
deleteRecommendationTemplate
default 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.
- Parameters:
deleteRecommendationTemplateRequest-- Returns:
- Result of the DeleteRecommendationTemplate operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteRecommendationTemplate
default 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.Builderavoiding the need to create one manually viaDeleteRecommendationTemplateRequest.builder()- Parameters:
deleteRecommendationTemplateRequest- AConsumerthat will call methods onDeleteRecommendationTemplateRequest.Builderto create a request.- Returns:
- Result of the DeleteRecommendationTemplate operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteResiliencyPolicy
default 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.
- Parameters:
deleteResiliencyPolicyRequest-- Returns:
- Result of the DeleteResiliencyPolicy operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteResiliencyPolicy
default 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.Builderavoiding the need to create one manually viaDeleteResiliencyPolicyRequest.builder()- Parameters:
deleteResiliencyPolicyRequest- AConsumerthat will call methods onDeleteResiliencyPolicyRequest.Builderto create a request.- Returns:
- Result of the DeleteResiliencyPolicy operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeApp
default DescribeAppResponse describeApp(DescribeAppRequest describeAppRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes an Resilience Hub application.
- Parameters:
describeAppRequest-- Returns:
- Result of the DescribeApp operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeApp
default DescribeAppResponse describeApp(Consumer<DescribeAppRequest.Builder> describeAppRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes an Resilience Hub application.
This is a convenience which creates an instance of the
DescribeAppRequest.Builderavoiding the need to create one manually viaDescribeAppRequest.builder()- Parameters:
describeAppRequest- AConsumerthat will call methods onDescribeAppRequest.Builderto create a request.- Returns:
- Result of the DescribeApp operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeAppAssessment
default DescribeAppAssessmentResponse describeAppAssessment(DescribeAppAssessmentRequest describeAppAssessmentRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes an assessment for an Resilience Hub application.
- Parameters:
describeAppAssessmentRequest-- Returns:
- Result of the DescribeAppAssessment operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeAppAssessment
default DescribeAppAssessmentResponse describeAppAssessment(Consumer<DescribeAppAssessmentRequest.Builder> describeAppAssessmentRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes an assessment for an Resilience Hub application.
This is a convenience which creates an instance of the
DescribeAppAssessmentRequest.Builderavoiding the need to create one manually viaDescribeAppAssessmentRequest.builder()- Parameters:
describeAppAssessmentRequest- AConsumerthat will call methods onDescribeAppAssessmentRequest.Builderto create a request.- Returns:
- Result of the DescribeAppAssessment operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeAppVersion
default DescribeAppVersionResponse describeAppVersion(DescribeAppVersionRequest describeAppVersionRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes the Resilience Hub application version.
- Parameters:
describeAppVersionRequest-- Returns:
- Result of the DescribeAppVersion operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeAppVersion
default DescribeAppVersionResponse describeAppVersion(Consumer<DescribeAppVersionRequest.Builder> describeAppVersionRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes the Resilience Hub application version.
This is a convenience which creates an instance of the
DescribeAppVersionRequest.Builderavoiding the need to create one manually viaDescribeAppVersionRequest.builder()- Parameters:
describeAppVersionRequest- AConsumerthat will call methods onDescribeAppVersionRequest.Builderto create a request.- Returns:
- Result of the DescribeAppVersion operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeAppVersionAppComponent
default DescribeAppVersionAppComponentResponse describeAppVersionAppComponent(DescribeAppVersionAppComponentRequest describeAppVersionAppComponentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes an Application Component in the Resilience Hub application.
- Parameters:
describeAppVersionAppComponentRequest-- Returns:
- Result of the DescribeAppVersionAppComponent operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeAppVersionAppComponent
default DescribeAppVersionAppComponentResponse describeAppVersionAppComponent(Consumer<DescribeAppVersionAppComponentRequest.Builder> describeAppVersionAppComponentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes an Application Component in the Resilience Hub application.
This is a convenience which creates an instance of the
DescribeAppVersionAppComponentRequest.Builderavoiding the need to create one manually viaDescribeAppVersionAppComponentRequest.builder()- Parameters:
describeAppVersionAppComponentRequest- AConsumerthat will call methods onDescribeAppVersionAppComponentRequest.Builderto create a request.- Returns:
- Result of the DescribeAppVersionAppComponent operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeAppVersionResource
default DescribeAppVersionResourceResponse describeAppVersionResource(DescribeAppVersionResourceRequest describeAppVersionResourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes a resource of the Resilience Hub application.
This API accepts only one of the following parameters to descibe the resource:
-
resourceName -
logicalResourceId -
physicalResourceId(Along withphysicalResourceId, you can also provideawsAccountId, andawsRegion)
- Parameters:
describeAppVersionResourceRequest-- Returns:
- Result of the DescribeAppVersionResource operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
describeAppVersionResource
default DescribeAppVersionResourceResponse describeAppVersionResource(Consumer<DescribeAppVersionResourceRequest.Builder> describeAppVersionResourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes a resource of the Resilience Hub application.
This API accepts only one of the following parameters to descibe the resource:
-
resourceName -
logicalResourceId -
physicalResourceId(Along withphysicalResourceId, you can also provideawsAccountId, andawsRegion)
This is a convenience which creates an instance of the
DescribeAppVersionResourceRequest.Builderavoiding the need to create one manually viaDescribeAppVersionResourceRequest.builder()- Parameters:
describeAppVersionResourceRequest- AConsumerthat will call methods onDescribeAppVersionResourceRequest.Builderto create a request.- Returns:
- Result of the DescribeAppVersionResource operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
describeAppVersionResourcesResolutionStatus
default 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
resolutionIdis not specified, the current resolution status is returned.- Parameters:
describeAppVersionResourcesResolutionStatusRequest-- Returns:
- Result of the DescribeAppVersionResourcesResolutionStatus operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeAppVersionResourcesResolutionStatus
default 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
resolutionIdis not specified, the current resolution status is returned.
This is a convenience which creates an instance of the
DescribeAppVersionResourcesResolutionStatusRequest.Builderavoiding the need to create one manually viaDescribeAppVersionResourcesResolutionStatusRequest.builder()- Parameters:
describeAppVersionResourcesResolutionStatusRequest- AConsumerthat will call methods onDescribeAppVersionResourcesResolutionStatusRequest.Builderto create a request.- Returns:
- Result of the DescribeAppVersionResourcesResolutionStatus operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeAppVersionTemplate
default DescribeAppVersionTemplateResponse describeAppVersionTemplate(DescribeAppVersionTemplateRequest describeAppVersionTemplateRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes details about an Resilience Hub application.
- Parameters:
describeAppVersionTemplateRequest-- Returns:
- Result of the DescribeAppVersionTemplate operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeAppVersionTemplate
default DescribeAppVersionTemplateResponse describeAppVersionTemplate(Consumer<DescribeAppVersionTemplateRequest.Builder> describeAppVersionTemplateRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes details about an Resilience Hub application.
This is a convenience which creates an instance of the
DescribeAppVersionTemplateRequest.Builderavoiding the need to create one manually viaDescribeAppVersionTemplateRequest.builder()- Parameters:
describeAppVersionTemplateRequest- AConsumerthat will call methods onDescribeAppVersionTemplateRequest.Builderto create a request.- Returns:
- Result of the DescribeAppVersionTemplate operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeDraftAppVersionResourcesImportStatus
default DescribeDraftAppVersionResourcesImportStatusResponse describeDraftAppVersionResourcesImportStatus(DescribeDraftAppVersionResourcesImportStatusRequest describeDraftAppVersionResourcesImportStatusRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes the status of importing resources to an application version.
If you get a 404 error with
ResourceImportStatusNotFoundAppMetadataException, you must callimportResourcesToDraftAppVersionafter creating the application and before callingdescribeDraftAppVersionResourcesImportStatusto obtain the status.- Parameters:
describeDraftAppVersionResourcesImportStatusRequest-- Returns:
- Result of the DescribeDraftAppVersionResourcesImportStatus operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeDraftAppVersionResourcesImportStatus
default DescribeDraftAppVersionResourcesImportStatusResponse describeDraftAppVersionResourcesImportStatus(Consumer<DescribeDraftAppVersionResourcesImportStatusRequest.Builder> describeDraftAppVersionResourcesImportStatusRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes the status of importing resources to an application version.
If you get a 404 error with
ResourceImportStatusNotFoundAppMetadataException, you must callimportResourcesToDraftAppVersionafter creating the application and before callingdescribeDraftAppVersionResourcesImportStatusto obtain the status.
This is a convenience which creates an instance of the
DescribeDraftAppVersionResourcesImportStatusRequest.Builderavoiding the need to create one manually viaDescribeDraftAppVersionResourcesImportStatusRequest.builder()- Parameters:
describeDraftAppVersionResourcesImportStatusRequest- AConsumerthat will call methods onDescribeDraftAppVersionResourcesImportStatusRequest.Builderto create a request.- Returns:
- Result of the DescribeDraftAppVersionResourcesImportStatus operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeResiliencyPolicy
default DescribeResiliencyPolicyResponse describeResiliencyPolicy(DescribeResiliencyPolicyRequest describeResiliencyPolicyRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes a specified resiliency policy for an Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.
- Parameters:
describeResiliencyPolicyRequest-- Returns:
- Result of the DescribeResiliencyPolicy operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
describeResiliencyPolicy
default DescribeResiliencyPolicyResponse describeResiliencyPolicy(Consumer<DescribeResiliencyPolicyRequest.Builder> describeResiliencyPolicyRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Describes a specified resiliency policy for an Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.
This is a convenience which creates an instance of the
DescribeResiliencyPolicyRequest.Builderavoiding the need to create one manually viaDescribeResiliencyPolicyRequest.builder()- Parameters:
describeResiliencyPolicyRequest- AConsumerthat will call methods onDescribeResiliencyPolicyRequest.Builderto create a request.- Returns:
- Result of the DescribeResiliencyPolicy operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
importResourcesToDraftAppVersion
default ImportResourcesToDraftAppVersionResponse importResourcesToDraftAppVersion(ImportResourcesToDraftAppVersionRequest importResourcesToDraftAppVersionRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Imports resources to Resilience Hub application draft version from different input sources. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.
- Parameters:
importResourcesToDraftAppVersionRequest-- Returns:
- Result of the ImportResourcesToDraftAppVersion operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException- This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
importResourcesToDraftAppVersion
default ImportResourcesToDraftAppVersionResponse importResourcesToDraftAppVersion(Consumer<ImportResourcesToDraftAppVersionRequest.Builder> importResourcesToDraftAppVersionRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Imports resources to Resilience Hub application draft version from different input sources. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.
This is a convenience which creates an instance of the
ImportResourcesToDraftAppVersionRequest.Builderavoiding the need to create one manually viaImportResourcesToDraftAppVersionRequest.builder()- Parameters:
importResourcesToDraftAppVersionRequest- AConsumerthat will call methods onImportResourcesToDraftAppVersionRequest.Builderto create a request.- Returns:
- Result of the ImportResourcesToDraftAppVersion operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException- This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAlarmRecommendations
default ListAlarmRecommendationsResponse listAlarmRecommendations(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the alarm recommendations for an Resilience Hub application.
- Parameters:
listAlarmRecommendationsRequest-- Returns:
- Result of the ListAlarmRecommendations operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAlarmRecommendations
default ListAlarmRecommendationsResponse listAlarmRecommendations(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the alarm recommendations for an Resilience Hub application.
This is a convenience which creates an instance of the
ListAlarmRecommendationsRequest.Builderavoiding the need to create one manually viaListAlarmRecommendationsRequest.builder()- Parameters:
listAlarmRecommendationsRequest- AConsumerthat will call methods onListAlarmRecommendationsRequest.Builderto create a request.- Returns:
- Result of the ListAlarmRecommendations operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAlarmRecommendationsPaginator
default ListAlarmRecommendationsIterable listAlarmRecommendationsPaginator(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the alarm recommendations for an Resilience Hub application.
This is a variant of
listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsIterable responses = client.listAlarmRecommendationsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listAlarmRecommendationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAlarmRecommendationsPaginator
default ListAlarmRecommendationsIterable listAlarmRecommendationsPaginator(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the alarm recommendations for an Resilience Hub application.
This is a variant of
listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsIterable responses = client.listAlarmRecommendationsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListAlarmRecommendationsRequest.builder()- Parameters:
listAlarmRecommendationsRequest- AConsumerthat will call methods onListAlarmRecommendationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppAssessmentComplianceDrifts
default ListAppAssessmentComplianceDriftsResponse listAppAssessmentComplianceDrifts(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
List of compliance drifts that were detected while running an assessment.
- Parameters:
listAppAssessmentComplianceDriftsRequest-- Returns:
- Result of the ListAppAssessmentComplianceDrifts operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppAssessmentComplianceDrifts
default ListAppAssessmentComplianceDriftsResponse listAppAssessmentComplianceDrifts(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
List of compliance drifts that were detected while running an assessment.
This is a convenience which creates an instance of the
ListAppAssessmentComplianceDriftsRequest.Builderavoiding the need to create one manually viaListAppAssessmentComplianceDriftsRequest.builder()- Parameters:
listAppAssessmentComplianceDriftsRequest- AConsumerthat will call methods onListAppAssessmentComplianceDriftsRequest.Builderto create a request.- Returns:
- Result of the ListAppAssessmentComplianceDrifts operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppAssessmentComplianceDriftsPaginator
default ListAppAssessmentComplianceDriftsIterable listAppAssessmentComplianceDriftsPaginator(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
List of compliance drifts that were detected while running an assessment.
This is a variant of
listAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client.listAppAssessmentComplianceDriftsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client .listAppAssessmentComplianceDriftsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client.listAppAssessmentComplianceDriftsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest)operation.- Parameters:
listAppAssessmentComplianceDriftsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppAssessmentComplianceDriftsPaginator
default ListAppAssessmentComplianceDriftsIterable listAppAssessmentComplianceDriftsPaginator(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
List of compliance drifts that were detected while running an assessment.
This is a variant of
listAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client.listAppAssessmentComplianceDriftsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client .listAppAssessmentComplianceDriftsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client.listAppAssessmentComplianceDriftsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest)operation.This is a convenience which creates an instance of the
ListAppAssessmentComplianceDriftsRequest.Builderavoiding the need to create one manually viaListAppAssessmentComplianceDriftsRequest.builder()- Parameters:
listAppAssessmentComplianceDriftsRequest- AConsumerthat will call methods onListAppAssessmentComplianceDriftsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppAssessments
default ListAppAssessmentsResponse listAppAssessments(ListAppAssessmentsRequest listAppAssessmentsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.
- Parameters:
listAppAssessmentsRequest-- Returns:
- Result of the ListAppAssessments operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppAssessments
default ListAppAssessmentsResponse listAppAssessments(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.
This is a convenience which creates an instance of the
ListAppAssessmentsRequest.Builderavoiding the need to create one manually viaListAppAssessmentsRequest.builder()- Parameters:
listAppAssessmentsRequest- AConsumerthat will call methods onListAppAssessmentsRequest.Builderto create a request.- Returns:
- Result of the ListAppAssessments operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppAssessmentsPaginator
default ListAppAssessmentsIterable listAppAssessmentsPaginator(ListAppAssessmentsRequest listAppAssessmentsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.
This is a variant of
listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsIterable responses = client.listAppAssessmentsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listAppAssessmentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppAssessmentsPaginator
default ListAppAssessmentsIterable listAppAssessmentsPaginator(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.
This is a variant of
listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsIterable responses = client.listAppAssessmentsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListAppAssessmentsRequest.builder()- Parameters:
listAppAssessmentsRequest- AConsumerthat will call methods onListAppAssessmentsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppComponentCompliances
default ListAppComponentCompliancesResponse listAppComponentCompliances(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the compliances for an Resilience Hub Application Component.
- Parameters:
listAppComponentCompliancesRequest-- Returns:
- Result of the ListAppComponentCompliances operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppComponentCompliances
default ListAppComponentCompliancesResponse listAppComponentCompliances(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the compliances for an Resilience Hub Application Component.
This is a convenience which creates an instance of the
ListAppComponentCompliancesRequest.Builderavoiding the need to create one manually viaListAppComponentCompliancesRequest.builder()- Parameters:
listAppComponentCompliancesRequest- AConsumerthat will call methods onListAppComponentCompliancesRequest.Builderto create a request.- Returns:
- Result of the ListAppComponentCompliances operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppComponentCompliancesPaginator
default ListAppComponentCompliancesIterable listAppComponentCompliancesPaginator(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the compliances for an Resilience Hub Application Component.
This is a variant of
listAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesIterable responses = client.listAppComponentCompliancesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listAppComponentCompliancesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppComponentCompliancesPaginator
default ListAppComponentCompliancesIterable listAppComponentCompliancesPaginator(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the compliances for an Resilience Hub Application Component.
This is a variant of
listAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesIterable responses = client.listAppComponentCompliancesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListAppComponentCompliancesRequest.builder()- Parameters:
listAppComponentCompliancesRequest- AConsumerthat will call methods onListAppComponentCompliancesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppComponentRecommendations
default ListAppComponentRecommendationsResponse listAppComponentRecommendations(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the recommendations for an Resilience Hub Application Component.
- Parameters:
listAppComponentRecommendationsRequest-- Returns:
- Result of the ListAppComponentRecommendations operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppComponentRecommendations
default ListAppComponentRecommendationsResponse listAppComponentRecommendations(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the recommendations for an Resilience Hub Application Component.
This is a convenience which creates an instance of the
ListAppComponentRecommendationsRequest.Builderavoiding the need to create one manually viaListAppComponentRecommendationsRequest.builder()- Parameters:
listAppComponentRecommendationsRequest- AConsumerthat will call methods onListAppComponentRecommendationsRequest.Builderto create a request.- Returns:
- Result of the ListAppComponentRecommendations operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppComponentRecommendationsPaginator
default ListAppComponentRecommendationsIterable listAppComponentRecommendationsPaginator(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the recommendations for an Resilience Hub Application Component.
This is a variant of
listAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsIterable responses = client.listAppComponentRecommendationsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listAppComponentRecommendationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppComponentRecommendationsPaginator
default ListAppComponentRecommendationsIterable listAppComponentRecommendationsPaginator(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the recommendations for an Resilience Hub Application Component.
This is a variant of
listAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsIterable responses = client.listAppComponentRecommendationsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListAppComponentRecommendationsRequest.builder()- Parameters:
listAppComponentRecommendationsRequest- AConsumerthat will call methods onListAppComponentRecommendationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppInputSources
default ListAppInputSourcesResponse listAppInputSources(ListAppInputSourcesRequest listAppInputSourcesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the input sources of the Resilience Hub application. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.
- Parameters:
listAppInputSourcesRequest-- Returns:
- Result of the ListAppInputSources operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppInputSources
default ListAppInputSourcesResponse listAppInputSources(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the input sources of the Resilience Hub application. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.
This is a convenience which creates an instance of the
ListAppInputSourcesRequest.Builderavoiding the need to create one manually viaListAppInputSourcesRequest.builder()- Parameters:
listAppInputSourcesRequest- AConsumerthat will call methods onListAppInputSourcesRequest.Builderto create a request.- Returns:
- Result of the ListAppInputSources operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppInputSourcesPaginator
default ListAppInputSourcesIterable listAppInputSourcesPaginator(ListAppInputSourcesRequest listAppInputSourcesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the input sources of the Resilience Hub application. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.
This is a variant of
listAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client.listAppInputSourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client .listAppInputSourcesPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client.listAppInputSourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)operation.- Parameters:
listAppInputSourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppInputSourcesPaginator
default ListAppInputSourcesIterable listAppInputSourcesPaginator(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the input sources of the Resilience Hub application. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.
This is a variant of
listAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client.listAppInputSourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client .listAppInputSourcesPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client.listAppInputSourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)operation.This is a convenience which creates an instance of the
ListAppInputSourcesRequest.Builderavoiding the need to create one manually viaListAppInputSourcesRequest.builder()- Parameters:
listAppInputSourcesRequest- AConsumerthat will call methods onListAppInputSourcesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppVersionAppComponents
default ListAppVersionAppComponentsResponse listAppVersionAppComponents(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the Application Components in the Resilience Hub application.
- Parameters:
listAppVersionAppComponentsRequest-- Returns:
- Result of the ListAppVersionAppComponents operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppVersionAppComponents
default ListAppVersionAppComponentsResponse listAppVersionAppComponents(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the Application Components in the Resilience Hub application.
This is a convenience which creates an instance of the
ListAppVersionAppComponentsRequest.Builderavoiding the need to create one manually viaListAppVersionAppComponentsRequest.builder()- Parameters:
listAppVersionAppComponentsRequest- AConsumerthat will call methods onListAppVersionAppComponentsRequest.Builderto create a request.- Returns:
- Result of the ListAppVersionAppComponents operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppVersionAppComponentsPaginator
default ListAppVersionAppComponentsIterable listAppVersionAppComponentsPaginator(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the Application Components in the Resilience Hub application.
This is a variant of
listAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client.listAppVersionAppComponentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client .listAppVersionAppComponentsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client.listAppVersionAppComponentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest)operation.- Parameters:
listAppVersionAppComponentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppVersionAppComponentsPaginator
default ListAppVersionAppComponentsIterable listAppVersionAppComponentsPaginator(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the Application Components in the Resilience Hub application.
This is a variant of
listAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client.listAppVersionAppComponentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client .listAppVersionAppComponentsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client.listAppVersionAppComponentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest)operation.This is a convenience which creates an instance of the
ListAppVersionAppComponentsRequest.Builderavoiding the need to create one manually viaListAppVersionAppComponentsRequest.builder()- Parameters:
listAppVersionAppComponentsRequest- AConsumerthat will call methods onListAppVersionAppComponentsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppVersionResourceMappings
default 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.
- Parameters:
listAppVersionResourceMappingsRequest-- Returns:
- Result of the ListAppVersionResourceMappings operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppVersionResourceMappings
default 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.Builderavoiding the need to create one manually viaListAppVersionResourceMappingsRequest.builder()- Parameters:
listAppVersionResourceMappingsRequest- AConsumerthat will call methods onListAppVersionResourceMappingsRequest.Builderto create a request.- Returns:
- Result of the ListAppVersionResourceMappings operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppVersionResourceMappingsPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsIterable responses = client.listAppVersionResourceMappingsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listAppVersionResourceMappingsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppVersionResourceMappingsPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsIterable responses = client.listAppVersionResourceMappingsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListAppVersionResourceMappingsRequest.builder()- Parameters:
listAppVersionResourceMappingsRequest- AConsumerthat will call methods onListAppVersionResourceMappingsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppVersionResources
default ListAppVersionResourcesResponse listAppVersionResources(ListAppVersionResourcesRequest listAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the resources in an Resilience Hub application.
- Parameters:
listAppVersionResourcesRequest-- Returns:
- Result of the ListAppVersionResources operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppVersionResources
default ListAppVersionResourcesResponse listAppVersionResources(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the resources in an Resilience Hub application.
This is a convenience which creates an instance of the
ListAppVersionResourcesRequest.Builderavoiding the need to create one manually viaListAppVersionResourcesRequest.builder()- Parameters:
listAppVersionResourcesRequest- AConsumerthat will call methods onListAppVersionResourcesRequest.Builderto create a request.- Returns:
- Result of the ListAppVersionResources operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppVersionResourcesPaginator
default ListAppVersionResourcesIterable listAppVersionResourcesPaginator(ListAppVersionResourcesRequest listAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the resources in an Resilience Hub application.
This is a variant of
listAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesIterable responses = client.listAppVersionResourcesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listAppVersionResourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppVersionResourcesPaginator
default ListAppVersionResourcesIterable listAppVersionResourcesPaginator(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists all the resources in an Resilience Hub application.
This is a variant of
listAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesIterable responses = client.listAppVersionResourcesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListAppVersionResourcesRequest.builder()- Parameters:
listAppVersionResourcesRequest- AConsumerthat will call methods onListAppVersionResourcesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppVersions
default ListAppVersionsResponse listAppVersions(ListAppVersionsRequest listAppVersionsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the different versions for the Resilience Hub applications.
- Parameters:
listAppVersionsRequest-- Returns:
- Result of the ListAppVersions operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppVersions
default 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.Builderavoiding the need to create one manually viaListAppVersionsRequest.builder()- Parameters:
listAppVersionsRequest- AConsumerthat will call methods onListAppVersionsRequest.Builderto create a request.- Returns:
- Result of the ListAppVersions operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppVersionsPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsIterable responses = client.listAppVersionsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listAppVersionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppVersionsPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsIterable responses = client.listAppVersionsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListAppVersionsRequest.builder()- Parameters:
listAppVersionsRequest- AConsumerthat will call methods onListAppVersionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listApps
default ListAppsResponse listApps(ListAppsRequest listAppsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists your Resilience Hub applications.
You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error:
An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation.- Parameters:
listAppsRequest-- Returns:
- Result of the ListApps operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listApps
default ListAppsResponse listApps(Consumer<ListAppsRequest.Builder> listAppsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists your Resilience Hub applications.
You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error:
An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation.
This is a convenience which creates an instance of the
ListAppsRequest.Builderavoiding the need to create one manually viaListAppsRequest.builder()- Parameters:
listAppsRequest- AConsumerthat will call methods onListAppsRequest.Builderto create a request.- Returns:
- Result of the ListApps operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppsPaginator
default ListAppsIterable listAppsPaginator(ListAppsRequest listAppsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists your Resilience Hub applications.
You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error:
An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation.
This is a variant of
listApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppsIterable responses = client.listAppsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listAppsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAppsPaginator
default ListAppsIterable listAppsPaginator(Consumer<ListAppsRequest.Builder> listAppsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists your Resilience Hub applications.
You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error:
An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation.
This is a variant of
listApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppsIterable responses = client.listAppsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListAppsRequest.builder()- Parameters:
listAppsRequest- AConsumerthat will call methods onListAppsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRecommendationTemplates
default ListRecommendationTemplatesResponse listRecommendationTemplates(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the recommendation templates for the Resilience Hub applications.
- Parameters:
listRecommendationTemplatesRequest-- Returns:
- Result of the ListRecommendationTemplates operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRecommendationTemplates
default 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.Builderavoiding the need to create one manually viaListRecommendationTemplatesRequest.builder()- Parameters:
listRecommendationTemplatesRequest- AConsumerthat will call methods onListRecommendationTemplatesRequest.Builderto create a request.- Returns:
- Result of the ListRecommendationTemplates operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRecommendationTemplatesPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesIterable responses = client.listRecommendationTemplatesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listRecommendationTemplatesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRecommendationTemplatesPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesIterable responses = client.listRecommendationTemplatesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListRecommendationTemplatesRequest.builder()- Parameters:
listRecommendationTemplatesRequest- AConsumerthat will call methods onListRecommendationTemplatesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listResiliencyPolicies
default ListResiliencyPoliciesResponse listResiliencyPolicies(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the resiliency policies for the Resilience Hub applications.
- Parameters:
listResiliencyPoliciesRequest-- Returns:
- Result of the ListResiliencyPolicies operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listResiliencyPolicies
default 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.Builderavoiding the need to create one manually viaListResiliencyPoliciesRequest.builder()- Parameters:
listResiliencyPoliciesRequest- AConsumerthat will call methods onListResiliencyPoliciesRequest.Builderto create a request.- Returns:
- Result of the ListResiliencyPolicies operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listResiliencyPoliciesPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesIterable responses = client.listResiliencyPoliciesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listResiliencyPoliciesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listResiliencyPoliciesPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesIterable responses = client.listResiliencyPoliciesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListResiliencyPoliciesRequest.builder()- Parameters:
listResiliencyPoliciesRequest- AConsumerthat will call methods onListResiliencyPoliciesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSopRecommendations
default 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.
- Parameters:
listSopRecommendationsRequest-- Returns:
- Result of the ListSopRecommendations operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSopRecommendations
default 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.Builderavoiding the need to create one manually viaListSopRecommendationsRequest.builder()- Parameters:
listSopRecommendationsRequest- AConsumerthat will call methods onListSopRecommendationsRequest.Builderto create a request.- Returns:
- Result of the ListSopRecommendations operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSopRecommendationsPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsIterable responses = client.listSopRecommendationsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listSopRecommendationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSopRecommendationsPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsIterable responses = client.listSopRecommendationsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListSopRecommendationsRequest.builder()- Parameters:
listSopRecommendationsRequest- AConsumerthat will call methods onListSopRecommendationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSuggestedResiliencyPolicies
default ListSuggestedResiliencyPoliciesResponse listSuggestedResiliencyPolicies(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the suggested resiliency policies for the Resilience Hub applications.
- Parameters:
listSuggestedResiliencyPoliciesRequest-- Returns:
- Result of the ListSuggestedResiliencyPolicies operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSuggestedResiliencyPolicies
default 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.Builderavoiding the need to create one manually viaListSuggestedResiliencyPoliciesRequest.builder()- Parameters:
listSuggestedResiliencyPoliciesRequest- AConsumerthat will call methods onListSuggestedResiliencyPoliciesRequest.Builderto create a request.- Returns:
- Result of the ListSuggestedResiliencyPolicies operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSuggestedResiliencyPoliciesPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesIterable responses = client.listSuggestedResiliencyPoliciesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listSuggestedResiliencyPoliciesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSuggestedResiliencyPoliciesPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesIterable responses = client.listSuggestedResiliencyPoliciesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListSuggestedResiliencyPoliciesRequest.builder()- Parameters:
listSuggestedResiliencyPoliciesRequest- AConsumerthat will call methods onListSuggestedResiliencyPoliciesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the tags for your resources in your Resilience Hub applications.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestRecommendations
default ListTestRecommendationsResponse listTestRecommendations(ListTestRecommendationsRequest listTestRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the test recommendations for the Resilience Hub application.
- Parameters:
listTestRecommendationsRequest-- Returns:
- Result of the ListTestRecommendations operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestRecommendations
default 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.Builderavoiding the need to create one manually viaListTestRecommendationsRequest.builder()- Parameters:
listTestRecommendationsRequest- AConsumerthat will call methods onListTestRecommendationsRequest.Builderto create a request.- Returns:
- Result of the ListTestRecommendations operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestRecommendationsPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsIterable responses = client.listTestRecommendationsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listTestRecommendationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestRecommendationsPaginator
default 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
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsIterable responses = client.listTestRecommendationsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListTestRecommendationsRequest.builder()- Parameters:
listTestRecommendationsRequest- AConsumerthat will call methods onListTestRecommendationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUnsupportedAppVersionResources
default ListUnsupportedAppVersionResourcesResponse listUnsupportedAppVersionResources(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the resources that are not currently supported in Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.
- Parameters:
listUnsupportedAppVersionResourcesRequest-- Returns:
- Result of the ListUnsupportedAppVersionResources operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUnsupportedAppVersionResources
default ListUnsupportedAppVersionResourcesResponse listUnsupportedAppVersionResources(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the resources that are not currently supported in Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.
This is a convenience which creates an instance of the
ListUnsupportedAppVersionResourcesRequest.Builderavoiding the need to create one manually viaListUnsupportedAppVersionResourcesRequest.builder()- Parameters:
listUnsupportedAppVersionResourcesRequest- AConsumerthat will call methods onListUnsupportedAppVersionResourcesRequest.Builderto create a request.- Returns:
- Result of the ListUnsupportedAppVersionResources operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUnsupportedAppVersionResourcesPaginator
default ListUnsupportedAppVersionResourcesIterable listUnsupportedAppVersionResourcesPaginator(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the resources that are not currently supported in Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.
This is a variant of
listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesIterable responses = client.listUnsupportedAppVersionResourcesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listUnsupportedAppVersionResourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUnsupportedAppVersionResourcesPaginator
default ListUnsupportedAppVersionResourcesIterable listUnsupportedAppVersionResourcesPaginator(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Lists the resources that are not currently supported in Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.
This is a variant of
listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesIterable responses = client.listUnsupportedAppVersionResourcesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListUnsupportedAppVersionResourcesRequest.builder()- Parameters:
listUnsupportedAppVersionResourcesRequest- AConsumerthat will call methods onListUnsupportedAppVersionResourcesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
publishAppVersion
default PublishAppVersionResponse publishAppVersion(PublishAppVersionRequest publishAppVersionRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Publishes a new version of a specific Resilience Hub application.
- Parameters:
publishAppVersionRequest-- Returns:
- Result of the PublishAppVersion operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
publishAppVersion
default 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.Builderavoiding the need to create one manually viaPublishAppVersionRequest.builder()- Parameters:
publishAppVersionRequest- AConsumerthat will call methods onPublishAppVersionRequest.Builderto create a request.- Returns:
- Result of the PublishAppVersion operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putDraftAppVersionTemplate
default PutDraftAppVersionTemplateResponse putDraftAppVersionTemplate(PutDraftAppVersionTemplateRequest putDraftAppVersionTemplateRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Adds or updates the app template for an Resilience Hub application draft version.
- Parameters:
putDraftAppVersionTemplateRequest-- Returns:
- Result of the PutDraftAppVersionTemplate operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
putDraftAppVersionTemplate
default PutDraftAppVersionTemplateResponse putDraftAppVersionTemplate(Consumer<PutDraftAppVersionTemplateRequest.Builder> putDraftAppVersionTemplateRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Adds or updates the app template for an Resilience Hub application draft version.
This is a convenience which creates an instance of the
PutDraftAppVersionTemplateRequest.Builderavoiding the need to create one manually viaPutDraftAppVersionTemplateRequest.builder()- Parameters:
putDraftAppVersionTemplateRequest- AConsumerthat will call methods onPutDraftAppVersionTemplateRequest.Builderto create a request.- Returns:
- Result of the PutDraftAppVersionTemplate operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
removeDraftAppVersionResourceMappings
default RemoveDraftAppVersionResourceMappingsResponse removeDraftAppVersionResourceMappings(RemoveDraftAppVersionResourceMappingsRequest removeDraftAppVersionResourceMappingsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Removes resource mappings from a draft application version.
- Parameters:
removeDraftAppVersionResourceMappingsRequest-- Returns:
- Result of the RemoveDraftAppVersionResourceMappings operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
removeDraftAppVersionResourceMappings
default 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.Builderavoiding the need to create one manually viaRemoveDraftAppVersionResourceMappingsRequest.builder()- Parameters:
removeDraftAppVersionResourceMappingsRequest- AConsumerthat will call methods onRemoveDraftAppVersionResourceMappingsRequest.Builderto create a request.- Returns:
- Result of the RemoveDraftAppVersionResourceMappings operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
resolveAppVersionResources
default ResolveAppVersionResourcesResponse resolveAppVersionResources(ResolveAppVersionResourcesRequest resolveAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Resolves the resources for an application version.
- Parameters:
resolveAppVersionResourcesRequest-- Returns:
- Result of the ResolveAppVersionResources operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
resolveAppVersionResources
default 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.Builderavoiding the need to create one manually viaResolveAppVersionResourcesRequest.builder()- Parameters:
resolveAppVersionResourcesRequest- AConsumerthat will call methods onResolveAppVersionResourcesRequest.Builderto create a request.- Returns:
- Result of the ResolveAppVersionResources operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startAppAssessment
default StartAppAssessmentResponse startAppAssessment(StartAppAssessmentRequest startAppAssessmentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Creates a new application assessment for an application.
- Parameters:
startAppAssessmentRequest-- Returns:
- Result of the StartAppAssessment operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException- This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
startAppAssessment
default 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.Builderavoiding the need to create one manually viaStartAppAssessmentRequest.builder()- Parameters:
startAppAssessmentRequest- AConsumerthat will call methods onStartAppAssessmentRequest.Builderto create a request.- Returns:
- Result of the StartAppAssessment operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException- This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Applies one or more tags to a resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Removes one or more tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateApp
default UpdateAppResponse updateApp(UpdateAppRequest updateAppRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Updates an application.
- Parameters:
updateAppRequest-- Returns:
- Result of the UpdateApp operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateApp
default 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.Builderavoiding the need to create one manually viaUpdateAppRequest.builder()- Parameters:
updateAppRequest- AConsumerthat will call methods onUpdateAppRequest.Builderto create a request.- Returns:
- Result of the UpdateApp operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateAppVersion
default UpdateAppVersionResponse updateAppVersion(UpdateAppVersionRequest updateAppVersionRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Updates the Resilience Hub application version.
This API updates the Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersionAPI.- Parameters:
updateAppVersionRequest-- Returns:
- Result of the UpdateAppVersion operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateAppVersion
default UpdateAppVersionResponse updateAppVersion(Consumer<UpdateAppVersionRequest.Builder> updateAppVersionRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Updates the Resilience Hub application version.
This API updates the Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersionAPI.
This is a convenience which creates an instance of the
UpdateAppVersionRequest.Builderavoiding the need to create one manually viaUpdateAppVersionRequest.builder()- Parameters:
updateAppVersionRequest- AConsumerthat will call methods onUpdateAppVersionRequest.Builderto create a request.- Returns:
- Result of the UpdateAppVersion operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateAppVersionAppComponent
default UpdateAppVersionAppComponentResponse updateAppVersionAppComponent(UpdateAppVersionAppComponentRequest updateAppVersionAppComponentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Updates an existing Application Component in the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the
PublishAppVersionAPI.- Parameters:
updateAppVersionAppComponentRequest-- Returns:
- Result of the UpdateAppVersionAppComponent operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateAppVersionAppComponent
default UpdateAppVersionAppComponentResponse updateAppVersionAppComponent(Consumer<UpdateAppVersionAppComponentRequest.Builder> updateAppVersionAppComponentRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Updates an existing Application Component in the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the
PublishAppVersionAPI.
This is a convenience which creates an instance of the
UpdateAppVersionAppComponentRequest.Builderavoiding the need to create one manually viaUpdateAppVersionAppComponentRequest.builder()- Parameters:
updateAppVersionAppComponentRequest- AConsumerthat will call methods onUpdateAppVersionAppComponentRequest.Builderto create a request.- Returns:
- Result of the UpdateAppVersionAppComponent operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateAppVersionResource
default UpdateAppVersionResourceResponse updateAppVersionResource(UpdateAppVersionResourceRequest updateAppVersionResourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Updates the resource details in the Resilience Hub application.
-
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersionAPI. -
To update application version with new
physicalResourceID, you must callResolveAppVersionResourcesAPI.
- Parameters:
updateAppVersionResourceRequest-- Returns:
- Result of the UpdateAppVersionResource operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException- This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
updateAppVersionResource
default UpdateAppVersionResourceResponse updateAppVersionResource(Consumer<UpdateAppVersionResourceRequest.Builder> updateAppVersionResourceRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Updates the resource details in the Resilience Hub application.
-
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersionAPI. -
To update application version with new
physicalResourceID, you must callResolveAppVersionResourcesAPI.
This is a convenience which creates an instance of the
UpdateAppVersionResourceRequest.Builderavoiding the need to create one manually viaUpdateAppVersionResourceRequest.builder()- Parameters:
updateAppVersionResourceRequest- AConsumerthat will call methods onUpdateAppVersionResourceRequest.Builderto create a request.- Returns:
- Result of the UpdateAppVersionResource operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ServiceQuotaExceededException- This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
updateResiliencyPolicy
default UpdateResiliencyPolicyResponse updateResiliencyPolicy(UpdateResiliencyPolicyRequest updateResiliencyPolicyRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Updates a resiliency policy.
Resilience Hub allows you to provide a value of zero for
rtoInSecsandrpoInSecsof your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero forrtoInSecsandrpoInSecs, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.- Parameters:
updateResiliencyPolicyRequest-- Returns:
- Result of the UpdateResiliencyPolicy operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateResiliencyPolicy
default UpdateResiliencyPolicyResponse updateResiliencyPolicy(Consumer<UpdateResiliencyPolicyRequest.Builder> updateResiliencyPolicyRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException
Updates a resiliency policy.
Resilience Hub allows you to provide a value of zero for
rtoInSecsandrpoInSecsof your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero forrtoInSecsandrpoInSecs, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.
This is a convenience which creates an instance of the
UpdateResiliencyPolicyRequest.Builderavoiding the need to create one manually viaUpdateResiliencyPolicyRequest.builder()- Parameters:
updateResiliencyPolicyRequest- AConsumerthat will call methods onUpdateResiliencyPolicyRequest.Builderto create a request.- Returns:
- Result of the UpdateResiliencyPolicy operation returned by the service.
- Throws:
InternalServerException- This exception occurs when there is an internal failure in the Resilience Hub service.ResourceNotFoundException- This exception occurs when the specified resource could not be found.ConflictException- This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.ThrottlingException- This exception occurs when you have exceeded the limit on the number of requests per second.ValidationException- This exception occurs when a request is not valid.AccessDeniedException- You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.ResiliencehubException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static ResiliencehubClient create()
Create aResiliencehubClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static ResiliencehubClientBuilder builder()
Create a builder that can be used to configure and create aResiliencehubClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default ResiliencehubServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-