Interface Resiliencehubv2Client
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
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 TypeMethodDescriptionstatic Resiliencehubv2ClientBuilderbuilder()Create a builder that can be used to configure and create aResiliencehubv2Client.static Resiliencehubv2Clientcreate()Create aResiliencehubv2Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateAssertionResponsecreateAssertion(Consumer<CreateAssertionRequest.Builder> createAssertionRequest) Creates a resilience assertion for a service.default CreateAssertionResponsecreateAssertion(CreateAssertionRequest createAssertionRequest) Creates a resilience assertion for a service.default CreateInputSourceResponsecreateInputSource(Consumer<CreateInputSourceRequest.Builder> createInputSourceRequest) Creates an input source for a service.default CreateInputSourceResponsecreateInputSource(CreateInputSourceRequest createInputSourceRequest) Creates an input source for a service.default CreatePolicyResponsecreatePolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest) Creates a resilience policy that defines availability and disaster recovery requirements.default CreatePolicyResponsecreatePolicy(CreatePolicyRequest createPolicyRequest) Creates a resilience policy that defines availability and disaster recovery requirements.default CreateReportResponsecreateReport(Consumer<CreateReportRequest.Builder> createReportRequest) On-demand report creation.default CreateReportResponsecreateReport(CreateReportRequest createReportRequest) On-demand report creation.default CreateServiceResponsecreateService(Consumer<CreateServiceRequest.Builder> createServiceRequest) Creates a service.default CreateServiceResponsecreateService(CreateServiceRequest createServiceRequest) Creates a service.default CreateServiceFunctionResponsecreateServiceFunction(Consumer<CreateServiceFunctionRequest.Builder> createServiceFunctionRequest) Creates a service function within a service.default CreateServiceFunctionResponsecreateServiceFunction(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 CreateSystemResponsecreateSystem(Consumer<CreateSystemRequest.Builder> createSystemRequest) Creates a system that represents a logical grouping of services.default CreateSystemResponsecreateSystem(CreateSystemRequest createSystemRequest) Creates a system that represents a logical grouping of services.default CreateUserJourneyResponsecreateUserJourney(Consumer<CreateUserJourneyRequest.Builder> createUserJourneyRequest) Creates a user journey within a system.default CreateUserJourneyResponsecreateUserJourney(CreateUserJourneyRequest createUserJourneyRequest) Creates a user journey within a system.default DeleteAssertionResponsedeleteAssertion(Consumer<DeleteAssertionRequest.Builder> deleteAssertionRequest) Deletes a resilience assertion from a service.default DeleteAssertionResponsedeleteAssertion(DeleteAssertionRequest deleteAssertionRequest) Deletes a resilience assertion from a service.default DeleteInputSourceResponsedeleteInputSource(Consumer<DeleteInputSourceRequest.Builder> deleteInputSourceRequest) Deletes an input source.default DeleteInputSourceResponsedeleteInputSource(DeleteInputSourceRequest deleteInputSourceRequest) Deletes an input source.default DeletePolicyResponsedeletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) Deletes a resilience policy.default DeletePolicyResponsedeletePolicy(DeletePolicyRequest deletePolicyRequest) Deletes a resilience policy.default DeleteServiceResponsedeleteService(Consumer<DeleteServiceRequest.Builder> deleteServiceRequest) Deletes a service.default DeleteServiceResponsedeleteService(DeleteServiceRequest deleteServiceRequest) Deletes a service.default DeleteServiceFunctionResponsedeleteServiceFunction(Consumer<DeleteServiceFunctionRequest.Builder> deleteServiceFunctionRequest) Deletes a service function.default DeleteServiceFunctionResponsedeleteServiceFunction(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 DeleteSystemResponsedeleteSystem(Consumer<DeleteSystemRequest.Builder> deleteSystemRequest) Deletes a system.default DeleteSystemResponsedeleteSystem(DeleteSystemRequest deleteSystemRequest) Deletes a system.default DeleteUserJourneyResponsedeleteUserJourney(Consumer<DeleteUserJourneyRequest.Builder> deleteUserJourneyRequest) Deletes a user journey.default DeleteUserJourneyResponsedeleteUserJourney(DeleteUserJourneyRequest deleteUserJourneyRequest) Deletes a user journey.default GetFailureModeFindingResponsegetFailureModeFinding(Consumer<GetFailureModeFindingRequest.Builder> getFailureModeFindingRequest) Retrieves a finding by findingId.default GetFailureModeFindingResponsegetFailureModeFinding(GetFailureModeFindingRequest getFailureModeFindingRequest) Retrieves a finding by findingId.default GetPolicyResponsegetPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) Retrieves a resilience policy by ARN.default GetPolicyResponsegetPolicy(GetPolicyRequest getPolicyRequest) Retrieves a resilience policy by ARN.default GetServiceResponsegetService(Consumer<GetServiceRequest.Builder> getServiceRequest) Retrieves a service by ARN.default GetServiceResponsegetService(GetServiceRequest getServiceRequest) Retrieves a service by ARN.default GetSystemResponsegetSystem(Consumer<GetSystemRequest.Builder> getSystemRequest) Retrieves a system by ARN.default GetSystemResponsegetSystem(GetSystemRequest getSystemRequest) Retrieves a system by ARN.default GetUserJourneyResponsegetUserJourney(Consumer<GetUserJourneyRequest.Builder> getUserJourneyRequest) Retrieves a user journey.default GetUserJourneyResponsegetUserJourney(GetUserJourneyRequest getUserJourneyRequest) Retrieves a user journey.default ImportAppResponseimportApp(Consumer<ImportAppRequest.Builder> importAppRequest) Imports a V1 app into the V2 resource model, creating a service with the same name.default ImportAppResponseimportApp(ImportAppRequest importAppRequest) Imports a V1 app into the V2 resource model, creating a service with the same name.default ImportPolicyResponseimportPolicy(Consumer<ImportPolicyRequest.Builder> importPolicyRequest) Imports a V1 policy into V2, mapping RTO/RPO values from V1 scenarios.default ImportPolicyResponseimportPolicy(ImportPolicyRequest importPolicyRequest) Imports a V1 policy into V2, mapping RTO/RPO values from V1 scenarios.default ListAssertionsResponselistAssertions(Consumer<ListAssertionsRequest.Builder> listAssertionsRequest) Lists resilience assertions for a service.default ListAssertionsResponselistAssertions(ListAssertionsRequest listAssertionsRequest) Lists resilience assertions for a service.default ListAssertionsIterablelistAssertionsPaginator(Consumer<ListAssertionsRequest.Builder> listAssertionsRequest) This is a variant oflistAssertions(software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsRequest)operation.default ListAssertionsIterablelistAssertionsPaginator(ListAssertionsRequest listAssertionsRequest) This is a variant oflistAssertions(software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsRequest)operation.default ListDependenciesResponselistDependencies(Consumer<ListDependenciesRequest.Builder> listDependenciesRequest) Lists dependencies discovered for services.default ListDependenciesResponselistDependencies(ListDependenciesRequest listDependenciesRequest) Lists dependencies discovered for services.default ListDependenciesIterablelistDependenciesPaginator(Consumer<ListDependenciesRequest.Builder> listDependenciesRequest) This is a variant oflistDependencies(software.amazon.awssdk.services.resiliencehubv2.model.ListDependenciesRequest)operation.default ListDependenciesIterablelistDependenciesPaginator(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.default ListFailureModeFindingsResponselistFailureModeFindings(Consumer<ListFailureModeFindingsRequest.Builder> listFailureModeFindingsRequest) List findings.default ListFailureModeFindingsResponselistFailureModeFindings(ListFailureModeFindingsRequest listFailureModeFindingsRequest) List findings.default ListFailureModeFindingsIterablelistFailureModeFindingsPaginator(Consumer<ListFailureModeFindingsRequest.Builder> listFailureModeFindingsRequest) This is a variant oflistFailureModeFindings(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsRequest)operation.default ListFailureModeFindingsIterablelistFailureModeFindingsPaginator(ListFailureModeFindingsRequest listFailureModeFindingsRequest) This is a variant oflistFailureModeFindings(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsRequest)operation.default ListInputSourcesResponselistInputSources(Consumer<ListInputSourcesRequest.Builder> listInputSourcesRequest) Lists input sources for a service.default ListInputSourcesResponselistInputSources(ListInputSourcesRequest listInputSourcesRequest) Lists input sources for a service.default ListInputSourcesIterablelistInputSourcesPaginator(Consumer<ListInputSourcesRequest.Builder> listInputSourcesRequest) This is a variant oflistInputSources(software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesRequest)operation.default ListInputSourcesIterablelistInputSourcesPaginator(ListInputSourcesRequest listInputSourcesRequest) This is a variant oflistInputSources(software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesRequest)operation.default ListPoliciesResponselistPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) Lists resilience policies.default ListPoliciesResponselistPolicies(ListPoliciesRequest listPoliciesRequest) Lists resilience policies.default ListPoliciesIterablelistPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) This is a variant oflistPolicies(software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesRequest)operation.default ListPoliciesIterablelistPoliciesPaginator(ListPoliciesRequest listPoliciesRequest) This is a variant oflistPolicies(software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesRequest)operation.default ListReportsResponselistReports(Consumer<ListReportsRequest.Builder> listReportsRequest) List reports for a service, or all reports owned by the account if serviceArn is not provided.default ListReportsResponselistReports(ListReportsRequest listReportsRequest) List reports for a service, or all reports owned by the account if serviceArn is not provided.default ListReportsIterablelistReportsPaginator(Consumer<ListReportsRequest.Builder> listReportsRequest) This is a variant oflistReports(software.amazon.awssdk.services.resiliencehubv2.model.ListReportsRequest)operation.default ListReportsIterablelistReportsPaginator(ListReportsRequest listReportsRequest) This is a variant oflistReports(software.amazon.awssdk.services.resiliencehubv2.model.ListReportsRequest)operation.default ListResourcesResponselistResources(Consumer<ListResourcesRequest.Builder> listResourcesRequest) List resources.default ListResourcesResponselistResources(ListResourcesRequest listResourcesRequest) List resources.default ListResourcesIterablelistResourcesPaginator(Consumer<ListResourcesRequest.Builder> listResourcesRequest) This is a variant oflistResources(software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesRequest)operation.default ListResourcesIterablelistResourcesPaginator(ListResourcesRequest listResourcesRequest) This is a variant oflistResources(software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesRequest)operation.default ListServiceEventsResponselistServiceEvents(Consumer<ListServiceEventsRequest.Builder> listServiceEventsRequest) Lists events for a service.default ListServiceEventsResponselistServiceEvents(ListServiceEventsRequest listServiceEventsRequest) Lists events for a service.default ListServiceEventsIterablelistServiceEventsPaginator(Consumer<ListServiceEventsRequest.Builder> listServiceEventsRequest) This is a variant oflistServiceEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsRequest)operation.default ListServiceEventsIterablelistServiceEventsPaginator(ListServiceEventsRequest listServiceEventsRequest) This is a variant oflistServiceEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsRequest)operation.default ListServiceFunctionsResponselistServiceFunctions(Consumer<ListServiceFunctionsRequest.Builder> listServiceFunctionsRequest) Lists service functions for a service.default ListServiceFunctionsResponselistServiceFunctions(ListServiceFunctionsRequest listServiceFunctionsRequest) Lists service functions for a service.default ListServiceFunctionsIterablelistServiceFunctionsPaginator(Consumer<ListServiceFunctionsRequest.Builder> listServiceFunctionsRequest) This is a variant oflistServiceFunctions(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsRequest)operation.default ListServiceFunctionsIterablelistServiceFunctionsPaginator(ListServiceFunctionsRequest listServiceFunctionsRequest) This is a variant oflistServiceFunctions(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsRequest)operation.default ListServicesResponselistServices(Consumer<ListServicesRequest.Builder> listServicesRequest) Lists services.default ListServicesResponselistServices(ListServicesRequest listServicesRequest) Lists services.default ListServicesIterablelistServicesPaginator(Consumer<ListServicesRequest.Builder> listServicesRequest) This is a variant oflistServices(software.amazon.awssdk.services.resiliencehubv2.model.ListServicesRequest)operation.default ListServicesIterablelistServicesPaginator(ListServicesRequest listServicesRequest) This is a variant oflistServices(software.amazon.awssdk.services.resiliencehubv2.model.ListServicesRequest)operation.default ListServiceTopologyEdgesResponselistServiceTopologyEdges(Consumer<ListServiceTopologyEdgesRequest.Builder> listServiceTopologyEdgesRequest) Lists topology edges for a service.default ListServiceTopologyEdgesResponselistServiceTopologyEdges(ListServiceTopologyEdgesRequest listServiceTopologyEdgesRequest) Lists topology edges for a service.default ListServiceTopologyEdgesIterablelistServiceTopologyEdgesPaginator(Consumer<ListServiceTopologyEdgesRequest.Builder> listServiceTopologyEdgesRequest) This is a variant oflistServiceTopologyEdges(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesRequest)operation.default ListServiceTopologyEdgesIterablelistServiceTopologyEdgesPaginator(ListServiceTopologyEdgesRequest listServiceTopologyEdgesRequest) This is a variant oflistServiceTopologyEdges(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesRequest)operation.default ListSystemEventsResponselistSystemEvents(Consumer<ListSystemEventsRequest.Builder> listSystemEventsRequest) Lists events for a system.default ListSystemEventsResponselistSystemEvents(ListSystemEventsRequest listSystemEventsRequest) Lists events for a system.default ListSystemEventsIterablelistSystemEventsPaginator(Consumer<ListSystemEventsRequest.Builder> listSystemEventsRequest) This is a variant oflistSystemEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsRequest)operation.default ListSystemEventsIterablelistSystemEventsPaginator(ListSystemEventsRequest listSystemEventsRequest) This is a variant oflistSystemEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsRequest)operation.default ListSystemsResponselistSystems(Consumer<ListSystemsRequest.Builder> listSystemsRequest) Lists systems.default ListSystemsResponselistSystems(ListSystemsRequest listSystemsRequest) Lists systems.default ListSystemsIterablelistSystemsPaginator(Consumer<ListSystemsRequest.Builder> listSystemsRequest) This is a variant oflistSystems(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsRequest)operation.default ListSystemsIterablelistSystemsPaginator(ListSystemsRequest listSystemsRequest) This is a variant oflistSystems(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for a resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for a resource.default ListUserJourneysResponselistUserJourneys(Consumer<ListUserJourneysRequest.Builder> listUserJourneysRequest) Lists user journeys for a system.default ListUserJourneysResponselistUserJourneys(ListUserJourneysRequest listUserJourneysRequest) Lists user journeys for a system.default ListUserJourneysIterablelistUserJourneysPaginator(Consumer<ListUserJourneysRequest.Builder> listUserJourneysRequest) This is a variant oflistUserJourneys(software.amazon.awssdk.services.resiliencehubv2.model.ListUserJourneysRequest)operation.default ListUserJourneysIterablelistUserJourneysPaginator(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., ClientOverrideConfigurationstatic ServiceMetadatastartFailureModeAssessment(Consumer<StartFailureModeAssessmentRequest.Builder> startFailureModeAssessmentRequest) Start a failure mode assessment.startFailureModeAssessment(StartFailureModeAssessmentRequest startFailureModeAssessmentRequest) Start a failure mode assessment.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds tags to a resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes tags from a resource.default UpdateAssertionResponseupdateAssertion(Consumer<UpdateAssertionRequest.Builder> updateAssertionRequest) Updates a resilience assertion.default UpdateAssertionResponseupdateAssertion(UpdateAssertionRequest updateAssertionRequest) Updates a resilience assertion.default UpdateDependencyResponseupdateDependency(Consumer<UpdateDependencyRequest.Builder> updateDependencyRequest) Updates a dependency classification.default UpdateDependencyResponseupdateDependency(UpdateDependencyRequest updateDependencyRequest) Updates a dependency classification.default UpdateFailureModeFindingResponseupdateFailureModeFinding(Consumer<UpdateFailureModeFindingRequest.Builder> updateFailureModeFindingRequest) Updates an existing finding.default UpdateFailureModeFindingResponseupdateFailureModeFinding(UpdateFailureModeFindingRequest updateFailureModeFindingRequest) Updates an existing finding.default UpdatePolicyResponseupdatePolicy(Consumer<UpdatePolicyRequest.Builder> updatePolicyRequest) Updates an existing resilience policy.default UpdatePolicyResponseupdatePolicy(UpdatePolicyRequest updatePolicyRequest) Updates an existing resilience policy.default UpdateServiceResponseupdateService(Consumer<UpdateServiceRequest.Builder> updateServiceRequest) Updates an existing service.default UpdateServiceResponseupdateService(UpdateServiceRequest updateServiceRequest) Updates an existing service.default UpdateServiceFunctionResponseupdateServiceFunction(Consumer<UpdateServiceFunctionRequest.Builder> updateServiceFunctionRequest) Updates a service function.default UpdateServiceFunctionResponseupdateServiceFunction(UpdateServiceFunctionRequest updateServiceFunctionRequest) Updates a service function.default UpdateSystemResponseupdateSystem(Consumer<UpdateSystemRequest.Builder> updateSystemRequest) Updates an existing system.default UpdateSystemResponseupdateSystem(UpdateSystemRequest updateSystemRequest) Updates an existing system.default UpdateUserJourneyResponseupdateUserJourney(Consumer<UpdateUserJourneyRequest.Builder> updateUserJourneyRequest) Updates an existing user journey.default UpdateUserJourneyResponseupdateUserJourney(UpdateUserJourneyRequest updateUserJourneyRequest) Updates an existing user journey.default Resiliencehubv2Waiterwaiter()Create an instance ofResiliencehubv2Waiterusing 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 CreateAssertionResponse createAssertion(CreateAssertionRequest createAssertionRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Creates a resilience assertion for a service.
- Parameters:
createAssertionRequest-- Returns:
- Result of the CreateAssertion operation returned by the service.
- See Also:
-
createAssertion
default CreateAssertionResponse createAssertion(Consumer<CreateAssertionRequest.Builder> createAssertionRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the CreateAssertion operation returned by the service.
- See Also:
-
createInputSource
default CreateInputSourceResponse createInputSource(CreateInputSourceRequest createInputSourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Creates an input source for a service.
- Parameters:
createInputSourceRequest-- Returns:
- Result of the CreateInputSource operation returned by the service.
- See Also:
-
createInputSource
default CreateInputSourceResponse createInputSource(Consumer<CreateInputSourceRequest.Builder> createInputSourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the CreateInputSource operation returned by the service.
- See Also:
-
createPolicy
default CreatePolicyResponse createPolicy(CreatePolicyRequest createPolicyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Creates a resilience policy that defines availability and disaster recovery requirements.
- Parameters:
createPolicyRequest-- Returns:
- Result of the CreatePolicy operation returned by the service.
- See Also:
-
createPolicy
default CreatePolicyResponse createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the CreatePolicy operation returned by the service.
- See Also:
-
createReport
default CreateReportResponse createReport(CreateReportRequest createReportRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception On-demand report creation. Idempotent — duplicate requests with same clientToken return existing result.
- Parameters:
createReportRequest-- Returns:
- Result of the CreateReport operation returned by the service.
- See Also:
-
createReport
default CreateReportResponse createReport(Consumer<CreateReportRequest.Builder> createReportRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the CreateReport operation returned by the service.
- See Also:
-
createService
default CreateServiceResponse createService(CreateServiceRequest createServiceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Creates a service.
- Parameters:
createServiceRequest-- Returns:
- Result of the CreateService operation returned by the service.
- See Also:
-
createService
default CreateServiceResponse createService(Consumer<CreateServiceRequest.Builder> createServiceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the CreateService operation returned by the service.
- See Also:
-
createServiceFunction
default CreateServiceFunctionResponse createServiceFunction(CreateServiceFunctionRequest createServiceFunctionRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Creates a service function within a service.
- Parameters:
createServiceFunctionRequest-- Returns:
- Result of the CreateServiceFunction operation returned by the service.
- See Also:
-
createServiceFunction
default CreateServiceFunctionResponse createServiceFunction(Consumer<CreateServiceFunctionRequest.Builder> createServiceFunctionRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the CreateServiceFunction operation returned by the service.
- See Also:
-
createServiceFunctionResources
default CreateServiceFunctionResourcesResponse createServiceFunctionResources(CreateServiceFunctionResourcesRequest createServiceFunctionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Associates resources with a service function.
- Parameters:
createServiceFunctionResourcesRequest-- Returns:
- Result of the CreateServiceFunctionResources operation returned by the service.
- See Also:
-
createServiceFunctionResources
default CreateServiceFunctionResourcesResponse createServiceFunctionResources(Consumer<CreateServiceFunctionResourcesRequest.Builder> createServiceFunctionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the CreateServiceFunctionResources operation returned by the service.
- See Also:
-
createSystem
default CreateSystemResponse createSystem(CreateSystemRequest createSystemRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Creates a system that represents a logical grouping of services.
- Parameters:
createSystemRequest-- Returns:
- Result of the CreateSystem operation returned by the service.
- See Also:
-
createSystem
default CreateSystemResponse createSystem(Consumer<CreateSystemRequest.Builder> createSystemRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the CreateSystem operation returned by the service.
- See Also:
-
createUserJourney
default CreateUserJourneyResponse createUserJourney(CreateUserJourneyRequest createUserJourneyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Creates a user journey within a system.
- Parameters:
createUserJourneyRequest-- Returns:
- Result of the CreateUserJourney operation returned by the service.
- See Also:
-
createUserJourney
default CreateUserJourneyResponse createUserJourney(Consumer<CreateUserJourneyRequest.Builder> createUserJourneyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the CreateUserJourney operation returned by the service.
- See Also:
-
deleteAssertion
default DeleteAssertionResponse deleteAssertion(DeleteAssertionRequest deleteAssertionRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Deletes a resilience assertion from a service.
- Parameters:
deleteAssertionRequest-- Returns:
- Result of the DeleteAssertion operation returned by the service.
- See Also:
-
deleteAssertion
default DeleteAssertionResponse deleteAssertion(Consumer<DeleteAssertionRequest.Builder> deleteAssertionRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the DeleteAssertion operation returned by the service.
- See Also:
-
deleteInputSource
default DeleteInputSourceResponse deleteInputSource(DeleteInputSourceRequest deleteInputSourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Deletes an input source.
- Parameters:
deleteInputSourceRequest-- Returns:
- Result of the DeleteInputSource operation returned by the service.
- See Also:
-
deleteInputSource
default DeleteInputSourceResponse deleteInputSource(Consumer<DeleteInputSourceRequest.Builder> deleteInputSourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the DeleteInputSource operation returned by the service.
- See Also:
-
deletePolicy
default DeletePolicyResponse deletePolicy(DeletePolicyRequest deletePolicyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Deletes a resilience policy.
- Parameters:
deletePolicyRequest-- Returns:
- Result of the DeletePolicy operation returned by the service.
- See Also:
-
deletePolicy
default DeletePolicyResponse deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the DeletePolicy operation returned by the service.
- See Also:
-
deleteService
default DeleteServiceResponse deleteService(DeleteServiceRequest deleteServiceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Deletes a service.
- Parameters:
deleteServiceRequest-- Returns:
- Result of the DeleteService operation returned by the service.
- See Also:
-
deleteService
default DeleteServiceResponse deleteService(Consumer<DeleteServiceRequest.Builder> deleteServiceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the DeleteService operation returned by the service.
- See Also:
-
deleteServiceFunction
default DeleteServiceFunctionResponse deleteServiceFunction(DeleteServiceFunctionRequest deleteServiceFunctionRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Deletes a service function.
- Parameters:
deleteServiceFunctionRequest-- Returns:
- Result of the DeleteServiceFunction operation returned by the service.
- See Also:
-
deleteServiceFunction
default DeleteServiceFunctionResponse deleteServiceFunction(Consumer<DeleteServiceFunctionRequest.Builder> deleteServiceFunctionRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the DeleteServiceFunction operation returned by the service.
- See Also:
-
deleteServiceFunctionResources
default DeleteServiceFunctionResourcesResponse deleteServiceFunctionResources(DeleteServiceFunctionResourcesRequest deleteServiceFunctionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Removes resources from a service function.
- Parameters:
deleteServiceFunctionResourcesRequest-- Returns:
- Result of the DeleteServiceFunctionResources operation returned by the service.
- See Also:
-
deleteServiceFunctionResources
default DeleteServiceFunctionResourcesResponse deleteServiceFunctionResources(Consumer<DeleteServiceFunctionResourcesRequest.Builder> deleteServiceFunctionResourcesRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the DeleteServiceFunctionResources operation returned by the service.
- See Also:
-
deleteSystem
default DeleteSystemResponse deleteSystem(DeleteSystemRequest deleteSystemRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Deletes a system.
- Parameters:
deleteSystemRequest-- Returns:
- Result of the DeleteSystem operation returned by the service.
- See Also:
-
deleteSystem
default DeleteSystemResponse deleteSystem(Consumer<DeleteSystemRequest.Builder> deleteSystemRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the DeleteSystem operation returned by the service.
- See Also:
-
deleteUserJourney
default DeleteUserJourneyResponse deleteUserJourney(DeleteUserJourneyRequest deleteUserJourneyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Deletes a user journey.
- Parameters:
deleteUserJourneyRequest-- Returns:
- Result of the DeleteUserJourney operation returned by the service.
- See Also:
-
deleteUserJourney
default DeleteUserJourneyResponse deleteUserJourney(Consumer<DeleteUserJourneyRequest.Builder> deleteUserJourneyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the DeleteUserJourney operation returned by the service.
- See Also:
-
getFailureModeFinding
default GetFailureModeFindingResponse getFailureModeFinding(GetFailureModeFindingRequest getFailureModeFindingRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Retrieves a finding by findingId.
- Parameters:
getFailureModeFindingRequest-- Returns:
- Result of the GetFailureModeFinding operation returned by the service.
- See Also:
-
getFailureModeFinding
default GetFailureModeFindingResponse getFailureModeFinding(Consumer<GetFailureModeFindingRequest.Builder> getFailureModeFindingRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the GetFailureModeFinding operation returned by the service.
- See Also:
-
getPolicy
default GetPolicyResponse getPolicy(GetPolicyRequest getPolicyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Retrieves a resilience policy by ARN.
- Parameters:
getPolicyRequest-- Returns:
- Result of the GetPolicy operation returned by the service.
- See Also:
-
getPolicy
default GetPolicyResponse getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the GetPolicy operation returned by the service.
- See Also:
-
getService
default GetServiceResponse getService(GetServiceRequest getServiceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Retrieves a service by ARN.
- Parameters:
getServiceRequest-- Returns:
- Result of the GetService operation returned by the service.
- See Also:
-
getService
default GetServiceResponse getService(Consumer<GetServiceRequest.Builder> getServiceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the GetService operation returned by the service.
- See Also:
-
getSystem
default GetSystemResponse getSystem(GetSystemRequest getSystemRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Retrieves a system by ARN.
- Parameters:
getSystemRequest-- Returns:
- Result of the GetSystem operation returned by the service.
- See Also:
-
getSystem
default GetSystemResponse getSystem(Consumer<GetSystemRequest.Builder> getSystemRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the GetSystem operation returned by the service.
- See Also:
-
getUserJourney
default GetUserJourneyResponse getUserJourney(GetUserJourneyRequest getUserJourneyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Retrieves a user journey.
- Parameters:
getUserJourneyRequest-- Returns:
- Result of the GetUserJourney operation returned by the service.
- See Also:
-
getUserJourney
default GetUserJourneyResponse getUserJourney(Consumer<GetUserJourneyRequest.Builder> getUserJourneyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the GetUserJourney operation returned by the service.
- See Also:
-
importApp
default ImportAppResponse importApp(ImportAppRequest importAppRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Imports a V1 app into the V2 resource model, creating a service with the same name.
- Parameters:
importAppRequest-- Returns:
- Result of the ImportApp operation returned by the service.
- See Also:
-
importApp
default ImportAppResponse importApp(Consumer<ImportAppRequest.Builder> importAppRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ImportApp operation returned by the service.
- See Also:
-
importPolicy
default ImportPolicyResponse importPolicy(ImportPolicyRequest importPolicyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Imports a V1 policy into V2, mapping RTO/RPO values from V1 scenarios.
- Parameters:
importPolicyRequest-- Returns:
- Result of the ImportPolicy operation returned by the service.
- See Also:
-
importPolicy
default ImportPolicyResponse importPolicy(Consumer<ImportPolicyRequest.Builder> importPolicyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ImportPolicy operation returned by the service.
- See Also:
-
listAssertions
default ListAssertionsResponse listAssertions(ListAssertionsRequest listAssertionsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Lists resilience assertions for a service.
- Parameters:
listAssertionsRequest-- Returns:
- Result of the ListAssertions operation returned by the service.
- See Also:
-
listAssertions
default ListAssertionsResponse listAssertions(Consumer<ListAssertionsRequest.Builder> listAssertionsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ListAssertions operation returned by the service.
- See Also:
-
listAssertionsPaginator
default ListAssertionsIterable listAssertionsPaginator(ListAssertionsRequest listAssertionsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listAssertions(software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListAssertionsIterable responses = client.listAssertionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListAssertionsIterable responses = client .listAssertionsPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListAssertionsIterable responses = client.listAssertionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssertions(software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsRequest)operation.- Parameters:
listAssertionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssertionsPaginator
default ListAssertionsIterable listAssertionsPaginator(Consumer<ListAssertionsRequest.Builder> listAssertionsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listAssertions(software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListAssertionsIterable responses = client.listAssertionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListAssertionsIterable responses = client .listAssertionsPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListAssertionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListAssertionsIterable responses = client.listAssertionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listDependencies
default ListDependenciesResponse listDependencies(ListDependenciesRequest listDependenciesRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Lists dependencies discovered for services.
- Parameters:
listDependenciesRequest-- Returns:
- Result of the ListDependencies operation returned by the service.
- See Also:
-
listDependencies
default ListDependenciesResponse listDependencies(Consumer<ListDependenciesRequest.Builder> listDependenciesRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ListDependencies operation returned by the service.
- See Also:
-
listDependenciesPaginator
default ListDependenciesIterable listDependenciesPaginator(ListDependenciesRequest listDependenciesRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listDependencies(software.amazon.awssdk.services.resiliencehubv2.model.ListDependenciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListDependenciesIterable responses = client.listDependenciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListDependenciesIterable responses = client .listDependenciesPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListDependenciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListDependenciesIterable responses = client.listDependenciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDependencies(software.amazon.awssdk.services.resiliencehubv2.model.ListDependenciesRequest)operation.- Parameters:
listDependenciesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDependenciesPaginator
default ListDependenciesIterable listDependenciesPaginator(Consumer<ListDependenciesRequest.Builder> listDependenciesRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listDependencies(software.amazon.awssdk.services.resiliencehubv2.model.ListDependenciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListDependenciesIterable responses = client.listDependenciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListDependenciesIterable responses = client .listDependenciesPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListDependenciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListDependenciesIterable responses = client.listDependenciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFailureModeAssessments
default ListFailureModeAssessmentsResponse listFailureModeAssessments(ListFailureModeAssessmentsRequest listFailureModeAssessmentsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Lists failure mode assessments.
- Parameters:
listFailureModeAssessmentsRequest-- Returns:
- Result of the ListFailureModeAssessments operation returned by the service.
- See Also:
-
listFailureModeAssessments
default ListFailureModeAssessmentsResponse listFailureModeAssessments(Consumer<ListFailureModeAssessmentsRequest.Builder> listFailureModeAssessmentsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ListFailureModeAssessments operation returned by the service.
- See Also:
-
listFailureModeAssessmentsPaginator
default ListFailureModeAssessmentsIterable listFailureModeAssessmentsPaginator(ListFailureModeAssessmentsRequest listFailureModeAssessmentsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listFailureModeAssessments(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeAssessmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeAssessmentsIterable responses = client.listFailureModeAssessmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeAssessmentsIterable responses = client .listFailureModeAssessmentsPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeAssessmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeAssessmentsIterable responses = client.listFailureModeAssessmentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFailureModeAssessments(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeAssessmentsRequest)operation.- Parameters:
listFailureModeAssessmentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFailureModeAssessmentsPaginator
default ListFailureModeAssessmentsIterable listFailureModeAssessmentsPaginator(Consumer<ListFailureModeAssessmentsRequest.Builder> listFailureModeAssessmentsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listFailureModeAssessments(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeAssessmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeAssessmentsIterable responses = client.listFailureModeAssessmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeAssessmentsIterable responses = client .listFailureModeAssessmentsPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeAssessmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeAssessmentsIterable responses = client.listFailureModeAssessmentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFailureModeFindings
default ListFailureModeFindingsResponse listFailureModeFindings(ListFailureModeFindingsRequest listFailureModeFindingsRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception List findings.
- Parameters:
listFailureModeFindingsRequest-- Returns:
- Result of the ListFailureModeFindings operation returned by the service.
- See Also:
-
listFailureModeFindings
default ListFailureModeFindingsResponse listFailureModeFindings(Consumer<ListFailureModeFindingsRequest.Builder> listFailureModeFindingsRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ListFailureModeFindings operation returned by the service.
- See Also:
-
listFailureModeFindingsPaginator
default ListFailureModeFindingsIterable listFailureModeFindingsPaginator(ListFailureModeFindingsRequest listFailureModeFindingsRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listFailureModeFindings(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeFindingsIterable responses = client.listFailureModeFindingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeFindingsIterable responses = client .listFailureModeFindingsPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeFindingsIterable responses = client.listFailureModeFindingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFailureModeFindings(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsRequest)operation.- Parameters:
listFailureModeFindingsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFailureModeFindingsPaginator
default ListFailureModeFindingsIterable listFailureModeFindingsPaginator(Consumer<ListFailureModeFindingsRequest.Builder> listFailureModeFindingsRequest) throws ResourceNotFoundException, InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listFailureModeFindings(software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeFindingsIterable responses = client.listFailureModeFindingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeFindingsIterable responses = client .listFailureModeFindingsPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListFailureModeFindingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListFailureModeFindingsIterable responses = client.listFailureModeFindingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listInputSources
default ListInputSourcesResponse listInputSources(ListInputSourcesRequest listInputSourcesRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Lists input sources for a service.
- Parameters:
listInputSourcesRequest-- Returns:
- Result of the ListInputSources operation returned by the service.
- See Also:
-
listInputSources
default ListInputSourcesResponse listInputSources(Consumer<ListInputSourcesRequest.Builder> listInputSourcesRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ListInputSources operation returned by the service.
- See Also:
-
listInputSourcesPaginator
default ListInputSourcesIterable listInputSourcesPaginator(ListInputSourcesRequest listInputSourcesRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listInputSources(software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListInputSourcesIterable responses = client.listInputSourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListInputSourcesIterable responses = client .listInputSourcesPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListInputSourcesIterable responses = client.listInputSourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInputSources(software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesRequest)operation.- Parameters:
listInputSourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listInputSourcesPaginator
default ListInputSourcesIterable listInputSourcesPaginator(Consumer<ListInputSourcesRequest.Builder> listInputSourcesRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listInputSources(software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListInputSourcesIterable responses = client.listInputSourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListInputSourcesIterable responses = client .listInputSourcesPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListInputSourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListInputSourcesIterable responses = client.listInputSourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listPolicies
default ListPoliciesResponse listPolicies(ListPoliciesRequest listPoliciesRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Lists resilience policies.
- Parameters:
listPoliciesRequest-- Returns:
- Result of the ListPolicies operation returned by the service.
- See Also:
-
listPolicies
default ListPoliciesResponse listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ListPolicies operation returned by the service.
- See Also:
-
listPoliciesPaginator
default ListPoliciesIterable listPoliciesPaginator(ListPoliciesRequest listPoliciesRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listPolicies(software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListPoliciesIterable responses = client .listPoliciesPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPolicies(software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesRequest)operation.- Parameters:
listPoliciesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPoliciesPaginator
default ListPoliciesIterable listPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listPolicies(software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListPoliciesIterable responses = client .listPoliciesPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listReports
default ListReportsResponse listReports(ListReportsRequest listReportsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception List reports for a service, or all reports owned by the account if serviceArn is not provided.
- Parameters:
listReportsRequest-- Returns:
- Result of the ListReports operation returned by the service.
- See Also:
-
listReports
default ListReportsResponse listReports(Consumer<ListReportsRequest.Builder> listReportsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ListReports operation returned by the service.
- See Also:
-
listReportsPaginator
default ListReportsIterable listReportsPaginator(ListReportsRequest listReportsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listReports(software.amazon.awssdk.services.resiliencehubv2.model.ListReportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListReportsIterable responses = client.listReportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListReportsIterable responses = client .listReportsPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListReportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListReportsIterable responses = client.listReportsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReports(software.amazon.awssdk.services.resiliencehubv2.model.ListReportsRequest)operation.- Parameters:
listReportsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listReportsPaginator
default ListReportsIterable listReportsPaginator(Consumer<ListReportsRequest.Builder> listReportsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listReports(software.amazon.awssdk.services.resiliencehubv2.model.ListReportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListReportsIterable responses = client.listReportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListReportsIterable responses = client .listReportsPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListReportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListReportsIterable responses = client.listReportsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listResources
default ListResourcesResponse listResources(ListResourcesRequest listResourcesRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception List resources.
- Parameters:
listResourcesRequest-- Returns:
- Result of the ListResources operation returned by the service.
- See Also:
-
listResources
default ListResourcesResponse listResources(Consumer<ListResourcesRequest.Builder> listResourcesRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ListResources operation returned by the service.
- See Also:
-
listResourcesPaginator
default ListResourcesIterable listResourcesPaginator(ListResourcesRequest listResourcesRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listResources(software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListResourcesIterable responses = client.listResourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListResourcesIterable responses = client .listResourcesPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListResourcesIterable responses = client.listResourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResources(software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesRequest)operation.- Parameters:
listResourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listResourcesPaginator
default ListResourcesIterable listResourcesPaginator(Consumer<ListResourcesRequest.Builder> listResourcesRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listResources(software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListResourcesIterable responses = client.listResourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListResourcesIterable responses = client .listResourcesPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListResourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListResourcesIterable responses = client.listResourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listServiceEvents
default ListServiceEventsResponse listServiceEvents(ListServiceEventsRequest listServiceEventsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Lists events for a service.
- Parameters:
listServiceEventsRequest-- Returns:
- Result of the ListServiceEvents operation returned by the service.
- See Also:
-
listServiceEvents
default ListServiceEventsResponse listServiceEvents(Consumer<ListServiceEventsRequest.Builder> listServiceEventsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ListServiceEvents operation returned by the service.
- See Also:
-
listServiceEventsPaginator
default ListServiceEventsIterable listServiceEventsPaginator(ListServiceEventsRequest listServiceEventsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listServiceEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceEventsIterable responses = client.listServiceEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceEventsIterable responses = client .listServiceEventsPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceEventsIterable responses = client.listServiceEventsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsRequest)operation.- Parameters:
listServiceEventsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServiceEventsPaginator
default ListServiceEventsIterable listServiceEventsPaginator(Consumer<ListServiceEventsRequest.Builder> listServiceEventsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listServiceEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceEventsIterable responses = client.listServiceEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceEventsIterable responses = client .listServiceEventsPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListServiceEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceEventsIterable responses = client.listServiceEventsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listServiceFunctions
default ListServiceFunctionsResponse listServiceFunctions(ListServiceFunctionsRequest listServiceFunctionsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Lists service functions for a service.
- Parameters:
listServiceFunctionsRequest-- Returns:
- Result of the ListServiceFunctions operation returned by the service.
- See Also:
-
listServiceFunctions
default ListServiceFunctionsResponse listServiceFunctions(Consumer<ListServiceFunctionsRequest.Builder> listServiceFunctionsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ListServiceFunctions operation returned by the service.
- See Also:
-
listServiceFunctionsPaginator
default ListServiceFunctionsIterable listServiceFunctionsPaginator(ListServiceFunctionsRequest listServiceFunctionsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listServiceFunctions(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceFunctionsIterable responses = client.listServiceFunctionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceFunctionsIterable responses = client .listServiceFunctionsPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceFunctionsIterable responses = client.listServiceFunctionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceFunctions(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsRequest)operation.- Parameters:
listServiceFunctionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServiceFunctionsPaginator
default ListServiceFunctionsIterable listServiceFunctionsPaginator(Consumer<ListServiceFunctionsRequest.Builder> listServiceFunctionsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listServiceFunctions(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceFunctionsIterable responses = client.listServiceFunctionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceFunctionsIterable responses = client .listServiceFunctionsPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListServiceFunctionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceFunctionsIterable responses = client.listServiceFunctionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listServiceTopologyEdges
default ListServiceTopologyEdgesResponse listServiceTopologyEdges(ListServiceTopologyEdgesRequest listServiceTopologyEdgesRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Lists topology edges for a service.
- Parameters:
listServiceTopologyEdgesRequest-- Returns:
- Result of the ListServiceTopologyEdges operation returned by the service.
- See Also:
-
listServiceTopologyEdges
default ListServiceTopologyEdgesResponse listServiceTopologyEdges(Consumer<ListServiceTopologyEdgesRequest.Builder> listServiceTopologyEdgesRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ListServiceTopologyEdges operation returned by the service.
- See Also:
-
listServiceTopologyEdgesPaginator
default ListServiceTopologyEdgesIterable listServiceTopologyEdgesPaginator(ListServiceTopologyEdgesRequest listServiceTopologyEdgesRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listServiceTopologyEdges(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceTopologyEdgesIterable responses = client.listServiceTopologyEdgesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceTopologyEdgesIterable responses = client .listServiceTopologyEdgesPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceTopologyEdgesIterable responses = client.listServiceTopologyEdgesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceTopologyEdges(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesRequest)operation.- Parameters:
listServiceTopologyEdgesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServiceTopologyEdgesPaginator
default ListServiceTopologyEdgesIterable listServiceTopologyEdgesPaginator(Consumer<ListServiceTopologyEdgesRequest.Builder> listServiceTopologyEdgesRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listServiceTopologyEdges(software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceTopologyEdgesIterable responses = client.listServiceTopologyEdgesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceTopologyEdgesIterable responses = client .listServiceTopologyEdgesPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListServiceTopologyEdgesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServiceTopologyEdgesIterable responses = client.listServiceTopologyEdgesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listServices
default ListServicesResponse listServices(ListServicesRequest listServicesRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Lists services.
- Parameters:
listServicesRequest-- Returns:
- Result of the ListServices operation returned by the service.
- See Also:
-
listServices
default ListServicesResponse listServices(Consumer<ListServicesRequest.Builder> listServicesRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ListServices operation returned by the service.
- See Also:
-
listServicesPaginator
default ListServicesIterable listServicesPaginator(ListServicesRequest listServicesRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listServices(software.amazon.awssdk.services.resiliencehubv2.model.ListServicesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServicesIterable responses = client.listServicesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListServicesIterable responses = client .listServicesPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListServicesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServicesIterable responses = client.listServicesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServices(software.amazon.awssdk.services.resiliencehubv2.model.ListServicesRequest)operation.- Parameters:
listServicesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listServicesPaginator
default ListServicesIterable listServicesPaginator(Consumer<ListServicesRequest.Builder> listServicesRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listServices(software.amazon.awssdk.services.resiliencehubv2.model.ListServicesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServicesIterable responses = client.listServicesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListServicesIterable responses = client .listServicesPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListServicesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListServicesIterable responses = client.listServicesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listSystemEvents
default ListSystemEventsResponse listSystemEvents(ListSystemEventsRequest listSystemEventsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Lists events for a system.
- Parameters:
listSystemEventsRequest-- Returns:
- Result of the ListSystemEvents operation returned by the service.
- See Also:
-
listSystemEvents
default ListSystemEventsResponse listSystemEvents(Consumer<ListSystemEventsRequest.Builder> listSystemEventsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ListSystemEvents operation returned by the service.
- See Also:
-
listSystemEventsPaginator
default ListSystemEventsIterable listSystemEventsPaginator(ListSystemEventsRequest listSystemEventsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listSystemEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemEventsIterable responses = client.listSystemEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemEventsIterable responses = client .listSystemEventsPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemEventsIterable responses = client.listSystemEventsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSystemEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsRequest)operation.- Parameters:
listSystemEventsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSystemEventsPaginator
default ListSystemEventsIterable listSystemEventsPaginator(Consumer<ListSystemEventsRequest.Builder> listSystemEventsRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listSystemEvents(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemEventsIterable responses = client.listSystemEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemEventsIterable responses = client .listSystemEventsPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListSystemEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemEventsIterable responses = client.listSystemEventsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listSystems
default ListSystemsResponse listSystems(ListSystemsRequest listSystemsRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Lists systems.
- Parameters:
listSystemsRequest-- Returns:
- Result of the ListSystems operation returned by the service.
- See Also:
-
listSystems
default ListSystemsResponse listSystems(Consumer<ListSystemsRequest.Builder> listSystemsRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ListSystems operation returned by the service.
- See Also:
-
listSystemsPaginator
default ListSystemsIterable listSystemsPaginator(ListSystemsRequest listSystemsRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listSystems(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemsIterable responses = client.listSystemsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemsIterable responses = client .listSystemsPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemsIterable responses = client.listSystemsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSystems(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsRequest)operation.- Parameters:
listSystemsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSystemsPaginator
default ListSystemsIterable listSystemsPaginator(Consumer<ListSystemsRequest.Builder> listSystemsRequest) throws InternalServerException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listSystems(software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemsIterable responses = client.listSystemsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemsIterable responses = client .listSystemsPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListSystemsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListSystemsIterable responses = client.listSystemsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Lists the tags for a resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listUserJourneys
default ListUserJourneysResponse listUserJourneys(ListUserJourneysRequest listUserJourneysRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Lists user journeys for a system.
- Parameters:
listUserJourneysRequest-- Returns:
- Result of the ListUserJourneys operation returned by the service.
- See Also:
-
listUserJourneys
default ListUserJourneysResponse listUserJourneys(Consumer<ListUserJourneysRequest.Builder> listUserJourneysRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the ListUserJourneys operation returned by the service.
- See Also:
-
listUserJourneysPaginator
default ListUserJourneysIterable listUserJourneysPaginator(ListUserJourneysRequest listUserJourneysRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listUserJourneys(software.amazon.awssdk.services.resiliencehubv2.model.ListUserJourneysRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListUserJourneysIterable responses = client.listUserJourneysPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListUserJourneysIterable responses = client .listUserJourneysPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListUserJourneysResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListUserJourneysIterable responses = client.listUserJourneysPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUserJourneys(software.amazon.awssdk.services.resiliencehubv2.model.ListUserJourneysRequest)operation.- Parameters:
listUserJourneysRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listUserJourneysPaginator
default ListUserJourneysIterable listUserJourneysPaginator(Consumer<ListUserJourneysRequest.Builder> listUserJourneysRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception This is a variant of
listUserJourneys(software.amazon.awssdk.services.resiliencehubv2.model.ListUserJourneysRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListUserJourneysIterable responses = client.listUserJourneysPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.resiliencehubv2.paginators.ListUserJourneysIterable responses = client .listUserJourneysPaginator(request); for (software.amazon.awssdk.services.resiliencehubv2.model.ListUserJourneysResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.resiliencehubv2.paginators.ListUserJourneysIterable responses = client.listUserJourneysPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
startFailureModeAssessment
default StartFailureModeAssessmentResponse startFailureModeAssessment(StartFailureModeAssessmentRequest startFailureModeAssessmentRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Start a failure mode assessment.
- Parameters:
startFailureModeAssessmentRequest-- Returns:
- Result of the StartFailureModeAssessment operation returned by the service.
- See Also:
-
startFailureModeAssessment
default StartFailureModeAssessmentResponse startFailureModeAssessment(Consumer<StartFailureModeAssessmentRequest.Builder> startFailureModeAssessmentRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the StartFailureModeAssessment operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Adds tags to a resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Removes tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateAssertion
default UpdateAssertionResponse updateAssertion(UpdateAssertionRequest updateAssertionRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Updates a resilience assertion.
- Parameters:
updateAssertionRequest-- Returns:
- Result of the UpdateAssertion operation returned by the service.
- See Also:
-
updateAssertion
default UpdateAssertionResponse updateAssertion(Consumer<UpdateAssertionRequest.Builder> updateAssertionRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the UpdateAssertion operation returned by the service.
- See Also:
-
updateDependency
default UpdateDependencyResponse updateDependency(UpdateDependencyRequest updateDependencyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Updates a dependency classification.
- Parameters:
updateDependencyRequest-- Returns:
- Result of the UpdateDependency operation returned by the service.
- See Also:
-
updateDependency
default UpdateDependencyResponse updateDependency(Consumer<UpdateDependencyRequest.Builder> updateDependencyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the UpdateDependency operation returned by the service.
- See Also:
-
updateFailureModeFinding
default UpdateFailureModeFindingResponse updateFailureModeFinding(UpdateFailureModeFindingRequest updateFailureModeFindingRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Updates an existing finding.
- Parameters:
updateFailureModeFindingRequest-- Returns:
- Result of the UpdateFailureModeFinding operation returned by the service.
- See Also:
-
updateFailureModeFinding
default UpdateFailureModeFindingResponse updateFailureModeFinding(Consumer<UpdateFailureModeFindingRequest.Builder> updateFailureModeFindingRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the UpdateFailureModeFinding operation returned by the service.
- See Also:
-
updatePolicy
default UpdatePolicyResponse updatePolicy(UpdatePolicyRequest updatePolicyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Updates an existing resilience policy.
- Parameters:
updatePolicyRequest-- Returns:
- Result of the UpdatePolicy operation returned by the service.
- See Also:
-
updatePolicy
default UpdatePolicyResponse updatePolicy(Consumer<UpdatePolicyRequest.Builder> updatePolicyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the UpdatePolicy operation returned by the service.
- See Also:
-
updateService
default UpdateServiceResponse updateService(UpdateServiceRequest updateServiceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Updates an existing service.
- Parameters:
updateServiceRequest-- Returns:
- Result of the UpdateService operation returned by the service.
- See Also:
-
updateService
default UpdateServiceResponse updateService(Consumer<UpdateServiceRequest.Builder> updateServiceRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the UpdateService operation returned by the service.
- See Also:
-
updateServiceFunction
default UpdateServiceFunctionResponse updateServiceFunction(UpdateServiceFunctionRequest updateServiceFunctionRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Updates a service function.
- Parameters:
updateServiceFunctionRequest-- Returns:
- Result of the UpdateServiceFunction operation returned by the service.
- See Also:
-
updateServiceFunction
default UpdateServiceFunctionResponse updateServiceFunction(Consumer<UpdateServiceFunctionRequest.Builder> updateServiceFunctionRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the UpdateServiceFunction operation returned by the service.
- See Also:
-
updateSystem
default UpdateSystemResponse updateSystem(UpdateSystemRequest updateSystemRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Updates an existing system.
- Parameters:
updateSystemRequest-- Returns:
- Result of the UpdateSystem operation returned by the service.
- See Also:
-
updateSystem
default UpdateSystemResponse updateSystem(Consumer<UpdateSystemRequest.Builder> updateSystemRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the UpdateSystem operation returned by the service.
- See Also:
-
updateUserJourney
default UpdateUserJourneyResponse updateUserJourney(UpdateUserJourneyRequest updateUserJourneyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception Updates an existing user journey.
- Parameters:
updateUserJourneyRequest-- Returns:
- Result of the UpdateUserJourney operation returned by the service.
- See Also:
-
updateUserJourney
default UpdateUserJourneyResponse updateUserJourney(Consumer<UpdateUserJourneyRequest.Builder> updateUserJourneyRequest) throws InternalServerException, ResourceNotFoundException, ValidationException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Resiliencehubv2Exception 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:
- Result of the UpdateUserJourney operation returned by the service.
- See Also:
-
waiter
Create an instance ofResiliencehubv2Waiterusing 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
Resiliencehubv2Waiter
-
create
Create aResiliencehubv2Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aResiliencehubv2Client. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-