Interface Resiliencehubv2AsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
The next generation of AWS Resilience Hub is the single location in AWS where you assess and improve the resilience of your critical applications. It helps Site Reliability Engineers (SREs) and development teams proactively reason about resilience at scale — identifying failure modes, discovering hidden dependencies, and report on progress across the enterprise.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that can be used to configure and create aResiliencehubv2AsyncClient.static Resiliencehubv2AsyncClientcreate()Create aResiliencehubv2AsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateAssertionResponse> createAssertion(Consumer<CreateAssertionRequest.Builder> createAssertionRequest) Creates a resilience assertion for a service.default CompletableFuture<CreateAssertionResponse> createAssertion(CreateAssertionRequest createAssertionRequest) Creates a resilience assertion for a service.createInputSource(Consumer<CreateInputSourceRequest.Builder> createInputSourceRequest) Creates an input source for a service.createInputSource(CreateInputSourceRequest createInputSourceRequest) Creates an input source for a service.default CompletableFuture<CreatePolicyResponse> createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest) Creates a resilience policy that defines availability and disaster recovery requirements.default CompletableFuture<CreatePolicyResponse> createPolicy(CreatePolicyRequest createPolicyRequest) Creates a resilience policy that defines availability and disaster recovery requirements.default CompletableFuture<CreateReportResponse> createReport(Consumer<CreateReportRequest.Builder> createReportRequest) On-demand report creation.default CompletableFuture<CreateReportResponse> createReport(CreateReportRequest createReportRequest) On-demand report creation.default CompletableFuture<CreateServiceResponse> createService(Consumer<CreateServiceRequest.Builder> createServiceRequest) Creates a service.default CompletableFuture<CreateServiceResponse> createService(CreateServiceRequest createServiceRequest) Creates a service.createServiceFunction(Consumer<CreateServiceFunctionRequest.Builder> createServiceFunctionRequest) Creates a service function within a service.createServiceFunction(CreateServiceFunctionRequest createServiceFunctionRequest) Creates a service function within a service.createServiceFunctionResources(Consumer<CreateServiceFunctionResourcesRequest.Builder> createServiceFunctionResourcesRequest) Associates resources with a service function.createServiceFunctionResources(CreateServiceFunctionResourcesRequest createServiceFunctionResourcesRequest) Associates resources with a service function.default CompletableFuture<CreateSystemResponse> createSystem(Consumer<CreateSystemRequest.Builder> createSystemRequest) Creates a system that represents a logical grouping of services.default CompletableFuture<CreateSystemResponse> createSystem(CreateSystemRequest createSystemRequest) Creates a system that represents a logical grouping of services.createUserJourney(Consumer<CreateUserJourneyRequest.Builder> createUserJourneyRequest) Creates a user journey within a system.createUserJourney(CreateUserJourneyRequest createUserJourneyRequest) Creates a user journey within a system.default CompletableFuture<DeleteAssertionResponse> deleteAssertion(Consumer<DeleteAssertionRequest.Builder> deleteAssertionRequest) Deletes a resilience assertion from a service.default CompletableFuture<DeleteAssertionResponse> deleteAssertion(DeleteAssertionRequest deleteAssertionRequest) Deletes a resilience assertion from a service.deleteInputSource(Consumer<DeleteInputSourceRequest.Builder> deleteInputSourceRequest) Deletes an input source.deleteInputSource(DeleteInputSourceRequest deleteInputSourceRequest) Deletes an input source.default CompletableFuture<DeletePolicyResponse> deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) Deletes a resilience policy.default CompletableFuture<DeletePolicyResponse> deletePolicy(DeletePolicyRequest deletePolicyRequest) Deletes a resilience policy.default CompletableFuture<DeleteServiceResponse> deleteService(Consumer<DeleteServiceRequest.Builder> deleteServiceRequest) Deletes a service.default CompletableFuture<DeleteServiceResponse> deleteService(DeleteServiceRequest deleteServiceRequest) Deletes a service.deleteServiceFunction(Consumer<DeleteServiceFunctionRequest.Builder> deleteServiceFunctionRequest) Deletes a service function.deleteServiceFunction(DeleteServiceFunctionRequest deleteServiceFunctionRequest) Deletes a service function.deleteServiceFunctionResources(Consumer<DeleteServiceFunctionResourcesRequest.Builder> deleteServiceFunctionResourcesRequest) Removes resources from a service function.deleteServiceFunctionResources(DeleteServiceFunctionResourcesRequest deleteServiceFunctionResourcesRequest) Removes resources from a service function.default CompletableFuture<DeleteSystemResponse> deleteSystem(Consumer<DeleteSystemRequest.Builder> deleteSystemRequest) Deletes a system.default CompletableFuture<DeleteSystemResponse> deleteSystem(DeleteSystemRequest deleteSystemRequest) Deletes a system.deleteUserJourney(Consumer<DeleteUserJourneyRequest.Builder> deleteUserJourneyRequest) Deletes a user journey.deleteUserJourney(DeleteUserJourneyRequest deleteUserJourneyRequest) Deletes a user journey.getFailureModeFinding(Consumer<GetFailureModeFindingRequest.Builder> getFailureModeFindingRequest) Retrieves a finding by findingId.getFailureModeFinding(GetFailureModeFindingRequest getFailureModeFindingRequest) Retrieves a finding by findingId.default CompletableFuture<GetPolicyResponse> getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) Retrieves a resilience policy by ARN.default CompletableFuture<GetPolicyResponse> getPolicy(GetPolicyRequest getPolicyRequest) Retrieves a resilience policy by ARN.default CompletableFuture<GetServiceResponse> getService(Consumer<GetServiceRequest.Builder> getServiceRequest) Retrieves a service by ARN.default CompletableFuture<GetServiceResponse> getService(GetServiceRequest getServiceRequest) Retrieves a service by ARN.default CompletableFuture<GetSystemResponse> getSystem(Consumer<GetSystemRequest.Builder> getSystemRequest) Retrieves a system by ARN.default CompletableFuture<GetSystemResponse> getSystem(GetSystemRequest getSystemRequest) Retrieves a system by ARN.default CompletableFuture<GetUserJourneyResponse> getUserJourney(Consumer<GetUserJourneyRequest.Builder> getUserJourneyRequest) Retrieves a user journey.default CompletableFuture<GetUserJourneyResponse> getUserJourney(GetUserJourneyRequest getUserJourneyRequest) Retrieves a user journey.default CompletableFuture<ImportAppResponse> importApp(Consumer<ImportAppRequest.Builder> importAppRequest) Imports a V1 app into the V2 resource model, creating a service with the same name.default CompletableFuture<ImportAppResponse> importApp(ImportAppRequest importAppRequest) Imports a V1 app into the V2 resource model, creating a service with the same name.default CompletableFuture<ImportPolicyResponse> importPolicy(Consumer<ImportPolicyRequest.Builder> importPolicyRequest) Imports a V1 policy into V2, mapping RTO/RPO values from V1 scenarios.default CompletableFuture<ImportPolicyResponse> importPolicy(ImportPolicyRequest importPolicyRequest) Imports a V1 policy into V2, mapping RTO/RPO values from V1 scenarios.default CompletableFuture<ListAssertionsResponse> listAssertions(Consumer<ListAssertionsRequest.Builder> listAssertionsRequest) Lists resilience assertions for a service.default CompletableFuture<ListAssertionsResponse> listAssertions(ListAssertionsRequest listAssertionsRequest) Lists resilience assertions for a service.default ListAssertionsPublisherlistAssertionsPaginator(Consumer<ListAssertionsRequest.Builder> listAssertionsRequest) This is a variant oflistAssertions(software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsRequest)operation.default ListAssertionsPublisherlistAssertionsPaginator(ListAssertionsRequest listAssertionsRequest) This is a variant oflistAssertions(software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsRequest)operation.listDependencies(Consumer<ListDependenciesRequest.Builder> listDependenciesRequest) Lists dependencies discovered for services.listDependencies(ListDependenciesRequest listDependenciesRequest) Lists dependencies discovered for services.default ListDependenciesPublisherlistDependenciesPaginator(Consumer<ListDependenciesRequest.Builder> listDependenciesRequest) This is a variant oflistDependencies(software.amazon.awssdk.services.resiliencehubv2.model.ListDependenciesRequest)operation.default ListDependenciesPublisherlistDependenciesPaginator(ListDependenciesRequest listDependenciesRequest) This is a variant oflistDependencies(software.amazon.awssdk.services.resiliencehubv2.model.ListDependenciesRequest)operation.listFailureModeAssessments(Consumer<ListFailureModeAssessmentsRequest.Builder> listFailureModeAssessmentsRequest) Lists failure mode assessments.listFailureModeAssessments(ListFailureModeAssessmentsRequest listFailureModeAssessmentsRequest) Lists failure mode assessments.listFailureModeAssessmentsPaginator(Consumer<ListFailureModeAssessmentsRequest.Builder> listFailureModeAssessmentsRequest) This is a variant oflistFailureModeAssessments(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeAssessmentsRequest)operation.listFailureModeAssessmentsPaginator(ListFailureModeAssessmentsRequest listFailureModeAssessmentsRequest) This is a variant oflistFailureModeAssessments(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeAssessmentsRequest)operation.listFailureModeFindings(Consumer<ListFailureModeFindingsRequest.Builder> listFailureModeFindingsRequest) List findings.listFailureModeFindings(ListFailureModeFindingsRequest listFailureModeFindingsRequest) List findings.default ListFailureModeFindingsPublisherlistFailureModeFindingsPaginator(Consumer<ListFailureModeFindingsRequest.Builder> listFailureModeFindingsRequest) This is a variant oflistFailureModeFindings(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsRequest)operation.default ListFailureModeFindingsPublisherlistFailureModeFindingsPaginator(ListFailureModeFindingsRequest listFailureModeFindingsRequest) This is a variant oflistFailureModeFindings(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsRequest)operation.listInputSources(Consumer<ListInputSourcesRequest.Builder> listInputSourcesRequest) Lists input sources for a service.listInputSources(ListInputSourcesRequest listInputSourcesRequest) Lists input sources for a service.default ListInputSourcesPublisherlistInputSourcesPaginator(Consumer<ListInputSourcesRequest.Builder> listInputSourcesRequest) This is a variant oflistInputSources(software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesRequest)operation.default ListInputSourcesPublisherlistInputSourcesPaginator(ListInputSourcesRequest listInputSourcesRequest) This is a variant oflistInputSources(software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesRequest)operation.default CompletableFuture<ListPoliciesResponse> listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) Lists resilience policies.default CompletableFuture<ListPoliciesResponse> listPolicies(ListPoliciesRequest listPoliciesRequest) Lists resilience policies.default ListPoliciesPublisherlistPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) This is a variant oflistPolicies(software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesRequest)operation.default ListPoliciesPublisherlistPoliciesPaginator(ListPoliciesRequest listPoliciesRequest) This is a variant oflistPolicies(software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesRequest)operation.default CompletableFuture<ListReportsResponse> listReports(Consumer<ListReportsRequest.Builder> listReportsRequest) List reports for a service, or all reports owned by the account if serviceArn is not provided.default CompletableFuture<ListReportsResponse> listReports(ListReportsRequest listReportsRequest) List reports for a service, or all reports owned by the account if serviceArn is not provided.default ListReportsPublisherlistReportsPaginator(Consumer<ListReportsRequest.Builder> listReportsRequest) This is a variant oflistReports(software.amazon.awssdk.services.resiliencehubv2.model.ListReportsRequest)operation.default ListReportsPublisherlistReportsPaginator(ListReportsRequest listReportsRequest) This is a variant oflistReports(software.amazon.awssdk.services.resiliencehubv2.model.ListReportsRequest)operation.default CompletableFuture<ListResourcesResponse> listResources(Consumer<ListResourcesRequest.Builder> listResourcesRequest) List resources.default CompletableFuture<ListResourcesResponse> listResources(ListResourcesRequest listResourcesRequest) List resources.default ListResourcesPublisherlistResourcesPaginator(Consumer<ListResourcesRequest.Builder> listResourcesRequest) This is a variant oflistResources(software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesRequest)operation.default ListResourcesPublisherlistResourcesPaginator(ListResourcesRequest listResourcesRequest) This is a variant oflistResources(software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesRequest)operation.listServiceEvents(Consumer<ListServiceEventsRequest.Builder> listServiceEventsRequest) Lists events for a service.listServiceEvents(ListServiceEventsRequest listServiceEventsRequest) Lists events for a service.default ListServiceEventsPublisherlistServiceEventsPaginator(Consumer<ListServiceEventsRequest.Builder> listServiceEventsRequest) This is a variant oflistServiceEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsRequest)operation.default ListServiceEventsPublisherlistServiceEventsPaginator(ListServiceEventsRequest listServiceEventsRequest) This is a variant oflistServiceEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsRequest)operation.listServiceFunctions(Consumer<ListServiceFunctionsRequest.Builder> listServiceFunctionsRequest) Lists service functions for a service.listServiceFunctions(ListServiceFunctionsRequest listServiceFunctionsRequest) Lists service functions for a service.default ListServiceFunctionsPublisherlistServiceFunctionsPaginator(Consumer<ListServiceFunctionsRequest.Builder> listServiceFunctionsRequest) This is a variant oflistServiceFunctions(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsRequest)operation.default ListServiceFunctionsPublisherlistServiceFunctionsPaginator(ListServiceFunctionsRequest listServiceFunctionsRequest) This is a variant oflistServiceFunctions(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsRequest)operation.default CompletableFuture<ListServicesResponse> listServices(Consumer<ListServicesRequest.Builder> listServicesRequest) Lists services.default CompletableFuture<ListServicesResponse> listServices(ListServicesRequest listServicesRequest) Lists services.default ListServicesPublisherlistServicesPaginator(Consumer<ListServicesRequest.Builder> listServicesRequest) This is a variant oflistServices(software.amazon.awssdk.services.resiliencehubv2.model.ListServicesRequest)operation.default ListServicesPublisherlistServicesPaginator(ListServicesRequest listServicesRequest) This is a variant oflistServices(software.amazon.awssdk.services.resiliencehubv2.model.ListServicesRequest)operation.listServiceTopologyEdges(Consumer<ListServiceTopologyEdgesRequest.Builder> listServiceTopologyEdgesRequest) Lists topology edges for a service.listServiceTopologyEdges(ListServiceTopologyEdgesRequest listServiceTopologyEdgesRequest) Lists topology edges for a service.listServiceTopologyEdgesPaginator(Consumer<ListServiceTopologyEdgesRequest.Builder> listServiceTopologyEdgesRequest) This is a variant oflistServiceTopologyEdges(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesRequest)operation.listServiceTopologyEdgesPaginator(ListServiceTopologyEdgesRequest listServiceTopologyEdgesRequest) This is a variant oflistServiceTopologyEdges(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesRequest)operation.listSystemEvents(Consumer<ListSystemEventsRequest.Builder> listSystemEventsRequest) Lists events for a system.listSystemEvents(ListSystemEventsRequest listSystemEventsRequest) Lists events for a system.default ListSystemEventsPublisherlistSystemEventsPaginator(Consumer<ListSystemEventsRequest.Builder> listSystemEventsRequest) This is a variant oflistSystemEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsRequest)operation.default ListSystemEventsPublisherlistSystemEventsPaginator(ListSystemEventsRequest listSystemEventsRequest) This is a variant oflistSystemEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsRequest)operation.default CompletableFuture<ListSystemsResponse> listSystems(Consumer<ListSystemsRequest.Builder> listSystemsRequest) Lists systems.default CompletableFuture<ListSystemsResponse> listSystems(ListSystemsRequest listSystemsRequest) Lists systems.default ListSystemsPublisherlistSystemsPaginator(Consumer<ListSystemsRequest.Builder> listSystemsRequest) This is a variant oflistSystems(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsRequest)operation.default ListSystemsPublisherlistSystemsPaginator(ListSystemsRequest listSystemsRequest) This is a variant oflistSystems(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for a resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for a resource.listUserJourneys(Consumer<ListUserJourneysRequest.Builder> listUserJourneysRequest) Lists user journeys for a system.listUserJourneys(ListUserJourneysRequest listUserJourneysRequest) Lists user journeys for a system.default ListUserJourneysPublisherlistUserJourneysPaginator(Consumer<ListUserJourneysRequest.Builder> listUserJourneysRequest) This is a variant oflistUserJourneys(software.amazon.awssdk.services.resiliencehubv2.model.ListUserJourneysRequest)operation.default ListUserJourneysPublisherlistUserJourneysPaginator(ListUserJourneysRequest listUserJourneysRequest) This is a variant oflistUserJourneys(software.amazon.awssdk.services.resiliencehubv2.model.ListUserJourneysRequest)operation.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartFailureModeAssessment(Consumer<StartFailureModeAssessmentRequest.Builder> startFailureModeAssessmentRequest) Start a failure mode assessment.startFailureModeAssessment(StartFailureModeAssessmentRequest startFailureModeAssessmentRequest) Start a failure mode assessment.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds tags to a resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a resource.default CompletableFuture<UpdateAssertionResponse> updateAssertion(Consumer<UpdateAssertionRequest.Builder> updateAssertionRequest) Updates a resilience assertion.default CompletableFuture<UpdateAssertionResponse> updateAssertion(UpdateAssertionRequest updateAssertionRequest) Updates a resilience assertion.updateDependency(Consumer<UpdateDependencyRequest.Builder> updateDependencyRequest) Updates a dependency classification.updateDependency(UpdateDependencyRequest updateDependencyRequest) Updates a dependency classification.updateFailureModeFinding(Consumer<UpdateFailureModeFindingRequest.Builder> updateFailureModeFindingRequest) Updates an existing finding.updateFailureModeFinding(UpdateFailureModeFindingRequest updateFailureModeFindingRequest) Updates an existing finding.default CompletableFuture<UpdatePolicyResponse> updatePolicy(Consumer<UpdatePolicyRequest.Builder> updatePolicyRequest) Updates an existing resilience policy.default CompletableFuture<UpdatePolicyResponse> updatePolicy(UpdatePolicyRequest updatePolicyRequest) Updates an existing resilience policy.default CompletableFuture<UpdateServiceResponse> updateService(Consumer<UpdateServiceRequest.Builder> updateServiceRequest) Updates an existing service.default CompletableFuture<UpdateServiceResponse> updateService(UpdateServiceRequest updateServiceRequest) Updates an existing service.updateServiceFunction(Consumer<UpdateServiceFunctionRequest.Builder> updateServiceFunctionRequest) Updates a service function.updateServiceFunction(UpdateServiceFunctionRequest updateServiceFunctionRequest) Updates a service function.default CompletableFuture<UpdateSystemResponse> updateSystem(Consumer<UpdateSystemRequest.Builder> updateSystemRequest) Updates an existing system.default CompletableFuture<UpdateSystemResponse> updateSystem(UpdateSystemRequest updateSystemRequest) Updates an existing system.updateUserJourney(Consumer<UpdateUserJourneyRequest.Builder> updateUserJourneyRequest) Updates an existing user journey.updateUserJourney(UpdateUserJourneyRequest updateUserJourneyRequest) Updates an existing user journey.default Resiliencehubv2AsyncWaiterwaiter()Create an instance ofResiliencehubv2AsyncWaiterusing this client.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
-
createAssertion
default CompletableFuture<CreateAssertionResponse> createAssertion(CreateAssertionRequest createAssertionRequest) Creates a resilience assertion for a service.
- Parameters:
createAssertionRequest-- Returns:
- A Java Future containing the result of the CreateAssertion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ServiceQuotaExceededException Service quota exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAssertion
default CompletableFuture<CreateAssertionResponse> createAssertion(Consumer<CreateAssertionRequest.Builder> createAssertionRequest) Creates a resilience assertion for a service.
This is a convenience which creates an instance of the
CreateAssertionRequest.Builderavoiding the need to create one manually viaCreateAssertionRequest.builder()- Parameters:
createAssertionRequest- AConsumerthat will call methods onCreateAssertionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateAssertion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ServiceQuotaExceededException Service quota exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createInputSource
default CompletableFuture<CreateInputSourceResponse> createInputSource(CreateInputSourceRequest createInputSourceRequest) Creates an input source for a service.
- Parameters:
createInputSourceRequest-- Returns:
- A Java Future containing the result of the CreateInputSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ServiceQuotaExceededException Service quota exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createInputSource
default CompletableFuture<CreateInputSourceResponse> createInputSource(Consumer<CreateInputSourceRequest.Builder> createInputSourceRequest) Creates an input source for a service.
This is a convenience which creates an instance of the
CreateInputSourceRequest.Builderavoiding the need to create one manually viaCreateInputSourceRequest.builder()- Parameters:
createInputSourceRequest- AConsumerthat will call methods onCreateInputSourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateInputSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ServiceQuotaExceededException Service quota exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPolicy
default CompletableFuture<CreatePolicyResponse> createPolicy(CreatePolicyRequest createPolicyRequest) Creates a resilience policy that defines availability and disaster recovery requirements.
- Parameters:
createPolicyRequest-- Returns:
- A Java Future containing the result of the CreatePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ServiceQuotaExceededException Service quota exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPolicy
default CompletableFuture<CreatePolicyResponse> createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest) Creates a resilience policy that defines availability and disaster recovery requirements.
This is a convenience which creates an instance of the
CreatePolicyRequest.Builderavoiding the need to create one manually viaCreatePolicyRequest.builder()- Parameters:
createPolicyRequest- AConsumerthat will call methods onCreatePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreatePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ServiceQuotaExceededException Service quota exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReport
default CompletableFuture<CreateReportResponse> createReport(CreateReportRequest createReportRequest) On-demand report creation. Idempotent — duplicate requests with same clientToken return existing result.
- Parameters:
createReportRequest-- Returns:
- A Java Future containing the result of the CreateReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ThrottlingException Too many requests — rate limit exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createReport
default CompletableFuture<CreateReportResponse> createReport(Consumer<CreateReportRequest.Builder> createReportRequest) On-demand report creation. Idempotent — duplicate requests with same clientToken return existing result.
This is a convenience which creates an instance of the
CreateReportRequest.Builderavoiding the need to create one manually viaCreateReportRequest.builder()- Parameters:
createReportRequest- AConsumerthat will call methods onCreateReportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ThrottlingException Too many requests — rate limit exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createService
default CompletableFuture<CreateServiceResponse> createService(CreateServiceRequest createServiceRequest) Creates a service.
- Parameters:
createServiceRequest-- Returns:
- A Java Future containing the result of the CreateService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ServiceQuotaExceededException Service quota exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createService
default CompletableFuture<CreateServiceResponse> createService(Consumer<CreateServiceRequest.Builder> createServiceRequest) Creates a service.
This is a convenience which creates an instance of the
CreateServiceRequest.Builderavoiding the need to create one manually viaCreateServiceRequest.builder()- Parameters:
createServiceRequest- AConsumerthat will call methods onCreateServiceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ServiceQuotaExceededException Service quota exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceFunction
default CompletableFuture<CreateServiceFunctionResponse> createServiceFunction(CreateServiceFunctionRequest createServiceFunctionRequest) Creates a service function within a service.
- Parameters:
createServiceFunctionRequest-- Returns:
- A Java Future containing the result of the CreateServiceFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ServiceQuotaExceededException Service quota exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceFunction
default CompletableFuture<CreateServiceFunctionResponse> createServiceFunction(Consumer<CreateServiceFunctionRequest.Builder> createServiceFunctionRequest) Creates a service function within a service.
This is a convenience which creates an instance of the
CreateServiceFunctionRequest.Builderavoiding the need to create one manually viaCreateServiceFunctionRequest.builder()- Parameters:
createServiceFunctionRequest- AConsumerthat will call methods onCreateServiceFunctionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateServiceFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ServiceQuotaExceededException Service quota exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceFunctionResources
default CompletableFuture<CreateServiceFunctionResourcesResponse> createServiceFunctionResources(CreateServiceFunctionResourcesRequest createServiceFunctionResourcesRequest) Associates resources with a service function.
- Parameters:
createServiceFunctionResourcesRequest-- Returns:
- A Java Future containing the result of the CreateServiceFunctionResources operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceFunctionResources
default CompletableFuture<CreateServiceFunctionResourcesResponse> createServiceFunctionResources(Consumer<CreateServiceFunctionResourcesRequest.Builder> createServiceFunctionResourcesRequest) Associates resources with a service function.
This is a convenience which creates an instance of the
CreateServiceFunctionResourcesRequest.Builderavoiding the need to create one manually viaCreateServiceFunctionResourcesRequest.builder()- Parameters:
createServiceFunctionResourcesRequest- AConsumerthat will call methods onCreateServiceFunctionResourcesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateServiceFunctionResources operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSystem
default CompletableFuture<CreateSystemResponse> createSystem(CreateSystemRequest createSystemRequest) Creates a system that represents a logical grouping of services.
- Parameters:
createSystemRequest-- Returns:
- A Java Future containing the result of the CreateSystem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ServiceQuotaExceededException Service quota exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSystem
default CompletableFuture<CreateSystemResponse> createSystem(Consumer<CreateSystemRequest.Builder> createSystemRequest) Creates a system that represents a logical grouping of services.
This is a convenience which creates an instance of the
CreateSystemRequest.Builderavoiding the need to create one manually viaCreateSystemRequest.builder()- Parameters:
createSystemRequest- AConsumerthat will call methods onCreateSystemRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateSystem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ServiceQuotaExceededException Service quota exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createUserJourney
default CompletableFuture<CreateUserJourneyResponse> createUserJourney(CreateUserJourneyRequest createUserJourneyRequest) Creates a user journey within a system.
- Parameters:
createUserJourneyRequest-- Returns:
- A Java Future containing the result of the CreateUserJourney operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ServiceQuotaExceededException Service quota exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createUserJourney
default CompletableFuture<CreateUserJourneyResponse> createUserJourney(Consumer<CreateUserJourneyRequest.Builder> createUserJourneyRequest) Creates a user journey within a system.
This is a convenience which creates an instance of the
CreateUserJourneyRequest.Builderavoiding the need to create one manually viaCreateUserJourneyRequest.builder()- Parameters:
createUserJourneyRequest- AConsumerthat will call methods onCreateUserJourneyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateUserJourney operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ServiceQuotaExceededException Service quota exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAssertion
default CompletableFuture<DeleteAssertionResponse> deleteAssertion(DeleteAssertionRequest deleteAssertionRequest) Deletes a resilience assertion from a service.
- Parameters:
deleteAssertionRequest-- Returns:
- A Java Future containing the result of the DeleteAssertion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAssertion
default CompletableFuture<DeleteAssertionResponse> deleteAssertion(Consumer<DeleteAssertionRequest.Builder> deleteAssertionRequest) Deletes a resilience assertion from a service.
This is a convenience which creates an instance of the
DeleteAssertionRequest.Builderavoiding the need to create one manually viaDeleteAssertionRequest.builder()- Parameters:
deleteAssertionRequest- AConsumerthat will call methods onDeleteAssertionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteAssertion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteInputSource
default CompletableFuture<DeleteInputSourceResponse> deleteInputSource(DeleteInputSourceRequest deleteInputSourceRequest) Deletes an input source.
- Parameters:
deleteInputSourceRequest-- Returns:
- A Java Future containing the result of the DeleteInputSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteInputSource
default CompletableFuture<DeleteInputSourceResponse> deleteInputSource(Consumer<DeleteInputSourceRequest.Builder> deleteInputSourceRequest) Deletes an input source.
This is a convenience which creates an instance of the
DeleteInputSourceRequest.Builderavoiding the need to create one manually viaDeleteInputSourceRequest.builder()- Parameters:
deleteInputSourceRequest- AConsumerthat will call methods onDeleteInputSourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteInputSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePolicy
default CompletableFuture<DeletePolicyResponse> deletePolicy(DeletePolicyRequest deletePolicyRequest) Deletes a resilience policy.
- Parameters:
deletePolicyRequest-- Returns:
- A Java Future containing the result of the DeletePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePolicy
default CompletableFuture<DeletePolicyResponse> deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) Deletes a resilience policy.
This is a convenience which creates an instance of the
DeletePolicyRequest.Builderavoiding the need to create one manually viaDeletePolicyRequest.builder()- Parameters:
deletePolicyRequest- AConsumerthat will call methods onDeletePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeletePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteService
default CompletableFuture<DeleteServiceResponse> deleteService(DeleteServiceRequest deleteServiceRequest) Deletes a service.
- Parameters:
deleteServiceRequest-- Returns:
- A Java Future containing the result of the DeleteService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteService
default CompletableFuture<DeleteServiceResponse> deleteService(Consumer<DeleteServiceRequest.Builder> deleteServiceRequest) Deletes a service.
This is a convenience which creates an instance of the
DeleteServiceRequest.Builderavoiding the need to create one manually viaDeleteServiceRequest.builder()- Parameters:
deleteServiceRequest- AConsumerthat will call methods onDeleteServiceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceFunction
default CompletableFuture<DeleteServiceFunctionResponse> deleteServiceFunction(DeleteServiceFunctionRequest deleteServiceFunctionRequest) Deletes a service function.
- Parameters:
deleteServiceFunctionRequest-- Returns:
- A Java Future containing the result of the DeleteServiceFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceFunction
default CompletableFuture<DeleteServiceFunctionResponse> deleteServiceFunction(Consumer<DeleteServiceFunctionRequest.Builder> deleteServiceFunctionRequest) Deletes a service function.
This is a convenience which creates an instance of the
DeleteServiceFunctionRequest.Builderavoiding the need to create one manually viaDeleteServiceFunctionRequest.builder()- Parameters:
deleteServiceFunctionRequest- AConsumerthat will call methods onDeleteServiceFunctionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteServiceFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceFunctionResources
default CompletableFuture<DeleteServiceFunctionResourcesResponse> deleteServiceFunctionResources(DeleteServiceFunctionResourcesRequest deleteServiceFunctionResourcesRequest) Removes resources from a service function.
- Parameters:
deleteServiceFunctionResourcesRequest-- Returns:
- A Java Future containing the result of the DeleteServiceFunctionResources operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceFunctionResources
default CompletableFuture<DeleteServiceFunctionResourcesResponse> deleteServiceFunctionResources(Consumer<DeleteServiceFunctionResourcesRequest.Builder> deleteServiceFunctionResourcesRequest) Removes resources from a service function.
This is a convenience which creates an instance of the
DeleteServiceFunctionResourcesRequest.Builderavoiding the need to create one manually viaDeleteServiceFunctionResourcesRequest.builder()- Parameters:
deleteServiceFunctionResourcesRequest- AConsumerthat will call methods onDeleteServiceFunctionResourcesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteServiceFunctionResources operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSystem
default CompletableFuture<DeleteSystemResponse> deleteSystem(DeleteSystemRequest deleteSystemRequest) Deletes a system.
- Parameters:
deleteSystemRequest-- Returns:
- A Java Future containing the result of the DeleteSystem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSystem
default CompletableFuture<DeleteSystemResponse> deleteSystem(Consumer<DeleteSystemRequest.Builder> deleteSystemRequest) Deletes a system.
This is a convenience which creates an instance of the
DeleteSystemRequest.Builderavoiding the need to create one manually viaDeleteSystemRequest.builder()- Parameters:
deleteSystemRequest- AConsumerthat will call methods onDeleteSystemRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSystem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteUserJourney
default CompletableFuture<DeleteUserJourneyResponse> deleteUserJourney(DeleteUserJourneyRequest deleteUserJourneyRequest) Deletes a user journey.
- Parameters:
deleteUserJourneyRequest-- Returns:
- A Java Future containing the result of the DeleteUserJourney operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteUserJourney
default CompletableFuture<DeleteUserJourneyResponse> deleteUserJourney(Consumer<DeleteUserJourneyRequest.Builder> deleteUserJourneyRequest) Deletes a user journey.
This is a convenience which creates an instance of the
DeleteUserJourneyRequest.Builderavoiding the need to create one manually viaDeleteUserJourneyRequest.builder()- Parameters:
deleteUserJourneyRequest- AConsumerthat will call methods onDeleteUserJourneyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteUserJourney operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFailureModeFinding
default CompletableFuture<GetFailureModeFindingResponse> getFailureModeFinding(GetFailureModeFindingRequest getFailureModeFindingRequest) Retrieves a finding by findingId.
- Parameters:
getFailureModeFindingRequest-- Returns:
- A Java Future containing the result of the GetFailureModeFinding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFailureModeFinding
default CompletableFuture<GetFailureModeFindingResponse> getFailureModeFinding(Consumer<GetFailureModeFindingRequest.Builder> getFailureModeFindingRequest) Retrieves a finding by findingId.
This is a convenience which creates an instance of the
GetFailureModeFindingRequest.Builderavoiding the need to create one manually viaGetFailureModeFindingRequest.builder()- Parameters:
getFailureModeFindingRequest- AConsumerthat will call methods onGetFailureModeFindingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetFailureModeFinding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPolicy
Retrieves a resilience policy by ARN.
- Parameters:
getPolicyRequest-- Returns:
- A Java Future containing the result of the GetPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPolicy
default CompletableFuture<GetPolicyResponse> getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) Retrieves a resilience policy by ARN.
This is a convenience which creates an instance of the
GetPolicyRequest.Builderavoiding the need to create one manually viaGetPolicyRequest.builder()- Parameters:
getPolicyRequest- AConsumerthat will call methods onGetPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getService
Retrieves a service by ARN.
- Parameters:
getServiceRequest-- Returns:
- A Java Future containing the result of the GetService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getService
default CompletableFuture<GetServiceResponse> getService(Consumer<GetServiceRequest.Builder> getServiceRequest) Retrieves a service by ARN.
This is a convenience which creates an instance of the
GetServiceRequest.Builderavoiding the need to create one manually viaGetServiceRequest.builder()- Parameters:
getServiceRequest- AConsumerthat will call methods onGetServiceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSystem
Retrieves a system by ARN.
- Parameters:
getSystemRequest-- Returns:
- A Java Future containing the result of the GetSystem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSystem
default CompletableFuture<GetSystemResponse> getSystem(Consumer<GetSystemRequest.Builder> getSystemRequest) Retrieves a system by ARN.
This is a convenience which creates an instance of the
GetSystemRequest.Builderavoiding the need to create one manually viaGetSystemRequest.builder()- Parameters:
getSystemRequest- AConsumerthat will call methods onGetSystemRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetSystem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUserJourney
default CompletableFuture<GetUserJourneyResponse> getUserJourney(GetUserJourneyRequest getUserJourneyRequest) Retrieves a user journey.
- Parameters:
getUserJourneyRequest-- Returns:
- A Java Future containing the result of the GetUserJourney operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUserJourney
default CompletableFuture<GetUserJourneyResponse> getUserJourney(Consumer<GetUserJourneyRequest.Builder> getUserJourneyRequest) Retrieves a user journey.
This is a convenience which creates an instance of the
GetUserJourneyRequest.Builderavoiding the need to create one manually viaGetUserJourneyRequest.builder()- Parameters:
getUserJourneyRequest- AConsumerthat will call methods onGetUserJourneyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetUserJourney operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importApp
Imports a V1 app into the V2 resource model, creating a service with the same name.
- Parameters:
importAppRequest-- Returns:
- A Java Future containing the result of the ImportApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importApp
default CompletableFuture<ImportAppResponse> importApp(Consumer<ImportAppRequest.Builder> importAppRequest) Imports a V1 app into the V2 resource model, creating a service with the same name.
This is a convenience which creates an instance of the
ImportAppRequest.Builderavoiding the need to create one manually viaImportAppRequest.builder()- Parameters:
importAppRequest- AConsumerthat will call methods onImportAppRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ImportApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importPolicy
default CompletableFuture<ImportPolicyResponse> importPolicy(ImportPolicyRequest importPolicyRequest) Imports a V1 policy into V2, mapping RTO/RPO values from V1 scenarios.
- Parameters:
importPolicyRequest-- Returns:
- A Java Future containing the result of the ImportPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importPolicy
default CompletableFuture<ImportPolicyResponse> importPolicy(Consumer<ImportPolicyRequest.Builder> importPolicyRequest) Imports a V1 policy into V2, mapping RTO/RPO values from V1 scenarios.
This is a convenience which creates an instance of the
ImportPolicyRequest.Builderavoiding the need to create one manually viaImportPolicyRequest.builder()- Parameters:
importPolicyRequest- AConsumerthat will call methods onImportPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ImportPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssertions
default CompletableFuture<ListAssertionsResponse> listAssertions(ListAssertionsRequest listAssertionsRequest) Lists resilience assertions for a service.
- Parameters:
listAssertionsRequest-- Returns:
- A Java Future containing the result of the ListAssertions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssertions
default CompletableFuture<ListAssertionsResponse> listAssertions(Consumer<ListAssertionsRequest.Builder> listAssertionsRequest) Lists resilience assertions for a service.
This is a convenience which creates an instance of the
ListAssertionsRequest.Builderavoiding the need to create one manually viaListAssertionsRequest.builder()- Parameters:
listAssertionsRequest- AConsumerthat will call methods onListAssertionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAssertions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssertionsPaginator
default ListAssertionsPublisher listAssertionsPaginator(ListAssertionsRequest listAssertionsRequest) This is a variant of
listAssertions(software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListAssertionsPublisher publisher = client.listAssertionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListAssertionsPublisher publisher = client.listAssertionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsResponse response) { //... }; });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
listAssertions(software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsRequest)operation.- Parameters:
listAssertionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssertionsPaginator
default ListAssertionsPublisher listAssertionsPaginator(Consumer<ListAssertionsRequest.Builder> listAssertionsRequest) This is a variant of
listAssertions(software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListAssertionsPublisher publisher = client.listAssertionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListAssertionsPublisher publisher = client.listAssertionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsResponse response) { //... }; });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
listAssertions(software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsRequest)operation.
This is a convenience which creates an instance of the
ListAssertionsRequest.Builderavoiding the need to create one manually viaListAssertionsRequest.builder()- Parameters:
listAssertionsRequest- AConsumerthat will call methods onListAssertionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDependencies
default CompletableFuture<ListDependenciesResponse> listDependencies(ListDependenciesRequest listDependenciesRequest) Lists dependencies discovered for services.
- Parameters:
listDependenciesRequest-- Returns:
- A Java Future containing the result of the ListDependencies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDependencies
default CompletableFuture<ListDependenciesResponse> listDependencies(Consumer<ListDependenciesRequest.Builder> listDependenciesRequest) Lists dependencies discovered for services.
This is a convenience which creates an instance of the
ListDependenciesRequest.Builderavoiding the need to create one manually viaListDependenciesRequest.builder()- Parameters:
listDependenciesRequest- AConsumerthat will call methods onListDependenciesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDependencies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDependenciesPaginator
default ListDependenciesPublisher listDependenciesPaginator(ListDependenciesRequest listDependenciesRequest) This is a variant of
listDependencies(software.amazon.awssdk.services.resiliencehubv2.model.ListDependenciesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListDependenciesPublisher publisher = client.listDependenciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListDependenciesPublisher publisher = client.listDependenciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListDependenciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListDependenciesResponse response) { //... }; });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
listDependencies(software.amazon.awssdk.services.resiliencehubv2.model.ListDependenciesRequest)operation.- Parameters:
listDependenciesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDependenciesPaginator
default ListDependenciesPublisher listDependenciesPaginator(Consumer<ListDependenciesRequest.Builder> listDependenciesRequest) This is a variant of
listDependencies(software.amazon.awssdk.services.resiliencehubv2.model.ListDependenciesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListDependenciesPublisher publisher = client.listDependenciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListDependenciesPublisher publisher = client.listDependenciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListDependenciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListDependenciesResponse response) { //... }; });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
listDependencies(software.amazon.awssdk.services.resiliencehubv2.model.ListDependenciesRequest)operation.
This is a convenience which creates an instance of the
ListDependenciesRequest.Builderavoiding the need to create one manually viaListDependenciesRequest.builder()- Parameters:
listDependenciesRequest- AConsumerthat will call methods onListDependenciesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFailureModeAssessments
default CompletableFuture<ListFailureModeAssessmentsResponse> listFailureModeAssessments(ListFailureModeAssessmentsRequest listFailureModeAssessmentsRequest) Lists failure mode assessments.
- Parameters:
listFailureModeAssessmentsRequest-- Returns:
- A Java Future containing the result of the ListFailureModeAssessments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFailureModeAssessments
default CompletableFuture<ListFailureModeAssessmentsResponse> listFailureModeAssessments(Consumer<ListFailureModeAssessmentsRequest.Builder> listFailureModeAssessmentsRequest) Lists failure mode assessments.
This is a convenience which creates an instance of the
ListFailureModeAssessmentsRequest.Builderavoiding the need to create one manually viaListFailureModeAssessmentsRequest.builder()- Parameters:
listFailureModeAssessmentsRequest- AConsumerthat will call methods onListFailureModeAssessmentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListFailureModeAssessments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFailureModeAssessmentsPaginator
default ListFailureModeAssessmentsPublisher listFailureModeAssessmentsPaginator(ListFailureModeAssessmentsRequest listFailureModeAssessmentsRequest) This is a variant of
listFailureModeAssessments(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeAssessmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeAssessmentsPublisher publisher = client.listFailureModeAssessmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeAssessmentsPublisher publisher = client.listFailureModeAssessmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeAssessmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeAssessmentsResponse response) { //... }; });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
listFailureModeAssessments(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeAssessmentsRequest)operation.- Parameters:
listFailureModeAssessmentsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFailureModeAssessmentsPaginator
default ListFailureModeAssessmentsPublisher listFailureModeAssessmentsPaginator(Consumer<ListFailureModeAssessmentsRequest.Builder> listFailureModeAssessmentsRequest) This is a variant of
listFailureModeAssessments(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeAssessmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeAssessmentsPublisher publisher = client.listFailureModeAssessmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeAssessmentsPublisher publisher = client.listFailureModeAssessmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeAssessmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeAssessmentsResponse response) { //... }; });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
listFailureModeAssessments(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeAssessmentsRequest)operation.
This is a convenience which creates an instance of the
ListFailureModeAssessmentsRequest.Builderavoiding the need to create one manually viaListFailureModeAssessmentsRequest.builder()- Parameters:
listFailureModeAssessmentsRequest- AConsumerthat will call methods onListFailureModeAssessmentsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFailureModeFindings
default CompletableFuture<ListFailureModeFindingsResponse> listFailureModeFindings(ListFailureModeFindingsRequest listFailureModeFindingsRequest) List findings.
- Parameters:
listFailureModeFindingsRequest-- Returns:
- A Java Future containing the result of the ListFailureModeFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException Resource not found.
- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFailureModeFindings
default CompletableFuture<ListFailureModeFindingsResponse> listFailureModeFindings(Consumer<ListFailureModeFindingsRequest.Builder> listFailureModeFindingsRequest) List findings.
This is a convenience which creates an instance of the
ListFailureModeFindingsRequest.Builderavoiding the need to create one manually viaListFailureModeFindingsRequest.builder()- Parameters:
listFailureModeFindingsRequest- AConsumerthat will call methods onListFailureModeFindingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListFailureModeFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException Resource not found.
- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFailureModeFindingsPaginator
default ListFailureModeFindingsPublisher listFailureModeFindingsPaginator(ListFailureModeFindingsRequest listFailureModeFindingsRequest) This is a variant of
listFailureModeFindings(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeFindingsPublisher publisher = client.listFailureModeFindingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeFindingsPublisher publisher = client.listFailureModeFindingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsResponse response) { //... }; });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
listFailureModeFindings(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsRequest)operation.- Parameters:
listFailureModeFindingsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException Resource not found.
- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFailureModeFindingsPaginator
default ListFailureModeFindingsPublisher listFailureModeFindingsPaginator(Consumer<ListFailureModeFindingsRequest.Builder> listFailureModeFindingsRequest) This is a variant of
listFailureModeFindings(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeFindingsPublisher publisher = client.listFailureModeFindingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeFindingsPublisher publisher = client.listFailureModeFindingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsResponse response) { //... }; });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
listFailureModeFindings(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsRequest)operation.
This is a convenience which creates an instance of the
ListFailureModeFindingsRequest.Builderavoiding the need to create one manually viaListFailureModeFindingsRequest.builder()- Parameters:
listFailureModeFindingsRequest- AConsumerthat will call methods onListFailureModeFindingsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException Resource not found.
- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInputSources
default CompletableFuture<ListInputSourcesResponse> listInputSources(ListInputSourcesRequest listInputSourcesRequest) Lists input sources for a service.
- Parameters:
listInputSourcesRequest-- Returns:
- A Java Future containing the result of the ListInputSources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInputSources
default CompletableFuture<ListInputSourcesResponse> listInputSources(Consumer<ListInputSourcesRequest.Builder> listInputSourcesRequest) Lists input sources for a service.
This is a convenience which creates an instance of the
ListInputSourcesRequest.Builderavoiding the need to create one manually viaListInputSourcesRequest.builder()- Parameters:
listInputSourcesRequest- AConsumerthat will call methods onListInputSourcesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListInputSources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInputSourcesPaginator
default ListInputSourcesPublisher listInputSourcesPaginator(ListInputSourcesRequest listInputSourcesRequest) This is a variant of
listInputSources(software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListInputSourcesPublisher publisher = client.listInputSourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListInputSourcesPublisher publisher = client.listInputSourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesResponse response) { //... }; });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
listInputSources(software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesRequest)operation.- Parameters:
listInputSourcesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInputSourcesPaginator
default ListInputSourcesPublisher listInputSourcesPaginator(Consumer<ListInputSourcesRequest.Builder> listInputSourcesRequest) This is a variant of
listInputSources(software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListInputSourcesPublisher publisher = client.listInputSourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListInputSourcesPublisher publisher = client.listInputSourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesResponse response) { //... }; });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
listInputSources(software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesRequest)operation.
This is a convenience which creates an instance of the
ListInputSourcesRequest.Builderavoiding the need to create one manually viaListInputSourcesRequest.builder()- Parameters:
listInputSourcesRequest- AConsumerthat will call methods onListInputSourcesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPolicies
default CompletableFuture<ListPoliciesResponse> listPolicies(ListPoliciesRequest listPoliciesRequest) Lists resilience policies.
- Parameters:
listPoliciesRequest-- Returns:
- A Java Future containing the result of the ListPolicies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPolicies
default CompletableFuture<ListPoliciesResponse> listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) Lists resilience policies.
This is a convenience which creates an instance of the
ListPoliciesRequest.Builderavoiding the need to create one manually viaListPoliciesRequest.builder()- Parameters:
listPoliciesRequest- AConsumerthat will call methods onListPoliciesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListPolicies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPoliciesPaginator
This is a variant of
listPolicies(software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesResponse response) { //... }; });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
listPolicies(software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesRequest)operation.- Parameters:
listPoliciesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPoliciesPaginator
default ListPoliciesPublisher listPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) This is a variant of
listPolicies(software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesResponse response) { //... }; });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
listPolicies(software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesRequest)operation.
This is a convenience which creates an instance of the
ListPoliciesRequest.Builderavoiding the need to create one manually viaListPoliciesRequest.builder()- Parameters:
listPoliciesRequest- AConsumerthat will call methods onListPoliciesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReports
List reports for a service, or all reports owned by the account if serviceArn is not provided.
- Parameters:
listReportsRequest-- Returns:
- A Java Future containing the result of the ListReports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ThrottlingException Too many requests — rate limit exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReports
default CompletableFuture<ListReportsResponse> listReports(Consumer<ListReportsRequest.Builder> listReportsRequest) List reports for a service, or all reports owned by the account if serviceArn is not provided.
This is a convenience which creates an instance of the
ListReportsRequest.Builderavoiding the need to create one manually viaListReportsRequest.builder()- Parameters:
listReportsRequest- AConsumerthat will call methods onListReportsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListReports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ThrottlingException Too many requests — rate limit exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReportsPaginator
This is a variant of
listReports(software.amazon.awssdk.services.resiliencehubv2.model.ListReportsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListReportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListReportsResponse response) { //... }; });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
listReports(software.amazon.awssdk.services.resiliencehubv2.model.ListReportsRequest)operation.- Parameters:
listReportsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ThrottlingException Too many requests — rate limit exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReportsPaginator
default ListReportsPublisher listReportsPaginator(Consumer<ListReportsRequest.Builder> listReportsRequest) This is a variant of
listReports(software.amazon.awssdk.services.resiliencehubv2.model.ListReportsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListReportsPublisher publisher = client.listReportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListReportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListReportsResponse response) { //... }; });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
listReports(software.amazon.awssdk.services.resiliencehubv2.model.ListReportsRequest)operation.
This is a convenience which creates an instance of the
ListReportsRequest.Builderavoiding the need to create one manually viaListReportsRequest.builder()- Parameters:
listReportsRequest- AConsumerthat will call methods onListReportsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ThrottlingException Too many requests — rate limit exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResources
default CompletableFuture<ListResourcesResponse> listResources(ListResourcesRequest listResourcesRequest) List resources.
- Parameters:
listResourcesRequest-- Returns:
- A Java Future containing the result of the ListResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResources
default CompletableFuture<ListResourcesResponse> listResources(Consumer<ListResourcesRequest.Builder> listResourcesRequest) List resources.
This is a convenience which creates an instance of the
ListResourcesRequest.Builderavoiding the need to create one manually viaListResourcesRequest.builder()- Parameters:
listResourcesRequest- AConsumerthat will call methods onListResourcesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourcesPaginator
This is a variant of
listResources(software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListResourcesPublisher publisher = client.listResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListResourcesPublisher publisher = client.listResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesResponse response) { //... }; });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
listResources(software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesRequest)operation.- Parameters:
listResourcesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourcesPaginator
default ListResourcesPublisher listResourcesPaginator(Consumer<ListResourcesRequest.Builder> listResourcesRequest) This is a variant of
listResources(software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListResourcesPublisher publisher = client.listResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListResourcesPublisher publisher = client.listResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesResponse response) { //... }; });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
listResources(software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesRequest)operation.
This is a convenience which creates an instance of the
ListResourcesRequest.Builderavoiding the need to create one manually viaListResourcesRequest.builder()- Parameters:
listResourcesRequest- AConsumerthat will call methods onListResourcesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceEvents
default CompletableFuture<ListServiceEventsResponse> listServiceEvents(ListServiceEventsRequest listServiceEventsRequest) Lists events for a service.
- Parameters:
listServiceEventsRequest-- Returns:
- A Java Future containing the result of the ListServiceEvents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceEvents
default CompletableFuture<ListServiceEventsResponse> listServiceEvents(Consumer<ListServiceEventsRequest.Builder> listServiceEventsRequest) Lists events for a service.
This is a convenience which creates an instance of the
ListServiceEventsRequest.Builderavoiding the need to create one manually viaListServiceEventsRequest.builder()- Parameters:
listServiceEventsRequest- AConsumerthat will call methods onListServiceEventsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListServiceEvents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceEventsPaginator
default ListServiceEventsPublisher listServiceEventsPaginator(ListServiceEventsRequest listServiceEventsRequest) This is a variant of
listServiceEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceEventsPublisher publisher = client.listServiceEventsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceEventsPublisher publisher = client.listServiceEventsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsResponse response) { //... }; });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
listServiceEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsRequest)operation.- Parameters:
listServiceEventsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceEventsPaginator
default ListServiceEventsPublisher listServiceEventsPaginator(Consumer<ListServiceEventsRequest.Builder> listServiceEventsRequest) This is a variant of
listServiceEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceEventsPublisher publisher = client.listServiceEventsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceEventsPublisher publisher = client.listServiceEventsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsResponse response) { //... }; });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
listServiceEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsRequest)operation.
This is a convenience which creates an instance of the
ListServiceEventsRequest.Builderavoiding the need to create one manually viaListServiceEventsRequest.builder()- Parameters:
listServiceEventsRequest- AConsumerthat will call methods onListServiceEventsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceFunctions
default CompletableFuture<ListServiceFunctionsResponse> listServiceFunctions(ListServiceFunctionsRequest listServiceFunctionsRequest) Lists service functions for a service.
- Parameters:
listServiceFunctionsRequest-- Returns:
- A Java Future containing the result of the ListServiceFunctions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceFunctions
default CompletableFuture<ListServiceFunctionsResponse> listServiceFunctions(Consumer<ListServiceFunctionsRequest.Builder> listServiceFunctionsRequest) Lists service functions for a service.
This is a convenience which creates an instance of the
ListServiceFunctionsRequest.Builderavoiding the need to create one manually viaListServiceFunctionsRequest.builder()- Parameters:
listServiceFunctionsRequest- AConsumerthat will call methods onListServiceFunctionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListServiceFunctions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceFunctionsPaginator
default ListServiceFunctionsPublisher listServiceFunctionsPaginator(ListServiceFunctionsRequest listServiceFunctionsRequest) This is a variant of
listServiceFunctions(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceFunctionsPublisher publisher = client.listServiceFunctionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceFunctionsPublisher publisher = client.listServiceFunctionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsResponse response) { //... }; });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
listServiceFunctions(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsRequest)operation.- Parameters:
listServiceFunctionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceFunctionsPaginator
default ListServiceFunctionsPublisher listServiceFunctionsPaginator(Consumer<ListServiceFunctionsRequest.Builder> listServiceFunctionsRequest) This is a variant of
listServiceFunctions(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceFunctionsPublisher publisher = client.listServiceFunctionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceFunctionsPublisher publisher = client.listServiceFunctionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsResponse response) { //... }; });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
listServiceFunctions(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsRequest)operation.
This is a convenience which creates an instance of the
ListServiceFunctionsRequest.Builderavoiding the need to create one manually viaListServiceFunctionsRequest.builder()- Parameters:
listServiceFunctionsRequest- AConsumerthat will call methods onListServiceFunctionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceTopologyEdges
default CompletableFuture<ListServiceTopologyEdgesResponse> listServiceTopologyEdges(ListServiceTopologyEdgesRequest listServiceTopologyEdgesRequest) Lists topology edges for a service.
- Parameters:
listServiceTopologyEdgesRequest-- Returns:
- A Java Future containing the result of the ListServiceTopologyEdges operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceTopologyEdges
default CompletableFuture<ListServiceTopologyEdgesResponse> listServiceTopologyEdges(Consumer<ListServiceTopologyEdgesRequest.Builder> listServiceTopologyEdgesRequest) Lists topology edges for a service.
This is a convenience which creates an instance of the
ListServiceTopologyEdgesRequest.Builderavoiding the need to create one manually viaListServiceTopologyEdgesRequest.builder()- Parameters:
listServiceTopologyEdgesRequest- AConsumerthat will call methods onListServiceTopologyEdgesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListServiceTopologyEdges operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceTopologyEdgesPaginator
default ListServiceTopologyEdgesPublisher listServiceTopologyEdgesPaginator(ListServiceTopologyEdgesRequest listServiceTopologyEdgesRequest) This is a variant of
listServiceTopologyEdges(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceTopologyEdgesPublisher publisher = client.listServiceTopologyEdgesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceTopologyEdgesPublisher publisher = client.listServiceTopologyEdgesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesResponse response) { //... }; });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
listServiceTopologyEdges(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesRequest)operation.- Parameters:
listServiceTopologyEdgesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceTopologyEdgesPaginator
default ListServiceTopologyEdgesPublisher listServiceTopologyEdgesPaginator(Consumer<ListServiceTopologyEdgesRequest.Builder> listServiceTopologyEdgesRequest) This is a variant of
listServiceTopologyEdges(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceTopologyEdgesPublisher publisher = client.listServiceTopologyEdgesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceTopologyEdgesPublisher publisher = client.listServiceTopologyEdgesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesResponse response) { //... }; });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
listServiceTopologyEdges(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesRequest)operation.
This is a convenience which creates an instance of the
ListServiceTopologyEdgesRequest.Builderavoiding the need to create one manually viaListServiceTopologyEdgesRequest.builder()- Parameters:
listServiceTopologyEdgesRequest- AConsumerthat will call methods onListServiceTopologyEdgesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServices
default CompletableFuture<ListServicesResponse> listServices(ListServicesRequest listServicesRequest) Lists services.
- Parameters:
listServicesRequest-- Returns:
- A Java Future containing the result of the ListServices operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServices
default CompletableFuture<ListServicesResponse> listServices(Consumer<ListServicesRequest.Builder> listServicesRequest) Lists services.
This is a convenience which creates an instance of the
ListServicesRequest.Builderavoiding the need to create one manually viaListServicesRequest.builder()- Parameters:
listServicesRequest- AConsumerthat will call methods onListServicesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListServices operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServicesPaginator
This is a variant of
listServices(software.amazon.awssdk.services.resiliencehubv2.model.ListServicesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListServicesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListServicesResponse response) { //... }; });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
listServices(software.amazon.awssdk.services.resiliencehubv2.model.ListServicesRequest)operation.- Parameters:
listServicesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServicesPaginator
default ListServicesPublisher listServicesPaginator(Consumer<ListServicesRequest.Builder> listServicesRequest) This is a variant of
listServices(software.amazon.awssdk.services.resiliencehubv2.model.ListServicesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListServicesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListServicesResponse response) { //... }; });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
listServices(software.amazon.awssdk.services.resiliencehubv2.model.ListServicesRequest)operation.
This is a convenience which creates an instance of the
ListServicesRequest.Builderavoiding the need to create one manually viaListServicesRequest.builder()- Parameters:
listServicesRequest- AConsumerthat will call methods onListServicesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSystemEvents
default CompletableFuture<ListSystemEventsResponse> listSystemEvents(ListSystemEventsRequest listSystemEventsRequest) Lists events for a system.
- Parameters:
listSystemEventsRequest-- Returns:
- A Java Future containing the result of the ListSystemEvents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSystemEvents
default CompletableFuture<ListSystemEventsResponse> listSystemEvents(Consumer<ListSystemEventsRequest.Builder> listSystemEventsRequest) Lists events for a system.
This is a convenience which creates an instance of the
ListSystemEventsRequest.Builderavoiding the need to create one manually viaListSystemEventsRequest.builder()- Parameters:
listSystemEventsRequest- AConsumerthat will call methods onListSystemEventsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSystemEvents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSystemEventsPaginator
default ListSystemEventsPublisher listSystemEventsPaginator(ListSystemEventsRequest listSystemEventsRequest) This is a variant of
listSystemEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemEventsPublisher publisher = client.listSystemEventsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemEventsPublisher publisher = client.listSystemEventsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsResponse response) { //... }; });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
listSystemEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsRequest)operation.- Parameters:
listSystemEventsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSystemEventsPaginator
default ListSystemEventsPublisher listSystemEventsPaginator(Consumer<ListSystemEventsRequest.Builder> listSystemEventsRequest) This is a variant of
listSystemEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemEventsPublisher publisher = client.listSystemEventsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemEventsPublisher publisher = client.listSystemEventsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsResponse response) { //... }; });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
listSystemEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsRequest)operation.
This is a convenience which creates an instance of the
ListSystemEventsRequest.Builderavoiding the need to create one manually viaListSystemEventsRequest.builder()- Parameters:
listSystemEventsRequest- AConsumerthat will call methods onListSystemEventsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSystems
Lists systems.
- Parameters:
listSystemsRequest-- Returns:
- A Java Future containing the result of the ListSystems operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSystems
default CompletableFuture<ListSystemsResponse> listSystems(Consumer<ListSystemsRequest.Builder> listSystemsRequest) Lists systems.
This is a convenience which creates an instance of the
ListSystemsRequest.Builderavoiding the need to create one manually viaListSystemsRequest.builder()- Parameters:
listSystemsRequest- AConsumerthat will call methods onListSystemsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSystems operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSystemsPaginator
This is a variant of
listSystems(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemsPublisher publisher = client.listSystemsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemsPublisher publisher = client.listSystemsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsResponse response) { //... }; });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
listSystems(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsRequest)operation.- Parameters:
listSystemsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSystemsPaginator
default ListSystemsPublisher listSystemsPaginator(Consumer<ListSystemsRequest.Builder> listSystemsRequest) This is a variant of
listSystems(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemsPublisher publisher = client.listSystemsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemsPublisher publisher = client.listSystemsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsResponse response) { //... }; });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
listSystems(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsRequest)operation.
This is a convenience which creates an instance of the
ListSystemsRequest.Builderavoiding the need to create one manually viaListSystemsRequest.builder()- Parameters:
listSystemsRequest- AConsumerthat will call methods onListSystemsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for a resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ThrottlingException Too many requests — rate limit exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for a resource.
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:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ThrottlingException Too many requests — rate limit exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUserJourneys
default CompletableFuture<ListUserJourneysResponse> listUserJourneys(ListUserJourneysRequest listUserJourneysRequest) Lists user journeys for a system.
- Parameters:
listUserJourneysRequest-- Returns:
- A Java Future containing the result of the ListUserJourneys operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUserJourneys
default CompletableFuture<ListUserJourneysResponse> listUserJourneys(Consumer<ListUserJourneysRequest.Builder> listUserJourneysRequest) Lists user journeys for a system.
This is a convenience which creates an instance of the
ListUserJourneysRequest.Builderavoiding the need to create one manually viaListUserJourneysRequest.builder()- Parameters:
listUserJourneysRequest- AConsumerthat will call methods onListUserJourneysRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListUserJourneys operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUserJourneysPaginator
default ListUserJourneysPublisher listUserJourneysPaginator(ListUserJourneysRequest listUserJourneysRequest) This is a variant of
listUserJourneys(software.amazon.awssdk.services.resiliencehubv2.model.ListUserJourneysRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListUserJourneysPublisher publisher = client.listUserJourneysPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListUserJourneysPublisher publisher = client.listUserJourneysPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListUserJourneysResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListUserJourneysResponse response) { //... }; });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
listUserJourneys(software.amazon.awssdk.services.resiliencehubv2.model.ListUserJourneysRequest)operation.- Parameters:
listUserJourneysRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listUserJourneysPaginator
default ListUserJourneysPublisher listUserJourneysPaginator(Consumer<ListUserJourneysRequest.Builder> listUserJourneysRequest) This is a variant of
listUserJourneys(software.amazon.awssdk.services.resiliencehubv2.model.ListUserJourneysRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListUserJourneysPublisher publisher = client.listUserJourneysPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.resiliencehubv2.paginators.ListUserJourneysPublisher publisher = client.listUserJourneysPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.resiliencehubv2.model.ListUserJourneysResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.resiliencehubv2.model.ListUserJourneysResponse response) { //... }; });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
listUserJourneys(software.amazon.awssdk.services.resiliencehubv2.model.ListUserJourneysRequest)operation.
This is a convenience which creates an instance of the
ListUserJourneysRequest.Builderavoiding the need to create one manually viaListUserJourneysRequest.builder()- Parameters:
listUserJourneysRequest- AConsumerthat will call methods onListUserJourneysRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startFailureModeAssessment
default CompletableFuture<StartFailureModeAssessmentResponse> startFailureModeAssessment(StartFailureModeAssessmentRequest startFailureModeAssessmentRequest) Start a failure mode assessment.
- Parameters:
startFailureModeAssessmentRequest-- Returns:
- A Java Future containing the result of the StartFailureModeAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ThrottlingException Too many requests — rate limit exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startFailureModeAssessment
default CompletableFuture<StartFailureModeAssessmentResponse> startFailureModeAssessment(Consumer<StartFailureModeAssessmentRequest.Builder> startFailureModeAssessmentRequest) Start a failure mode assessment.
This is a convenience which creates an instance of the
StartFailureModeAssessmentRequest.Builderavoiding the need to create one manually viaStartFailureModeAssessmentRequest.builder()- Parameters:
startFailureModeAssessmentRequest- AConsumerthat will call methods onStartFailureModeAssessmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartFailureModeAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ThrottlingException Too many requests — rate limit exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds tags to a resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ThrottlingException Too many requests — rate limit exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds 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:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ThrottlingException Too many requests — rate limit exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ThrottlingException Too many requests — rate limit exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes 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:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ThrottlingException Too many requests — rate limit exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAssertion
default CompletableFuture<UpdateAssertionResponse> updateAssertion(UpdateAssertionRequest updateAssertionRequest) Updates a resilience assertion.
- Parameters:
updateAssertionRequest-- Returns:
- A Java Future containing the result of the UpdateAssertion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAssertion
default CompletableFuture<UpdateAssertionResponse> updateAssertion(Consumer<UpdateAssertionRequest.Builder> updateAssertionRequest) Updates a resilience assertion.
This is a convenience which creates an instance of the
UpdateAssertionRequest.Builderavoiding the need to create one manually viaUpdateAssertionRequest.builder()- Parameters:
updateAssertionRequest- AConsumerthat will call methods onUpdateAssertionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAssertion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDependency
default CompletableFuture<UpdateDependencyResponse> updateDependency(UpdateDependencyRequest updateDependencyRequest) Updates a dependency classification.
- Parameters:
updateDependencyRequest-- Returns:
- A Java Future containing the result of the UpdateDependency operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateDependency
default CompletableFuture<UpdateDependencyResponse> updateDependency(Consumer<UpdateDependencyRequest.Builder> updateDependencyRequest) Updates a dependency classification.
This is a convenience which creates an instance of the
UpdateDependencyRequest.Builderavoiding the need to create one manually viaUpdateDependencyRequest.builder()- Parameters:
updateDependencyRequest- AConsumerthat will call methods onUpdateDependencyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateDependency operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFailureModeFinding
default CompletableFuture<UpdateFailureModeFindingResponse> updateFailureModeFinding(UpdateFailureModeFindingRequest updateFailureModeFindingRequest) Updates an existing finding.
- Parameters:
updateFailureModeFindingRequest-- Returns:
- A Java Future containing the result of the UpdateFailureModeFinding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFailureModeFinding
default CompletableFuture<UpdateFailureModeFindingResponse> updateFailureModeFinding(Consumer<UpdateFailureModeFindingRequest.Builder> updateFailureModeFindingRequest) Updates an existing finding.
This is a convenience which creates an instance of the
UpdateFailureModeFindingRequest.Builderavoiding the need to create one manually viaUpdateFailureModeFindingRequest.builder()- Parameters:
updateFailureModeFindingRequest- AConsumerthat will call methods onUpdateFailureModeFindingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateFailureModeFinding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePolicy
default CompletableFuture<UpdatePolicyResponse> updatePolicy(UpdatePolicyRequest updatePolicyRequest) Updates an existing resilience policy.
- Parameters:
updatePolicyRequest-- Returns:
- A Java Future containing the result of the UpdatePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePolicy
default CompletableFuture<UpdatePolicyResponse> updatePolicy(Consumer<UpdatePolicyRequest.Builder> updatePolicyRequest) Updates an existing resilience policy.
This is a convenience which creates an instance of the
UpdatePolicyRequest.Builderavoiding the need to create one manually viaUpdatePolicyRequest.builder()- Parameters:
updatePolicyRequest- AConsumerthat will call methods onUpdatePolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdatePolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateService
default CompletableFuture<UpdateServiceResponse> updateService(UpdateServiceRequest updateServiceRequest) Updates an existing service.
- Parameters:
updateServiceRequest-- Returns:
- A Java Future containing the result of the UpdateService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ServiceQuotaExceededException Service quota exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateService
default CompletableFuture<UpdateServiceResponse> updateService(Consumer<UpdateServiceRequest.Builder> updateServiceRequest) Updates an existing service.
This is a convenience which creates an instance of the
UpdateServiceRequest.Builderavoiding the need to create one manually viaUpdateServiceRequest.builder()- Parameters:
updateServiceRequest- AConsumerthat will call methods onUpdateServiceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- ServiceQuotaExceededException Service quota exceeded.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceFunction
default CompletableFuture<UpdateServiceFunctionResponse> updateServiceFunction(UpdateServiceFunctionRequest updateServiceFunctionRequest) Updates a service function.
- Parameters:
updateServiceFunctionRequest-- Returns:
- A Java Future containing the result of the UpdateServiceFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceFunction
default CompletableFuture<UpdateServiceFunctionResponse> updateServiceFunction(Consumer<UpdateServiceFunctionRequest.Builder> updateServiceFunctionRequest) Updates a service function.
This is a convenience which creates an instance of the
UpdateServiceFunctionRequest.Builderavoiding the need to create one manually viaUpdateServiceFunctionRequest.builder()- Parameters:
updateServiceFunctionRequest- AConsumerthat will call methods onUpdateServiceFunctionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateServiceFunction operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSystem
default CompletableFuture<UpdateSystemResponse> updateSystem(UpdateSystemRequest updateSystemRequest) Updates an existing system.
- Parameters:
updateSystemRequest-- Returns:
- A Java Future containing the result of the UpdateSystem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSystem
default CompletableFuture<UpdateSystemResponse> updateSystem(Consumer<UpdateSystemRequest.Builder> updateSystemRequest) Updates an existing system.
This is a convenience which creates an instance of the
UpdateSystemRequest.Builderavoiding the need to create one manually viaUpdateSystemRequest.builder()- Parameters:
updateSystemRequest- AConsumerthat will call methods onUpdateSystemRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateSystem operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserJourney
default CompletableFuture<UpdateUserJourneyResponse> updateUserJourney(UpdateUserJourneyRequest updateUserJourneyRequest) Updates an existing user journey.
- Parameters:
updateUserJourneyRequest-- Returns:
- A Java Future containing the result of the UpdateUserJourney operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateUserJourney
default CompletableFuture<UpdateUserJourneyResponse> updateUserJourney(Consumer<UpdateUserJourneyRequest.Builder> updateUserJourneyRequest) Updates an existing user journey.
This is a convenience which creates an instance of the
UpdateUserJourneyRequest.Builderavoiding the need to create one manually viaUpdateUserJourneyRequest.builder()- Parameters:
updateUserJourneyRequest- AConsumerthat will call methods onUpdateUserJourneyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateUserJourney operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InternalServerException Internal service error.
- ResourceNotFoundException Resource not found.
- ValidationException Validation error — invalid input parameters.
- ConflictException Conflict — resource already exists.
- AccessDeniedException Access denied — caller lacks required permissions.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Resiliencehubv2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
waiter
Create an instance ofResiliencehubv2AsyncWaiterusing this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
Resiliencehubv2AsyncWaiter
-
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
-
create
Create aResiliencehubv2AsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aResiliencehubv2AsyncClient.
-