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
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionacceptResourceGroupingRecommendations(Consumer<AcceptResourceGroupingRecommendationsRequest.Builder> acceptResourceGroupingRecommendationsRequest) Accepts the resource grouping recommendations suggested by Resilience Hub for your application.acceptResourceGroupingRecommendations(AcceptResourceGroupingRecommendationsRequest acceptResourceGroupingRecommendationsRequest) Accepts the resource grouping recommendations suggested by Resilience Hub for your application.addDraftAppVersionResourceMappings(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 ResiliencehubClientBuilderbuilder()Create a builder that can be used to configure and create aResiliencehubClient.static ResiliencehubClientcreate()Create aResiliencehubClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateAppResponsecreateApp(Consumer<CreateAppRequest.Builder> createAppRequest) Creates an Resilience Hub application.default CreateAppResponsecreateApp(CreateAppRequest createAppRequest) Creates an Resilience Hub application.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 CreateAppVersionResourceResponsecreateAppVersionResource(Consumer<CreateAppVersionResourceRequest.Builder> createAppVersionResourceRequest) Adds a resource to the Resilience Hub application and assigns it to the specified Application Components.default CreateAppVersionResourceResponsecreateAppVersionResource(CreateAppVersionResourceRequest createAppVersionResourceRequest) Adds a resource to the Resilience Hub application and assigns it to the specified Application Components.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 CreateResiliencyPolicyResponsecreateResiliencyPolicy(Consumer<CreateResiliencyPolicyRequest.Builder> createResiliencyPolicyRequest) Creates a resiliency policy for an application.default CreateResiliencyPolicyResponsecreateResiliencyPolicy(CreateResiliencyPolicyRequest createResiliencyPolicyRequest) Creates a resiliency policy for an application.default DeleteAppResponsedeleteApp(Consumer<DeleteAppRequest.Builder> deleteAppRequest) Deletes an Resilience Hub application.default DeleteAppResponsedeleteApp(DeleteAppRequest deleteAppRequest) Deletes an Resilience Hub application.default DeleteAppAssessmentResponsedeleteAppAssessment(Consumer<DeleteAppAssessmentRequest.Builder> deleteAppAssessmentRequest) Deletes an Resilience Hub application assessment.default DeleteAppAssessmentResponsedeleteAppAssessment(DeleteAppAssessmentRequest deleteAppAssessmentRequest) Deletes an Resilience Hub application assessment.default DeleteAppInputSourceResponsedeleteAppInputSource(Consumer<DeleteAppInputSourceRequest.Builder> deleteAppInputSourceRequest) Deletes the input source and all of its imported resources from the Resilience Hub application.default DeleteAppInputSourceResponsedeleteAppInputSource(DeleteAppInputSourceRequest deleteAppInputSourceRequest) Deletes the input source and all of its imported resources from the Resilience Hub application.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 DeleteAppVersionResourceResponsedeleteAppVersionResource(Consumer<DeleteAppVersionResourceRequest.Builder> deleteAppVersionResourceRequest) Deletes a resource from the Resilience Hub application.default DeleteAppVersionResourceResponsedeleteAppVersionResource(DeleteAppVersionResourceRequest deleteAppVersionResourceRequest) Deletes a resource from the Resilience Hub application.deleteRecommendationTemplate(Consumer<DeleteRecommendationTemplateRequest.Builder> deleteRecommendationTemplateRequest) Deletes a recommendation template.deleteRecommendationTemplate(DeleteRecommendationTemplateRequest deleteRecommendationTemplateRequest) Deletes a recommendation template.default DeleteResiliencyPolicyResponsedeleteResiliencyPolicy(Consumer<DeleteResiliencyPolicyRequest.Builder> deleteResiliencyPolicyRequest) Deletes a resiliency policy.default DeleteResiliencyPolicyResponsedeleteResiliencyPolicy(DeleteResiliencyPolicyRequest deleteResiliencyPolicyRequest) Deletes a resiliency policy.default DescribeAppResponsedescribeApp(Consumer<DescribeAppRequest.Builder> describeAppRequest) Describes an Resilience Hub application.default DescribeAppResponsedescribeApp(DescribeAppRequest describeAppRequest) Describes an Resilience Hub application.default DescribeAppAssessmentResponsedescribeAppAssessment(Consumer<DescribeAppAssessmentRequest.Builder> describeAppAssessmentRequest) Describes an assessment for an Resilience Hub application.default DescribeAppAssessmentResponsedescribeAppAssessment(DescribeAppAssessmentRequest describeAppAssessmentRequest) Describes an assessment for an Resilience Hub application.default DescribeAppVersionResponsedescribeAppVersion(Consumer<DescribeAppVersionRequest.Builder> describeAppVersionRequest) Describes the Resilience Hub application version.default DescribeAppVersionResponsedescribeAppVersion(DescribeAppVersionRequest describeAppVersionRequest) Describes the Resilience Hub application version.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 DescribeResiliencyPolicyResponsedescribeResiliencyPolicy(Consumer<DescribeResiliencyPolicyRequest.Builder> describeResiliencyPolicyRequest) Describes a specified resiliency policy for an Resilience Hub application.default DescribeResiliencyPolicyResponsedescribeResiliencyPolicy(DescribeResiliencyPolicyRequest describeResiliencyPolicyRequest) Describes a specified resiliency policy for an Resilience Hub application.describeResourceGroupingRecommendationTask(Consumer<DescribeResourceGroupingRecommendationTaskRequest.Builder> describeResourceGroupingRecommendationTaskRequest) Describes the resource grouping recommendation tasks run by Resilience Hub for your application.describeResourceGroupingRecommendationTask(DescribeResourceGroupingRecommendationTaskRequest describeResourceGroupingRecommendationTaskRequest) Describes the resource grouping recommendation tasks run by Resilience Hub for your 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 ListAlarmRecommendationsResponselistAlarmRecommendations(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest) Lists the alarm recommendations for an Resilience Hub application.default ListAlarmRecommendationsResponselistAlarmRecommendations(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest) Lists the alarm recommendations for an Resilience Hub application.default ListAlarmRecommendationsIterablelistAlarmRecommendationsPaginator(Consumer<ListAlarmRecommendationsRequest.Builder> listAlarmRecommendationsRequest) This is a variant oflistAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)operation.default ListAlarmRecommendationsIterablelistAlarmRecommendationsPaginator(ListAlarmRecommendationsRequest listAlarmRecommendationsRequest) This is a variant oflistAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)operation.listAppAssessmentComplianceDrifts(Consumer<ListAppAssessmentComplianceDriftsRequest.Builder> listAppAssessmentComplianceDriftsRequest) Indicates the list of compliance drifts that were detected while running an assessment.listAppAssessmentComplianceDrifts(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest) Indicates the 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.listAppAssessmentResourceDrifts(Consumer<ListAppAssessmentResourceDriftsRequest.Builder> listAppAssessmentResourceDriftsRequest) Indicates the list of resource drifts that were detected while running an assessment.listAppAssessmentResourceDrifts(ListAppAssessmentResourceDriftsRequest listAppAssessmentResourceDriftsRequest) Indicates the list of resource drifts that were detected while running an assessment.listAppAssessmentResourceDriftsPaginator(Consumer<ListAppAssessmentResourceDriftsRequest.Builder> listAppAssessmentResourceDriftsRequest) This is a variant oflistAppAssessmentResourceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentResourceDriftsRequest)operation.listAppAssessmentResourceDriftsPaginator(ListAppAssessmentResourceDriftsRequest listAppAssessmentResourceDriftsRequest) This is a variant oflistAppAssessmentResourceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentResourceDriftsRequest)operation.default ListAppAssessmentsResponselistAppAssessments(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest) Lists the assessments for an Resilience Hub application.default ListAppAssessmentsResponselistAppAssessments(ListAppAssessmentsRequest listAppAssessmentsRequest) Lists the assessments for an Resilience Hub application.default ListAppAssessmentsIterablelistAppAssessmentsPaginator(Consumer<ListAppAssessmentsRequest.Builder> listAppAssessmentsRequest) This is a variant oflistAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)operation.default ListAppAssessmentsIterablelistAppAssessmentsPaginator(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 ListAppInputSourcesResponselistAppInputSources(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest) Lists all the input sources of the Resilience Hub application.default ListAppInputSourcesResponselistAppInputSources(ListAppInputSourcesRequest listAppInputSourcesRequest) Lists all the input sources of the Resilience Hub application.default ListAppInputSourcesIterablelistAppInputSourcesPaginator(Consumer<ListAppInputSourcesRequest.Builder> listAppInputSourcesRequest) This is a variant oflistAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)operation.default ListAppInputSourcesIterablelistAppInputSourcesPaginator(ListAppInputSourcesRequest listAppInputSourcesRequest) This is a variant oflistAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)operation.default ListAppsResponselistApps(Consumer<ListAppsRequest.Builder> listAppsRequest) Lists your Resilience Hub applications.default ListAppsResponselistApps(ListAppsRequest listAppsRequest) Lists your Resilience Hub applications.default ListAppsIterablelistAppsPaginator(Consumer<ListAppsRequest.Builder> listAppsRequest) This is a variant oflistApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest)operation.default ListAppsIterablelistAppsPaginator(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 ListAppVersionResourcesResponselistAppVersionResources(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest) Lists all the resources in an Resilience Hub application.default ListAppVersionResourcesResponselistAppVersionResources(ListAppVersionResourcesRequest listAppVersionResourcesRequest) Lists all the resources in an Resilience Hub application.default ListAppVersionResourcesIterablelistAppVersionResourcesPaginator(Consumer<ListAppVersionResourcesRequest.Builder> listAppVersionResourcesRequest) This is a variant oflistAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)operation.default ListAppVersionResourcesIterablelistAppVersionResourcesPaginator(ListAppVersionResourcesRequest listAppVersionResourcesRequest) This is a variant oflistAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)operation.default ListAppVersionsResponselistAppVersions(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest) Lists the different versions for the Resilience Hub applications.default ListAppVersionsResponselistAppVersions(ListAppVersionsRequest listAppVersionsRequest) Lists the different versions for the Resilience Hub applications.default ListAppVersionsIterablelistAppVersionsPaginator(Consumer<ListAppVersionsRequest.Builder> listAppVersionsRequest) This is a variant oflistAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest)operation.default ListAppVersionsIterablelistAppVersionsPaginator(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 ListResiliencyPoliciesResponselistResiliencyPolicies(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest) Lists the resiliency policies for the Resilience Hub applications.default ListResiliencyPoliciesResponselistResiliencyPolicies(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest) Lists the resiliency policies for the Resilience Hub applications.default ListResiliencyPoliciesIterablelistResiliencyPoliciesPaginator(Consumer<ListResiliencyPoliciesRequest.Builder> listResiliencyPoliciesRequest) This is a variant oflistResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest)operation.default ListResiliencyPoliciesIterablelistResiliencyPoliciesPaginator(ListResiliencyPoliciesRequest listResiliencyPoliciesRequest) This is a variant oflistResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest)operation.listResourceGroupingRecommendations(Consumer<ListResourceGroupingRecommendationsRequest.Builder> listResourceGroupingRecommendationsRequest) Lists the resource grouping recommendations suggested by Resilience Hub for your application.listResourceGroupingRecommendations(ListResourceGroupingRecommendationsRequest listResourceGroupingRecommendationsRequest) Lists the resource grouping recommendations suggested by Resilience Hub for your application.listResourceGroupingRecommendationsPaginator(Consumer<ListResourceGroupingRecommendationsRequest.Builder> listResourceGroupingRecommendationsRequest) listResourceGroupingRecommendationsPaginator(ListResourceGroupingRecommendationsRequest listResourceGroupingRecommendationsRequest) default ListSopRecommendationsResponselistSopRecommendations(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest) Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.default ListSopRecommendationsResponselistSopRecommendations(ListSopRecommendationsRequest listSopRecommendationsRequest) Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.default ListSopRecommendationsIterablelistSopRecommendationsPaginator(Consumer<ListSopRecommendationsRequest.Builder> listSopRecommendationsRequest) This is a variant oflistSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest)operation.default ListSopRecommendationsIterablelistSopRecommendationsPaginator(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 ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for your resources in your Resilience Hub applications.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for your resources in your Resilience Hub applications.default ListTestRecommendationsResponselistTestRecommendations(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest) Lists the test recommendations for the Resilience Hub application.default ListTestRecommendationsResponselistTestRecommendations(ListTestRecommendationsRequest listTestRecommendationsRequest) Lists the test recommendations for the Resilience Hub application.default ListTestRecommendationsIterablelistTestRecommendationsPaginator(Consumer<ListTestRecommendationsRequest.Builder> listTestRecommendationsRequest) This is a variant oflistTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest)operation.default ListTestRecommendationsIterablelistTestRecommendationsPaginator(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 PublishAppVersionResponsepublishAppVersion(Consumer<PublishAppVersionRequest.Builder> publishAppVersionRequest) Publishes a new version of a specific Resilience Hub application.default PublishAppVersionResponsepublishAppVersion(PublishAppVersionRequest publishAppVersionRequest) Publishes a new version of a specific Resilience Hub application.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.rejectResourceGroupingRecommendations(Consumer<RejectResourceGroupingRecommendationsRequest.Builder> rejectResourceGroupingRecommendationsRequest) Rejects resource grouping recommendations.rejectResourceGroupingRecommendations(RejectResourceGroupingRecommendationsRequest rejectResourceGroupingRecommendationsRequest) Rejects resource grouping recommendations.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 ServiceMetadatadefault StartAppAssessmentResponsestartAppAssessment(Consumer<StartAppAssessmentRequest.Builder> startAppAssessmentRequest) Creates a new application assessment for an application.default StartAppAssessmentResponsestartAppAssessment(StartAppAssessmentRequest startAppAssessmentRequest) Creates a new application assessment for an application.startResourceGroupingRecommendationTask(Consumer<StartResourceGroupingRecommendationTaskRequest.Builder> startResourceGroupingRecommendationTaskRequest) Starts grouping recommendation task.startResourceGroupingRecommendationTask(StartResourceGroupingRecommendationTaskRequest startResourceGroupingRecommendationTaskRequest) Starts grouping recommendation task.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Applies one or more tags to a resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Applies one or more tags to a resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes one or more tags from a resource.default UpdateAppResponseupdateApp(Consumer<UpdateAppRequest.Builder> updateAppRequest) Updates an application.default UpdateAppResponseupdateApp(UpdateAppRequest updateAppRequest) Updates an application.default UpdateAppVersionResponseupdateAppVersion(Consumer<UpdateAppVersionRequest.Builder> updateAppVersionRequest) Updates the Resilience Hub application version.default UpdateAppVersionResponseupdateAppVersion(UpdateAppVersionRequest updateAppVersionRequest) Updates the Resilience Hub application version.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 UpdateAppVersionResourceResponseupdateAppVersionResource(Consumer<UpdateAppVersionResourceRequest.Builder> updateAppVersionResourceRequest) Updates the resource details in the Resilience Hub application.default UpdateAppVersionResourceResponseupdateAppVersionResource(UpdateAppVersionResourceRequest updateAppVersionResourceRequest) Updates the resource details in the Resilience Hub application.default UpdateResiliencyPolicyResponseupdateResiliencyPolicy(Consumer<UpdateResiliencyPolicyRequest.Builder> updateResiliencyPolicyRequest) Updates a resiliency policy.default UpdateResiliencyPolicyResponseupdateResiliencyPolicy(UpdateResiliencyPolicyRequest updateResiliencyPolicyRequest) Updates a resiliency policy.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods 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
-
acceptResourceGroupingRecommendations
default AcceptResourceGroupingRecommendationsResponse acceptResourceGroupingRecommendations(AcceptResourceGroupingRecommendationsRequest acceptResourceGroupingRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException Accepts the resource grouping recommendations suggested by Resilience Hub for your application.
- Parameters:
acceptResourceGroupingRecommendationsRequest-- Returns:
- Result of the AcceptResourceGroupingRecommendations operation returned by the service.
- See Also:
-
acceptResourceGroupingRecommendations
default AcceptResourceGroupingRecommendationsResponse acceptResourceGroupingRecommendations(Consumer<AcceptResourceGroupingRecommendationsRequest.Builder> acceptResourceGroupingRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException Accepts the resource grouping recommendations suggested by Resilience Hub for your application.
This is a convenience which creates an instance of the
AcceptResourceGroupingRecommendationsRequest.Builderavoiding the need to create one manually viaAcceptResourceGroupingRecommendationsRequest.builder()- Parameters:
acceptResourceGroupingRecommendationsRequest- AConsumerthat will call methods onAcceptResourceGroupingRecommendationsRequest.Builderto create a request.- Returns:
- Result of the AcceptResourceGroupingRecommendations operation returned by the service.
- See Also:
-
addDraftAppVersionResourceMappings
default AddDraftAppVersionResourceMappingsResponse addDraftAppVersionResourceMappings(AddDraftAppVersionResourceMappingsRequest addDraftAppVersionResourceMappingsRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ServiceQuotaExceededException, 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 supported 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, ServiceQuotaExceededException, 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 supported by Resilience Hub and how to add them in your application, see Step 2: How is your application managed? in the Resilience Hub User Guide.
This is a convenience which creates an instance of the
AddDraftAppVersionResourceMappingsRequest.Builderavoiding the need to create one manually viaAddDraftAppVersionResourceMappingsRequest.builder()- Parameters:
addDraftAppVersionResourceMappingsRequest- AConsumerthat will call methods onAddDraftAppVersionResourceMappingsRequest.Builderto create a request.- Returns:
- Result of the AddDraftAppVersionResourceMappings operation returned by the service.
- 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.Builderavoiding the need to create one manually viaBatchUpdateRecommendationStatusRequest.builder()- Parameters:
batchUpdateRecommendationStatusRequest- AConsumerthat will call methods onBatchUpdateRecommendationStatusRequest.Builderto create a request.- Returns:
- Result of the BatchUpdateRecommendationStatus operation returned by the service.
- 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.Builderavoiding the need to create one manually viaCreateAppRequest.builder()- Parameters:
createAppRequest- AConsumerthat will call methods onCreateAppRequest.Builderto create a request.- Returns:
- Result of the CreateApp operation returned by the service.
- 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
PublishAppVersionAPI.- 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
PublishAppVersionAPI.
This is a convenience which creates an instance of the
CreateAppVersionAppComponentRequest.Builderavoiding the need to create one manually viaCreateAppVersionAppComponentRequest.builder()- Parameters:
createAppVersionAppComponentRequest- AConsumerthat will call methods onCreateAppVersionAppComponentRequest.Builderto create a request.- Returns:
- Result of the CreateAppVersionAppComponent operation returned by the service.
- 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
PublishAppVersionAPI. -
To update application version with new
physicalResourceID, you must callResolveAppVersionResourcesAPI.
- 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
PublishAppVersionAPI. -
To update application version with new
physicalResourceID, you must callResolveAppVersionResourcesAPI.
This is a convenience which creates an instance of the
CreateAppVersionResourceRequest.Builderavoiding the need to create one manually viaCreateAppVersionResourceRequest.builder()- Parameters:
createAppVersionResourceRequest- AConsumerthat will call methods onCreateAppVersionResourceRequest.Builderto create a request.- Returns:
- Result of the CreateAppVersionResource operation returned by the service.
- 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.Builderavoiding the need to create one manually viaCreateRecommendationTemplateRequest.builder()- Parameters:
createRecommendationTemplateRequest- AConsumerthat will call methods onCreateRecommendationTemplateRequest.Builderto create a request.- Returns:
- Result of the CreateRecommendationTemplate operation returned by the service.
- 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
rtoInSecsandrpoInSecsof your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero forrtoInSecsandrpoInSecs, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.- Parameters:
createResiliencyPolicyRequest-- Returns:
- Result of the CreateResiliencyPolicy operation returned by the service.
- 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
rtoInSecsandrpoInSecsof your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero forrtoInSecsandrpoInSecs, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.
This is a convenience which creates an instance of the
CreateResiliencyPolicyRequest.Builderavoiding the need to create one manually viaCreateResiliencyPolicyRequest.builder()- Parameters:
createResiliencyPolicyRequest- AConsumerthat will call methods onCreateResiliencyPolicyRequest.Builderto create a request.- Returns:
- Result of the CreateResiliencyPolicy operation returned by the service.
- 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.Builderavoiding the need to create one manually viaDeleteAppRequest.builder()- Parameters:
deleteAppRequest- AConsumerthat will call methods onDeleteAppRequest.Builderto create a request.- Returns:
- Result of the DeleteApp operation returned by the service.
- 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.Builderavoiding the need to create one manually viaDeleteAppAssessmentRequest.builder()- Parameters:
deleteAppAssessmentRequest- AConsumerthat will call methods onDeleteAppAssessmentRequest.Builderto create a request.- Returns:
- Result of the DeleteAppAssessment operation returned by the service.
- 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.Builderavoiding the need to create one manually viaDeleteAppInputSourceRequest.builder()- Parameters:
deleteAppInputSourceRequest- AConsumerthat will call methods onDeleteAppInputSourceRequest.Builderto create a request.- Returns:
- Result of the DeleteAppInputSource operation returned by the service.
- 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
PublishAppVersionAPI. -
You will not be able to delete an Application Component if it has resources associated with it.
- Parameters:
deleteAppVersionAppComponentRequest-- Returns:
- Result of the DeleteAppVersionAppComponent operation returned by the service.
- 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
PublishAppVersionAPI. -
You will not be able to delete an Application Component if it has resources associated with it.
This is a convenience which creates an instance of the
DeleteAppVersionAppComponentRequest.Builderavoiding the need to create one manually viaDeleteAppVersionAppComponentRequest.builder()- Parameters:
deleteAppVersionAppComponentRequest- AConsumerthat will call methods onDeleteAppVersionAppComponentRequest.Builderto create a request.- Returns:
- Result of the DeleteAppVersionAppComponent operation returned by the service.
- 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
UpdateAppVersionResourceAPI. -
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersionAPI.
- Parameters:
deleteAppVersionResourceRequest-- Returns:
- Result of the DeleteAppVersionResource operation returned by the service.
- 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
UpdateAppVersionResourceAPI. -
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersionAPI.
This is a convenience which creates an instance of the
DeleteAppVersionResourceRequest.Builderavoiding the need to create one manually viaDeleteAppVersionResourceRequest.builder()- Parameters:
deleteAppVersionResourceRequest- AConsumerthat will call methods onDeleteAppVersionResourceRequest.Builderto create a request.- Returns:
- Result of the DeleteAppVersionResource operation returned by the service.
- 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.Builderavoiding the need to create one manually viaDeleteRecommendationTemplateRequest.builder()- Parameters:
deleteRecommendationTemplateRequest- AConsumerthat will call methods onDeleteRecommendationTemplateRequest.Builderto create a request.- Returns:
- Result of the DeleteRecommendationTemplate operation returned by the service.
- 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.Builderavoiding the need to create one manually viaDeleteResiliencyPolicyRequest.builder()- Parameters:
deleteResiliencyPolicyRequest- AConsumerthat will call methods onDeleteResiliencyPolicyRequest.Builderto create a request.- Returns:
- Result of the DeleteResiliencyPolicy operation returned by the service.
- 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.Builderavoiding the need to create one manually viaDescribeAppRequest.builder()- Parameters:
describeAppRequest- AConsumerthat will call methods onDescribeAppRequest.Builderto create a request.- Returns:
- Result of the DescribeApp operation returned by the service.
- 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.Builderavoiding the need to create one manually viaDescribeAppAssessmentRequest.builder()- Parameters:
describeAppAssessmentRequest- AConsumerthat will call methods onDescribeAppAssessmentRequest.Builderto create a request.- Returns:
- Result of the DescribeAppAssessment operation returned by the service.
- 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.Builderavoiding the need to create one manually viaDescribeAppVersionRequest.builder()- Parameters:
describeAppVersionRequest- AConsumerthat will call methods onDescribeAppVersionRequest.Builderto create a request.- Returns:
- Result of the DescribeAppVersion operation returned by the service.
- 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.Builderavoiding the need to create one manually viaDescribeAppVersionAppComponentRequest.builder()- Parameters:
describeAppVersionAppComponentRequest- AConsumerthat will call methods onDescribeAppVersionAppComponentRequest.Builderto create a request.- Returns:
- Result of the DescribeAppVersionAppComponent operation returned by the service.
- 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 describe 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 describe the resource:
-
resourceName -
logicalResourceId -
physicalResourceId(Along withphysicalResourceId, you can also provideawsAccountId, andawsRegion)
This is a convenience which creates an instance of the
DescribeAppVersionResourceRequest.Builderavoiding the need to create one manually viaDescribeAppVersionResourceRequest.builder()- Parameters:
describeAppVersionResourceRequest- AConsumerthat will call methods onDescribeAppVersionResourceRequest.Builderto create a request.- Returns:
- Result of the DescribeAppVersionResource operation returned by the service.
- 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
resolutionIdis 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
resolutionIdis not specified, the current resolution status is returned.
This is a convenience which creates an instance of the
DescribeAppVersionResourcesResolutionStatusRequest.Builderavoiding the need to create one manually viaDescribeAppVersionResourcesResolutionStatusRequest.builder()- Parameters:
describeAppVersionResourcesResolutionStatusRequest- AConsumerthat will call methods onDescribeAppVersionResourcesResolutionStatusRequest.Builderto create a request.- Returns:
- Result of the DescribeAppVersionResourcesResolutionStatus operation returned by the service.
- 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.Builderavoiding the need to create one manually viaDescribeAppVersionTemplateRequest.builder()- Parameters:
describeAppVersionTemplateRequest- AConsumerthat will call methods onDescribeAppVersionTemplateRequest.Builderto create a request.- Returns:
- Result of the DescribeAppVersionTemplate operation returned by the service.
- 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 callimportResourcesToDraftAppVersionafter creating the application and before callingdescribeDraftAppVersionResourcesImportStatusto 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 callimportResourcesToDraftAppVersionafter creating the application and before callingdescribeDraftAppVersionResourcesImportStatusto obtain the status.
This is a convenience which creates an instance of the
DescribeDraftAppVersionResourcesImportStatusRequest.Builderavoiding the need to create one manually viaDescribeDraftAppVersionResourcesImportStatusRequest.builder()- Parameters:
describeDraftAppVersionResourcesImportStatusRequest- AConsumerthat will call methods onDescribeDraftAppVersionResourcesImportStatusRequest.Builderto create a request.- Returns:
- Result of the DescribeDraftAppVersionResourcesImportStatus operation returned by the service.
- 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.Builderavoiding the need to create one manually viaDescribeResiliencyPolicyRequest.builder()- Parameters:
describeResiliencyPolicyRequest- AConsumerthat will call methods onDescribeResiliencyPolicyRequest.Builderto create a request.- Returns:
- Result of the DescribeResiliencyPolicy operation returned by the service.
- See Also:
-
describeResourceGroupingRecommendationTask
default DescribeResourceGroupingRecommendationTaskResponse describeResourceGroupingRecommendationTask(DescribeResourceGroupingRecommendationTaskRequest describeResourceGroupingRecommendationTaskRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException Describes the resource grouping recommendation tasks run by Resilience Hub for your application.
- Parameters:
describeResourceGroupingRecommendationTaskRequest-- Returns:
- Result of the DescribeResourceGroupingRecommendationTask operation returned by the service.
- See Also:
-
describeResourceGroupingRecommendationTask
default DescribeResourceGroupingRecommendationTaskResponse describeResourceGroupingRecommendationTask(Consumer<DescribeResourceGroupingRecommendationTaskRequest.Builder> describeResourceGroupingRecommendationTaskRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException Describes the resource grouping recommendation tasks run by Resilience Hub for your application.
This is a convenience which creates an instance of the
DescribeResourceGroupingRecommendationTaskRequest.Builderavoiding the need to create one manually viaDescribeResourceGroupingRecommendationTaskRequest.builder()- Parameters:
describeResourceGroupingRecommendationTaskRequest- AConsumerthat will call methods onDescribeResourceGroupingRecommendationTaskRequest.Builderto create a request.- Returns:
- Result of the DescribeResourceGroupingRecommendationTask 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.Builderavoiding the need to create one manually viaImportResourcesToDraftAppVersionRequest.builder()- Parameters:
importResourcesToDraftAppVersionRequest- AConsumerthat will call methods onImportResourcesToDraftAppVersionRequest.Builderto create a request.- Returns:
- Result of the ImportResourcesToDraftAppVersion operation returned by the service.
- 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.Builderavoiding the need to create one manually viaListAlarmRecommendationsRequest.builder()- Parameters:
listAlarmRecommendationsRequest- AConsumerthat will call methods onListAlarmRecommendationsRequest.Builderto create a request.- Returns:
- Result of the ListAlarmRecommendations operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsIterable responses = client.listAlarmRecommendationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsIterable responses = client .listAlarmRecommendationsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsIterable responses = client.listAlarmRecommendationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)operation.- Parameters:
listAlarmRecommendationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsIterable responses = client.listAlarmRecommendationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsIterable responses = client .listAlarmRecommendationsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAlarmRecommendationsIterable responses = client.listAlarmRecommendationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAlarmRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAlarmRecommendationsRequest)operation.
This is a convenience which creates an instance of the
ListAlarmRecommendationsRequest.Builderavoiding the need to create one manually viaListAlarmRecommendationsRequest.builder()- Parameters:
listAlarmRecommendationsRequest- AConsumerthat will call methods onListAlarmRecommendationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAppAssessmentComplianceDrifts
default ListAppAssessmentComplianceDriftsResponse listAppAssessmentComplianceDrifts(ListAppAssessmentComplianceDriftsRequest listAppAssessmentComplianceDriftsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException Indicates the 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 Indicates the list of compliance drifts that were detected while running an assessment.
This is a convenience which creates an instance of the
ListAppAssessmentComplianceDriftsRequest.Builderavoiding the need to create one manually viaListAppAssessmentComplianceDriftsRequest.builder()- Parameters:
listAppAssessmentComplianceDriftsRequest- AConsumerthat will call methods onListAppAssessmentComplianceDriftsRequest.Builderto create a request.- Returns:
- Result of the ListAppAssessmentComplianceDrifts operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client.listAppAssessmentComplianceDriftsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client .listAppAssessmentComplianceDriftsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client.listAppAssessmentComplianceDriftsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest)operation.- Parameters:
listAppAssessmentComplianceDriftsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client.listAppAssessmentComplianceDriftsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client .listAppAssessmentComplianceDriftsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentComplianceDriftsIterable responses = client.listAppAssessmentComplianceDriftsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppAssessmentComplianceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentComplianceDriftsRequest)operation.
This is a convenience which creates an instance of the
ListAppAssessmentComplianceDriftsRequest.Builderavoiding the need to create one manually viaListAppAssessmentComplianceDriftsRequest.builder()- Parameters:
listAppAssessmentComplianceDriftsRequest- AConsumerthat will call methods onListAppAssessmentComplianceDriftsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAppAssessmentResourceDrifts
default ListAppAssessmentResourceDriftsResponse listAppAssessmentResourceDrifts(ListAppAssessmentResourceDriftsRequest listAppAssessmentResourceDriftsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException Indicates the list of resource drifts that were detected while running an assessment.
- Parameters:
listAppAssessmentResourceDriftsRequest-- Returns:
- Result of the ListAppAssessmentResourceDrifts operation returned by the service.
- See Also:
-
listAppAssessmentResourceDrifts
default ListAppAssessmentResourceDriftsResponse listAppAssessmentResourceDrifts(Consumer<ListAppAssessmentResourceDriftsRequest.Builder> listAppAssessmentResourceDriftsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException Indicates the list of resource drifts that were detected while running an assessment.
This is a convenience which creates an instance of the
ListAppAssessmentResourceDriftsRequest.Builderavoiding the need to create one manually viaListAppAssessmentResourceDriftsRequest.builder()- Parameters:
listAppAssessmentResourceDriftsRequest- AConsumerthat will call methods onListAppAssessmentResourceDriftsRequest.Builderto create a request.- Returns:
- Result of the ListAppAssessmentResourceDrifts operation returned by the service.
- See Also:
-
listAppAssessmentResourceDriftsPaginator
default ListAppAssessmentResourceDriftsIterable listAppAssessmentResourceDriftsPaginator(ListAppAssessmentResourceDriftsRequest listAppAssessmentResourceDriftsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException This is a variant of
listAppAssessmentResourceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentResourceDriftsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentResourceDriftsIterable responses = client.listAppAssessmentResourceDriftsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentResourceDriftsIterable responses = client .listAppAssessmentResourceDriftsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentResourceDriftsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentResourceDriftsIterable responses = client.listAppAssessmentResourceDriftsPaginator(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
listAppAssessmentResourceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentResourceDriftsRequest)operation.- Parameters:
listAppAssessmentResourceDriftsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAppAssessmentResourceDriftsPaginator
default ListAppAssessmentResourceDriftsIterable listAppAssessmentResourceDriftsPaginator(Consumer<ListAppAssessmentResourceDriftsRequest.Builder> listAppAssessmentResourceDriftsRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException This is a variant of
listAppAssessmentResourceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentResourceDriftsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentResourceDriftsIterable responses = client.listAppAssessmentResourceDriftsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentResourceDriftsIterable responses = client .listAppAssessmentResourceDriftsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentResourceDriftsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentResourceDriftsIterable responses = client.listAppAssessmentResourceDriftsPaginator(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
listAppAssessmentResourceDrifts(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentResourceDriftsRequest)operation.
This is a convenience which creates an instance of the
ListAppAssessmentResourceDriftsRequest.Builderavoiding the need to create one manually viaListAppAssessmentResourceDriftsRequest.builder()- Parameters:
listAppAssessmentResourceDriftsRequest- AConsumerthat will call methods onListAppAssessmentResourceDriftsRequest.Builderto 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.Builderavoiding the need to create one manually viaListAppAssessmentsRequest.builder()- Parameters:
listAppAssessmentsRequest- AConsumerthat will call methods onListAppAssessmentsRequest.Builderto create a request.- Returns:
- Result of the ListAppAssessments operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsIterable responses = client.listAppAssessmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsIterable responses = client .listAppAssessmentsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsIterable responses = client.listAppAssessmentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)operation.- Parameters:
listAppAssessmentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsIterable responses = client.listAppAssessmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsIterable responses = client .listAppAssessmentsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppAssessmentsIterable responses = client.listAppAssessmentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppAssessments(software.amazon.awssdk.services.resiliencehub.model.ListAppAssessmentsRequest)operation.
This is a convenience which creates an instance of the
ListAppAssessmentsRequest.Builderavoiding the need to create one manually viaListAppAssessmentsRequest.builder()- Parameters:
listAppAssessmentsRequest- AConsumerthat will call methods onListAppAssessmentsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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.Builderavoiding the need to create one manually viaListAppComponentCompliancesRequest.builder()- Parameters:
listAppComponentCompliancesRequest- AConsumerthat will call methods onListAppComponentCompliancesRequest.Builderto create a request.- Returns:
- Result of the ListAppComponentCompliances operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesIterable responses = client.listAppComponentCompliancesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesIterable responses = client .listAppComponentCompliancesPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesIterable responses = client.listAppComponentCompliancesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest)operation.- Parameters:
listAppComponentCompliancesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesIterable responses = client.listAppComponentCompliancesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesIterable responses = client .listAppComponentCompliancesPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentCompliancesIterable responses = client.listAppComponentCompliancesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppComponentCompliances(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentCompliancesRequest)operation.
This is a convenience which creates an instance of the
ListAppComponentCompliancesRequest.Builderavoiding the need to create one manually viaListAppComponentCompliancesRequest.builder()- Parameters:
listAppComponentCompliancesRequest- AConsumerthat will call methods onListAppComponentCompliancesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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.Builderavoiding the need to create one manually viaListAppComponentRecommendationsRequest.builder()- Parameters:
listAppComponentRecommendationsRequest- AConsumerthat will call methods onListAppComponentRecommendationsRequest.Builderto create a request.- Returns:
- Result of the ListAppComponentRecommendations operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsIterable responses = client.listAppComponentRecommendationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsIterable responses = client .listAppComponentRecommendationsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsIterable responses = client.listAppComponentRecommendationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest)operation.- Parameters:
listAppComponentRecommendationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsIterable responses = client.listAppComponentRecommendationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsIterable responses = client .listAppComponentRecommendationsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppComponentRecommendationsIterable responses = client.listAppComponentRecommendationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppComponentRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListAppComponentRecommendationsRequest)operation.
This is a convenience which creates an instance of the
ListAppComponentRecommendationsRequest.Builderavoiding the need to create one manually viaListAppComponentRecommendationsRequest.builder()- Parameters:
listAppComponentRecommendationsRequest- AConsumerthat will call methods onListAppComponentRecommendationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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.Builderavoiding the need to create one manually viaListAppInputSourcesRequest.builder()- Parameters:
listAppInputSourcesRequest- AConsumerthat will call methods onListAppInputSourcesRequest.Builderto create a request.- Returns:
- Result of the ListAppInputSources operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client.listAppInputSourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client .listAppInputSourcesPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client.listAppInputSourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)operation.- Parameters:
listAppInputSourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client.listAppInputSourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client .listAppInputSourcesPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppInputSourcesIterable responses = client.listAppInputSourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppInputSources(software.amazon.awssdk.services.resiliencehub.model.ListAppInputSourcesRequest)operation.
This is a convenience which creates an instance of the
ListAppInputSourcesRequest.Builderavoiding the need to create one manually viaListAppInputSourcesRequest.builder()- Parameters:
listAppInputSourcesRequest- AConsumerthat will call methods onListAppInputSourcesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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.Builderavoiding the need to create one manually viaListAppVersionAppComponentsRequest.builder()- Parameters:
listAppVersionAppComponentsRequest- AConsumerthat will call methods onListAppVersionAppComponentsRequest.Builderto create a request.- Returns:
- Result of the ListAppVersionAppComponents operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client.listAppVersionAppComponentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client .listAppVersionAppComponentsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client.listAppVersionAppComponentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest)operation.- Parameters:
listAppVersionAppComponentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client.listAppVersionAppComponentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client .listAppVersionAppComponentsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionAppComponentsIterable responses = client.listAppVersionAppComponentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppVersionAppComponents(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionAppComponentsRequest)operation.
This is a convenience which creates an instance of the
ListAppVersionAppComponentsRequest.Builderavoiding the need to create one manually viaListAppVersionAppComponentsRequest.builder()- Parameters:
listAppVersionAppComponentsRequest- AConsumerthat will call methods onListAppVersionAppComponentsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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.Builderavoiding the need to create one manually viaListAppVersionResourceMappingsRequest.builder()- Parameters:
listAppVersionResourceMappingsRequest- AConsumerthat will call methods onListAppVersionResourceMappingsRequest.Builderto create a request.- Returns:
- Result of the ListAppVersionResourceMappings operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsIterable responses = client.listAppVersionResourceMappingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsIterable responses = client .listAppVersionResourceMappingsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsIterable responses = client.listAppVersionResourceMappingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest)operation.- Parameters:
listAppVersionResourceMappingsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsIterable responses = client.listAppVersionResourceMappingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsIterable responses = client .listAppVersionResourceMappingsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourceMappingsIterable responses = client.listAppVersionResourceMappingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppVersionResourceMappings(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourceMappingsRequest)operation.
This is a convenience which creates an instance of the
ListAppVersionResourceMappingsRequest.Builderavoiding the need to create one manually viaListAppVersionResourceMappingsRequest.builder()- Parameters:
listAppVersionResourceMappingsRequest- AConsumerthat will call methods onListAppVersionResourceMappingsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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.Builderavoiding the need to create one manually viaListAppVersionResourcesRequest.builder()- Parameters:
listAppVersionResourcesRequest- AConsumerthat will call methods onListAppVersionResourcesRequest.Builderto create a request.- Returns:
- Result of the ListAppVersionResources operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesIterable responses = client.listAppVersionResourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesIterable responses = client .listAppVersionResourcesPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesIterable responses = client.listAppVersionResourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)operation.- Parameters:
listAppVersionResourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesIterable responses = client.listAppVersionResourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesIterable responses = client .listAppVersionResourcesPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionResourcesIterable responses = client.listAppVersionResourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionResourcesRequest)operation.
This is a convenience which creates an instance of the
ListAppVersionResourcesRequest.Builderavoiding the need to create one manually viaListAppVersionResourcesRequest.builder()- Parameters:
listAppVersionResourcesRequest- AConsumerthat will call methods onListAppVersionResourcesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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.Builderavoiding the need to create one manually viaListAppVersionsRequest.builder()- Parameters:
listAppVersionsRequest- AConsumerthat will call methods onListAppVersionsRequest.Builderto create a request.- Returns:
- Result of the ListAppVersions operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsIterable responses = client.listAppVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsIterable responses = client .listAppVersionsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsIterable responses = client.listAppVersionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest)operation.- Parameters:
listAppVersionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsIterable responses = client.listAppVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsIterable responses = client .listAppVersionsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppVersionsIterable responses = client.listAppVersionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAppVersions(software.amazon.awssdk.services.resiliencehub.model.ListAppVersionsRequest)operation.
This is a convenience which creates an instance of the
ListAppVersionsRequest.Builderavoiding the need to create one manually viaListAppVersionsRequest.builder()- Parameters:
listAppVersionsRequest- AConsumerthat will call methods onListAppVersionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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.Builderavoiding the need to create one manually viaListAppsRequest.builder()- Parameters:
listAppsRequest- AConsumerthat will call methods onListAppsRequest.Builderto create a request.- Returns:
- Result of the ListApps operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppsIterable responses = client.listAppsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppsIterable responses = client.listAppsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppsIterable responses = client.listAppsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest)operation.- Parameters:
listAppsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppsIterable responses = client.listAppsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListAppsIterable responses = client.listAppsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListAppsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListAppsIterable responses = client.listAppsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listApps(software.amazon.awssdk.services.resiliencehub.model.ListAppsRequest)operation.
This is a convenience which creates an instance of the
ListAppsRequest.Builderavoiding the need to create one manually viaListAppsRequest.builder()- Parameters:
listAppsRequest- AConsumerthat will call methods onListAppsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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.Builderavoiding the need to create one manually viaListRecommendationTemplatesRequest.builder()- Parameters:
listRecommendationTemplatesRequest- AConsumerthat will call methods onListRecommendationTemplatesRequest.Builderto create a request.- Returns:
- Result of the ListRecommendationTemplates operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesIterable responses = client.listRecommendationTemplatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesIterable responses = client .listRecommendationTemplatesPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesIterable responses = client.listRecommendationTemplatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest)operation.- Parameters:
listRecommendationTemplatesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesIterable responses = client.listRecommendationTemplatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesIterable responses = client .listRecommendationTemplatesPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListRecommendationTemplatesIterable responses = client.listRecommendationTemplatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRecommendationTemplates(software.amazon.awssdk.services.resiliencehub.model.ListRecommendationTemplatesRequest)operation.
This is a convenience which creates an instance of the
ListRecommendationTemplatesRequest.Builderavoiding the need to create one manually viaListRecommendationTemplatesRequest.builder()- Parameters:
listRecommendationTemplatesRequest- AConsumerthat will call methods onListRecommendationTemplatesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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.Builderavoiding the need to create one manually viaListResiliencyPoliciesRequest.builder()- Parameters:
listResiliencyPoliciesRequest- AConsumerthat will call methods onListResiliencyPoliciesRequest.Builderto create a request.- Returns:
- Result of the ListResiliencyPolicies operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesIterable responses = client.listResiliencyPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesIterable responses = client .listResiliencyPoliciesPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesIterable responses = client.listResiliencyPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest)operation.- Parameters:
listResiliencyPoliciesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesIterable responses = client.listResiliencyPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesIterable responses = client .listResiliencyPoliciesPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListResiliencyPoliciesIterable responses = client.listResiliencyPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListResiliencyPoliciesRequest)operation.
This is a convenience which creates an instance of the
ListResiliencyPoliciesRequest.Builderavoiding the need to create one manually viaListResiliencyPoliciesRequest.builder()- Parameters:
listResiliencyPoliciesRequest- AConsumerthat will call methods onListResiliencyPoliciesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listResourceGroupingRecommendations
default ListResourceGroupingRecommendationsResponse listResourceGroupingRecommendations(ListResourceGroupingRecommendationsRequest listResourceGroupingRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException Lists the resource grouping recommendations suggested by Resilience Hub for your application.
- Parameters:
listResourceGroupingRecommendationsRequest-- Returns:
- Result of the ListResourceGroupingRecommendations operation returned by the service.
- See Also:
-
listResourceGroupingRecommendations
default ListResourceGroupingRecommendationsResponse listResourceGroupingRecommendations(Consumer<ListResourceGroupingRecommendationsRequest.Builder> listResourceGroupingRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException Lists the resource grouping recommendations suggested by Resilience Hub for your application.
This is a convenience which creates an instance of the
ListResourceGroupingRecommendationsRequest.Builderavoiding the need to create one manually viaListResourceGroupingRecommendationsRequest.builder()- Parameters:
listResourceGroupingRecommendationsRequest- AConsumerthat will call methods onListResourceGroupingRecommendationsRequest.Builderto create a request.- Returns:
- Result of the ListResourceGroupingRecommendations operation returned by the service.
- See Also:
-
listResourceGroupingRecommendationsPaginator
default ListResourceGroupingRecommendationsIterable listResourceGroupingRecommendationsPaginator(ListResourceGroupingRecommendationsRequest listResourceGroupingRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException This is a variant of
listResourceGroupingRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListResourceGroupingRecommendationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListResourceGroupingRecommendationsIterable responses = client.listResourceGroupingRecommendationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListResourceGroupingRecommendationsIterable responses = client .listResourceGroupingRecommendationsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListResourceGroupingRecommendationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListResourceGroupingRecommendationsIterable responses = client.listResourceGroupingRecommendationsPaginator(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
listResourceGroupingRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListResourceGroupingRecommendationsRequest)operation.- Parameters:
listResourceGroupingRecommendationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listResourceGroupingRecommendationsPaginator
default ListResourceGroupingRecommendationsIterable listResourceGroupingRecommendationsPaginator(Consumer<ListResourceGroupingRecommendationsRequest.Builder> listResourceGroupingRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException This is a variant of
listResourceGroupingRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListResourceGroupingRecommendationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListResourceGroupingRecommendationsIterable responses = client.listResourceGroupingRecommendationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListResourceGroupingRecommendationsIterable responses = client .listResourceGroupingRecommendationsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListResourceGroupingRecommendationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListResourceGroupingRecommendationsIterable responses = client.listResourceGroupingRecommendationsPaginator(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
listResourceGroupingRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListResourceGroupingRecommendationsRequest)operation.
This is a convenience which creates an instance of the
ListResourceGroupingRecommendationsRequest.Builderavoiding the need to create one manually viaListResourceGroupingRecommendationsRequest.builder()- Parameters:
listResourceGroupingRecommendationsRequest- AConsumerthat will call methods onListResourceGroupingRecommendationsRequest.Builderto 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.Builderavoiding the need to create one manually viaListSopRecommendationsRequest.builder()- Parameters:
listSopRecommendationsRequest- AConsumerthat will call methods onListSopRecommendationsRequest.Builderto create a request.- Returns:
- Result of the ListSopRecommendations operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsIterable responses = client.listSopRecommendationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsIterable responses = client .listSopRecommendationsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsIterable responses = client.listSopRecommendationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest)operation.- Parameters:
listSopRecommendationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsIterable responses = client.listSopRecommendationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsIterable responses = client .listSopRecommendationsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListSopRecommendationsIterable responses = client.listSopRecommendationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSopRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListSopRecommendationsRequest)operation.
This is a convenience which creates an instance of the
ListSopRecommendationsRequest.Builderavoiding the need to create one manually viaListSopRecommendationsRequest.builder()- Parameters:
listSopRecommendationsRequest- AConsumerthat will call methods onListSopRecommendationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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.Builderavoiding the need to create one manually viaListSuggestedResiliencyPoliciesRequest.builder()- Parameters:
listSuggestedResiliencyPoliciesRequest- AConsumerthat will call methods onListSuggestedResiliencyPoliciesRequest.Builderto create a request.- Returns:
- Result of the ListSuggestedResiliencyPolicies operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesIterable responses = client.listSuggestedResiliencyPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesIterable responses = client .listSuggestedResiliencyPoliciesPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesIterable responses = client.listSuggestedResiliencyPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest)operation.- Parameters:
listSuggestedResiliencyPoliciesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesIterable responses = client.listSuggestedResiliencyPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesIterable responses = client .listSuggestedResiliencyPoliciesPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListSuggestedResiliencyPoliciesIterable responses = client.listSuggestedResiliencyPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSuggestedResiliencyPolicies(software.amazon.awssdk.services.resiliencehub.model.ListSuggestedResiliencyPoliciesRequest)operation.
This is a convenience which creates an instance of the
ListSuggestedResiliencyPoliciesRequest.Builderavoiding the need to create one manually viaListSuggestedResiliencyPoliciesRequest.builder()- Parameters:
listSuggestedResiliencyPoliciesRequest- AConsumerthat will call methods onListSuggestedResiliencyPoliciesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- 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.Builderavoiding the need to create one manually viaListTestRecommendationsRequest.builder()- Parameters:
listTestRecommendationsRequest- AConsumerthat will call methods onListTestRecommendationsRequest.Builderto create a request.- Returns:
- Result of the ListTestRecommendations operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsIterable responses = client.listTestRecommendationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsIterable responses = client .listTestRecommendationsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsIterable responses = client.listTestRecommendationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest)operation.- Parameters:
listTestRecommendationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsIterable responses = client.listTestRecommendationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsIterable responses = client .listTestRecommendationsPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListTestRecommendationsIterable responses = client.listTestRecommendationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTestRecommendations(software.amazon.awssdk.services.resiliencehub.model.ListTestRecommendationsRequest)operation.
This is a convenience which creates an instance of the
ListTestRecommendationsRequest.Builderavoiding the need to create one manually viaListTestRecommendationsRequest.builder()- Parameters:
listTestRecommendationsRequest- AConsumerthat will call methods onListTestRecommendationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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.Builderavoiding the need to create one manually viaListUnsupportedAppVersionResourcesRequest.builder()- Parameters:
listUnsupportedAppVersionResourcesRequest- AConsumerthat will call methods onListUnsupportedAppVersionResourcesRequest.Builderto create a request.- Returns:
- Result of the ListUnsupportedAppVersionResources operation returned by the service.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesIterable responses = client.listUnsupportedAppVersionResourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesIterable responses = client .listUnsupportedAppVersionResourcesPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesIterable responses = client.listUnsupportedAppVersionResourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest)operation.- Parameters:
listUnsupportedAppVersionResourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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 Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesIterable responses = client.listUnsupportedAppVersionResourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesIterable responses = client .listUnsupportedAppVersionResourcesPaginator(request); for (software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehub.paginators.ListUnsupportedAppVersionResourcesIterable responses = client.listUnsupportedAppVersionResourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUnsupportedAppVersionResources(software.amazon.awssdk.services.resiliencehub.model.ListUnsupportedAppVersionResourcesRequest)operation.
This is a convenience which creates an instance of the
ListUnsupportedAppVersionResourcesRequest.Builderavoiding the need to create one manually viaListUnsupportedAppVersionResourcesRequest.builder()- Parameters:
listUnsupportedAppVersionResourcesRequest- AConsumerthat will call methods onListUnsupportedAppVersionResourcesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- 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.Builderavoiding the need to create one manually viaPublishAppVersionRequest.builder()- Parameters:
publishAppVersionRequest- AConsumerthat will call methods onPublishAppVersionRequest.Builderto create a request.- Returns:
- Result of the PublishAppVersion operation returned by the service.
- 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.Builderavoiding the need to create one manually viaPutDraftAppVersionTemplateRequest.builder()- Parameters:
putDraftAppVersionTemplateRequest- AConsumerthat will call methods onPutDraftAppVersionTemplateRequest.Builderto create a request.- Returns:
- Result of the PutDraftAppVersionTemplate operation returned by the service.
- See Also:
-
rejectResourceGroupingRecommendations
default RejectResourceGroupingRecommendationsResponse rejectResourceGroupingRecommendations(RejectResourceGroupingRecommendationsRequest rejectResourceGroupingRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException Rejects resource grouping recommendations.
- Parameters:
rejectResourceGroupingRecommendationsRequest-- Returns:
- Result of the RejectResourceGroupingRecommendations operation returned by the service.
- See Also:
-
rejectResourceGroupingRecommendations
default RejectResourceGroupingRecommendationsResponse rejectResourceGroupingRecommendations(Consumer<RejectResourceGroupingRecommendationsRequest.Builder> rejectResourceGroupingRecommendationsRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException Rejects resource grouping recommendations.
This is a convenience which creates an instance of the
RejectResourceGroupingRecommendationsRequest.Builderavoiding the need to create one manually viaRejectResourceGroupingRecommendationsRequest.builder()- Parameters:
rejectResourceGroupingRecommendationsRequest- AConsumerthat will call methods onRejectResourceGroupingRecommendationsRequest.Builderto create a request.- Returns:
- Result of the RejectResourceGroupingRecommendations 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.Builderavoiding the need to create one manually viaRemoveDraftAppVersionResourceMappingsRequest.builder()- Parameters:
removeDraftAppVersionResourceMappingsRequest- AConsumerthat will call methods onRemoveDraftAppVersionResourceMappingsRequest.Builderto create a request.- Returns:
- Result of the RemoveDraftAppVersionResourceMappings operation returned by the service.
- 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.Builderavoiding the need to create one manually viaResolveAppVersionResourcesRequest.builder()- Parameters:
resolveAppVersionResourcesRequest- AConsumerthat will call methods onResolveAppVersionResourcesRequest.Builderto create a request.- Returns:
- Result of the ResolveAppVersionResources operation returned by the service.
- 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.Builderavoiding the need to create one manually viaStartAppAssessmentRequest.builder()- Parameters:
startAppAssessmentRequest- AConsumerthat will call methods onStartAppAssessmentRequest.Builderto create a request.- Returns:
- Result of the StartAppAssessment operation returned by the service.
- See Also:
-
startResourceGroupingRecommendationTask
default StartResourceGroupingRecommendationTaskResponse startResourceGroupingRecommendationTask(StartResourceGroupingRecommendationTaskRequest startResourceGroupingRecommendationTaskRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException Starts grouping recommendation task.
- Parameters:
startResourceGroupingRecommendationTaskRequest-- Returns:
- Result of the StartResourceGroupingRecommendationTask operation returned by the service.
- See Also:
-
startResourceGroupingRecommendationTask
default StartResourceGroupingRecommendationTaskResponse startResourceGroupingRecommendationTask(Consumer<StartResourceGroupingRecommendationTaskRequest.Builder> startResourceGroupingRecommendationTaskRequest) throws InternalServerException, ResourceNotFoundException, ConflictException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, ResiliencehubException Starts grouping recommendation task.
This is a convenience which creates an instance of the
StartResourceGroupingRecommendationTaskRequest.Builderavoiding the need to create one manually viaStartResourceGroupingRecommendationTaskRequest.builder()- Parameters:
startResourceGroupingRecommendationTaskRequest- AConsumerthat will call methods onStartResourceGroupingRecommendationTaskRequest.Builderto create a request.- Returns:
- Result of the StartResourceGroupingRecommendationTask 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- 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.Builderavoiding the need to create one manually viaUpdateAppRequest.builder()- Parameters:
updateAppRequest- AConsumerthat will call methods onUpdateAppRequest.Builderto create a request.- Returns:
- Result of the UpdateApp operation returned by the service.
- 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
PublishAppVersionAPI.- 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
PublishAppVersionAPI.
This is a convenience which creates an instance of the
UpdateAppVersionRequest.Builderavoiding the need to create one manually viaUpdateAppVersionRequest.builder()- Parameters:
updateAppVersionRequest- AConsumerthat will call methods onUpdateAppVersionRequest.Builderto create a request.- Returns:
- Result of the UpdateAppVersion operation returned by the service.
- 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
PublishAppVersionAPI.- 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
PublishAppVersionAPI.
This is a convenience which creates an instance of the
UpdateAppVersionAppComponentRequest.Builderavoiding the need to create one manually viaUpdateAppVersionAppComponentRequest.builder()- Parameters:
updateAppVersionAppComponentRequest- AConsumerthat will call methods onUpdateAppVersionAppComponentRequest.Builderto create a request.- Returns:
- Result of the UpdateAppVersionAppComponent operation returned by the service.
- 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
PublishAppVersionAPI. -
To update application version with new
physicalResourceID, you must callResolveAppVersionResourcesAPI.
- 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
PublishAppVersionAPI. -
To update application version with new
physicalResourceID, you must callResolveAppVersionResourcesAPI.
This is a convenience which creates an instance of the
UpdateAppVersionResourceRequest.Builderavoiding the need to create one manually viaUpdateAppVersionResourceRequest.builder()- Parameters:
updateAppVersionResourceRequest- AConsumerthat will call methods onUpdateAppVersionResourceRequest.Builderto create a request.- Returns:
- Result of the UpdateAppVersionResource operation returned by the service.
- 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
rtoInSecsandrpoInSecsof your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero forrtoInSecsandrpoInSecs, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.- Parameters:
updateResiliencyPolicyRequest-- Returns:
- Result of the UpdateResiliencyPolicy operation returned by the service.
- 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
rtoInSecsandrpoInSecsof your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero forrtoInSecsandrpoInSecs, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.
This is a convenience which creates an instance of the
UpdateResiliencyPolicyRequest.Builderavoiding the need to create one manually viaUpdateResiliencyPolicyRequest.builder()- Parameters:
updateResiliencyPolicyRequest- AConsumerthat will call methods onUpdateResiliencyPolicyRequest.Builderto create a request.- Returns:
- Result of the UpdateResiliencyPolicy operation returned by the service.
- See Also:
-
create
Create aResiliencehubClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aResiliencehubClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-