Interface ResiliencehubClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from disruptions. It offers continual resiliency assessment and validation that integrates into your software development lifecycle. This enables you to uncover resiliency weaknesses, ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your applications are met, and resolve issues before they are released into production.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionaddDraftAppVersionResourceMappings
(Consumer<AddDraftAppVersionResourceMappingsRequest.Builder> addDraftAppVersionResourceMappingsRequest) Adds the source of resource-maps to the draft version of an application.addDraftAppVersionResourceMappings
(AddDraftAppVersionResourceMappingsRequest addDraftAppVersionResourceMappingsRequest) Adds the source of resource-maps to the draft version of an application.batchUpdateRecommendationStatus
(Consumer<BatchUpdateRecommendationStatusRequest.Builder> batchUpdateRecommendationStatusRequest) Enables you to include or exclude one or more operational recommendations.batchUpdateRecommendationStatus
(BatchUpdateRecommendationStatusRequest batchUpdateRecommendationStatusRequest) Enables you to include or exclude one or more operational recommendations.static ResiliencehubClientBuilder
builder()
Create a builder that can be used to configure and create aResiliencehubClient
.static ResiliencehubClient
create()
Create aResiliencehubClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateAppResponse
createApp
(Consumer<CreateAppRequest.Builder> createAppRequest) Creates an Resilience Hub application.default CreateAppResponse
createApp
(CreateAppRequest createAppRequest) Creates an Resilience Hub application.createAppVersionAppComponent
(Consumer<CreateAppVersionAppComponentRequest.Builder> createAppVersionAppComponentRequest) Creates a new Application Component in the Resilience Hub application.createAppVersionAppComponent
(CreateAppVersionAppComponentRequest createAppVersionAppComponentRequest) Creates a new Application Component in the Resilience Hub application.default CreateAppVersionResourceResponse
createAppVersionResource
(Consumer<CreateAppVersionResourceRequest.Builder> createAppVersionResourceRequest) Adds a resource to the Resilience Hub application and assigns it to the specified Application Components.default CreateAppVersionResourceResponse
createAppVersionResource
(CreateAppVersionResourceRequest createAppVersionResourceRequest) Adds a resource to the Resilience Hub application and assigns it to the specified Application Components.createRecommendationTemplate
(Consumer<CreateRecommendationTemplateRequest.Builder> createRecommendationTemplateRequest) Creates a new recommendation template for the Resilience Hub application.createRecommendationTemplate
(CreateRecommendationTemplateRequest createRecommendationTemplateRequest) Creates a new recommendation template for the Resilience Hub application.default CreateResiliencyPolicyResponse
createResiliencyPolicy
(Consumer<CreateResiliencyPolicyRequest.Builder> createResiliencyPolicyRequest) Creates a resiliency policy for an application.default CreateResiliencyPolicyResponse
createResiliencyPolicy
(CreateResiliencyPolicyRequest createResiliencyPolicyRequest) Creates a resiliency policy for an application.default DeleteAppResponse
deleteApp
(Consumer<DeleteAppRequest.Builder> deleteAppRequest) Deletes an Resilience Hub application.default DeleteAppResponse
deleteApp
(DeleteAppRequest deleteAppRequest) Deletes an Resilience Hub application.default DeleteAppAssessmentResponse
deleteAppAssessment
(Consumer<DeleteAppAssessmentRequest.Builder> deleteAppAssessmentRequest) Deletes an Resilience Hub application assessment.default DeleteAppAssessmentResponse
deleteAppAssessment
(DeleteAppAssessmentRequest deleteAppAssessmentRequest) Deletes an Resilience Hub application assessment.default DeleteAppInputSourceResponse
deleteAppInputSource
(Consumer<DeleteAppInputSourceRequest.Builder> deleteAppInputSourceRequest) Deletes the input source and all of its imported resources from the Resilience Hub application.default DeleteAppInputSourceResponse
deleteAppInputSource
(DeleteAppInputSourceRequest deleteAppInputSourceRequest) Deletes the input source and all of its imported resources from the Resilience Hub application.deleteAppVersionAppComponent
(Consumer<DeleteAppVersionAppComponentRequest.Builder> deleteAppVersionAppComponentRequest) Deletes an Application Component from the Resilience Hub application.deleteAppVersionAppComponent
(DeleteAppVersionAppComponentRequest deleteAppVersionAppComponentRequest) Deletes an Application Component from the Resilience Hub application.default DeleteAppVersionResourceResponse
deleteAppVersionResource
(Consumer<DeleteAppVersionResourceRequest.Builder> deleteAppVersionResourceRequest) Deletes a resource from the Resilience Hub application.default DeleteAppVersionResourceResponse
deleteAppVersionResource
(DeleteAppVersionResourceRequest deleteAppVersionResourceRequest) Deletes a resource from the Resilience Hub application.deleteRecommendationTemplate
(Consumer<DeleteRecommendationTemplateRequest.Builder> deleteRecommendationTemplateRequest) Deletes a recommendation template.deleteRecommendationTemplate
(DeleteRecommendationTemplateRequest deleteRecommendationTemplateRequest) Deletes a recommendation template.default DeleteResiliencyPolicyResponse
deleteResiliencyPolicy
(Consumer<DeleteResiliencyPolicyRequest.Builder> deleteResiliencyPolicyRequest) Deletes a resiliency policy.default DeleteResiliencyPolicyResponse
deleteResiliencyPolicy
(DeleteResiliencyPolicyRequest deleteResiliencyPolicyRequest) Deletes a resiliency policy.default DescribeAppResponse
describeApp
(Consumer<DescribeAppRequest.Builder> describeAppRequest) Describes an Resilience Hub application.default DescribeAppResponse
describeApp
(DescribeAppRequest describeAppRequest) Describes an Resilience Hub application.default DescribeAppAssessmentResponse
describeAppAssessment
(Consumer<DescribeAppAssessmentRequest.Builder> describeAppAssessmentRequest) Describes an assessment for an Resilience Hub application.default DescribeAppAssessmentResponse
describeAppAssessment
(DescribeAppAssessmentRequest describeAppAssessmentRequest) Describes an assessment for an Resilience Hub application.default DescribeAppVersionResponse
describeAppVersion
(Consumer<DescribeAppVersionRequest.Builder> describeAppVersionRequest) Describes the Resilience Hub application version.default DescribeAppVersionResponse
describeAppVersion
(DescribeAppVersionRequest describeAppVersionRequest) Describes the Resilience Hub application version.describeAppVersionAppComponent
(Consumer<DescribeAppVersionAppComponentRequest.Builder> describeAppVersionAppComponentRequest) Describes an Application Component in the Resilience Hub application.describeAppVersionAppComponent
(DescribeAppVersionAppComponentRequest describeAppVersionAppComponentRequest) Describes an Application Component in the Resilience Hub application.describeAppVersionResource
(Consumer<DescribeAppVersionResourceRequest.Builder> describeAppVersionResourceRequest) Describes a resource of the Resilience Hub application.describeAppVersionResource
(DescribeAppVersionResourceRequest describeAppVersionResourceRequest) Describes a resource of the Resilience Hub application.describeAppVersionResourcesResolutionStatus
(Consumer<DescribeAppVersionResourcesResolutionStatusRequest.Builder> describeAppVersionResourcesResolutionStatusRequest) Returns the resolution status for the specified resolution identifier for an application version.describeAppVersionResourcesResolutionStatus
(DescribeAppVersionResourcesResolutionStatusRequest describeAppVersionResourcesResolutionStatusRequest) Returns the resolution status for the specified resolution identifier for an application version.describeAppVersionTemplate
(Consumer<DescribeAppVersionTemplateRequest.Builder> describeAppVersionTemplateRequest) Describes details about an Resilience Hub application.describeAppVersionTemplate
(DescribeAppVersionTemplateRequest describeAppVersionTemplateRequest) Describes details about an Resilience Hub application.describeDraftAppVersionResourcesImportStatus
(Consumer<DescribeDraftAppVersionResourcesImportStatusRequest.Builder> describeDraftAppVersionResourcesImportStatusRequest) Describes the status of importing resources to an application version.describeDraftAppVersionResourcesImportStatus
(DescribeDraftAppVersionResourcesImportStatusRequest describeDraftAppVersionResourcesImportStatusRequest) Describes the status of importing resources to an application version.default DescribeResiliencyPolicyResponse
describeResiliencyPolicy
(Consumer<DescribeResiliencyPolicyRequest.Builder> describeResiliencyPolicyRequest) Describes a specified resiliency policy for an Resilience Hub application.default DescribeResiliencyPolicyResponse
describeResiliencyPolicy
(DescribeResiliencyPolicyRequest describeResiliencyPolicyRequest) Describes a specified resiliency policy for an Resilience Hub application.importResourcesToDraftAppVersion
(Consumer<ImportResourcesToDraftAppVersionRequest.Builder> importResourcesToDraftAppVersionRequest) Imports resources to Resilience Hub application draft version from different input sources.importResourcesToDraftAppVersion
(ImportResourcesToDraftAppVersionRequest importResourcesToDraftAppVersionRequest) Imports resources to Resilience Hub application draft version from different input sources.default ListAlarmRecommendationsResponse
listAlarmRecommendations
(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest) Lists the alarm recommendations for an Resilience Hub application.default ListAlarmRecommendationsResponse
listAlarmRecommendations
(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest) Lists the alarm recommendations for an Resilience Hub application.default ListAlarmRecommendationsIterable
listAlarmRecommendationsPaginator
(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest) This is a variant oflistAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)
operation.default ListAlarmRecommendationsIterable
listAlarmRecommendationsPaginator
(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest) This is a variant oflistAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)
operation.listAppAssessmentComplianceDrifts
(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest) List of compliance drifts that were detected while running an assessment.listAppAssessmentComplianceDrifts
(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest) List of compliance drifts that were detected while running an assessment.listAppAssessmentComplianceDriftsPaginator
(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest) This is a variant oflistAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest)
operation.listAppAssessmentComplianceDriftsPaginator
(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest) This is a variant oflistAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest)
operation.default ListAppAssessmentsResponse
listAppAssessments
(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest) Lists the assessments for an Resilience Hub application.default ListAppAssessmentsResponse
listAppAssessments
(ListAppAssessmentsRequest listAppAssessmentsRequest) Lists the assessments for an Resilience Hub application.default ListAppAssessmentsIterable
listAppAssessmentsPaginator
(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest) This is a variant oflistAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)
operation.default ListAppAssessmentsIterable
listAppAssessmentsPaginator
(ListAppAssessmentsRequest listAppAssessmentsRequest) This is a variant oflistAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)
operation.listAppComponentCompliances
(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest) Lists the compliances for an Resilience Hub Application Component.listAppComponentCompliances
(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest) Lists the compliances for an Resilience Hub Application Component.listAppComponentCompliancesPaginator
(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest) This is a variant oflistAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest)
operation.listAppComponentCompliancesPaginator
(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest) This is a variant oflistAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest)
operation.listAppComponentRecommendations
(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest) Lists the recommendations for an Resilience Hub Application Component.listAppComponentRecommendations
(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest) Lists the recommendations for an Resilience Hub Application Component.listAppComponentRecommendationsPaginator
(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest) This is a variant oflistAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest)
operation.listAppComponentRecommendationsPaginator
(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest) This is a variant oflistAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest)
operation.default ListAppInputSourcesResponse
listAppInputSources
(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest) Lists all the input sources of the Resilience Hub application.default ListAppInputSourcesResponse
listAppInputSources
(ListAppInputSourcesRequest listAppInputSourcesRequest) Lists all the input sources of the Resilience Hub application.default ListAppInputSourcesIterable
listAppInputSourcesPaginator
(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest) This is a variant oflistAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)
operation.default ListAppInputSourcesIterable
listAppInputSourcesPaginator
(ListAppInputSourcesRequest listAppInputSourcesRequest) This is a variant oflistAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)
operation.default ListAppsResponse
listApps
(Consumer<ListAppsRequest.Builder> listAppsRequest) Lists your Resilience Hub applications.default ListAppsResponse
listApps
(ListAppsRequest listAppsRequest) Lists your Resilience Hub applications.default ListAppsIterable
listAppsPaginator
(Consumer<ListAppsRequest.Builder> listAppsRequest) This is a variant oflistApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest)
operation.default ListAppsIterable
listAppsPaginator
(ListAppsRequest listAppsRequest) This is a variant oflistApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest)
operation.listAppVersionAppComponents
(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest) Lists all the Application Components in the Resilience Hub application.listAppVersionAppComponents
(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest) Lists all the Application Components in the Resilience Hub application.listAppVersionAppComponentsPaginator
(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest) This is a variant oflistAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest)
operation.listAppVersionAppComponentsPaginator
(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest) This is a variant oflistAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest)
operation.listAppVersionResourceMappings
(Consumer<ListAppVersionResourceMappingsRequest.Builder> listAppVersionResourceMappingsRequest) Lists how the resources in an application version are mapped/sourced from.listAppVersionResourceMappings
(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest) Lists how the resources in an application version are mapped/sourced from.listAppVersionResourceMappingsPaginator
(Consumer<ListAppVersionResourceMappingsRequest.Builder> listAppVersionResourceMappingsRequest) This is a variant oflistAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest)
operation.listAppVersionResourceMappingsPaginator
(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest) This is a variant oflistAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest)
operation.default ListAppVersionResourcesResponse
listAppVersionResources
(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest) Lists all the resources in an Resilience Hub application.default ListAppVersionResourcesResponse
listAppVersionResources
(ListAppVersionResourcesRequest listAppVersionResourcesRequest) Lists all the resources in an Resilience Hub application.default ListAppVersionResourcesIterable
listAppVersionResourcesPaginator
(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest) This is a variant oflistAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)
operation.default ListAppVersionResourcesIterable
listAppVersionResourcesPaginator
(ListAppVersionResourcesRequest listAppVersionResourcesRequest) This is a variant oflistAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)
operation.default ListAppVersionsResponse
listAppVersions
(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest) Lists the different versions for the Resilience Hub applications.default ListAppVersionsResponse
listAppVersions
(ListAppVersionsRequest listAppVersionsRequest) Lists the different versions for the Resilience Hub applications.default ListAppVersionsIterable
listAppVersionsPaginator
(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest) This is a variant oflistAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest)
operation.default ListAppVersionsIterable
listAppVersionsPaginator
(ListAppVersionsRequest listAppVersionsRequest) This is a variant oflistAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest)
operation.listRecommendationTemplates
(Consumer<ListRecommendationTemplatesRequest.Builder> listRecommendationTemplatesRequest) Lists the recommendation templates for the Resilience Hub applications.listRecommendationTemplates
(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest) Lists the recommendation templates for the Resilience Hub applications.listRecommendationTemplatesPaginator
(Consumer<ListRecommendationTemplatesRequest.Builder> listRecommendationTemplatesRequest) This is a variant oflistRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest)
operation.listRecommendationTemplatesPaginator
(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest) This is a variant oflistRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest)
operation.default ListResiliencyPoliciesResponse
listResiliencyPolicies
(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest) Lists the resiliency policies for the Resilience Hub applications.default ListResiliencyPoliciesResponse
listResiliencyPolicies
(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest) Lists the resiliency policies for the Resilience Hub applications.default ListResiliencyPoliciesIterable
listResiliencyPoliciesPaginator
(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest) This is a variant oflistResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest)
operation.default ListResiliencyPoliciesIterable
listResiliencyPoliciesPaginator
(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest) This is a variant oflistResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest)
operation.default ListSopRecommendationsResponse
listSopRecommendations
(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest) Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.default ListSopRecommendationsResponse
listSopRecommendations
(ListSopRecommendationsRequest listSopRecommendationsRequest) Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.default ListSopRecommendationsIterable
listSopRecommendationsPaginator
(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest) This is a variant oflistSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest)
operation.default ListSopRecommendationsIterable
listSopRecommendationsPaginator
(ListSopRecommendationsRequest listSopRecommendationsRequest) This is a variant oflistSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest)
operation.listSuggestedResiliencyPolicies
(Consumer<ListSuggestedResiliencyPoliciesRequest.Builder> listSuggestedResiliencyPoliciesRequest) Lists the suggested resiliency policies for the Resilience Hub applications.listSuggestedResiliencyPolicies
(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest) Lists the suggested resiliency policies for the Resilience Hub applications.listSuggestedResiliencyPoliciesPaginator
(Consumer<ListSuggestedResiliencyPoliciesRequest.Builder> listSuggestedResiliencyPoliciesRequest) This is a variant oflistSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest)
operation.listSuggestedResiliencyPoliciesPaginator
(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest) This is a variant oflistSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for your resources in your Resilience Hub applications.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for your resources in your Resilience Hub applications.default ListTestRecommendationsResponse
listTestRecommendations
(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest) Lists the test recommendations for the Resilience Hub application.default ListTestRecommendationsResponse
listTestRecommendations
(ListTestRecommendationsRequest listTestRecommendationsRequest) Lists the test recommendations for the Resilience Hub application.default ListTestRecommendationsIterable
listTestRecommendationsPaginator
(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest) This is a variant oflistTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest)
operation.default ListTestRecommendationsIterable
listTestRecommendationsPaginator
(ListTestRecommendationsRequest listTestRecommendationsRequest) This is a variant oflistTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest)
operation.listUnsupportedAppVersionResources
(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest) Lists the resources that are not currently supported in Resilience Hub.listUnsupportedAppVersionResources
(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest) Lists the resources that are not currently supported in Resilience Hub.listUnsupportedAppVersionResourcesPaginator
(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest) listUnsupportedAppVersionResourcesPaginator
(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest) default PublishAppVersionResponse
publishAppVersion
(Consumer<PublishAppVersionRequest.Builder> publishAppVersionRequest) Publishes a new version of a specific Resilience Hub application.default PublishAppVersionResponse
publishAppVersion
(PublishAppVersionRequest publishAppVersionRequest) Publishes a new version of a specific Resilience Hub application.putDraftAppVersionTemplate
(Consumer<PutDraftAppVersionTemplateRequest.Builder> putDraftAppVersionTemplateRequest) Adds or updates the app template for an Resilience Hub application draft version.putDraftAppVersionTemplate
(PutDraftAppVersionTemplateRequest putDraftAppVersionTemplateRequest) Adds or updates the app template for an Resilience Hub application draft version.removeDraftAppVersionResourceMappings
(Consumer<RemoveDraftAppVersionResourceMappingsRequest.Builder> removeDraftAppVersionResourceMappingsRequest) Removes resource mappings from a draft application version.removeDraftAppVersionResourceMappings
(RemoveDraftAppVersionResourceMappingsRequest removeDraftAppVersionResourceMappingsRequest) Removes resource mappings from a draft application version.resolveAppVersionResources
(Consumer<ResolveAppVersionResourcesRequest.Builder> resolveAppVersionResourcesRequest) Resolves the resources for an application version.resolveAppVersionResources
(ResolveAppVersionResourcesRequest resolveAppVersionResourcesRequest) Resolves the resources for an application version.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default StartAppAssessmentResponse
startAppAssessment
(Consumer<StartAppAssessmentRequest.Builder> startAppAssessmentRequest) Creates a new application assessment for an application.default StartAppAssessmentResponse
startAppAssessment
(StartAppAssessmentRequest startAppAssessmentRequest) Creates a new application assessment for an application.default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Applies one or more tags to a resource.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Applies one or more tags to a resource.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from a resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes one or more tags from a resource.default UpdateAppResponse
updateApp
(Consumer<UpdateAppRequest.Builder> updateAppRequest) Updates an application.default UpdateAppResponse
updateApp
(UpdateAppRequest updateAppRequest) Updates an application.default UpdateAppVersionResponse
updateAppVersion
(Consumer<UpdateAppVersionRequest.Builder> updateAppVersionRequest) Updates the Resilience Hub application version.default UpdateAppVersionResponse
updateAppVersion
(UpdateAppVersionRequest updateAppVersionRequest) Updates the Resilience Hub application version.updateAppVersionAppComponent
(Consumer<UpdateAppVersionAppComponentRequest.Builder> updateAppVersionAppComponentRequest) Updates an existing Application Component in the Resilience Hub application.updateAppVersionAppComponent
(UpdateAppVersionAppComponentRequest updateAppVersionAppComponentRequest) Updates an existing Application Component in the Resilience Hub application.default UpdateAppVersionResourceResponse
updateAppVersionResource
(Consumer<UpdateAppVersionResourceRequest.Builder> updateAppVersionResourceRequest) Updates the resource details in the Resilience Hub application.default UpdateAppVersionResourceResponse
updateAppVersionResource
(UpdateAppVersionResourceRequest updateAppVersionResourceRequest) Updates the resource details in the Resilience Hub application.default UpdateResiliencyPolicyResponse
updateResiliencyPolicy
(Consumer<UpdateResiliencyPolicyRequest.Builder> updateResiliencyPolicyRequest) Updates a resiliency policy.default UpdateResiliencyPolicyResponse
updateResiliencyPolicy
(UpdateResiliencyPolicyRequest updateResiliencyPolicyRequest) Updates a resiliency policy.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
addDraftAppVersionResourceMappings
default 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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaAddDraftAppVersionResourceMappingsRequest.builder()
- Parameters:
addDraftAppVersionResourceMappingsRequest
- AConsumer
that will call methods onAddDraftAppVersionResourceMappingsRequest.Builder
to create a request.- Returns:
- Result of the AddDraftAppVersionResourceMappings operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaBatchUpdateRecommendationStatusRequest.builder()
- Parameters:
batchUpdateRecommendationStatusRequest
- AConsumer
that will call methods onBatchUpdateRecommendationStatusRequest.Builder
to create a request.- Returns:
- Result of the BatchUpdateRecommendationStatus operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaCreateAppRequest.builder()
- Parameters:
createAppRequest
- AConsumer
that will call methods onCreateAppRequest.Builder
to create a request.- Returns:
- Result of the CreateApp operation returned by the service.
- See Also:
-
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
PublishAppVersion
API.- Parameters:
createAppVersionAppComponentRequest
-- Returns:
- Result of the CreateAppVersionAppComponent operation returned by the service.
- See Also:
-
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
PublishAppVersion
API.
This is a convenience which creates an instance of the
CreateAppVersionAppComponentRequest.Builder
avoiding the need to create one manually viaCreateAppVersionAppComponentRequest.builder()
- Parameters:
createAppVersionAppComponentRequest
- AConsumer
that will call methods onCreateAppVersionAppComponentRequest.Builder
to create a request.- Returns:
- Result of the CreateAppVersionAppComponent operation returned by the service.
- See Also:
-
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
PublishAppVersion
API. -
To update application version with new
physicalResourceID
, you must callResolveAppVersionResources
API.
- Parameters:
createAppVersionResourceRequest
-- Returns:
- Result of the CreateAppVersionResource operation returned by the service.
- See Also:
-
-
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
PublishAppVersion
API. -
To update application version with new
physicalResourceID
, you must callResolveAppVersionResources
API.
This is a convenience which creates an instance of the
CreateAppVersionResourceRequest.Builder
avoiding the need to create one manually viaCreateAppVersionResourceRequest.builder()
- Parameters:
createAppVersionResourceRequest
- AConsumer
that will call methods onCreateAppVersionResourceRequest.Builder
to create a request.- Returns:
- Result of the CreateAppVersionResource operation returned by the service.
- See Also:
-
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaCreateRecommendationTemplateRequest.builder()
- Parameters:
createRecommendationTemplateRequest
- AConsumer
that will call methods onCreateRecommendationTemplateRequest.Builder
to create a request.- Returns:
- Result of the CreateRecommendationTemplate operation returned by the service.
- See Also:
-
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
rtoInSecs
andrpoInSecs
of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero forrtoInSecs
andrpoInSecs
, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.- Parameters:
createResiliencyPolicyRequest
-- Returns:
- Result of the CreateResiliencyPolicy operation returned by the service.
- See Also:
-
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
rtoInSecs
andrpoInSecs
of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero forrtoInSecs
andrpoInSecs
, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.
This is a convenience which creates an instance of the
CreateResiliencyPolicyRequest.Builder
avoiding the need to create one manually viaCreateResiliencyPolicyRequest.builder()
- Parameters:
createResiliencyPolicyRequest
- AConsumer
that will call methods onCreateResiliencyPolicyRequest.Builder
to create a request.- Returns:
- Result of the CreateResiliencyPolicy operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDeleteAppRequest.builder()
- Parameters:
deleteAppRequest
- AConsumer
that will call methods onDeleteAppRequest.Builder
to create a request.- Returns:
- Result of the DeleteApp operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDeleteAppAssessmentRequest.builder()
- Parameters:
deleteAppAssessmentRequest
- AConsumer
that will call methods onDeleteAppAssessmentRequest.Builder
to create a request.- Returns:
- Result of the DeleteAppAssessment operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDeleteAppInputSourceRequest.builder()
- Parameters:
deleteAppInputSourceRequest
- AConsumer
that will call methods onDeleteAppInputSourceRequest.Builder
to create a request.- Returns:
- Result of the DeleteAppInputSource operation returned by the service.
- See Also:
-
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
PublishAppVersion
API. -
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.
- See Also:
-
-
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
PublishAppVersion
API. -
You will not be able to delete an Application Component if it has resources associated with it.
This is a convenience which creates an instance of the
DeleteAppVersionAppComponentRequest.Builder
avoiding the need to create one manually viaDeleteAppVersionAppComponentRequest.builder()
- Parameters:
deleteAppVersionAppComponentRequest
- AConsumer
that will call methods onDeleteAppVersionAppComponentRequest.Builder
to create a request.- Returns:
- Result of the DeleteAppVersionAppComponent operation returned by the service.
- See Also:
-
-
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
UpdateAppVersionResource
API. -
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API.
- Parameters:
deleteAppVersionResourceRequest
-- Returns:
- Result of the DeleteAppVersionResource operation returned by the service.
- See Also:
-
-
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
UpdateAppVersionResource
API. -
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API.
This is a convenience which creates an instance of the
DeleteAppVersionResourceRequest.Builder
avoiding the need to create one manually viaDeleteAppVersionResourceRequest.builder()
- Parameters:
deleteAppVersionResourceRequest
- AConsumer
that will call methods onDeleteAppVersionResourceRequest.Builder
to create a request.- Returns:
- Result of the DeleteAppVersionResource operation returned by the service.
- See Also:
-
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDeleteRecommendationTemplateRequest.builder()
- Parameters:
deleteRecommendationTemplateRequest
- AConsumer
that will call methods onDeleteRecommendationTemplateRequest.Builder
to create a request.- Returns:
- Result of the DeleteRecommendationTemplate operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDeleteResiliencyPolicyRequest.builder()
- Parameters:
deleteResiliencyPolicyRequest
- AConsumer
that will call methods onDeleteResiliencyPolicyRequest.Builder
to create a request.- Returns:
- Result of the DeleteResiliencyPolicy operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDescribeAppRequest.builder()
- Parameters:
describeAppRequest
- AConsumer
that will call methods onDescribeAppRequest.Builder
to create a request.- Returns:
- Result of the DescribeApp operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDescribeAppAssessmentRequest.builder()
- Parameters:
describeAppAssessmentRequest
- AConsumer
that will call methods onDescribeAppAssessmentRequest.Builder
to create a request.- Returns:
- Result of the DescribeAppAssessment operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDescribeAppVersionRequest.builder()
- Parameters:
describeAppVersionRequest
- AConsumer
that will call methods onDescribeAppVersionRequest.Builder
to create a request.- Returns:
- Result of the DescribeAppVersion operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDescribeAppVersionAppComponentRequest.builder()
- Parameters:
describeAppVersionAppComponentRequest
- AConsumer
that will call methods onDescribeAppVersionAppComponentRequest.Builder
to create a request.- Returns:
- Result of the DescribeAppVersionAppComponent operation returned by the service.
- See Also:
-
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.
- See Also:
-
-
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.Builder
avoiding the need to create one manually viaDescribeAppVersionResourceRequest.builder()
- Parameters:
describeAppVersionResourceRequest
- AConsumer
that will call methods onDescribeAppVersionResourceRequest.Builder
to create a request.- Returns:
- Result of the DescribeAppVersionResource operation returned by the service.
- See Also:
-
-
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
resolutionId
is not specified, the current resolution status is returned.- Parameters:
describeAppVersionResourcesResolutionStatusRequest
-- Returns:
- Result of the DescribeAppVersionResourcesResolutionStatus operation returned by the service.
- See Also:
-
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
resolutionId
is not specified, the current resolution status is returned.
This is a convenience which creates an instance of the
DescribeAppVersionResourcesResolutionStatusRequest.Builder
avoiding the need to create one manually viaDescribeAppVersionResourcesResolutionStatusRequest.builder()
- Parameters:
describeAppVersionResourcesResolutionStatusRequest
- AConsumer
that will call methods onDescribeAppVersionResourcesResolutionStatusRequest.Builder
to create a request.- Returns:
- Result of the DescribeAppVersionResourcesResolutionStatus operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDescribeAppVersionTemplateRequest.builder()
- Parameters:
describeAppVersionTemplateRequest
- AConsumer
that will call methods onDescribeAppVersionTemplateRequest.Builder
to create a request.- Returns:
- Result of the DescribeAppVersionTemplate operation returned by the service.
- See Also:
-
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 callimportResourcesToDraftAppVersion
after creating the application and before callingdescribeDraftAppVersionResourcesImportStatus
to obtain the status.- Parameters:
describeDraftAppVersionResourcesImportStatusRequest
-- Returns:
- Result of the DescribeDraftAppVersionResourcesImportStatus operation returned by the service.
- See Also:
-
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 callimportResourcesToDraftAppVersion
after creating the application and before callingdescribeDraftAppVersionResourcesImportStatus
to obtain the status.
This is a convenience which creates an instance of the
DescribeDraftAppVersionResourcesImportStatusRequest.Builder
avoiding the need to create one manually viaDescribeDraftAppVersionResourcesImportStatusRequest.builder()
- Parameters:
describeDraftAppVersionResourcesImportStatusRequest
- AConsumer
that will call methods onDescribeDraftAppVersionResourcesImportStatusRequest.Builder
to create a request.- Returns:
- Result of the DescribeDraftAppVersionResourcesImportStatus operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaDescribeResiliencyPolicyRequest.builder()
- Parameters:
describeResiliencyPolicyRequest
- AConsumer
that will call methods onDescribeResiliencyPolicyRequest.Builder
to create a request.- Returns:
- Result of the DescribeResiliencyPolicy operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaImportResourcesToDraftAppVersionRequest.builder()
- Parameters:
importResourcesToDraftAppVersionRequest
- AConsumer
that will call methods onImportResourcesToDraftAppVersionRequest.Builder
to create a request.- Returns:
- Result of the ImportResourcesToDraftAppVersion operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListAlarmRecommendationsRequest.builder()
- Parameters:
listAlarmRecommendationsRequest
- AConsumer
that will call methods onListAlarmRecommendationsRequest.Builder
to create a request.- Returns:
- Result of the ListAlarmRecommendations operation returned by the service.
- See Also:
-
listAlarmRecommendationsPaginator
default ListAlarmRecommendationsIterable listAlarmRecommendationsPaginator(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listAlarmRecommendationsPaginator
default ListAlarmRecommendationsIterable listAlarmRecommendationsPaginator(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAlarmRecommendationsRequest.builder()
- Parameters:
listAlarmRecommendationsRequest
- AConsumer
that will call methods onListAlarmRecommendationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListAppAssessmentComplianceDriftsRequest.builder()
- Parameters:
listAppAssessmentComplianceDriftsRequest
- AConsumer
that will call methods onListAppAssessmentComplianceDriftsRequest.Builder
to create a request.- Returns:
- Result of the ListAppAssessmentComplianceDrifts operation returned by the service.
- See Also:
-
listAppAssessmentComplianceDriftsPaginator
default ListAppAssessmentComplianceDriftsIterable listAppAssessmentComplianceDriftsPaginator(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listAppAssessmentComplianceDriftsPaginator
default ListAppAssessmentComplianceDriftsIterable listAppAssessmentComplianceDriftsPaginator(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAppAssessmentComplianceDriftsRequest.builder()
- Parameters:
listAppAssessmentComplianceDriftsRequest
- AConsumer
that will call methods onListAppAssessmentComplianceDriftsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListAppAssessmentsRequest.builder()
- Parameters:
listAppAssessmentsRequest
- AConsumer
that will call methods onListAppAssessmentsRequest.Builder
to create a request.- Returns:
- Result of the ListAppAssessments operation returned by the service.
- See Also:
-
listAppAssessmentsPaginator
default ListAppAssessmentsIterable listAppAssessmentsPaginator(ListAppAssessmentsRequest listAppAssessmentsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listAppAssessmentsPaginator
default ListAppAssessmentsIterable listAppAssessmentsPaginator(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAppAssessmentsRequest.builder()
- Parameters:
listAppAssessmentsRequest
- AConsumer
that will call methods onListAppAssessmentsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListAppComponentCompliancesRequest.builder()
- Parameters:
listAppComponentCompliancesRequest
- AConsumer
that will call methods onListAppComponentCompliancesRequest.Builder
to create a request.- Returns:
- Result of the ListAppComponentCompliances operation returned by the service.
- See Also:
-
listAppComponentCompliancesPaginator
default ListAppComponentCompliancesIterable listAppComponentCompliancesPaginator(ListAppComponentCompliancesRequest listAppComponentCompliancesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listAppComponentCompliancesPaginator
default ListAppComponentCompliancesIterable listAppComponentCompliancesPaginator(Consumer<ListAppComponentCompliancesRequest.Builder> listAppComponentCompliancesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAppComponentCompliancesRequest.builder()
- Parameters:
listAppComponentCompliancesRequest
- AConsumer
that will call methods onListAppComponentCompliancesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListAppComponentRecommendationsRequest.builder()
- Parameters:
listAppComponentRecommendationsRequest
- AConsumer
that will call methods onListAppComponentRecommendationsRequest.Builder
to create a request.- Returns:
- Result of the ListAppComponentRecommendations operation returned by the service.
- See Also:
-
listAppComponentRecommendationsPaginator
default ListAppComponentRecommendationsIterable listAppComponentRecommendationsPaginator(ListAppComponentRecommendationsRequest listAppComponentRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listAppComponentRecommendationsPaginator
default ListAppComponentRecommendationsIterable listAppComponentRecommendationsPaginator(Consumer<ListAppComponentRecommendationsRequest.Builder> listAppComponentRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAppComponentRecommendationsRequest.builder()
- Parameters:
listAppComponentRecommendationsRequest
- AConsumer
that will call methods onListAppComponentRecommendationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListAppInputSourcesRequest.builder()
- Parameters:
listAppInputSourcesRequest
- AConsumer
that will call methods onListAppInputSourcesRequest.Builder
to create a request.- Returns:
- Result of the ListAppInputSources operation returned by the service.
- See Also:
-
listAppInputSourcesPaginator
default ListAppInputSourcesIterable listAppInputSourcesPaginator(ListAppInputSourcesRequest listAppInputSourcesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listAppInputSourcesPaginator
default ListAppInputSourcesIterable listAppInputSourcesPaginator(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAppInputSourcesRequest.builder()
- Parameters:
listAppInputSourcesRequest
- AConsumer
that will call methods onListAppInputSourcesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListAppVersionAppComponentsRequest.builder()
- Parameters:
listAppVersionAppComponentsRequest
- AConsumer
that will call methods onListAppVersionAppComponentsRequest.Builder
to create a request.- Returns:
- Result of the ListAppVersionAppComponents operation returned by the service.
- See Also:
-
listAppVersionAppComponentsPaginator
default ListAppVersionAppComponentsIterable listAppVersionAppComponentsPaginator(ListAppVersionAppComponentsRequest listAppVersionAppComponentsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listAppVersionAppComponentsPaginator
default ListAppVersionAppComponentsIterable listAppVersionAppComponentsPaginator(Consumer<ListAppVersionAppComponentsRequest.Builder> listAppVersionAppComponentsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAppVersionAppComponentsRequest.builder()
- Parameters:
listAppVersionAppComponentsRequest
- AConsumer
that will call methods onListAppVersionAppComponentsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListAppVersionResourceMappingsRequest.builder()
- Parameters:
listAppVersionResourceMappingsRequest
- AConsumer
that will call methods onListAppVersionResourceMappingsRequest.Builder
to create a request.- Returns:
- Result of the ListAppVersionResourceMappings operation returned by the service.
- See Also:
-
listAppVersionResourceMappingsPaginator
default ListAppVersionResourceMappingsIterable listAppVersionResourceMappingsPaginator(ListAppVersionResourceMappingsRequest listAppVersionResourceMappingsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listAppVersionResourceMappingsPaginator
default ListAppVersionResourceMappingsIterable listAppVersionResourceMappingsPaginator(Consumer<ListAppVersionResourceMappingsRequest.Builder> listAppVersionResourceMappingsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAppVersionResourceMappingsRequest.builder()
- Parameters:
listAppVersionResourceMappingsRequest
- AConsumer
that will call methods onListAppVersionResourceMappingsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListAppVersionResourcesRequest.builder()
- Parameters:
listAppVersionResourcesRequest
- AConsumer
that will call methods onListAppVersionResourcesRequest.Builder
to create a request.- Returns:
- Result of the ListAppVersionResources operation returned by the service.
- See Also:
-
listAppVersionResourcesPaginator
default ListAppVersionResourcesIterable listAppVersionResourcesPaginator(ListAppVersionResourcesRequest listAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listAppVersionResourcesPaginator
default ListAppVersionResourcesIterable listAppVersionResourcesPaginator(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAppVersionResourcesRequest.builder()
- Parameters:
listAppVersionResourcesRequest
- AConsumer
that will call methods onListAppVersionResourcesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListAppVersionsRequest.builder()
- Parameters:
listAppVersionsRequest
- AConsumer
that will call methods onListAppVersionsRequest.Builder
to create a request.- Returns:
- Result of the ListAppVersions operation returned by the service.
- See Also:
-
listAppVersionsPaginator
default ListAppVersionsIterable listAppVersionsPaginator(ListAppVersionsRequest listAppVersionsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listAppVersionsPaginator
default ListAppVersionsIterable listAppVersionsPaginator(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAppVersionsRequest.builder()
- Parameters:
listAppVersionsRequest
- AConsumer
that will call methods onListAppVersionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListAppsRequest.builder()
- Parameters:
listAppsRequest
- AConsumer
that will call methods onListAppsRequest.Builder
to create a request.- Returns:
- Result of the ListApps operation returned by the service.
- See Also:
-
listAppsPaginator
default ListAppsIterable listAppsPaginator(ListAppsRequest listAppsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listAppsPaginator
default ListAppsIterable listAppsPaginator(Consumer<ListAppsRequest.Builder> listAppsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAppsRequest.builder()
- Parameters:
listAppsRequest
- AConsumer
that will call methods onListAppsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListRecommendationTemplatesRequest.builder()
- Parameters:
listRecommendationTemplatesRequest
- AConsumer
that will call methods onListRecommendationTemplatesRequest.Builder
to create a request.- Returns:
- Result of the ListRecommendationTemplates operation returned by the service.
- See Also:
-
listRecommendationTemplatesPaginator
default ListRecommendationTemplatesIterable listRecommendationTemplatesPaginator(ListRecommendationTemplatesRequest listRecommendationTemplatesRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listRecommendationTemplatesPaginator
default ListRecommendationTemplatesIterable listRecommendationTemplatesPaginator(Consumer<ListRecommendationTemplatesRequest.Builder> listRecommendationTemplatesRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListRecommendationTemplatesRequest.builder()
- Parameters:
listRecommendationTemplatesRequest
- AConsumer
that will call methods onListRecommendationTemplatesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListResiliencyPoliciesRequest.builder()
- Parameters:
listResiliencyPoliciesRequest
- AConsumer
that will call methods onListResiliencyPoliciesRequest.Builder
to create a request.- Returns:
- Result of the ListResiliencyPolicies operation returned by the service.
- See Also:
-
listResiliencyPoliciesPaginator
default ListResiliencyPoliciesIterable listResiliencyPoliciesPaginator(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listResiliencyPoliciesPaginator
default ListResiliencyPoliciesIterable listResiliencyPoliciesPaginator(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListResiliencyPoliciesRequest.builder()
- Parameters:
listResiliencyPoliciesRequest
- AConsumer
that will call methods onListResiliencyPoliciesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListSopRecommendationsRequest.builder()
- Parameters:
listSopRecommendationsRequest
- AConsumer
that will call methods onListSopRecommendationsRequest.Builder
to create a request.- Returns:
- Result of the ListSopRecommendations operation returned by the service.
- See Also:
-
listSopRecommendationsPaginator
default ListSopRecommendationsIterable listSopRecommendationsPaginator(ListSopRecommendationsRequest listSopRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listSopRecommendationsPaginator
default ListSopRecommendationsIterable listSopRecommendationsPaginator(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListSopRecommendationsRequest.builder()
- Parameters:
listSopRecommendationsRequest
- AConsumer
that will call methods onListSopRecommendationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListSuggestedResiliencyPoliciesRequest.builder()
- Parameters:
listSuggestedResiliencyPoliciesRequest
- AConsumer
that will call methods onListSuggestedResiliencyPoliciesRequest.Builder
to create a request.- Returns:
- Result of the ListSuggestedResiliencyPolicies operation returned by the service.
- See Also:
-
listSuggestedResiliencyPoliciesPaginator
default ListSuggestedResiliencyPoliciesIterable listSuggestedResiliencyPoliciesPaginator(ListSuggestedResiliencyPoliciesRequest listSuggestedResiliencyPoliciesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listSuggestedResiliencyPoliciesPaginator
default ListSuggestedResiliencyPoliciesIterable listSuggestedResiliencyPoliciesPaginator(Consumer<ListSuggestedResiliencyPoliciesRequest.Builder> listSuggestedResiliencyPoliciesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListSuggestedResiliencyPoliciesRequest.builder()
- Parameters:
listSuggestedResiliencyPoliciesRequest
- AConsumer
that will call methods onListSuggestedResiliencyPoliciesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListTestRecommendationsRequest.builder()
- Parameters:
listTestRecommendationsRequest
- AConsumer
that will call methods onListTestRecommendationsRequest.Builder
to create a request.- Returns:
- Result of the ListTestRecommendations operation returned by the service.
- See Also:
-
listTestRecommendationsPaginator
default ListTestRecommendationsIterable listTestRecommendationsPaginator(ListTestRecommendationsRequest listTestRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listTestRecommendationsPaginator
default ListTestRecommendationsIterable listTestRecommendationsPaginator(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListTestRecommendationsRequest.builder()
- Parameters:
listTestRecommendationsRequest
- AConsumer
that will call methods onListTestRecommendationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaListUnsupportedAppVersionResourcesRequest.builder()
- Parameters:
listUnsupportedAppVersionResourcesRequest
- AConsumer
that will call methods onListUnsupportedAppVersionResourcesRequest.Builder
to create a request.- Returns:
- Result of the ListUnsupportedAppVersionResources operation returned by the service.
- See Also:
-
listUnsupportedAppVersionResourcesPaginator
default ListUnsupportedAppVersionResourcesIterable listUnsupportedAppVersionResourcesPaginator(ListUnsupportedAppVersionResourcesRequest listUnsupportedAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.
- See Also:
-
listUnsupportedAppVersionResourcesPaginator
default ListUnsupportedAppVersionResourcesIterable listUnsupportedAppVersionResourcesPaginator(Consumer<ListUnsupportedAppVersionResourcesRequest.Builder> listUnsupportedAppVersionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException 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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListUnsupportedAppVersionResourcesRequest.builder()
- Parameters:
listUnsupportedAppVersionResourcesRequest
- AConsumer
that will call methods onListUnsupportedAppVersionResourcesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaPublishAppVersionRequest.builder()
- Parameters:
publishAppVersionRequest
- AConsumer
that will call methods onPublishAppVersionRequest.Builder
to create a request.- Returns:
- Result of the PublishAppVersion operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaPutDraftAppVersionTemplateRequest.builder()
- Parameters:
putDraftAppVersionTemplateRequest
- AConsumer
that will call methods onPutDraftAppVersionTemplateRequest.Builder
to create a request.- Returns:
- Result of the PutDraftAppVersionTemplate operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaRemoveDraftAppVersionResourceMappingsRequest.builder()
- Parameters:
removeDraftAppVersionResourceMappingsRequest
- AConsumer
that will call methods onRemoveDraftAppVersionResourceMappingsRequest.Builder
to create a request.- Returns:
- Result of the RemoveDraftAppVersionResourceMappings operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaResolveAppVersionResourcesRequest.builder()
- Parameters:
resolveAppVersionResourcesRequest
- AConsumer
that will call methods onResolveAppVersionResourcesRequest.Builder
to create a request.- Returns:
- Result of the ResolveAppVersionResources operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaStartAppAssessmentRequest.builder()
- Parameters:
startAppAssessmentRequest
- AConsumer
that will call methods onStartAppAssessmentRequest.Builder
to create a request.- Returns:
- Result of the StartAppAssessment operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
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.
- See Also:
-
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.Builder
avoiding the need to create one manually viaUpdateAppRequest.builder()
- Parameters:
updateAppRequest
- AConsumer
that will call methods onUpdateAppRequest.Builder
to create a request.- Returns:
- Result of the UpdateApp operation returned by the service.
- See Also:
-
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
PublishAppVersion
API.- Parameters:
updateAppVersionRequest
-- Returns:
- Result of the UpdateAppVersion operation returned by the service.
- See Also:
-
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
PublishAppVersion
API.
This is a convenience which creates an instance of the
UpdateAppVersionRequest.Builder
avoiding the need to create one manually viaUpdateAppVersionRequest.builder()
- Parameters:
updateAppVersionRequest
- AConsumer
that will call methods onUpdateAppVersionRequest.Builder
to create a request.- Returns:
- Result of the UpdateAppVersion operation returned by the service.
- See Also:
-
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
PublishAppVersion
API.- Parameters:
updateAppVersionAppComponentRequest
-- Returns:
- Result of the UpdateAppVersionAppComponent operation returned by the service.
- See Also:
-
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
PublishAppVersion
API.
This is a convenience which creates an instance of the
UpdateAppVersionAppComponentRequest.Builder
avoiding the need to create one manually viaUpdateAppVersionAppComponentRequest.builder()
- Parameters:
updateAppVersionAppComponentRequest
- AConsumer
that will call methods onUpdateAppVersionAppComponentRequest.Builder
to create a request.- Returns:
- Result of the UpdateAppVersionAppComponent operation returned by the service.
- See Also:
-
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
PublishAppVersion
API. -
To update application version with new
physicalResourceID
, you must callResolveAppVersionResources
API.
- Parameters:
updateAppVersionResourceRequest
-- Returns:
- Result of the UpdateAppVersionResource operation returned by the service.
- See Also:
-
-
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
PublishAppVersion
API. -
To update application version with new
physicalResourceID
, you must callResolveAppVersionResources
API.
This is a convenience which creates an instance of the
UpdateAppVersionResourceRequest.Builder
avoiding the need to create one manually viaUpdateAppVersionResourceRequest.builder()
- Parameters:
updateAppVersionResourceRequest
- AConsumer
that will call methods onUpdateAppVersionResourceRequest.Builder
to create a request.- Returns:
- Result of the UpdateAppVersionResource operation returned by the service.
- See Also:
-
-
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
rtoInSecs
andrpoInSecs
of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero forrtoInSecs
andrpoInSecs
, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.- Parameters:
updateResiliencyPolicyRequest
-- Returns:
- Result of the UpdateResiliencyPolicy operation returned by the service.
- See Also:
-
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
rtoInSecs
andrpoInSecs
of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero forrtoInSecs
andrpoInSecs
, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.
This is a convenience which creates an instance of the
UpdateResiliencyPolicyRequest.Builder
avoiding the need to create one manually viaUpdateResiliencyPolicyRequest.builder()
- Parameters:
updateResiliencyPolicyRequest
- AConsumer
that will call methods onUpdateResiliencyPolicyRequest.Builder
to create a request.- Returns:
- Result of the UpdateResiliencyPolicy operation returned by the service.
- See Also:
-
create
Create aResiliencehubClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aResiliencehubClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-