Interface AssuranceAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
AWS Assurance is a compliance service that helps you achieve and maintain compliance with security and governance frameworks by discovering in-scope resources, running assessments against framework controls, capturing evidence, and tracking remediation tasks.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionacceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest) Accepts a pending invitation to connect your account to an environment.acceptInvitation(AcceptInvitationRequest acceptInvitationRequest) Accepts a pending invitation to connect your account to an environment.assignPermissionSet(Consumer<AssignPermissionSetRequest.Builder> assignPermissionSetRequest) Assigns a permission set to a principal with optional scopes.assignPermissionSet(AssignPermissionSetRequest assignPermissionSetRequest) Assigns a permission set to a principal with optional scopes.default CompletableFuture<BatchGetCommentResponse> batchGetComment(Consumer<BatchGetCommentRequest.Builder> batchGetCommentRequest) Retrieves multiple comments in a single request.default CompletableFuture<BatchGetCommentResponse> batchGetComment(BatchGetCommentRequest batchGetCommentRequest) Retrieves multiple comments in a single request.default CompletableFuture<BatchGetControlResponse> batchGetControl(Consumer<BatchGetControlRequest.Builder> batchGetControlRequest) Retrieves multiple controls in a single request.default CompletableFuture<BatchGetControlResponse> batchGetControl(BatchGetControlRequest batchGetControlRequest) Retrieves multiple controls in a single request.default CompletableFuture<BatchGetTaskResponse> batchGetTask(Consumer<BatchGetTaskRequest.Builder> batchGetTaskRequest) Retrieves multiple tasks in a single request.default CompletableFuture<BatchGetTaskResponse> batchGetTask(BatchGetTaskRequest batchGetTaskRequest) Retrieves multiple tasks in a single request.static AssuranceAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aAssuranceAsyncClient.default CompletableFuture<Void> chat(Consumer<ChatRequest.Builder> chatRequest, ChatResponseHandler asyncResponseHandler) Starts a streaming chat turn with the AWS Assurance agent.default CompletableFuture<Void> chat(ChatRequest chatRequest, ChatResponseHandler asyncResponseHandler) Starts a streaming chat turn with the AWS Assurance agent.static AssuranceAsyncClientcreate()Create aAssuranceAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateCommentResponse> createComment(Consumer<CreateCommentRequest.Builder> createCommentRequest) Adds a new comment to a specific control.default CompletableFuture<CreateCommentResponse> createComment(CreateCommentRequest createCommentRequest) Adds a new comment to a specific control.default CompletableFuture<CreateControlResponse> createControl(Consumer<CreateControlRequest.Builder> createControlRequest) Creates a leaf control, which is a control with no child controls, in a custom framework.default CompletableFuture<CreateControlResponse> createControl(CreateControlRequest createControlRequest) Creates a leaf control, which is a control with no child controls, in a custom framework.createControlGroup(Consumer<CreateControlGroupRequest.Builder> createControlGroupRequest) Creates a control group within a custom framework.createControlGroup(CreateControlGroupRequest createControlGroupRequest) Creates a control group within a custom framework.createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) Creates a new governance environment with the specified name and service role.createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) Creates a new governance environment with the specified name and service role.createEnvironmentConnection(Consumer<CreateEnvironmentConnectionRequest.Builder> createEnvironmentConnectionRequest) Creates a connection between a governance environment and an evidence source.createEnvironmentConnection(CreateEnvironmentConnectionRequest createEnvironmentConnectionRequest) Creates a connection between a governance environment and an evidence source.default CompletableFuture<CreateFrameworkResponse> createFramework(Consumer<CreateFrameworkRequest.Builder> createFrameworkRequest) Creates a custom framework.default CompletableFuture<CreateFrameworkResponse> createFramework(CreateFrameworkRequest createFrameworkRequest) Creates a custom framework.createInvitation(Consumer<CreateInvitationRequest.Builder> createInvitationRequest) Creates a pending invitation for a customer account to connect to an environment.createInvitation(CreateInvitationRequest createInvitationRequest) Creates a pending invitation for a customer account to connect to an environment.createPermissionSet(Consumer<CreatePermissionSetRequest.Builder> createPermissionSetRequest) Creates a new permission set in the environment.createPermissionSet(CreatePermissionSetRequest createPermissionSetRequest) Creates a new permission set in the environment.default CompletableFuture<CreateProjectResponse> createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) Creates a new project with a list of resources in a governance environment.default CompletableFuture<CreateProjectResponse> createProject(CreateProjectRequest createProjectRequest) Creates a new project with a list of resources in a governance environment.default CompletableFuture<DeleteCommentResponse> deleteComment(Consumer<DeleteCommentRequest.Builder> deleteCommentRequest) Deletes a specific comment by its identifying fields.default CompletableFuture<DeleteCommentResponse> deleteComment(DeleteCommentRequest deleteCommentRequest) Deletes a specific comment by its identifying fields.default CompletableFuture<DeleteControlResponse> deleteControl(Consumer<DeleteControlRequest.Builder> deleteControlRequest) Deletes a custom control.default CompletableFuture<DeleteControlResponse> deleteControl(DeleteControlRequest deleteControlRequest) Deletes a custom control.deleteControlGroup(Consumer<DeleteControlGroupRequest.Builder> deleteControlGroupRequest) Deletes a control group.deleteControlGroup(DeleteControlGroupRequest deleteControlGroupRequest) Deletes a control group.deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) Deletes a governance environment.deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) Deletes a governance environment.deleteEnvironmentConnection(Consumer<DeleteEnvironmentConnectionRequest.Builder> deleteEnvironmentConnectionRequest) Deletes a connection from a governance environment.deleteEnvironmentConnection(DeleteEnvironmentConnectionRequest deleteEnvironmentConnectionRequest) Deletes a connection from a governance environment.default CompletableFuture<DeleteEvidenceResponse> deleteEvidence(Consumer<DeleteEvidenceRequest.Builder> deleteEvidenceRequest) Removes an evidence item.default CompletableFuture<DeleteEvidenceResponse> deleteEvidence(DeleteEvidenceRequest deleteEvidenceRequest) Removes an evidence item.default CompletableFuture<DeleteFrameworkResponse> deleteFramework(Consumer<DeleteFrameworkRequest.Builder> deleteFrameworkRequest) Deletes a custom framework that you no longer need.default CompletableFuture<DeleteFrameworkResponse> deleteFramework(DeleteFrameworkRequest deleteFrameworkRequest) Deletes a custom framework that you no longer need.deleteInvitation(Consumer<DeleteInvitationRequest.Builder> deleteInvitationRequest) Deletes an invitation or unlinks a connected account for an environment.deleteInvitation(DeleteInvitationRequest deleteInvitationRequest) Deletes an invitation or unlinks a connected account for an environment.deletePermissionSet(Consumer<DeletePermissionSetRequest.Builder> deletePermissionSetRequest) Deletes a permission set.deletePermissionSet(DeletePermissionSetRequest deletePermissionSetRequest) Deletes a permission set.default CompletableFuture<DeleteProjectResponse> deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) Deletes a project and all its associated resources.default CompletableFuture<DeleteProjectResponse> deleteProject(DeleteProjectRequest deleteProjectRequest) Deletes a project and all its associated resources.deregisterOrganizationDelegatedAdmin(Consumer<DeregisterOrganizationDelegatedAdminRequest.Builder> deregisterOrganizationDelegatedAdminRequest) Removes the delegated administrator for AWS Assurance from your organization.deregisterOrganizationDelegatedAdmin(DeregisterOrganizationDelegatedAdminRequest deregisterOrganizationDelegatedAdminRequest) Removes the delegated administrator for AWS Assurance from your organization.disableFramework(Consumer<DisableFrameworkRequest.Builder> disableFrameworkRequest) Disables a previously enabled framework for a specific project.disableFramework(DisableFrameworkRequest disableFrameworkRequest) Disables a previously enabled framework for a specific project.default CompletableFuture<EnableFrameworkResponse> enableFramework(Consumer<EnableFrameworkRequest.Builder> enableFrameworkRequest) Enables a compliance framework for a project in a governance environment.default CompletableFuture<EnableFrameworkResponse> enableFramework(EnableFrameworkRequest enableFrameworkRequest) Enables a compliance framework for a project in a governance environment.default CompletableFuture<GetAnnotationResponse> getAnnotation(Consumer<GetAnnotationRequest.Builder> getAnnotationRequest) Retrieves the annotation for a specific piece of evidence.default CompletableFuture<GetAnnotationResponse> getAnnotation(GetAnnotationRequest getAnnotationRequest) Retrieves the annotation for a specific piece of evidence.default CompletableFuture<GetAssessmentResponse> getAssessment(Consumer<GetAssessmentRequest.Builder> getAssessmentRequest) Retrieves a single assessment.default CompletableFuture<GetAssessmentResponse> getAssessment(GetAssessmentRequest getAssessmentRequest) Retrieves a single assessment.getAssessmentReportContent(Consumer<GetAssessmentReportContentRequest.Builder> getAssessmentReportContentRequest) Returns an assessment report.getAssessmentReportContent(GetAssessmentReportContentRequest getAssessmentReportContentRequest) Returns an assessment report.getAssessmentReportExport(Consumer<GetAssessmentReportExportRequest.Builder> getAssessmentReportExportRequest) Gets the status of an assessment report export.getAssessmentReportExport(GetAssessmentReportExportRequest getAssessmentReportExportRequest) Gets the status of an assessment report export.default CompletableFuture<GetChatMessagesResponse> getChatMessages(Consumer<GetChatMessagesRequest.Builder> getChatMessagesRequest) Gets messages for a chat session in chronological order.default CompletableFuture<GetChatMessagesResponse> getChatMessages(GetChatMessagesRequest getChatMessagesRequest) Gets messages for a chat session in chronological order.default GetChatMessagesPublishergetChatMessagesPaginator(Consumer<GetChatMessagesRequest.Builder> getChatMessagesRequest) This is a variant ofgetChatMessages(software.amazon.awssdk.services.assurance.model.GetChatMessagesRequest)operation.default GetChatMessagesPublishergetChatMessagesPaginator(GetChatMessagesRequest getChatMessagesRequest) This is a variant ofgetChatMessages(software.amazon.awssdk.services.assurance.model.GetChatMessagesRequest)operation.default CompletableFuture<GetCommentResponse> getComment(Consumer<GetCommentRequest.Builder> getCommentRequest) Retrieves a specific comment by its identifying fields.default CompletableFuture<GetCommentResponse> getComment(GetCommentRequest getCommentRequest) Retrieves a specific comment by its identifying fields.default CompletableFuture<GetControlResponse> getControl(Consumer<GetControlRequest.Builder> getControlRequest) Retrieves a single leaf control within a framework version, including its title, description, and requirements.default CompletableFuture<GetControlResponse> getControl(GetControlRequest getControlRequest) Retrieves a single leaf control within a framework version, including its title, description, and requirements.default CompletableFuture<GetControlGroupResponse> getControlGroup(Consumer<GetControlGroupRequest.Builder> getControlGroupRequest) Retrieves a single control group's own attributes (title, description, status) within a framework version.default CompletableFuture<GetControlGroupResponse> getControlGroup(GetControlGroupRequest getControlGroupRequest) Retrieves a single control group's own attributes (title, description, status) within a framework version.getControlStatus(Consumer<GetControlStatusRequest.Builder> getControlStatusRequest) Retrieves the effective compliance status of a control in a project.getControlStatus(GetControlStatusRequest getControlStatusRequest) Retrieves the effective compliance status of a control in a project.default CompletableFuture<GetEnvironmentResponse> getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) Retrieves a governance environment by ARN or domain.default CompletableFuture<GetEnvironmentResponse> getEnvironment(GetEnvironmentRequest getEnvironmentRequest) Retrieves a governance environment by ARN or domain.default CompletableFuture<GetEvidenceResponse> getEvidence(Consumer<GetEvidenceRequest.Builder> getEvidenceRequest) Retrieves metadata for an evidence item.default CompletableFuture<GetEvidenceResponse> getEvidence(GetEvidenceRequest getEvidenceRequest) Retrieves metadata for an evidence item.getEvidenceContent(Consumer<GetEvidenceContentRequest.Builder> getEvidenceContentRequest) Returns the content of an evidence item.getEvidenceContent(GetEvidenceContentRequest getEvidenceContentRequest) Returns the content of an evidence item.default CompletableFuture<GetFrameworkResponse> getFramework(Consumer<GetFrameworkRequest.Builder> getFrameworkRequest) Retrieves a framework resource by type and key fields.default CompletableFuture<GetFrameworkResponse> getFramework(GetFrameworkRequest getFrameworkRequest) Retrieves a framework resource by type and key fields.default CompletableFuture<GetInvitationResponse> getInvitation(Consumer<GetInvitationRequest.Builder> getInvitationRequest) Retrieves a single invitation, identified byenvironmentArnandinviteeAccountId.default CompletableFuture<GetInvitationResponse> getInvitation(GetInvitationRequest getInvitationRequest) Retrieves a single invitation, identified byenvironmentArnandinviteeAccountId.getPermissionSet(Consumer<GetPermissionSetRequest.Builder> getPermissionSetRequest) Retrieves a permission set by ID.getPermissionSet(GetPermissionSetRequest getPermissionSetRequest) Retrieves a permission set by ID.default CompletableFuture<GetProjectResponse> getProject(Consumer<GetProjectRequest.Builder> getProjectRequest) Retrieves a project and all its associated resources.default CompletableFuture<GetProjectResponse> getProject(GetProjectRequest getProjectRequest) Retrieves a project and all its associated resources.getResourceActivitiesQueryResults(Consumer<GetResourceActivitiesQueryResultsRequest.Builder> getResourceActivitiesQueryResultsRequest) Gets the status of a query thatStartResourceActivitiesQuerystarted, and one page of its results.getResourceActivitiesQueryResults(GetResourceActivitiesQueryResultsRequest getResourceActivitiesQueryResultsRequest) Gets the status of a query thatStartResourceActivitiesQuerystarted, and one page of its results.getResourceActivitiesQueryResultsPaginator(Consumer<GetResourceActivitiesQueryResultsRequest.Builder> getResourceActivitiesQueryResultsRequest) This is a variant ofgetResourceActivitiesQueryResults(software.amazon.awssdk.services.assurance.model.GetResourceActivitiesQueryResultsRequest)operation.getResourceActivitiesQueryResultsPaginator(GetResourceActivitiesQueryResultsRequest getResourceActivitiesQueryResultsRequest) This is a variant ofgetResourceActivitiesQueryResults(software.amazon.awssdk.services.assurance.model.GetResourceActivitiesQueryResultsRequest)operation.default CompletableFuture<GetTaskResponse> getTask(Consumer<GetTaskRequest.Builder> getTaskRequest) Retrieves a specific task by its identifying fields.default CompletableFuture<GetTaskResponse> getTask(GetTaskRequest getTaskRequest) Retrieves a specific task by its identifying fields.listAssessmentAnnotations(Consumer<ListAssessmentAnnotationsRequest.Builder> listAssessmentAnnotationsRequest) Lists the annotations on one assessment, paginated.listAssessmentAnnotations(ListAssessmentAnnotationsRequest listAssessmentAnnotationsRequest) Lists the annotations on one assessment, paginated.listAssessmentAnnotationsPaginator(Consumer<ListAssessmentAnnotationsRequest.Builder> listAssessmentAnnotationsRequest) This is a variant oflistAssessmentAnnotations(software.amazon.awssdk.services.assurance.model.ListAssessmentAnnotationsRequest)operation.listAssessmentAnnotationsPaginator(ListAssessmentAnnotationsRequest listAssessmentAnnotationsRequest) This is a variant oflistAssessmentAnnotations(software.amazon.awssdk.services.assurance.model.ListAssessmentAnnotationsRequest)operation.listAssessmentJournalRecords(Consumer<ListAssessmentJournalRecordsRequest.Builder> listAssessmentJournalRecordsRequest) Lists assessment journal records, paginated.listAssessmentJournalRecords(ListAssessmentJournalRecordsRequest listAssessmentJournalRecordsRequest) Lists assessment journal records, paginated.listAssessmentJournalRecordsPaginator(Consumer<ListAssessmentJournalRecordsRequest.Builder> listAssessmentJournalRecordsRequest) This is a variant oflistAssessmentJournalRecords(software.amazon.awssdk.services.assurance.model.ListAssessmentJournalRecordsRequest)operation.listAssessmentJournalRecordsPaginator(ListAssessmentJournalRecordsRequest listAssessmentJournalRecordsRequest) This is a variant oflistAssessmentJournalRecords(software.amazon.awssdk.services.assurance.model.ListAssessmentJournalRecordsRequest)operation.listAssessmentOutcomes(Consumer<ListAssessmentOutcomesRequest.Builder> listAssessmentOutcomesRequest) Returns the compliance score of a framework in a project over a time range.listAssessmentOutcomes(ListAssessmentOutcomesRequest listAssessmentOutcomesRequest) Returns the compliance score of a framework in a project over a time range.default ListAssessmentOutcomesPublisherlistAssessmentOutcomesPaginator(Consumer<ListAssessmentOutcomesRequest.Builder> listAssessmentOutcomesRequest) This is a variant oflistAssessmentOutcomes(software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesRequest)operation.default ListAssessmentOutcomesPublisherlistAssessmentOutcomesPaginator(ListAssessmentOutcomesRequest listAssessmentOutcomesRequest) This is a variant oflistAssessmentOutcomes(software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesRequest)operation.default CompletableFuture<ListAssessmentsResponse> listAssessments(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) Lists assessments, paginated.default CompletableFuture<ListAssessmentsResponse> listAssessments(ListAssessmentsRequest listAssessmentsRequest) Lists assessments, paginated.default ListAssessmentsPublisherlistAssessmentsPaginator(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) This is a variant oflistAssessments(software.amazon.awssdk.services.assurance.model.ListAssessmentsRequest)operation.default ListAssessmentsPublisherlistAssessmentsPaginator(ListAssessmentsRequest listAssessmentsRequest) This is a variant oflistAssessments(software.amazon.awssdk.services.assurance.model.ListAssessmentsRequest)operation.listChatSessions(Consumer<ListChatSessionsRequest.Builder> listChatSessionsRequest) Lists chat sessions for you in a governance environment.listChatSessions(ListChatSessionsRequest listChatSessionsRequest) Lists chat sessions for you in a governance environment.default ListChatSessionsPublisherlistChatSessionsPaginator(Consumer<ListChatSessionsRequest.Builder> listChatSessionsRequest) This is a variant oflistChatSessions(software.amazon.awssdk.services.assurance.model.ListChatSessionsRequest)operation.default ListChatSessionsPublisherlistChatSessionsPaginator(ListChatSessionsRequest listChatSessionsRequest) This is a variant oflistChatSessions(software.amazon.awssdk.services.assurance.model.ListChatSessionsRequest)operation.default CompletableFuture<ListCommentsResponse> listComments(Consumer<ListCommentsRequest.Builder> listCommentsRequest) Lists the comments on a specific control, optionally narrowed to a task.default CompletableFuture<ListCommentsResponse> listComments(ListCommentsRequest listCommentsRequest) Lists the comments on a specific control, optionally narrowed to a task.default ListCommentsPublisherlistCommentsPaginator(Consumer<ListCommentsRequest.Builder> listCommentsRequest) This is a variant oflistComments(software.amazon.awssdk.services.assurance.model.ListCommentsRequest)operation.default ListCommentsPublisherlistCommentsPaginator(ListCommentsRequest listCommentsRequest) This is a variant oflistComments(software.amazon.awssdk.services.assurance.model.ListCommentsRequest)operation.listConnectionItems(Consumer<ListConnectionItemsRequest.Builder> listConnectionItemsRequest) Lists the items that a connection can access, one level at a time, to help you find a document without knowing its URL.listConnectionItems(ListConnectionItemsRequest listConnectionItemsRequest) Lists the items that a connection can access, one level at a time, to help you find a document without knowing its URL.default ListConnectionItemsPublisherlistConnectionItemsPaginator(Consumer<ListConnectionItemsRequest.Builder> listConnectionItemsRequest) This is a variant oflistConnectionItems(software.amazon.awssdk.services.assurance.model.ListConnectionItemsRequest)operation.default ListConnectionItemsPublisherlistConnectionItemsPaginator(ListConnectionItemsRequest listConnectionItemsRequest) This is a variant oflistConnectionItems(software.amazon.awssdk.services.assurance.model.ListConnectionItemsRequest)operation.listControlGroups(Consumer<ListControlGroupsRequest.Builder> listControlGroupsRequest) Lists the control groups in a framework version.listControlGroups(ListControlGroupsRequest listControlGroupsRequest) Lists the control groups in a framework version.default ListControlGroupsPublisherlistControlGroupsPaginator(Consumer<ListControlGroupsRequest.Builder> listControlGroupsRequest) This is a variant oflistControlGroups(software.amazon.awssdk.services.assurance.model.ListControlGroupsRequest)operation.default ListControlGroupsPublisherlistControlGroupsPaginator(ListControlGroupsRequest listControlGroupsRequest) This is a variant oflistControlGroups(software.amazon.awssdk.services.assurance.model.ListControlGroupsRequest)operation.listControlResources(Consumer<ListControlResourcesRequest.Builder> listControlResourcesRequest) Lists the resources that are in scope for the automated evaluation of a control.listControlResources(ListControlResourcesRequest listControlResourcesRequest) Lists the resources that are in scope for the automated evaluation of a control.default ListControlResourcesPublisherlistControlResourcesPaginator(Consumer<ListControlResourcesRequest.Builder> listControlResourcesRequest) This is a variant oflistControlResources(software.amazon.awssdk.services.assurance.model.ListControlResourcesRequest)operation.default ListControlResourcesPublisherlistControlResourcesPaginator(ListControlResourcesRequest listControlResourcesRequest) This is a variant oflistControlResources(software.amazon.awssdk.services.assurance.model.ListControlResourcesRequest)operation.default CompletableFuture<ListControlsResponse> listControls(Consumer<ListControlsRequest.Builder> listControlsRequest) Lists the leaf controls within a single control group in a framework version.default CompletableFuture<ListControlsResponse> listControls(ListControlsRequest listControlsRequest) Lists the leaf controls within a single control group in a framework version.default ListControlsPublisherlistControlsPaginator(Consumer<ListControlsRequest.Builder> listControlsRequest) This is a variant oflistControls(software.amazon.awssdk.services.assurance.model.ListControlsRequest)operation.default ListControlsPublisherlistControlsPaginator(ListControlsRequest listControlsRequest) This is a variant oflistControls(software.amazon.awssdk.services.assurance.model.ListControlsRequest)operation.listDiscoveredResources(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest) Lists the resources that are in scope for an environment or project.listDiscoveredResources(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest) Lists the resources that are in scope for an environment or project.default ListDiscoveredResourcesPublisherlistDiscoveredResourcesPaginator(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest) This is a variant oflistDiscoveredResources(software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesRequest)operation.default ListDiscoveredResourcesPublisherlistDiscoveredResourcesPaginator(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest) This is a variant oflistDiscoveredResources(software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesRequest)operation.listEnabledFrameworks(Consumer<ListEnabledFrameworksRequest.Builder> listEnabledFrameworksRequest) Lists the frameworks enabled in a governance environment, optionally narrowed byfilters.listEnabledFrameworks(ListEnabledFrameworksRequest listEnabledFrameworksRequest) Lists the frameworks enabled in a governance environment, optionally narrowed byfilters.default ListEnabledFrameworksPublisherlistEnabledFrameworksPaginator(Consumer<ListEnabledFrameworksRequest.Builder> listEnabledFrameworksRequest) This is a variant oflistEnabledFrameworks(software.amazon.awssdk.services.assurance.model.ListEnabledFrameworksRequest)operation.default ListEnabledFrameworksPublisherlistEnabledFrameworksPaginator(ListEnabledFrameworksRequest listEnabledFrameworksRequest) This is a variant oflistEnabledFrameworks(software.amazon.awssdk.services.assurance.model.ListEnabledFrameworksRequest)operation.listEnvironmentConnections(Consumer<ListEnvironmentConnectionsRequest.Builder> listEnvironmentConnectionsRequest) Lists the connections for a governance environment.listEnvironmentConnections(ListEnvironmentConnectionsRequest listEnvironmentConnectionsRequest) Lists the connections for a governance environment.listEnvironmentConnectionsPaginator(Consumer<ListEnvironmentConnectionsRequest.Builder> listEnvironmentConnectionsRequest) This is a variant oflistEnvironmentConnections(software.amazon.awssdk.services.assurance.model.ListEnvironmentConnectionsRequest)operation.listEnvironmentConnectionsPaginator(ListEnvironmentConnectionsRequest listEnvironmentConnectionsRequest) This is a variant oflistEnvironmentConnections(software.amazon.awssdk.services.assurance.model.ListEnvironmentConnectionsRequest)operation.listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) Lists your governance environments.listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) Lists your governance environments.default ListEnvironmentsPublisherlistEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) This is a variant oflistEnvironments(software.amazon.awssdk.services.assurance.model.ListEnvironmentsRequest)operation.default ListEnvironmentsPublisherlistEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) This is a variant oflistEnvironments(software.amazon.awssdk.services.assurance.model.ListEnvironmentsRequest)operation.default CompletableFuture<ListEvidenceResponse> listEvidence(Consumer<ListEvidenceRequest.Builder> listEvidenceRequest) Lists evidence items (paginated).default CompletableFuture<ListEvidenceResponse> listEvidence(ListEvidenceRequest listEvidenceRequest) Lists evidence items (paginated).listEvidenceAnnotations(Consumer<ListEvidenceAnnotationsRequest.Builder> listEvidenceAnnotationsRequest) Lists the annotations on one version of a piece of evidence within a project, paginated.listEvidenceAnnotations(ListEvidenceAnnotationsRequest listEvidenceAnnotationsRequest) Lists the annotations on one version of a piece of evidence within a project, paginated.default ListEvidenceAnnotationsPublisherlistEvidenceAnnotationsPaginator(Consumer<ListEvidenceAnnotationsRequest.Builder> listEvidenceAnnotationsRequest) This is a variant oflistEvidenceAnnotations(software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsRequest)operation.default ListEvidenceAnnotationsPublisherlistEvidenceAnnotationsPaginator(ListEvidenceAnnotationsRequest listEvidenceAnnotationsRequest) This is a variant oflistEvidenceAnnotations(software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsRequest)operation.default ListEvidencePublisherlistEvidencePaginator(Consumer<ListEvidenceRequest.Builder> listEvidenceRequest) This is a variant oflistEvidence(software.amazon.awssdk.services.assurance.model.ListEvidenceRequest)operation.default ListEvidencePublisherlistEvidencePaginator(ListEvidenceRequest listEvidenceRequest) This is a variant oflistEvidence(software.amazon.awssdk.services.assurance.model.ListEvidenceRequest)operation.default CompletableFuture<ListFrameworksResponse> listFrameworks(Consumer<ListFrameworksRequest.Builder> listFrameworksRequest) Lists frameworks by type, with optional pagination.default CompletableFuture<ListFrameworksResponse> listFrameworks(ListFrameworksRequest listFrameworksRequest) Lists frameworks by type, with optional pagination.default ListFrameworksPublisherlistFrameworksPaginator(Consumer<ListFrameworksRequest.Builder> listFrameworksRequest) This is a variant oflistFrameworks(software.amazon.awssdk.services.assurance.model.ListFrameworksRequest)operation.default ListFrameworksPublisherlistFrameworksPaginator(ListFrameworksRequest listFrameworksRequest) This is a variant oflistFrameworks(software.amazon.awssdk.services.assurance.model.ListFrameworksRequest)operation.listInboundInvitations(Consumer<ListInboundInvitationsRequest.Builder> listInboundInvitationsRequest) Lists the invitations addressed to your account, across all environments.listInboundInvitations(ListInboundInvitationsRequest listInboundInvitationsRequest) Lists the invitations addressed to your account, across all environments.default ListInboundInvitationsPublisherlistInboundInvitationsPaginator(Consumer<ListInboundInvitationsRequest.Builder> listInboundInvitationsRequest) This is a variant oflistInboundInvitations(software.amazon.awssdk.services.assurance.model.ListInboundInvitationsRequest)operation.default ListInboundInvitationsPublisherlistInboundInvitationsPaginator(ListInboundInvitationsRequest listInboundInvitationsRequest) This is a variant oflistInboundInvitations(software.amazon.awssdk.services.assurance.model.ListInboundInvitationsRequest)operation.listOutboundInvitations(Consumer<ListOutboundInvitationsRequest.Builder> listOutboundInvitationsRequest) Lists the invitations that you extended from an environment you own.listOutboundInvitations(ListOutboundInvitationsRequest listOutboundInvitationsRequest) Lists the invitations that you extended from an environment you own.default ListOutboundInvitationsPublisherlistOutboundInvitationsPaginator(Consumer<ListOutboundInvitationsRequest.Builder> listOutboundInvitationsRequest) This is a variant oflistOutboundInvitations(software.amazon.awssdk.services.assurance.model.ListOutboundInvitationsRequest)operation.default ListOutboundInvitationsPublisherlistOutboundInvitationsPaginator(ListOutboundInvitationsRequest listOutboundInvitationsRequest) This is a variant oflistOutboundInvitations(software.amazon.awssdk.services.assurance.model.ListOutboundInvitationsRequest)operation.listPermissionSetAssignments(Consumer<ListPermissionSetAssignmentsRequest.Builder> listPermissionSetAssignmentsRequest) Lists permission set assignments for an environment.listPermissionSetAssignments(ListPermissionSetAssignmentsRequest listPermissionSetAssignmentsRequest) Lists permission set assignments for an environment.listPermissionSetAssignmentsPaginator(Consumer<ListPermissionSetAssignmentsRequest.Builder> listPermissionSetAssignmentsRequest) This is a variant oflistPermissionSetAssignments(software.amazon.awssdk.services.assurance.model.ListPermissionSetAssignmentsRequest)operation.listPermissionSetAssignmentsPaginator(ListPermissionSetAssignmentsRequest listPermissionSetAssignmentsRequest) This is a variant oflistPermissionSetAssignments(software.amazon.awssdk.services.assurance.model.ListPermissionSetAssignmentsRequest)operation.listPermissionSets(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest) Lists permission sets for an environment.listPermissionSets(ListPermissionSetsRequest listPermissionSetsRequest) Lists permission sets for an environment.default ListPermissionSetsPublisherlistPermissionSetsPaginator(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest) This is a variant oflistPermissionSets(software.amazon.awssdk.services.assurance.model.ListPermissionSetsRequest)operation.default ListPermissionSetsPublisherlistPermissionSetsPaginator(ListPermissionSetsRequest listPermissionSetsRequest) This is a variant oflistPermissionSets(software.amazon.awssdk.services.assurance.model.ListPermissionSetsRequest)operation.default CompletableFuture<ListProjectsResponse> listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) Lists all projects within a governance environment.default CompletableFuture<ListProjectsResponse> listProjects(ListProjectsRequest listProjectsRequest) Lists all projects within a governance environment.default ListProjectsPublisherlistProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.assurance.model.ListProjectsRequest)operation.default ListProjectsPublisherlistProjectsPaginator(ListProjectsRequest listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.assurance.model.ListProjectsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists tags for a resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists tags for a resource.default CompletableFuture<ListTaskHistoryResponse> listTaskHistory(Consumer<ListTaskHistoryRequest.Builder> listTaskHistoryRequest) Lists task history across assessments for a given task, ordered by most recent first.default CompletableFuture<ListTaskHistoryResponse> listTaskHistory(ListTaskHistoryRequest listTaskHistoryRequest) Lists task history across assessments for a given task, ordered by most recent first.default ListTaskHistoryPublisherlistTaskHistoryPaginator(Consumer<ListTaskHistoryRequest.Builder> listTaskHistoryRequest) This is a variant oflistTaskHistory(software.amazon.awssdk.services.assurance.model.ListTaskHistoryRequest)operation.default ListTaskHistoryPublisherlistTaskHistoryPaginator(ListTaskHistoryRequest listTaskHistoryRequest) This is a variant oflistTaskHistory(software.amazon.awssdk.services.assurance.model.ListTaskHistoryRequest)operation.default CompletableFuture<ListTasksResponse> listTasks(Consumer<ListTasksRequest.Builder> listTasksRequest) Lists all tasks within a governance environment.default CompletableFuture<ListTasksResponse> listTasks(ListTasksRequest listTasksRequest) Lists all tasks within a governance environment.default ListTasksPublisherlistTasksPaginator(Consumer<ListTasksRequest.Builder> listTasksRequest) This is a variant oflistTasks(software.amazon.awssdk.services.assurance.model.ListTasksRequest)operation.default ListTasksPublisherlistTasksPaginator(ListTasksRequest listTasksRequest) This is a variant oflistTasks(software.amazon.awssdk.services.assurance.model.ListTasksRequest)operation.publishFramework(Consumer<PublishFrameworkRequest.Builder> publishFrameworkRequest) Publishes a custom framework, transitioning its status from PENDING to ACTIVE.publishFramework(PublishFrameworkRequest publishFrameworkRequest) Publishes a custom framework, transitioning its status from PENDING to ACTIVE.putControlStatusOverride(Consumer<PutControlStatusOverrideRequest.Builder> putControlStatusOverrideRequest) Marks a control, or one of its requirements, as not applicable to a project, or makes it applicable again.putControlStatusOverride(PutControlStatusOverrideRequest putControlStatusOverrideRequest) Marks a control, or one of its requirements, as not applicable to a project, or makes it applicable again.default CompletableFuture<PutEvidenceResponse> putEvidence(Consumer<PutEvidenceRequest.Builder> putEvidenceRequest) Adds evidence to support a compliance assessment.default CompletableFuture<PutEvidenceResponse> putEvidence(PutEvidenceRequest putEvidenceRequest) Adds evidence to support a compliance assessment.registerOrganizationDelegatedAdmin(Consumer<RegisterOrganizationDelegatedAdminRequest.Builder> registerOrganizationDelegatedAdminRequest) Registers a member account of your organization as the delegated administrator for AWS Assurance.registerOrganizationDelegatedAdmin(RegisterOrganizationDelegatedAdminRequest registerOrganizationDelegatedAdminRequest) Registers a member account of your organization as the delegated administrator for AWS Assurance.rejectInvitation(Consumer<RejectInvitationRequest.Builder> rejectInvitationRequest) Rejects (declines) a pending invitation.rejectInvitation(RejectInvitationRequest rejectInvitationRequest) Rejects (declines) a pending invitation.revokePermissionSet(Consumer<RevokePermissionSetRequest.Builder> revokePermissionSetRequest) Revokes a permission set assignment.revokePermissionSet(RevokePermissionSetRequest revokePermissionSetRequest) Revokes a permission set assignment.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<StartAssessmentResponse> startAssessment(Consumer<StartAssessmentRequest.Builder> startAssessmentRequest) Begins a new assessment for a control or framework.default CompletableFuture<StartAssessmentResponse> startAssessment(StartAssessmentRequest startAssessmentRequest) Begins a new assessment for a control or framework.startAssessmentReportExport(Consumer<StartAssessmentReportExportRequest.Builder> startAssessmentReportExportRequest) Starts preparing an assessment report for a framework in a project.startAssessmentReportExport(StartAssessmentReportExportRequest startAssessmentReportExportRequest) Starts preparing an assessment report for a framework in a project.startResourceActivitiesQuery(Consumer<StartResourceActivitiesQueryRequest.Builder> startResourceActivitiesQueryRequest) Starts a query of the AWS API calls that an artificial intelligence (AI) agent on Amazon Bedrock AgentCore Runtime made.startResourceActivitiesQuery(StartResourceActivitiesQueryRequest startResourceActivitiesQueryRequest) Starts a query of the AWS API calls that an artificial intelligence (AI) agent on Amazon Bedrock AgentCore Runtime made.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or overwrites tags on a resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds or overwrites tags on a resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a resource.default CompletableFuture<UpdateCommentResponse> updateComment(Consumer<UpdateCommentRequest.Builder> updateCommentRequest) Modifies the content of an existing comment.default CompletableFuture<UpdateCommentResponse> updateComment(UpdateCommentRequest updateCommentRequest) Modifies the content of an existing comment.default CompletableFuture<UpdateControlResponse> updateControl(Consumer<UpdateControlRequest.Builder> updateControlRequest) Updates a custom control.default CompletableFuture<UpdateControlResponse> updateControl(UpdateControlRequest updateControlRequest) Updates a custom control.updateControlGroup(Consumer<UpdateControlGroupRequest.Builder> updateControlGroupRequest) Updates a control group.updateControlGroup(UpdateControlGroupRequest updateControlGroupRequest) Updates a control group.updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) Updates a governance environment.updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) Updates a governance environment.default CompletableFuture<UpdateEvidenceResponse> updateEvidence(Consumer<UpdateEvidenceRequest.Builder> updateEvidenceRequest) Updates evidence metadata and manages control links (add or remove) and re-analysis without creating a new evidence version.default CompletableFuture<UpdateEvidenceResponse> updateEvidence(UpdateEvidenceRequest updateEvidenceRequest) Updates evidence metadata and manages control links (add or remove) and re-analysis without creating a new evidence version.default CompletableFuture<UpdateFrameworkResponse> updateFramework(Consumer<UpdateFrameworkRequest.Builder> updateFrameworkRequest) Updates the title or description of a custom framework.default CompletableFuture<UpdateFrameworkResponse> updateFramework(UpdateFrameworkRequest updateFrameworkRequest) Updates the title or description of a custom framework.updatePermissionSet(Consumer<UpdatePermissionSetRequest.Builder> updatePermissionSetRequest) Updates an existing permission set.updatePermissionSet(UpdatePermissionSetRequest updatePermissionSetRequest) Updates an existing permission set.default CompletableFuture<UpdateProjectResponse> updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) Updates an existing project.default CompletableFuture<UpdateProjectResponse> updateProject(UpdateProjectRequest updateProjectRequest) Updates an existing project.default CompletableFuture<UpdateTaskResponse> updateTask(Consumer<UpdateTaskRequest.Builder> updateTaskRequest) Updates an existing task.default CompletableFuture<UpdateTaskResponse> updateTask(UpdateTaskRequest updateTaskRequest) Updates an existing task.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
-
acceptInvitation
default CompletableFuture<AcceptInvitationResponse> acceptInvitation(AcceptInvitationRequest acceptInvitationRequest) Accepts a pending invitation to connect your account to an environment. To use this operation, you must have permission to call
iam:CreateServiceLinkedRole.The invitation becomes ACTIVE when AWS Assurance can assume its service-linked role in your account. If AWS Assurance can't create or assume the role, the request fails and the invitation stays PENDING.
- Parameters:
acceptInvitationRequest-- Returns:
- A Java Future containing the result of the AcceptInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
acceptInvitation
default CompletableFuture<AcceptInvitationResponse> acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest) Accepts a pending invitation to connect your account to an environment. To use this operation, you must have permission to call
iam:CreateServiceLinkedRole.The invitation becomes ACTIVE when AWS Assurance can assume its service-linked role in your account. If AWS Assurance can't create or assume the role, the request fails and the invitation stays PENDING.
This is a convenience which creates an instance of the
AcceptInvitationRequest.Builderavoiding the need to create one manually viaAcceptInvitationRequest.builder()- Parameters:
acceptInvitationRequest- AConsumerthat will call methods onAcceptInvitationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AcceptInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
assignPermissionSet
default CompletableFuture<AssignPermissionSetResponse> assignPermissionSet(AssignPermissionSetRequest assignPermissionSetRequest) Assigns a permission set to a principal with optional scopes.
- Parameters:
assignPermissionSetRequest-- Returns:
- A Java Future containing the result of the AssignPermissionSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
assignPermissionSet
default CompletableFuture<AssignPermissionSetResponse> assignPermissionSet(Consumer<AssignPermissionSetRequest.Builder> assignPermissionSetRequest) Assigns a permission set to a principal with optional scopes.
This is a convenience which creates an instance of the
AssignPermissionSetRequest.Builderavoiding the need to create one manually viaAssignPermissionSetRequest.builder()- Parameters:
assignPermissionSetRequest- AConsumerthat will call methods onAssignPermissionSetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssignPermissionSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetComment
default CompletableFuture<BatchGetCommentResponse> batchGetComment(BatchGetCommentRequest batchGetCommentRequest) Retrieves multiple comments in a single request. Use it instead of calling
GetCommentfor each comment. If the operation can't return a comment, it lists the comment inerrorsand still succeeds.- Parameters:
batchGetCommentRequest-- Returns:
- A Java Future containing the result of the BatchGetComment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetComment
default CompletableFuture<BatchGetCommentResponse> batchGetComment(Consumer<BatchGetCommentRequest.Builder> batchGetCommentRequest) Retrieves multiple comments in a single request. Use it instead of calling
GetCommentfor each comment. If the operation can't return a comment, it lists the comment inerrorsand still succeeds.
This is a convenience which creates an instance of the
BatchGetCommentRequest.Builderavoiding the need to create one manually viaBatchGetCommentRequest.builder()- Parameters:
batchGetCommentRequest- AConsumerthat will call methods onBatchGetCommentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetComment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetControl
default CompletableFuture<BatchGetControlResponse> batchGetControl(BatchGetControlRequest batchGetControlRequest) Retrieves multiple controls in a single request. Use it instead of calling
GetControlfor each control. If the operation can't return a control, it lists the control inerrorsand still succeeds.- Parameters:
batchGetControlRequest-- Returns:
- A Java Future containing the result of the BatchGetControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetControl
default CompletableFuture<BatchGetControlResponse> batchGetControl(Consumer<BatchGetControlRequest.Builder> batchGetControlRequest) Retrieves multiple controls in a single request. Use it instead of calling
GetControlfor each control. If the operation can't return a control, it lists the control inerrorsand still succeeds.
This is a convenience which creates an instance of the
BatchGetControlRequest.Builderavoiding the need to create one manually viaBatchGetControlRequest.builder()- Parameters:
batchGetControlRequest- AConsumerthat will call methods onBatchGetControlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetTask
default CompletableFuture<BatchGetTaskResponse> batchGetTask(BatchGetTaskRequest batchGetTaskRequest) Retrieves multiple tasks in a single request. Use it instead of calling
GetTaskfor each task. If the operation can't return a task, it lists the task inerrorsand still succeeds.- Parameters:
batchGetTaskRequest-- Returns:
- A Java Future containing the result of the BatchGetTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetTask
default CompletableFuture<BatchGetTaskResponse> batchGetTask(Consumer<BatchGetTaskRequest.Builder> batchGetTaskRequest) Retrieves multiple tasks in a single request. Use it instead of calling
GetTaskfor each task. If the operation can't return a task, it lists the task inerrorsand still succeeds.
This is a convenience which creates an instance of the
BatchGetTaskRequest.Builderavoiding the need to create one manually viaBatchGetTaskRequest.builder()- Parameters:
batchGetTaskRequest- AConsumerthat will call methods onBatchGetTaskRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
chat
default CompletableFuture<Void> chat(ChatRequest chatRequest, ChatResponseHandler asyncResponseHandler) Starts a streaming chat turn with the AWS Assurance agent. Returns an event stream of chat events, including chunks, tool calls, and errors.
- Parameters:
chatRequest-- Returns:
- A Java Future containing the result of the Chat operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
chat
default CompletableFuture<Void> chat(Consumer<ChatRequest.Builder> chatRequest, ChatResponseHandler asyncResponseHandler) Starts a streaming chat turn with the AWS Assurance agent. Returns an event stream of chat events, including chunks, tool calls, and errors.
This is a convenience which creates an instance of the
ChatRequest.Builderavoiding the need to create one manually viaChatRequest.builder()- Parameters:
chatRequest- AConsumerthat will call methods onChatRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the Chat operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException The request would exceed a service quota.
- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createComment
default CompletableFuture<CreateCommentResponse> createComment(CreateCommentRequest createCommentRequest) Adds a new comment to a specific control.
- Parameters:
createCommentRequest-- Returns:
- A Java Future containing the result of the CreateComment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createComment
default CompletableFuture<CreateCommentResponse> createComment(Consumer<CreateCommentRequest.Builder> createCommentRequest) Adds a new comment to a specific control.
This is a convenience which creates an instance of the
CreateCommentRequest.Builderavoiding the need to create one manually viaCreateCommentRequest.builder()- Parameters:
createCommentRequest- AConsumerthat will call methods onCreateCommentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateComment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createControl
default CompletableFuture<CreateControlResponse> createControl(CreateControlRequest createControlRequest) Creates a leaf control, which is a control with no child controls, in a custom framework.
- Parameters:
createControlRequest-- Returns:
- A Java Future containing the result of the CreateControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createControl
default CompletableFuture<CreateControlResponse> createControl(Consumer<CreateControlRequest.Builder> createControlRequest) Creates a leaf control, which is a control with no child controls, in a custom framework.
This is a convenience which creates an instance of the
CreateControlRequest.Builderavoiding the need to create one manually viaCreateControlRequest.builder()- Parameters:
createControlRequest- AConsumerthat will call methods onCreateControlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createControlGroup
default CompletableFuture<CreateControlGroupResponse> createControlGroup(CreateControlGroupRequest createControlGroupRequest) Creates a control group within a custom framework.
- Parameters:
createControlGroupRequest-- Returns:
- A Java Future containing the result of the CreateControlGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createControlGroup
default CompletableFuture<CreateControlGroupResponse> createControlGroup(Consumer<CreateControlGroupRequest.Builder> createControlGroupRequest) Creates a control group within a custom framework.
This is a convenience which creates an instance of the
CreateControlGroupRequest.Builderavoiding the need to create one manually viaCreateControlGroupRequest.builder()- Parameters:
createControlGroupRequest- AConsumerthat will call methods onCreateControlGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateControlGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironment
default CompletableFuture<CreateEnvironmentResponse> createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) Creates a new governance environment with the specified name and service role. If you provide
identityStore, AWS Assurance creates an IAM Identity Center managed application for the environment.- Parameters:
createEnvironmentRequest-- Returns:
- A Java Future containing the result of the CreateEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironment
default CompletableFuture<CreateEnvironmentResponse> createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) Creates a new governance environment with the specified name and service role. If you provide
identityStore, AWS Assurance creates an IAM Identity Center managed application for the environment.
This is a convenience which creates an instance of the
CreateEnvironmentRequest.Builderavoiding the need to create one manually viaCreateEnvironmentRequest.builder()- Parameters:
createEnvironmentRequest- AConsumerthat will call methods onCreateEnvironmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironmentConnection
default CompletableFuture<CreateEnvironmentConnectionResponse> createEnvironmentConnection(CreateEnvironmentConnectionRequest createEnvironmentConnectionRequest) Creates a connection between a governance environment and an evidence source. Specify the source in
providerConfig.If you call this operation again for a source that is already connected, AWS Assurance returns the current status of the connection and doesn't create a second one.
- Parameters:
createEnvironmentConnectionRequest-- Returns:
- A Java Future containing the result of the CreateEnvironmentConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironmentConnection
default CompletableFuture<CreateEnvironmentConnectionResponse> createEnvironmentConnection(Consumer<CreateEnvironmentConnectionRequest.Builder> createEnvironmentConnectionRequest) Creates a connection between a governance environment and an evidence source. Specify the source in
providerConfig.If you call this operation again for a source that is already connected, AWS Assurance returns the current status of the connection and doesn't create a second one.
This is a convenience which creates an instance of the
CreateEnvironmentConnectionRequest.Builderavoiding the need to create one manually viaCreateEnvironmentConnectionRequest.builder()- Parameters:
createEnvironmentConnectionRequest- AConsumerthat will call methods onCreateEnvironmentConnectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateEnvironmentConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFramework
default CompletableFuture<CreateFrameworkResponse> createFramework(CreateFrameworkRequest createFrameworkRequest) Creates a custom framework. The framework name must not start with
AWS:. New frameworks are created inPENDINGstatus. UsePublishFrameworkto make themACTIVE.- Parameters:
createFrameworkRequest-- Returns:
- A Java Future containing the result of the CreateFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFramework
default CompletableFuture<CreateFrameworkResponse> createFramework(Consumer<CreateFrameworkRequest.Builder> createFrameworkRequest) Creates a custom framework. The framework name must not start with
AWS:. New frameworks are created inPENDINGstatus. UsePublishFrameworkto make themACTIVE.
This is a convenience which creates an instance of the
CreateFrameworkRequest.Builderavoiding the need to create one manually viaCreateFrameworkRequest.builder()- Parameters:
createFrameworkRequest- AConsumerthat will call methods onCreateFrameworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createInvitation
default CompletableFuture<CreateInvitationResponse> createInvitation(CreateInvitationRequest createInvitationRequest) Creates a pending invitation for a customer account to connect to an environment. Call this operation from the account that owns the environment.
At most one non-terminal (PENDING or ACTIVE) invitation can exist per
(environment, inviteeAccountId)pair. If you call this operation when a non-terminal invitation already exists, the service returnsConflictException.- Parameters:
createInvitationRequest-- Returns:
- A Java Future containing the result of the CreateInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createInvitation
default CompletableFuture<CreateInvitationResponse> createInvitation(Consumer<CreateInvitationRequest.Builder> createInvitationRequest) Creates a pending invitation for a customer account to connect to an environment. Call this operation from the account that owns the environment.
At most one non-terminal (PENDING or ACTIVE) invitation can exist per
(environment, inviteeAccountId)pair. If you call this operation when a non-terminal invitation already exists, the service returnsConflictException.
This is a convenience which creates an instance of the
CreateInvitationRequest.Builderavoiding the need to create one manually viaCreateInvitationRequest.builder()- Parameters:
createInvitationRequest- AConsumerthat will call methods onCreateInvitationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPermissionSet
default CompletableFuture<CreatePermissionSetResponse> createPermissionSet(CreatePermissionSetRequest createPermissionSetRequest) Creates a new permission set in the environment. Returns the identifier the service assigned to it; retrieve its attributes with GetPermissionSet.
- Parameters:
createPermissionSetRequest-- Returns:
- A Java Future containing the result of the CreatePermissionSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPermissionSet
default CompletableFuture<CreatePermissionSetResponse> createPermissionSet(Consumer<CreatePermissionSetRequest.Builder> createPermissionSetRequest) Creates a new permission set in the environment. Returns the identifier the service assigned to it; retrieve its attributes with GetPermissionSet.
This is a convenience which creates an instance of the
CreatePermissionSetRequest.Builderavoiding the need to create one manually viaCreatePermissionSetRequest.builder()- Parameters:
createPermissionSetRequest- AConsumerthat will call methods onCreatePermissionSetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreatePermissionSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createProject
default CompletableFuture<CreateProjectResponse> createProject(CreateProjectRequest createProjectRequest) Creates a new project with a list of resources in a governance environment.
- Parameters:
createProjectRequest-- Returns:
- A Java Future containing the result of the CreateProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createProject
default CompletableFuture<CreateProjectResponse> createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) Creates a new project with a list of resources in a governance environment.
This is a convenience which creates an instance of the
CreateProjectRequest.Builderavoiding the need to create one manually viaCreateProjectRequest.builder()- Parameters:
createProjectRequest- AConsumerthat will call methods onCreateProjectRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteComment
default CompletableFuture<DeleteCommentResponse> deleteComment(DeleteCommentRequest deleteCommentRequest) Deletes a specific comment by its identifying fields.
- Parameters:
deleteCommentRequest-- Returns:
- A Java Future containing the result of the DeleteComment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteComment
default CompletableFuture<DeleteCommentResponse> deleteComment(Consumer<DeleteCommentRequest.Builder> deleteCommentRequest) Deletes a specific comment by its identifying fields.
This is a convenience which creates an instance of the
DeleteCommentRequest.Builderavoiding the need to create one manually viaDeleteCommentRequest.builder()- Parameters:
deleteCommentRequest- AConsumerthat will call methods onDeleteCommentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteComment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteControl
default CompletableFuture<DeleteControlResponse> deleteControl(DeleteControlRequest deleteControlRequest) Deletes a custom control. The operation also removes any associated evaluation metadata (control intents and workflow type).
- Parameters:
deleteControlRequest-- Returns:
- A Java Future containing the result of the DeleteControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteControl
default CompletableFuture<DeleteControlResponse> deleteControl(Consumer<DeleteControlRequest.Builder> deleteControlRequest) Deletes a custom control. The operation also removes any associated evaluation metadata (control intents and workflow type).
This is a convenience which creates an instance of the
DeleteControlRequest.Builderavoiding the need to create one manually viaDeleteControlRequest.builder()- Parameters:
deleteControlRequest- AConsumerthat will call methods onDeleteControlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteControlGroup
default CompletableFuture<DeleteControlGroupResponse> deleteControlGroup(DeleteControlGroupRequest deleteControlGroupRequest) Deletes a control group. The group must be empty (no child controls) before you delete it.
- Parameters:
deleteControlGroupRequest-- Returns:
- A Java Future containing the result of the DeleteControlGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteControlGroup
default CompletableFuture<DeleteControlGroupResponse> deleteControlGroup(Consumer<DeleteControlGroupRequest.Builder> deleteControlGroupRequest) Deletes a control group. The group must be empty (no child controls) before you delete it.
This is a convenience which creates an instance of the
DeleteControlGroupRequest.Builderavoiding the need to create one manually viaDeleteControlGroupRequest.builder()- Parameters:
deleteControlGroupRequest- AConsumerthat will call methods onDeleteControlGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteControlGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironment
default CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) Deletes a governance environment.
- Parameters:
deleteEnvironmentRequest-- Returns:
- A Java Future containing the result of the DeleteEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironment
default CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) Deletes a governance environment.
This is a convenience which creates an instance of the
DeleteEnvironmentRequest.Builderavoiding the need to create one manually viaDeleteEnvironmentRequest.builder()- Parameters:
deleteEnvironmentRequest- AConsumerthat will call methods onDeleteEnvironmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentConnection
default CompletableFuture<DeleteEnvironmentConnectionResponse> deleteEnvironmentConnection(DeleteEnvironmentConnectionRequest deleteEnvironmentConnectionRequest) Deletes a connection from a governance environment. Specify the connection in
providerConfig. Deleting a connection doesn't delete any evidence.If the connection doesn't exist, the operation succeeds without returning an error.
- Parameters:
deleteEnvironmentConnectionRequest-- Returns:
- A Java Future containing the result of the DeleteEnvironmentConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentConnection
default CompletableFuture<DeleteEnvironmentConnectionResponse> deleteEnvironmentConnection(Consumer<DeleteEnvironmentConnectionRequest.Builder> deleteEnvironmentConnectionRequest) Deletes a connection from a governance environment. Specify the connection in
providerConfig. Deleting a connection doesn't delete any evidence.If the connection doesn't exist, the operation succeeds without returning an error.
This is a convenience which creates an instance of the
DeleteEnvironmentConnectionRequest.Builderavoiding the need to create one manually viaDeleteEnvironmentConnectionRequest.builder()- Parameters:
deleteEnvironmentConnectionRequest- AConsumerthat will call methods onDeleteEnvironmentConnectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteEnvironmentConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEvidence
default CompletableFuture<DeleteEvidenceResponse> deleteEvidence(DeleteEvidenceRequest deleteEvidenceRequest) Removes an evidence item.
- Parameters:
deleteEvidenceRequest-- Returns:
- A Java Future containing the result of the DeleteEvidence operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEvidence
default CompletableFuture<DeleteEvidenceResponse> deleteEvidence(Consumer<DeleteEvidenceRequest.Builder> deleteEvidenceRequest) Removes an evidence item.
This is a convenience which creates an instance of the
DeleteEvidenceRequest.Builderavoiding the need to create one manually viaDeleteEvidenceRequest.builder()- Parameters:
deleteEvidenceRequest- AConsumerthat will call methods onDeleteEvidenceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteEvidence operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFramework
default CompletableFuture<DeleteFrameworkResponse> deleteFramework(DeleteFrameworkRequest deleteFrameworkRequest) Deletes a custom framework that you no longer need. You can delete only custom frameworks. Managed frameworks are read-only. Before you delete a framework, you must disable it in every project where it is enabled. Otherwise, you receive a
ConflictException.A framework in
PENDINGstatus must be empty (no control groups or controls) before you delete it. Otherwise, you receive aConflictException. When you delete anACTIVE(published) framework, AWS Assurance also deletes its control groups and controls.In every project, AWS Assurance also deletes your data for this framework version:
-
Assessments and their results
-
Annotations
-
Tasks, task history, and comments
-
Decisions that mark a control or requirement as not applicable, and their justifications
Consider this data permanently deleted as soon as the operation succeeds. Your evidence remains available, but it is no longer linked to the framework's controls.
To keep an assessment report, export it before you disable the framework. First, call
StartAssessmentReportExport. Then wait untilGetAssessmentReportExportreportsCOMPLETED. Finally, get the report withGetAssessmentReportContent.The deletion can continue after the operation returns and might take some time. For example, the deletion might take longer while an assessment that uses the framework is still running. Until the deletion completes, creating a framework with the same name and version returns a
ConflictException.- Parameters:
deleteFrameworkRequest-- Returns:
- A Java Future containing the result of the DeleteFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteFramework
default CompletableFuture<DeleteFrameworkResponse> deleteFramework(Consumer<DeleteFrameworkRequest.Builder> deleteFrameworkRequest) Deletes a custom framework that you no longer need. You can delete only custom frameworks. Managed frameworks are read-only. Before you delete a framework, you must disable it in every project where it is enabled. Otherwise, you receive a
ConflictException.A framework in
PENDINGstatus must be empty (no control groups or controls) before you delete it. Otherwise, you receive aConflictException. When you delete anACTIVE(published) framework, AWS Assurance also deletes its control groups and controls.In every project, AWS Assurance also deletes your data for this framework version:
-
Assessments and their results
-
Annotations
-
Tasks, task history, and comments
-
Decisions that mark a control or requirement as not applicable, and their justifications
Consider this data permanently deleted as soon as the operation succeeds. Your evidence remains available, but it is no longer linked to the framework's controls.
To keep an assessment report, export it before you disable the framework. First, call
StartAssessmentReportExport. Then wait untilGetAssessmentReportExportreportsCOMPLETED. Finally, get the report withGetAssessmentReportContent.The deletion can continue after the operation returns and might take some time. For example, the deletion might take longer while an assessment that uses the framework is still running. Until the deletion completes, creating a framework with the same name and version returns a
ConflictException.
This is a convenience which creates an instance of the
DeleteFrameworkRequest.Builderavoiding the need to create one manually viaDeleteFrameworkRequest.builder()- Parameters:
deleteFrameworkRequest- AConsumerthat will call methods onDeleteFrameworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
deleteInvitation
default CompletableFuture<DeleteInvitationResponse> deleteInvitation(DeleteInvitationRequest deleteInvitationRequest) Deletes an invitation or unlinks a connected account for an environment. Call this operation from the environment owner account. This operation is idempotent—deleting an already-removed invitation or connection has no effect.
Withdraws a pending invitation or removes an active connection, in any state. After you remove the connection, AWS Assurance no longer evaluates that account.
- Parameters:
deleteInvitationRequest-- Returns:
- A Java Future containing the result of the DeleteInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteInvitation
default CompletableFuture<DeleteInvitationResponse> deleteInvitation(Consumer<DeleteInvitationRequest.Builder> deleteInvitationRequest) Deletes an invitation or unlinks a connected account for an environment. Call this operation from the environment owner account. This operation is idempotent—deleting an already-removed invitation or connection has no effect.
Withdraws a pending invitation or removes an active connection, in any state. After you remove the connection, AWS Assurance no longer evaluates that account.
This is a convenience which creates an instance of the
DeleteInvitationRequest.Builderavoiding the need to create one manually viaDeleteInvitationRequest.builder()- Parameters:
deleteInvitationRequest- AConsumerthat will call methods onDeleteInvitationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePermissionSet
default CompletableFuture<DeletePermissionSetResponse> deletePermissionSet(DeletePermissionSetRequest deletePermissionSetRequest) Deletes a permission set.
- Parameters:
deletePermissionSetRequest-- Returns:
- A Java Future containing the result of the DeletePermissionSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePermissionSet
default CompletableFuture<DeletePermissionSetResponse> deletePermissionSet(Consumer<DeletePermissionSetRequest.Builder> deletePermissionSetRequest) Deletes a permission set.
This is a convenience which creates an instance of the
DeletePermissionSetRequest.Builderavoiding the need to create one manually viaDeletePermissionSetRequest.builder()- Parameters:
deletePermissionSetRequest- AConsumerthat will call methods onDeletePermissionSetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeletePermissionSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteProject
default CompletableFuture<DeleteProjectResponse> deleteProject(DeleteProjectRequest deleteProjectRequest) Deletes a project and all its associated resources.
- Parameters:
deleteProjectRequest-- Returns:
- A Java Future containing the result of the DeleteProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteProject
default CompletableFuture<DeleteProjectResponse> deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) Deletes a project and all its associated resources.
This is a convenience which creates an instance of the
DeleteProjectRequest.Builderavoiding the need to create one manually viaDeleteProjectRequest.builder()- Parameters:
deleteProjectRequest- AConsumerthat will call methods onDeleteProjectRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deregisterOrganizationDelegatedAdmin
default CompletableFuture<DeregisterOrganizationDelegatedAdminResponse> deregisterOrganizationDelegatedAdmin(DeregisterOrganizationDelegatedAdminRequest deregisterOrganizationDelegatedAdminRequest) Removes the delegated administrator for AWS Assurance from your organization. The account that was the delegated administrator can no longer manage organization-scoped environments. The management account keeps ownership of any resources that the delegated administrator created.
Only the management account of the organization can call this operation.
- Parameters:
deregisterOrganizationDelegatedAdminRequest-- Returns:
- A Java Future containing the result of the DeregisterOrganizationDelegatedAdmin operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deregisterOrganizationDelegatedAdmin
default CompletableFuture<DeregisterOrganizationDelegatedAdminResponse> deregisterOrganizationDelegatedAdmin(Consumer<DeregisterOrganizationDelegatedAdminRequest.Builder> deregisterOrganizationDelegatedAdminRequest) Removes the delegated administrator for AWS Assurance from your organization. The account that was the delegated administrator can no longer manage organization-scoped environments. The management account keeps ownership of any resources that the delegated administrator created.
Only the management account of the organization can call this operation.
This is a convenience which creates an instance of the
DeregisterOrganizationDelegatedAdminRequest.Builderavoiding the need to create one manually viaDeregisterOrganizationDelegatedAdminRequest.builder()- Parameters:
deregisterOrganizationDelegatedAdminRequest- AConsumerthat will call methods onDeregisterOrganizationDelegatedAdminRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeregisterOrganizationDelegatedAdmin operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disableFramework
default CompletableFuture<DisableFrameworkResponse> disableFramework(DisableFrameworkRequest disableFrameworkRequest) Disables a previously enabled framework for a specific project.
- Parameters:
disableFrameworkRequest-- Returns:
- A Java Future containing the result of the DisableFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disableFramework
default CompletableFuture<DisableFrameworkResponse> disableFramework(Consumer<DisableFrameworkRequest.Builder> disableFrameworkRequest) Disables a previously enabled framework for a specific project.
This is a convenience which creates an instance of the
DisableFrameworkRequest.Builderavoiding the need to create one manually viaDisableFrameworkRequest.builder()- Parameters:
disableFrameworkRequest- AConsumerthat will call methods onDisableFrameworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisableFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
enableFramework
default CompletableFuture<EnableFrameworkResponse> enableFramework(EnableFrameworkRequest enableFrameworkRequest) Enables a compliance framework for a project in a governance environment. AWS Assurance then assesses the project's resources against the framework's controls.
- Parameters:
enableFrameworkRequest-- Returns:
- A Java Future containing the result of the EnableFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
enableFramework
default CompletableFuture<EnableFrameworkResponse> enableFramework(Consumer<EnableFrameworkRequest.Builder> enableFrameworkRequest) Enables a compliance framework for a project in a governance environment. AWS Assurance then assesses the project's resources against the framework's controls.
This is a convenience which creates an instance of the
EnableFrameworkRequest.Builderavoiding the need to create one manually viaEnableFrameworkRequest.builder()- Parameters:
enableFrameworkRequest- AConsumerthat will call methods onEnableFrameworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the EnableFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAnnotation
default CompletableFuture<GetAnnotationResponse> getAnnotation(GetAnnotationRequest getAnnotationRequest) Retrieves the annotation for a specific piece of evidence.
- Parameters:
getAnnotationRequest-- Returns:
- A Java Future containing the result of the GetAnnotation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAnnotation
default CompletableFuture<GetAnnotationResponse> getAnnotation(Consumer<GetAnnotationRequest.Builder> getAnnotationRequest) Retrieves the annotation for a specific piece of evidence.
This is a convenience which creates an instance of the
GetAnnotationRequest.Builderavoiding the need to create one manually viaGetAnnotationRequest.builder()- Parameters:
getAnnotationRequest- AConsumerthat will call methods onGetAnnotationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAnnotation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssessment
default CompletableFuture<GetAssessmentResponse> getAssessment(GetAssessmentRequest getAssessmentRequest) Retrieves a single assessment.
- Parameters:
getAssessmentRequest-- Returns:
- A Java Future containing the result of the GetAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssessment
default CompletableFuture<GetAssessmentResponse> getAssessment(Consumer<GetAssessmentRequest.Builder> getAssessmentRequest) Retrieves a single assessment.
This is a convenience which creates an instance of the
GetAssessmentRequest.Builderavoiding the need to create one manually viaGetAssessmentRequest.builder()- Parameters:
getAssessmentRequest- AConsumerthat will call methods onGetAssessmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssessmentReportContent
default CompletableFuture<GetAssessmentReportContentResponse> getAssessmentReportContent(GetAssessmentReportContentRequest getAssessmentReportContentRequest) Returns an assessment report. The export must have the status
COMPLETED.A completed report stays available for at least 12 hours after the export starts. If the report is no longer available, start a new export.
- Parameters:
getAssessmentReportContentRequest- Input forGetAssessmentReportContent.- Returns:
- A Java Future containing the result of the GetAssessmentReportContent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssessmentReportContent
default CompletableFuture<GetAssessmentReportContentResponse> getAssessmentReportContent(Consumer<GetAssessmentReportContentRequest.Builder> getAssessmentReportContentRequest) Returns an assessment report. The export must have the status
COMPLETED.A completed report stays available for at least 12 hours after the export starts. If the report is no longer available, start a new export.
This is a convenience which creates an instance of the
GetAssessmentReportContentRequest.Builderavoiding the need to create one manually viaGetAssessmentReportContentRequest.builder()- Parameters:
getAssessmentReportContentRequest- AConsumerthat will call methods onGetAssessmentReportContentRequest.Builderto create a request. Input forGetAssessmentReportContent.- Returns:
- A Java Future containing the result of the GetAssessmentReportContent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssessmentReportExport
default CompletableFuture<GetAssessmentReportExportResponse> getAssessmentReportExport(GetAssessmentReportExportRequest getAssessmentReportExportRequest) Gets the status of an assessment report export.
- Parameters:
getAssessmentReportExportRequest- Input forGetAssessmentReportExport.- Returns:
- A Java Future containing the result of the GetAssessmentReportExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssessmentReportExport
default CompletableFuture<GetAssessmentReportExportResponse> getAssessmentReportExport(Consumer<GetAssessmentReportExportRequest.Builder> getAssessmentReportExportRequest) Gets the status of an assessment report export.
This is a convenience which creates an instance of the
GetAssessmentReportExportRequest.Builderavoiding the need to create one manually viaGetAssessmentReportExportRequest.builder()- Parameters:
getAssessmentReportExportRequest- AConsumerthat will call methods onGetAssessmentReportExportRequest.Builderto create a request. Input forGetAssessmentReportExport.- Returns:
- A Java Future containing the result of the GetAssessmentReportExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getChatMessages
default CompletableFuture<GetChatMessagesResponse> getChatMessages(GetChatMessagesRequest getChatMessagesRequest) Gets messages for a chat session in chronological order.
- Parameters:
getChatMessagesRequest-- Returns:
- A Java Future containing the result of the GetChatMessages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getChatMessages
default CompletableFuture<GetChatMessagesResponse> getChatMessages(Consumer<GetChatMessagesRequest.Builder> getChatMessagesRequest) Gets messages for a chat session in chronological order.
This is a convenience which creates an instance of the
GetChatMessagesRequest.Builderavoiding the need to create one manually viaGetChatMessagesRequest.builder()- Parameters:
getChatMessagesRequest- AConsumerthat will call methods onGetChatMessagesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetChatMessages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getChatMessagesPaginator
default GetChatMessagesPublisher getChatMessagesPaginator(GetChatMessagesRequest getChatMessagesRequest) This is a variant of
getChatMessages(software.amazon.awssdk.services.assurance.model.GetChatMessagesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.GetChatMessagesPublisher publisher = client.getChatMessagesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.GetChatMessagesPublisher publisher = client.getChatMessagesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.GetChatMessagesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.GetChatMessagesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getChatMessages(software.amazon.awssdk.services.assurance.model.GetChatMessagesRequest)operation.- Parameters:
getChatMessagesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getChatMessagesPaginator
default GetChatMessagesPublisher getChatMessagesPaginator(Consumer<GetChatMessagesRequest.Builder> getChatMessagesRequest) This is a variant of
getChatMessages(software.amazon.awssdk.services.assurance.model.GetChatMessagesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.GetChatMessagesPublisher publisher = client.getChatMessagesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.GetChatMessagesPublisher publisher = client.getChatMessagesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.GetChatMessagesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.GetChatMessagesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getChatMessages(software.amazon.awssdk.services.assurance.model.GetChatMessagesRequest)operation.
This is a convenience which creates an instance of the
GetChatMessagesRequest.Builderavoiding the need to create one manually viaGetChatMessagesRequest.builder()- Parameters:
getChatMessagesRequest- AConsumerthat will call methods onGetChatMessagesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getComment
Retrieves a specific comment by its identifying fields.
- Parameters:
getCommentRequest-- Returns:
- A Java Future containing the result of the GetComment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getComment
default CompletableFuture<GetCommentResponse> getComment(Consumer<GetCommentRequest.Builder> getCommentRequest) Retrieves a specific comment by its identifying fields.
This is a convenience which creates an instance of the
GetCommentRequest.Builderavoiding the need to create one manually viaGetCommentRequest.builder()- Parameters:
getCommentRequest- AConsumerthat will call methods onGetCommentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetComment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getControl
Retrieves a single leaf control within a framework version, including its title, description, and requirements.
- Parameters:
getControlRequest-- Returns:
- A Java Future containing the result of the GetControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getControl
default CompletableFuture<GetControlResponse> getControl(Consumer<GetControlRequest.Builder> getControlRequest) Retrieves a single leaf control within a framework version, including its title, description, and requirements.
This is a convenience which creates an instance of the
GetControlRequest.Builderavoiding the need to create one manually viaGetControlRequest.builder()- Parameters:
getControlRequest- AConsumerthat will call methods onGetControlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getControlGroup
default CompletableFuture<GetControlGroupResponse> getControlGroup(GetControlGroupRequest getControlGroupRequest) Retrieves a single control group's own attributes (title, description, status) within a framework version. Use ListControls with the group's controlId to retrieve the leaf controls within it.
- Parameters:
getControlGroupRequest-- Returns:
- A Java Future containing the result of the GetControlGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getControlGroup
default CompletableFuture<GetControlGroupResponse> getControlGroup(Consumer<GetControlGroupRequest.Builder> getControlGroupRequest) Retrieves a single control group's own attributes (title, description, status) within a framework version. Use ListControls with the group's controlId to retrieve the leaf controls within it.
This is a convenience which creates an instance of the
GetControlGroupRequest.Builderavoiding the need to create one manually viaGetControlGroupRequest.builder()- Parameters:
getControlGroupRequest- AConsumerthat will call methods onGetControlGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetControlGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getControlStatus
default CompletableFuture<GetControlStatusResponse> getControlStatus(GetControlStatusRequest getControlStatusRequest) Retrieves the effective compliance status of a control in a project. The status combines the most recent assessment of the control with the not-applicable decisions that you declare on the control or its requirements. The framework version must be enabled in the project.
- Parameters:
getControlStatusRequest- Input forGetControlStatus.- Returns:
- A Java Future containing the result of the GetControlStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getControlStatus
default CompletableFuture<GetControlStatusResponse> getControlStatus(Consumer<GetControlStatusRequest.Builder> getControlStatusRequest) Retrieves the effective compliance status of a control in a project. The status combines the most recent assessment of the control with the not-applicable decisions that you declare on the control or its requirements. The framework version must be enabled in the project.
This is a convenience which creates an instance of the
GetControlStatusRequest.Builderavoiding the need to create one manually viaGetControlStatusRequest.builder()- Parameters:
getControlStatusRequest- AConsumerthat will call methods onGetControlStatusRequest.Builderto create a request. Input forGetControlStatus.- Returns:
- A Java Future containing the result of the GetControlStatus operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironment
default CompletableFuture<GetEnvironmentResponse> getEnvironment(GetEnvironmentRequest getEnvironmentRequest) Retrieves a governance environment by ARN or domain. Provide exactly one of
environmentArnordomain.- Parameters:
getEnvironmentRequest-- Returns:
- A Java Future containing the result of the GetEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironment
default CompletableFuture<GetEnvironmentResponse> getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) Retrieves a governance environment by ARN or domain. Provide exactly one of
environmentArnordomain.
This is a convenience which creates an instance of the
GetEnvironmentRequest.Builderavoiding the need to create one manually viaGetEnvironmentRequest.builder()- Parameters:
getEnvironmentRequest- AConsumerthat will call methods onGetEnvironmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidence
Retrieves metadata for an evidence item.
- Parameters:
getEvidenceRequest-- Returns:
- A Java Future containing the result of the GetEvidence operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidence
default CompletableFuture<GetEvidenceResponse> getEvidence(Consumer<GetEvidenceRequest.Builder> getEvidenceRequest) Retrieves metadata for an evidence item.
This is a convenience which creates an instance of the
GetEvidenceRequest.Builderavoiding the need to create one manually viaGetEvidenceRequest.builder()- Parameters:
getEvidenceRequest- AConsumerthat will call methods onGetEvidenceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEvidence operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidenceContent
default CompletableFuture<GetEvidenceContentResponse> getEvidenceContent(GetEvidenceContentRequest getEvidenceContentRequest) Returns the content of an evidence item.
- Parameters:
getEvidenceContentRequest- Input forGetEvidenceContent.- Returns:
- A Java Future containing the result of the GetEvidenceContent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- IntegrityException The evidence item failed integrity verification. The evidence content might have been modified or the version might no longer be available. Verify the evidence item and try your request again.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEvidenceContent
default CompletableFuture<GetEvidenceContentResponse> getEvidenceContent(Consumer<GetEvidenceContentRequest.Builder> getEvidenceContentRequest) Returns the content of an evidence item.
This is a convenience which creates an instance of the
GetEvidenceContentRequest.Builderavoiding the need to create one manually viaGetEvidenceContentRequest.builder()- Parameters:
getEvidenceContentRequest- AConsumerthat will call methods onGetEvidenceContentRequest.Builderto create a request. Input forGetEvidenceContent.- Returns:
- A Java Future containing the result of the GetEvidenceContent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- IntegrityException The evidence item failed integrity verification. The evidence content might have been modified or the version might no longer be available. Verify the evidence item and try your request again.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFramework
default CompletableFuture<GetFrameworkResponse> getFramework(GetFrameworkRequest getFrameworkRequest) Retrieves a framework resource by type and key fields.
- Parameters:
getFrameworkRequest-- Returns:
- A Java Future containing the result of the GetFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFramework
default CompletableFuture<GetFrameworkResponse> getFramework(Consumer<GetFrameworkRequest.Builder> getFrameworkRequest) Retrieves a framework resource by type and key fields.
This is a convenience which creates an instance of the
GetFrameworkRequest.Builderavoiding the need to create one manually viaGetFrameworkRequest.builder()- Parameters:
getFrameworkRequest- AConsumerthat will call methods onGetFrameworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getInvitation
default CompletableFuture<GetInvitationResponse> getInvitation(GetInvitationRequest getInvitationRequest) Retrieves a single invitation, identified by
environmentArnandinviteeAccountId. You can call this operation from the account that owns the environment or from the invited account.- Parameters:
getInvitationRequest-- Returns:
- A Java Future containing the result of the GetInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getInvitation
default CompletableFuture<GetInvitationResponse> getInvitation(Consumer<GetInvitationRequest.Builder> getInvitationRequest) Retrieves a single invitation, identified by
environmentArnandinviteeAccountId. You can call this operation from the account that owns the environment or from the invited account.
This is a convenience which creates an instance of the
GetInvitationRequest.Builderavoiding the need to create one manually viaGetInvitationRequest.builder()- Parameters:
getInvitationRequest- AConsumerthat will call methods onGetInvitationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPermissionSet
default CompletableFuture<GetPermissionSetResponse> getPermissionSet(GetPermissionSetRequest getPermissionSetRequest) Retrieves a permission set by ID.
- Parameters:
getPermissionSetRequest-- Returns:
- A Java Future containing the result of the GetPermissionSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPermissionSet
default CompletableFuture<GetPermissionSetResponse> getPermissionSet(Consumer<GetPermissionSetRequest.Builder> getPermissionSetRequest) Retrieves a permission set by ID.
This is a convenience which creates an instance of the
GetPermissionSetRequest.Builderavoiding the need to create one manually viaGetPermissionSetRequest.builder()- Parameters:
getPermissionSetRequest- AConsumerthat will call methods onGetPermissionSetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetPermissionSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getProject
Retrieves a project and all its associated resources.
- Parameters:
getProjectRequest-- Returns:
- A Java Future containing the result of the GetProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getProject
default CompletableFuture<GetProjectResponse> getProject(Consumer<GetProjectRequest.Builder> getProjectRequest) Retrieves a project and all its associated resources.
This is a convenience which creates an instance of the
GetProjectRequest.Builderavoiding the need to create one manually viaGetProjectRequest.builder()- Parameters:
getProjectRequest- AConsumerthat will call methods onGetProjectRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceActivitiesQueryResults
default CompletableFuture<GetResourceActivitiesQueryResultsResponse> getResourceActivitiesQueryResults(GetResourceActivitiesQueryResultsRequest getResourceActivitiesQueryResultsRequest) Gets the status of a query that
StartResourceActivitiesQuerystarted, and one page of its results. To get the next page, pass thenextTokenvalue from the response in your next request.Call this operation until
statusisCOMPLETE,FAILED, orEXPIRED. The response includes results and a pagination token only whenstatusisCOMPLETE.- Parameters:
getResourceActivitiesQueryResultsRequest-- Returns:
- A Java Future containing the result of the GetResourceActivitiesQueryResults operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceActivitiesQueryResults
default CompletableFuture<GetResourceActivitiesQueryResultsResponse> getResourceActivitiesQueryResults(Consumer<GetResourceActivitiesQueryResultsRequest.Builder> getResourceActivitiesQueryResultsRequest) Gets the status of a query that
StartResourceActivitiesQuerystarted, and one page of its results. To get the next page, pass thenextTokenvalue from the response in your next request.Call this operation until
statusisCOMPLETE,FAILED, orEXPIRED. The response includes results and a pagination token only whenstatusisCOMPLETE.
This is a convenience which creates an instance of the
GetResourceActivitiesQueryResultsRequest.Builderavoiding the need to create one manually viaGetResourceActivitiesQueryResultsRequest.builder()- Parameters:
getResourceActivitiesQueryResultsRequest- AConsumerthat will call methods onGetResourceActivitiesQueryResultsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetResourceActivitiesQueryResults operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceActivitiesQueryResultsPaginator
default GetResourceActivitiesQueryResultsPublisher getResourceActivitiesQueryResultsPaginator(GetResourceActivitiesQueryResultsRequest getResourceActivitiesQueryResultsRequest) This is a variant of
getResourceActivitiesQueryResults(software.amazon.awssdk.services.assurance.model.GetResourceActivitiesQueryResultsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.GetResourceActivitiesQueryResultsPublisher publisher = client.getResourceActivitiesQueryResultsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.GetResourceActivitiesQueryResultsPublisher publisher = client.getResourceActivitiesQueryResultsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.GetResourceActivitiesQueryResultsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.GetResourceActivitiesQueryResultsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getResourceActivitiesQueryResults(software.amazon.awssdk.services.assurance.model.GetResourceActivitiesQueryResultsRequest)operation.- Parameters:
getResourceActivitiesQueryResultsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceActivitiesQueryResultsPaginator
default GetResourceActivitiesQueryResultsPublisher getResourceActivitiesQueryResultsPaginator(Consumer<GetResourceActivitiesQueryResultsRequest.Builder> getResourceActivitiesQueryResultsRequest) This is a variant of
getResourceActivitiesQueryResults(software.amazon.awssdk.services.assurance.model.GetResourceActivitiesQueryResultsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.GetResourceActivitiesQueryResultsPublisher publisher = client.getResourceActivitiesQueryResultsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.GetResourceActivitiesQueryResultsPublisher publisher = client.getResourceActivitiesQueryResultsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.GetResourceActivitiesQueryResultsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.GetResourceActivitiesQueryResultsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getResourceActivitiesQueryResults(software.amazon.awssdk.services.assurance.model.GetResourceActivitiesQueryResultsRequest)operation.
This is a convenience which creates an instance of the
GetResourceActivitiesQueryResultsRequest.Builderavoiding the need to create one manually viaGetResourceActivitiesQueryResultsRequest.builder()- Parameters:
getResourceActivitiesQueryResultsRequest- AConsumerthat will call methods onGetResourceActivitiesQueryResultsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTask
Retrieves a specific task by its identifying fields.
- Parameters:
getTaskRequest-- Returns:
- A Java Future containing the result of the GetTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTask
Retrieves a specific task by its identifying fields.
This is a convenience which creates an instance of the
GetTaskRequest.Builderavoiding the need to create one manually viaGetTaskRequest.builder()- Parameters:
getTaskRequest- AConsumerthat will call methods onGetTaskRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentAnnotations
default CompletableFuture<ListAssessmentAnnotationsResponse> listAssessmentAnnotations(ListAssessmentAnnotationsRequest listAssessmentAnnotationsRequest) Lists the annotations on one assessment, paginated.
- Parameters:
listAssessmentAnnotationsRequest-- Returns:
- A Java Future containing the result of the ListAssessmentAnnotations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentAnnotations
default CompletableFuture<ListAssessmentAnnotationsResponse> listAssessmentAnnotations(Consumer<ListAssessmentAnnotationsRequest.Builder> listAssessmentAnnotationsRequest) Lists the annotations on one assessment, paginated.
This is a convenience which creates an instance of the
ListAssessmentAnnotationsRequest.Builderavoiding the need to create one manually viaListAssessmentAnnotationsRequest.builder()- Parameters:
listAssessmentAnnotationsRequest- AConsumerthat will call methods onListAssessmentAnnotationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAssessmentAnnotations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentAnnotationsPaginator
default ListAssessmentAnnotationsPublisher listAssessmentAnnotationsPaginator(ListAssessmentAnnotationsRequest listAssessmentAnnotationsRequest) This is a variant of
listAssessmentAnnotations(software.amazon.awssdk.services.assurance.model.ListAssessmentAnnotationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentAnnotationsPublisher publisher = client.listAssessmentAnnotationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListAssessmentAnnotationsPublisher publisher = client.listAssessmentAnnotationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListAssessmentAnnotationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListAssessmentAnnotationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentAnnotations(software.amazon.awssdk.services.assurance.model.ListAssessmentAnnotationsRequest)operation.- Parameters:
listAssessmentAnnotationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentAnnotationsPaginator
default ListAssessmentAnnotationsPublisher listAssessmentAnnotationsPaginator(Consumer<ListAssessmentAnnotationsRequest.Builder> listAssessmentAnnotationsRequest) This is a variant of
listAssessmentAnnotations(software.amazon.awssdk.services.assurance.model.ListAssessmentAnnotationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentAnnotationsPublisher publisher = client.listAssessmentAnnotationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListAssessmentAnnotationsPublisher publisher = client.listAssessmentAnnotationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListAssessmentAnnotationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListAssessmentAnnotationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentAnnotations(software.amazon.awssdk.services.assurance.model.ListAssessmentAnnotationsRequest)operation.
This is a convenience which creates an instance of the
ListAssessmentAnnotationsRequest.Builderavoiding the need to create one manually viaListAssessmentAnnotationsRequest.builder()- Parameters:
listAssessmentAnnotationsRequest- AConsumerthat will call methods onListAssessmentAnnotationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentJournalRecords
default CompletableFuture<ListAssessmentJournalRecordsResponse> listAssessmentJournalRecords(ListAssessmentJournalRecordsRequest listAssessmentJournalRecordsRequest) Lists assessment journal records, paginated.
- Parameters:
listAssessmentJournalRecordsRequest-- Returns:
- A Java Future containing the result of the ListAssessmentJournalRecords operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentJournalRecords
default CompletableFuture<ListAssessmentJournalRecordsResponse> listAssessmentJournalRecords(Consumer<ListAssessmentJournalRecordsRequest.Builder> listAssessmentJournalRecordsRequest) Lists assessment journal records, paginated.
This is a convenience which creates an instance of the
ListAssessmentJournalRecordsRequest.Builderavoiding the need to create one manually viaListAssessmentJournalRecordsRequest.builder()- Parameters:
listAssessmentJournalRecordsRequest- AConsumerthat will call methods onListAssessmentJournalRecordsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAssessmentJournalRecords operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentJournalRecordsPaginator
default ListAssessmentJournalRecordsPublisher listAssessmentJournalRecordsPaginator(ListAssessmentJournalRecordsRequest listAssessmentJournalRecordsRequest) This is a variant of
listAssessmentJournalRecords(software.amazon.awssdk.services.assurance.model.ListAssessmentJournalRecordsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentJournalRecordsPublisher publisher = client.listAssessmentJournalRecordsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListAssessmentJournalRecordsPublisher publisher = client.listAssessmentJournalRecordsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListAssessmentJournalRecordsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListAssessmentJournalRecordsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentJournalRecords(software.amazon.awssdk.services.assurance.model.ListAssessmentJournalRecordsRequest)operation.- Parameters:
listAssessmentJournalRecordsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentJournalRecordsPaginator
default ListAssessmentJournalRecordsPublisher listAssessmentJournalRecordsPaginator(Consumer<ListAssessmentJournalRecordsRequest.Builder> listAssessmentJournalRecordsRequest) This is a variant of
listAssessmentJournalRecords(software.amazon.awssdk.services.assurance.model.ListAssessmentJournalRecordsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentJournalRecordsPublisher publisher = client.listAssessmentJournalRecordsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListAssessmentJournalRecordsPublisher publisher = client.listAssessmentJournalRecordsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListAssessmentJournalRecordsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListAssessmentJournalRecordsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentJournalRecords(software.amazon.awssdk.services.assurance.model.ListAssessmentJournalRecordsRequest)operation.
This is a convenience which creates an instance of the
ListAssessmentJournalRecordsRequest.Builderavoiding the need to create one manually viaListAssessmentJournalRecordsRequest.builder()- Parameters:
listAssessmentJournalRecordsRequest- AConsumerthat will call methods onListAssessmentJournalRecordsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentOutcomes
default CompletableFuture<ListAssessmentOutcomesResponse> listAssessmentOutcomes(ListAssessmentOutcomesRequest listAssessmentOutcomesRequest) Returns the compliance score of a framework in a project over a time range. You can narrow the score to one control, one resource, or one control on one resource. You can also get one score per control for a resource.
The operation returns either the current score or a history of scores, depending on whether you specify a time range.
-
Current score. If you don't specify
startTimeorendTime, and you use the defaultLASTstatistic, the operation returns the most recent score as a single data point. Itstimestampis the time of the assessment that produced the score. This option isn't available when you get one score per control. -
History. If you specify
startTime,endTime, or both, or you specify theMAX,MIN, orAVGstatistic, the operation divides the time range into buckets of one hour or one day (set byperiod). It returns one data point for each bucket that has a score, newest first. Buckets with no score are left out, so match each data point to its bucket bytimestamp.
Specify times in UTC. The time range includes
startTimeand excludesendTime.- Parameters:
listAssessmentOutcomesRequest- Input forListAssessmentOutcomes.- Returns:
- A Java Future containing the result of the ListAssessmentOutcomes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
listAssessmentOutcomes
default CompletableFuture<ListAssessmentOutcomesResponse> listAssessmentOutcomes(Consumer<ListAssessmentOutcomesRequest.Builder> listAssessmentOutcomesRequest) Returns the compliance score of a framework in a project over a time range. You can narrow the score to one control, one resource, or one control on one resource. You can also get one score per control for a resource.
The operation returns either the current score or a history of scores, depending on whether you specify a time range.
-
Current score. If you don't specify
startTimeorendTime, and you use the defaultLASTstatistic, the operation returns the most recent score as a single data point. Itstimestampis the time of the assessment that produced the score. This option isn't available when you get one score per control. -
History. If you specify
startTime,endTime, or both, or you specify theMAX,MIN, orAVGstatistic, the operation divides the time range into buckets of one hour or one day (set byperiod). It returns one data point for each bucket that has a score, newest first. Buckets with no score are left out, so match each data point to its bucket bytimestamp.
Specify times in UTC. The time range includes
startTimeand excludesendTime.
This is a convenience which creates an instance of the
ListAssessmentOutcomesRequest.Builderavoiding the need to create one manually viaListAssessmentOutcomesRequest.builder()- Parameters:
listAssessmentOutcomesRequest- AConsumerthat will call methods onListAssessmentOutcomesRequest.Builderto create a request. Input forListAssessmentOutcomes.- Returns:
- A Java Future containing the result of the ListAssessmentOutcomes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
listAssessmentOutcomesPaginator
default ListAssessmentOutcomesPublisher listAssessmentOutcomesPaginator(ListAssessmentOutcomesRequest listAssessmentOutcomesRequest) This is a variant of
listAssessmentOutcomes(software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentOutcomesPublisher publisher = client.listAssessmentOutcomesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListAssessmentOutcomesPublisher publisher = client.listAssessmentOutcomesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentOutcomes(software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesRequest)operation.- Parameters:
listAssessmentOutcomesRequest- Input forListAssessmentOutcomes.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentOutcomesPaginator
default ListAssessmentOutcomesPublisher listAssessmentOutcomesPaginator(Consumer<ListAssessmentOutcomesRequest.Builder> listAssessmentOutcomesRequest) This is a variant of
listAssessmentOutcomes(software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentOutcomesPublisher publisher = client.listAssessmentOutcomesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListAssessmentOutcomesPublisher publisher = client.listAssessmentOutcomesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentOutcomes(software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesRequest)operation.
This is a convenience which creates an instance of the
ListAssessmentOutcomesRequest.Builderavoiding the need to create one manually viaListAssessmentOutcomesRequest.builder()- Parameters:
listAssessmentOutcomesRequest- AConsumerthat will call methods onListAssessmentOutcomesRequest.Builderto create a request. Input forListAssessmentOutcomes.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessments
default CompletableFuture<ListAssessmentsResponse> listAssessments(ListAssessmentsRequest listAssessmentsRequest) Lists assessments, paginated.
- Parameters:
listAssessmentsRequest-- Returns:
- A Java Future containing the result of the ListAssessments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessments
default CompletableFuture<ListAssessmentsResponse> listAssessments(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) Lists assessments, paginated.
This is a convenience which creates an instance of the
ListAssessmentsRequest.Builderavoiding the need to create one manually viaListAssessmentsRequest.builder()- Parameters:
listAssessmentsRequest- AConsumerthat will call methods onListAssessmentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAssessments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentsPaginator
default ListAssessmentsPublisher listAssessmentsPaginator(ListAssessmentsRequest listAssessmentsRequest) This is a variant of
listAssessments(software.amazon.awssdk.services.assurance.model.ListAssessmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentsPublisher publisher = client.listAssessmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListAssessmentsPublisher publisher = client.listAssessmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListAssessmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListAssessmentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessments(software.amazon.awssdk.services.assurance.model.ListAssessmentsRequest)operation.- Parameters:
listAssessmentsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssessmentsPaginator
default ListAssessmentsPublisher listAssessmentsPaginator(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) This is a variant of
listAssessments(software.amazon.awssdk.services.assurance.model.ListAssessmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentsPublisher publisher = client.listAssessmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListAssessmentsPublisher publisher = client.listAssessmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListAssessmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListAssessmentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessments(software.amazon.awssdk.services.assurance.model.ListAssessmentsRequest)operation.
This is a convenience which creates an instance of the
ListAssessmentsRequest.Builderavoiding the need to create one manually viaListAssessmentsRequest.builder()- Parameters:
listAssessmentsRequest- AConsumerthat will call methods onListAssessmentsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listChatSessions
default CompletableFuture<ListChatSessionsResponse> listChatSessions(ListChatSessionsRequest listChatSessionsRequest) Lists chat sessions for you in a governance environment.
- Parameters:
listChatSessionsRequest-- Returns:
- A Java Future containing the result of the ListChatSessions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listChatSessions
default CompletableFuture<ListChatSessionsResponse> listChatSessions(Consumer<ListChatSessionsRequest.Builder> listChatSessionsRequest) Lists chat sessions for you in a governance environment.
This is a convenience which creates an instance of the
ListChatSessionsRequest.Builderavoiding the need to create one manually viaListChatSessionsRequest.builder()- Parameters:
listChatSessionsRequest- AConsumerthat will call methods onListChatSessionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListChatSessions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listChatSessionsPaginator
default ListChatSessionsPublisher listChatSessionsPaginator(ListChatSessionsRequest listChatSessionsRequest) This is a variant of
listChatSessions(software.amazon.awssdk.services.assurance.model.ListChatSessionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListChatSessionsPublisher publisher = client.listChatSessionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListChatSessionsPublisher publisher = client.listChatSessionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListChatSessionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListChatSessionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listChatSessions(software.amazon.awssdk.services.assurance.model.ListChatSessionsRequest)operation.- Parameters:
listChatSessionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listChatSessionsPaginator
default ListChatSessionsPublisher listChatSessionsPaginator(Consumer<ListChatSessionsRequest.Builder> listChatSessionsRequest) This is a variant of
listChatSessions(software.amazon.awssdk.services.assurance.model.ListChatSessionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListChatSessionsPublisher publisher = client.listChatSessionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListChatSessionsPublisher publisher = client.listChatSessionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListChatSessionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListChatSessionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listChatSessions(software.amazon.awssdk.services.assurance.model.ListChatSessionsRequest)operation.
This is a convenience which creates an instance of the
ListChatSessionsRequest.Builderavoiding the need to create one manually viaListChatSessionsRequest.builder()- Parameters:
listChatSessionsRequest- AConsumerthat will call methods onListChatSessionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComments
default CompletableFuture<ListCommentsResponse> listComments(ListCommentsRequest listCommentsRequest) Lists the comments on a specific control, optionally narrowed to a task.
- Parameters:
listCommentsRequest-- Returns:
- A Java Future containing the result of the ListComments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComments
default CompletableFuture<ListCommentsResponse> listComments(Consumer<ListCommentsRequest.Builder> listCommentsRequest) Lists the comments on a specific control, optionally narrowed to a task.
This is a convenience which creates an instance of the
ListCommentsRequest.Builderavoiding the need to create one manually viaListCommentsRequest.builder()- Parameters:
listCommentsRequest- AConsumerthat will call methods onListCommentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListComments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCommentsPaginator
This is a variant of
listComments(software.amazon.awssdk.services.assurance.model.ListCommentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListCommentsPublisher publisher = client.listCommentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListCommentsPublisher publisher = client.listCommentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListCommentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListCommentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComments(software.amazon.awssdk.services.assurance.model.ListCommentsRequest)operation.- Parameters:
listCommentsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCommentsPaginator
default ListCommentsPublisher listCommentsPaginator(Consumer<ListCommentsRequest.Builder> listCommentsRequest) This is a variant of
listComments(software.amazon.awssdk.services.assurance.model.ListCommentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListCommentsPublisher publisher = client.listCommentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListCommentsPublisher publisher = client.listCommentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListCommentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListCommentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComments(software.amazon.awssdk.services.assurance.model.ListCommentsRequest)operation.
This is a convenience which creates an instance of the
ListCommentsRequest.Builderavoiding the need to create one manually viaListCommentsRequest.builder()- Parameters:
listCommentsRequest- AConsumerthat will call methods onListCommentsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectionItems
default CompletableFuture<ListConnectionItemsResponse> listConnectionItems(ListConnectionItemsRequest listConnectionItemsRequest) Lists the items that a connection can access, one level at a time, to help you find a document without knowing its URL. The list contains only items that the connection is authorized to access. If more results are available, the response includes
nextToken. To get the next page, call this operation again with that token.To list the top level, omit
parentId. To list the contents of an item, such as a repository, site, library, or folder, specify itsid. You can't list the contents of aFILE.- Parameters:
listConnectionItemsRequest-- Returns:
- A Java Future containing the result of the ListConnectionItems operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectionItems
default CompletableFuture<ListConnectionItemsResponse> listConnectionItems(Consumer<ListConnectionItemsRequest.Builder> listConnectionItemsRequest) Lists the items that a connection can access, one level at a time, to help you find a document without knowing its URL. The list contains only items that the connection is authorized to access. If more results are available, the response includes
nextToken. To get the next page, call this operation again with that token.To list the top level, omit
parentId. To list the contents of an item, such as a repository, site, library, or folder, specify itsid. You can't list the contents of aFILE.
This is a convenience which creates an instance of the
ListConnectionItemsRequest.Builderavoiding the need to create one manually viaListConnectionItemsRequest.builder()- Parameters:
listConnectionItemsRequest- AConsumerthat will call methods onListConnectionItemsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListConnectionItems operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectionItemsPaginator
default ListConnectionItemsPublisher listConnectionItemsPaginator(ListConnectionItemsRequest listConnectionItemsRequest) This is a variant of
listConnectionItems(software.amazon.awssdk.services.assurance.model.ListConnectionItemsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListConnectionItemsPublisher publisher = client.listConnectionItemsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListConnectionItemsPublisher publisher = client.listConnectionItemsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListConnectionItemsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListConnectionItemsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectionItems(software.amazon.awssdk.services.assurance.model.ListConnectionItemsRequest)operation.- Parameters:
listConnectionItemsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listConnectionItemsPaginator
default ListConnectionItemsPublisher listConnectionItemsPaginator(Consumer<ListConnectionItemsRequest.Builder> listConnectionItemsRequest) This is a variant of
listConnectionItems(software.amazon.awssdk.services.assurance.model.ListConnectionItemsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListConnectionItemsPublisher publisher = client.listConnectionItemsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListConnectionItemsPublisher publisher = client.listConnectionItemsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListConnectionItemsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListConnectionItemsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectionItems(software.amazon.awssdk.services.assurance.model.ListConnectionItemsRequest)operation.
This is a convenience which creates an instance of the
ListConnectionItemsRequest.Builderavoiding the need to create one manually viaListConnectionItemsRequest.builder()- Parameters:
listConnectionItemsRequest- AConsumerthat will call methods onListConnectionItemsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlGroups
default CompletableFuture<ListControlGroupsResponse> listControlGroups(ListControlGroupsRequest listControlGroupsRequest) Lists the control groups in a framework version. Each entry is a summary without the group's child controls. To get the controls in a group, call
ListControlswith the group'scontrolId.- Parameters:
listControlGroupsRequest-- Returns:
- A Java Future containing the result of the ListControlGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlGroups
default CompletableFuture<ListControlGroupsResponse> listControlGroups(Consumer<ListControlGroupsRequest.Builder> listControlGroupsRequest) Lists the control groups in a framework version. Each entry is a summary without the group's child controls. To get the controls in a group, call
ListControlswith the group'scontrolId.
This is a convenience which creates an instance of the
ListControlGroupsRequest.Builderavoiding the need to create one manually viaListControlGroupsRequest.builder()- Parameters:
listControlGroupsRequest- AConsumerthat will call methods onListControlGroupsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListControlGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlGroupsPaginator
default ListControlGroupsPublisher listControlGroupsPaginator(ListControlGroupsRequest listControlGroupsRequest) This is a variant of
listControlGroups(software.amazon.awssdk.services.assurance.model.ListControlGroupsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListControlGroupsPublisher publisher = client.listControlGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListControlGroupsPublisher publisher = client.listControlGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListControlGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListControlGroupsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlGroups(software.amazon.awssdk.services.assurance.model.ListControlGroupsRequest)operation.- Parameters:
listControlGroupsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlGroupsPaginator
default ListControlGroupsPublisher listControlGroupsPaginator(Consumer<ListControlGroupsRequest.Builder> listControlGroupsRequest) This is a variant of
listControlGroups(software.amazon.awssdk.services.assurance.model.ListControlGroupsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListControlGroupsPublisher publisher = client.listControlGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListControlGroupsPublisher publisher = client.listControlGroupsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListControlGroupsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListControlGroupsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlGroups(software.amazon.awssdk.services.assurance.model.ListControlGroupsRequest)operation.
This is a convenience which creates an instance of the
ListControlGroupsRequest.Builderavoiding the need to create one manually viaListControlGroupsRequest.builder()- Parameters:
listControlGroupsRequest- AConsumerthat will call methods onListControlGroupsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlResources
default CompletableFuture<ListControlResourcesResponse> listControlResources(ListControlResourcesRequest listControlResourcesRequest) Lists the resources that are in scope for the automated evaluation of a control. If no resource types apply to the control, the list is empty.
- Parameters:
listControlResourcesRequest-- Returns:
- A Java Future containing the result of the ListControlResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlResources
default CompletableFuture<ListControlResourcesResponse> listControlResources(Consumer<ListControlResourcesRequest.Builder> listControlResourcesRequest) Lists the resources that are in scope for the automated evaluation of a control. If no resource types apply to the control, the list is empty.
This is a convenience which creates an instance of the
ListControlResourcesRequest.Builderavoiding the need to create one manually viaListControlResourcesRequest.builder()- Parameters:
listControlResourcesRequest- AConsumerthat will call methods onListControlResourcesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListControlResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlResourcesPaginator
default ListControlResourcesPublisher listControlResourcesPaginator(ListControlResourcesRequest listControlResourcesRequest) This is a variant of
listControlResources(software.amazon.awssdk.services.assurance.model.ListControlResourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListControlResourcesPublisher publisher = client.listControlResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListControlResourcesPublisher publisher = client.listControlResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListControlResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListControlResourcesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlResources(software.amazon.awssdk.services.assurance.model.ListControlResourcesRequest)operation.- Parameters:
listControlResourcesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlResourcesPaginator
default ListControlResourcesPublisher listControlResourcesPaginator(Consumer<ListControlResourcesRequest.Builder> listControlResourcesRequest) This is a variant of
listControlResources(software.amazon.awssdk.services.assurance.model.ListControlResourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListControlResourcesPublisher publisher = client.listControlResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListControlResourcesPublisher publisher = client.listControlResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListControlResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListControlResourcesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlResources(software.amazon.awssdk.services.assurance.model.ListControlResourcesRequest)operation.
This is a convenience which creates an instance of the
ListControlResourcesRequest.Builderavoiding the need to create one manually viaListControlResourcesRequest.builder()- Parameters:
listControlResourcesRequest- AConsumerthat will call methods onListControlResourcesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControls
default CompletableFuture<ListControlsResponse> listControls(ListControlsRequest listControlsRequest) Lists the leaf controls within a single control group in a framework version. Supports pagination through maxResults and nextToken.
- Parameters:
listControlsRequest-- Returns:
- A Java Future containing the result of the ListControls operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControls
default CompletableFuture<ListControlsResponse> listControls(Consumer<ListControlsRequest.Builder> listControlsRequest) Lists the leaf controls within a single control group in a framework version. Supports pagination through maxResults and nextToken.
This is a convenience which creates an instance of the
ListControlsRequest.Builderavoiding the need to create one manually viaListControlsRequest.builder()- Parameters:
listControlsRequest- AConsumerthat will call methods onListControlsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListControls operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlsPaginator
This is a variant of
listControls(software.amazon.awssdk.services.assurance.model.ListControlsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListControlsPublisher publisher = client.listControlsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListControlsPublisher publisher = client.listControlsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListControlsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListControlsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControls(software.amazon.awssdk.services.assurance.model.ListControlsRequest)operation.- Parameters:
listControlsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listControlsPaginator
default ListControlsPublisher listControlsPaginator(Consumer<ListControlsRequest.Builder> listControlsRequest) This is a variant of
listControls(software.amazon.awssdk.services.assurance.model.ListControlsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListControlsPublisher publisher = client.listControlsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListControlsPublisher publisher = client.listControlsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListControlsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListControlsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControls(software.amazon.awssdk.services.assurance.model.ListControlsRequest)operation.
This is a convenience which creates an instance of the
ListControlsRequest.Builderavoiding the need to create one manually viaListControlsRequest.builder()- Parameters:
listControlsRequest- AConsumerthat will call methods onListControlsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDiscoveredResources
default CompletableFuture<ListDiscoveredResourcesResponse> listDiscoveredResources(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest) Lists the resources that are in scope for an environment or project. Results are paginated. If more results are available, use the
nextTokenvalue returned in the response to retrieve the next page.- Parameters:
listDiscoveredResourcesRequest-- Returns:
- A Java Future containing the result of the ListDiscoveredResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDiscoveredResources
default CompletableFuture<ListDiscoveredResourcesResponse> listDiscoveredResources(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest) Lists the resources that are in scope for an environment or project. Results are paginated. If more results are available, use the
nextTokenvalue returned in the response to retrieve the next page.
This is a convenience which creates an instance of the
ListDiscoveredResourcesRequest.Builderavoiding the need to create one manually viaListDiscoveredResourcesRequest.builder()- Parameters:
listDiscoveredResourcesRequest- AConsumerthat will call methods onListDiscoveredResourcesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDiscoveredResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDiscoveredResourcesPaginator
default ListDiscoveredResourcesPublisher listDiscoveredResourcesPaginator(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest) This is a variant of
listDiscoveredResources(software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListDiscoveredResourcesPublisher publisher = client.listDiscoveredResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListDiscoveredResourcesPublisher publisher = client.listDiscoveredResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDiscoveredResources(software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesRequest)operation.- Parameters:
listDiscoveredResourcesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDiscoveredResourcesPaginator
default ListDiscoveredResourcesPublisher listDiscoveredResourcesPaginator(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest) This is a variant of
listDiscoveredResources(software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListDiscoveredResourcesPublisher publisher = client.listDiscoveredResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListDiscoveredResourcesPublisher publisher = client.listDiscoveredResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDiscoveredResources(software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesRequest)operation.
This is a convenience which creates an instance of the
ListDiscoveredResourcesRequest.Builderavoiding the need to create one manually viaListDiscoveredResourcesRequest.builder()- Parameters:
listDiscoveredResourcesRequest- AConsumerthat will call methods onListDiscoveredResourcesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnabledFrameworks
default CompletableFuture<ListEnabledFrameworksResponse> listEnabledFrameworks(ListEnabledFrameworksRequest listEnabledFrameworksRequest) Lists the frameworks enabled in a governance environment, optionally narrowed by
filters.- Parameters:
listEnabledFrameworksRequest-- Returns:
- A Java Future containing the result of the ListEnabledFrameworks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnabledFrameworks
default CompletableFuture<ListEnabledFrameworksResponse> listEnabledFrameworks(Consumer<ListEnabledFrameworksRequest.Builder> listEnabledFrameworksRequest) Lists the frameworks enabled in a governance environment, optionally narrowed by
filters.
This is a convenience which creates an instance of the
ListEnabledFrameworksRequest.Builderavoiding the need to create one manually viaListEnabledFrameworksRequest.builder()- Parameters:
listEnabledFrameworksRequest- AConsumerthat will call methods onListEnabledFrameworksRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEnabledFrameworks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnabledFrameworksPaginator
default ListEnabledFrameworksPublisher listEnabledFrameworksPaginator(ListEnabledFrameworksRequest listEnabledFrameworksRequest) This is a variant of
listEnabledFrameworks(software.amazon.awssdk.services.assurance.model.ListEnabledFrameworksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListEnabledFrameworksPublisher publisher = client.listEnabledFrameworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListEnabledFrameworksPublisher publisher = client.listEnabledFrameworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListEnabledFrameworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListEnabledFrameworksResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnabledFrameworks(software.amazon.awssdk.services.assurance.model.ListEnabledFrameworksRequest)operation.- Parameters:
listEnabledFrameworksRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnabledFrameworksPaginator
default ListEnabledFrameworksPublisher listEnabledFrameworksPaginator(Consumer<ListEnabledFrameworksRequest.Builder> listEnabledFrameworksRequest) This is a variant of
listEnabledFrameworks(software.amazon.awssdk.services.assurance.model.ListEnabledFrameworksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListEnabledFrameworksPublisher publisher = client.listEnabledFrameworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListEnabledFrameworksPublisher publisher = client.listEnabledFrameworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListEnabledFrameworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListEnabledFrameworksResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnabledFrameworks(software.amazon.awssdk.services.assurance.model.ListEnabledFrameworksRequest)operation.
This is a convenience which creates an instance of the
ListEnabledFrameworksRequest.Builderavoiding the need to create one manually viaListEnabledFrameworksRequest.builder()- Parameters:
listEnabledFrameworksRequest- AConsumerthat will call methods onListEnabledFrameworksRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentConnections
default CompletableFuture<ListEnvironmentConnectionsResponse> listEnvironmentConnections(ListEnvironmentConnectionsRequest listEnvironmentConnectionsRequest) Lists the connections for a governance environment. To return only some connections, specify
filters.- Parameters:
listEnvironmentConnectionsRequest-- Returns:
- A Java Future containing the result of the ListEnvironmentConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentConnections
default CompletableFuture<ListEnvironmentConnectionsResponse> listEnvironmentConnections(Consumer<ListEnvironmentConnectionsRequest.Builder> listEnvironmentConnectionsRequest) Lists the connections for a governance environment. To return only some connections, specify
filters.
This is a convenience which creates an instance of the
ListEnvironmentConnectionsRequest.Builderavoiding the need to create one manually viaListEnvironmentConnectionsRequest.builder()- Parameters:
listEnvironmentConnectionsRequest- AConsumerthat will call methods onListEnvironmentConnectionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEnvironmentConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentConnectionsPaginator
default ListEnvironmentConnectionsPublisher listEnvironmentConnectionsPaginator(ListEnvironmentConnectionsRequest listEnvironmentConnectionsRequest) This is a variant of
listEnvironmentConnections(software.amazon.awssdk.services.assurance.model.ListEnvironmentConnectionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListEnvironmentConnectionsPublisher publisher = client.listEnvironmentConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListEnvironmentConnectionsPublisher publisher = client.listEnvironmentConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListEnvironmentConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListEnvironmentConnectionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironmentConnections(software.amazon.awssdk.services.assurance.model.ListEnvironmentConnectionsRequest)operation.- Parameters:
listEnvironmentConnectionsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentConnectionsPaginator
default ListEnvironmentConnectionsPublisher listEnvironmentConnectionsPaginator(Consumer<ListEnvironmentConnectionsRequest.Builder> listEnvironmentConnectionsRequest) This is a variant of
listEnvironmentConnections(software.amazon.awssdk.services.assurance.model.ListEnvironmentConnectionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListEnvironmentConnectionsPublisher publisher = client.listEnvironmentConnectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListEnvironmentConnectionsPublisher publisher = client.listEnvironmentConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListEnvironmentConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListEnvironmentConnectionsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironmentConnections(software.amazon.awssdk.services.assurance.model.ListEnvironmentConnectionsRequest)operation.
This is a convenience which creates an instance of the
ListEnvironmentConnectionsRequest.Builderavoiding the need to create one manually viaListEnvironmentConnectionsRequest.builder()- Parameters:
listEnvironmentConnectionsRequest- AConsumerthat will call methods onListEnvironmentConnectionsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironments
default CompletableFuture<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) Lists your governance environments. If more results are available, the response includes a
nextTokenvalue. To get the next page, pass that value in your next request.- Parameters:
listEnvironmentsRequest-- Returns:
- A Java Future containing the result of the ListEnvironments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironments
default CompletableFuture<ListEnvironmentsResponse> listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) Lists your governance environments. If more results are available, the response includes a
nextTokenvalue. To get the next page, pass that value in your next request.
This is a convenience which creates an instance of the
ListEnvironmentsRequest.Builderavoiding the need to create one manually viaListEnvironmentsRequest.builder()- Parameters:
listEnvironmentsRequest- AConsumerthat will call methods onListEnvironmentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEnvironments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentsPaginator
default ListEnvironmentsPublisher listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) This is a variant of
listEnvironments(software.amazon.awssdk.services.assurance.model.ListEnvironmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListEnvironmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListEnvironmentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironments(software.amazon.awssdk.services.assurance.model.ListEnvironmentsRequest)operation.- Parameters:
listEnvironmentsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentsPaginator
default ListEnvironmentsPublisher listEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) This is a variant of
listEnvironments(software.amazon.awssdk.services.assurance.model.ListEnvironmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListEnvironmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListEnvironmentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironments(software.amazon.awssdk.services.assurance.model.ListEnvironmentsRequest)operation.
This is a convenience which creates an instance of the
ListEnvironmentsRequest.Builderavoiding the need to create one manually viaListEnvironmentsRequest.builder()- Parameters:
listEnvironmentsRequest- AConsumerthat will call methods onListEnvironmentsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvidence
default CompletableFuture<ListEvidenceResponse> listEvidence(ListEvidenceRequest listEvidenceRequest) Lists evidence items (paginated).
- Parameters:
listEvidenceRequest-- Returns:
- A Java Future containing the result of the ListEvidence operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvidence
default CompletableFuture<ListEvidenceResponse> listEvidence(Consumer<ListEvidenceRequest.Builder> listEvidenceRequest) Lists evidence items (paginated).
This is a convenience which creates an instance of the
ListEvidenceRequest.Builderavoiding the need to create one manually viaListEvidenceRequest.builder()- Parameters:
listEvidenceRequest- AConsumerthat will call methods onListEvidenceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEvidence operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvidenceAnnotations
default CompletableFuture<ListEvidenceAnnotationsResponse> listEvidenceAnnotations(ListEvidenceAnnotationsRequest listEvidenceAnnotationsRequest) Lists the annotations on one version of a piece of evidence within a project, paginated.
- Parameters:
listEvidenceAnnotationsRequest-- Returns:
- A Java Future containing the result of the ListEvidenceAnnotations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvidenceAnnotations
default CompletableFuture<ListEvidenceAnnotationsResponse> listEvidenceAnnotations(Consumer<ListEvidenceAnnotationsRequest.Builder> listEvidenceAnnotationsRequest) Lists the annotations on one version of a piece of evidence within a project, paginated.
This is a convenience which creates an instance of the
ListEvidenceAnnotationsRequest.Builderavoiding the need to create one manually viaListEvidenceAnnotationsRequest.builder()- Parameters:
listEvidenceAnnotationsRequest- AConsumerthat will call methods onListEvidenceAnnotationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEvidenceAnnotations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvidenceAnnotationsPaginator
default ListEvidenceAnnotationsPublisher listEvidenceAnnotationsPaginator(ListEvidenceAnnotationsRequest listEvidenceAnnotationsRequest) This is a variant of
listEvidenceAnnotations(software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListEvidenceAnnotationsPublisher publisher = client.listEvidenceAnnotationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListEvidenceAnnotationsPublisher publisher = client.listEvidenceAnnotationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEvidenceAnnotations(software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsRequest)operation.- Parameters:
listEvidenceAnnotationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvidenceAnnotationsPaginator
default ListEvidenceAnnotationsPublisher listEvidenceAnnotationsPaginator(Consumer<ListEvidenceAnnotationsRequest.Builder> listEvidenceAnnotationsRequest) This is a variant of
listEvidenceAnnotations(software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListEvidenceAnnotationsPublisher publisher = client.listEvidenceAnnotationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListEvidenceAnnotationsPublisher publisher = client.listEvidenceAnnotationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEvidenceAnnotations(software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsRequest)operation.
This is a convenience which creates an instance of the
ListEvidenceAnnotationsRequest.Builderavoiding the need to create one manually viaListEvidenceAnnotationsRequest.builder()- Parameters:
listEvidenceAnnotationsRequest- AConsumerthat will call methods onListEvidenceAnnotationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvidencePaginator
This is a variant of
listEvidence(software.amazon.awssdk.services.assurance.model.ListEvidenceRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListEvidencePublisher publisher = client.listEvidencePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListEvidencePublisher publisher = client.listEvidencePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListEvidenceResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListEvidenceResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEvidence(software.amazon.awssdk.services.assurance.model.ListEvidenceRequest)operation.- Parameters:
listEvidenceRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEvidencePaginator
default ListEvidencePublisher listEvidencePaginator(Consumer<ListEvidenceRequest.Builder> listEvidenceRequest) This is a variant of
listEvidence(software.amazon.awssdk.services.assurance.model.ListEvidenceRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListEvidencePublisher publisher = client.listEvidencePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListEvidencePublisher publisher = client.listEvidencePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListEvidenceResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListEvidenceResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEvidence(software.amazon.awssdk.services.assurance.model.ListEvidenceRequest)operation.
This is a convenience which creates an instance of the
ListEvidenceRequest.Builderavoiding the need to create one manually viaListEvidenceRequest.builder()- Parameters:
listEvidenceRequest- AConsumerthat will call methods onListEvidenceRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFrameworks
default CompletableFuture<ListFrameworksResponse> listFrameworks(ListFrameworksRequest listFrameworksRequest) Lists frameworks by type, with optional pagination. When
typeis omitted, the operation returns both MANAGED and CUSTOM frameworks.- Parameters:
listFrameworksRequest-- Returns:
- A Java Future containing the result of the ListFrameworks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFrameworks
default CompletableFuture<ListFrameworksResponse> listFrameworks(Consumer<ListFrameworksRequest.Builder> listFrameworksRequest) Lists frameworks by type, with optional pagination. When
typeis omitted, the operation returns both MANAGED and CUSTOM frameworks.
This is a convenience which creates an instance of the
ListFrameworksRequest.Builderavoiding the need to create one manually viaListFrameworksRequest.builder()- Parameters:
listFrameworksRequest- AConsumerthat will call methods onListFrameworksRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListFrameworks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFrameworksPaginator
default ListFrameworksPublisher listFrameworksPaginator(ListFrameworksRequest listFrameworksRequest) This is a variant of
listFrameworks(software.amazon.awssdk.services.assurance.model.ListFrameworksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListFrameworksPublisher publisher = client.listFrameworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListFrameworksPublisher publisher = client.listFrameworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListFrameworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListFrameworksResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFrameworks(software.amazon.awssdk.services.assurance.model.ListFrameworksRequest)operation.- Parameters:
listFrameworksRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFrameworksPaginator
default ListFrameworksPublisher listFrameworksPaginator(Consumer<ListFrameworksRequest.Builder> listFrameworksRequest) This is a variant of
listFrameworks(software.amazon.awssdk.services.assurance.model.ListFrameworksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListFrameworksPublisher publisher = client.listFrameworksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListFrameworksPublisher publisher = client.listFrameworksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListFrameworksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListFrameworksResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFrameworks(software.amazon.awssdk.services.assurance.model.ListFrameworksRequest)operation.
This is a convenience which creates an instance of the
ListFrameworksRequest.Builderavoiding the need to create one manually viaListFrameworksRequest.builder()- Parameters:
listFrameworksRequest- AConsumerthat will call methods onListFrameworksRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInboundInvitations
default CompletableFuture<ListInboundInvitationsResponse> listInboundInvitations(ListInboundInvitationsRequest listInboundInvitationsRequest) Lists the invitations addressed to your account, across all environments. This operation returns only the invitations sent to you. You can optionally filter by status.
- Parameters:
listInboundInvitationsRequest-- Returns:
- A Java Future containing the result of the ListInboundInvitations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInboundInvitations
default CompletableFuture<ListInboundInvitationsResponse> listInboundInvitations(Consumer<ListInboundInvitationsRequest.Builder> listInboundInvitationsRequest) Lists the invitations addressed to your account, across all environments. This operation returns only the invitations sent to you. You can optionally filter by status.
This is a convenience which creates an instance of the
ListInboundInvitationsRequest.Builderavoiding the need to create one manually viaListInboundInvitationsRequest.builder()- Parameters:
listInboundInvitationsRequest- AConsumerthat will call methods onListInboundInvitationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListInboundInvitations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInboundInvitationsPaginator
default ListInboundInvitationsPublisher listInboundInvitationsPaginator(ListInboundInvitationsRequest listInboundInvitationsRequest) This is a variant of
listInboundInvitations(software.amazon.awssdk.services.assurance.model.ListInboundInvitationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListInboundInvitationsPublisher publisher = client.listInboundInvitationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListInboundInvitationsPublisher publisher = client.listInboundInvitationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListInboundInvitationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListInboundInvitationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInboundInvitations(software.amazon.awssdk.services.assurance.model.ListInboundInvitationsRequest)operation.- Parameters:
listInboundInvitationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInboundInvitationsPaginator
default ListInboundInvitationsPublisher listInboundInvitationsPaginator(Consumer<ListInboundInvitationsRequest.Builder> listInboundInvitationsRequest) This is a variant of
listInboundInvitations(software.amazon.awssdk.services.assurance.model.ListInboundInvitationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListInboundInvitationsPublisher publisher = client.listInboundInvitationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListInboundInvitationsPublisher publisher = client.listInboundInvitationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListInboundInvitationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListInboundInvitationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInboundInvitations(software.amazon.awssdk.services.assurance.model.ListInboundInvitationsRequest)operation.
This is a convenience which creates an instance of the
ListInboundInvitationsRequest.Builderavoiding the need to create one manually viaListInboundInvitationsRequest.builder()- Parameters:
listInboundInvitationsRequest- AConsumerthat will call methods onListInboundInvitationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOutboundInvitations
default CompletableFuture<ListOutboundInvitationsResponse> listOutboundInvitations(ListOutboundInvitationsRequest listOutboundInvitationsRequest) Lists the invitations that you extended from an environment you own. Supports pagination and an optional status filter.
- Parameters:
listOutboundInvitationsRequest-- Returns:
- A Java Future containing the result of the ListOutboundInvitations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOutboundInvitations
default CompletableFuture<ListOutboundInvitationsResponse> listOutboundInvitations(Consumer<ListOutboundInvitationsRequest.Builder> listOutboundInvitationsRequest) Lists the invitations that you extended from an environment you own. Supports pagination and an optional status filter.
This is a convenience which creates an instance of the
ListOutboundInvitationsRequest.Builderavoiding the need to create one manually viaListOutboundInvitationsRequest.builder()- Parameters:
listOutboundInvitationsRequest- AConsumerthat will call methods onListOutboundInvitationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListOutboundInvitations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOutboundInvitationsPaginator
default ListOutboundInvitationsPublisher listOutboundInvitationsPaginator(ListOutboundInvitationsRequest listOutboundInvitationsRequest) This is a variant of
listOutboundInvitations(software.amazon.awssdk.services.assurance.model.ListOutboundInvitationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListOutboundInvitationsPublisher publisher = client.listOutboundInvitationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListOutboundInvitationsPublisher publisher = client.listOutboundInvitationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListOutboundInvitationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListOutboundInvitationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOutboundInvitations(software.amazon.awssdk.services.assurance.model.ListOutboundInvitationsRequest)operation.- Parameters:
listOutboundInvitationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOutboundInvitationsPaginator
default ListOutboundInvitationsPublisher listOutboundInvitationsPaginator(Consumer<ListOutboundInvitationsRequest.Builder> listOutboundInvitationsRequest) This is a variant of
listOutboundInvitations(software.amazon.awssdk.services.assurance.model.ListOutboundInvitationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListOutboundInvitationsPublisher publisher = client.listOutboundInvitationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListOutboundInvitationsPublisher publisher = client.listOutboundInvitationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListOutboundInvitationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListOutboundInvitationsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOutboundInvitations(software.amazon.awssdk.services.assurance.model.ListOutboundInvitationsRequest)operation.
This is a convenience which creates an instance of the
ListOutboundInvitationsRequest.Builderavoiding the need to create one manually viaListOutboundInvitationsRequest.builder()- Parameters:
listOutboundInvitationsRequest- AConsumerthat will call methods onListOutboundInvitationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPermissionSetAssignments
default CompletableFuture<ListPermissionSetAssignmentsResponse> listPermissionSetAssignments(ListPermissionSetAssignmentsRequest listPermissionSetAssignmentsRequest) Lists permission set assignments for an environment.
- Parameters:
listPermissionSetAssignmentsRequest-- Returns:
- A Java Future containing the result of the ListPermissionSetAssignments operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPermissionSetAssignments
default CompletableFuture<ListPermissionSetAssignmentsResponse> listPermissionSetAssignments(Consumer<ListPermissionSetAssignmentsRequest.Builder> listPermissionSetAssignmentsRequest) Lists permission set assignments for an environment.
This is a convenience which creates an instance of the
ListPermissionSetAssignmentsRequest.Builderavoiding the need to create one manually viaListPermissionSetAssignmentsRequest.builder()- Parameters:
listPermissionSetAssignmentsRequest- AConsumerthat will call methods onListPermissionSetAssignmentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListPermissionSetAssignments operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPermissionSetAssignmentsPaginator
default ListPermissionSetAssignmentsPublisher listPermissionSetAssignmentsPaginator(ListPermissionSetAssignmentsRequest listPermissionSetAssignmentsRequest) This is a variant of
listPermissionSetAssignments(software.amazon.awssdk.services.assurance.model.ListPermissionSetAssignmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListPermissionSetAssignmentsPublisher publisher = client.listPermissionSetAssignmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListPermissionSetAssignmentsPublisher publisher = client.listPermissionSetAssignmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListPermissionSetAssignmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListPermissionSetAssignmentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPermissionSetAssignments(software.amazon.awssdk.services.assurance.model.ListPermissionSetAssignmentsRequest)operation.- Parameters:
listPermissionSetAssignmentsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPermissionSetAssignmentsPaginator
default ListPermissionSetAssignmentsPublisher listPermissionSetAssignmentsPaginator(Consumer<ListPermissionSetAssignmentsRequest.Builder> listPermissionSetAssignmentsRequest) This is a variant of
listPermissionSetAssignments(software.amazon.awssdk.services.assurance.model.ListPermissionSetAssignmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListPermissionSetAssignmentsPublisher publisher = client.listPermissionSetAssignmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListPermissionSetAssignmentsPublisher publisher = client.listPermissionSetAssignmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListPermissionSetAssignmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListPermissionSetAssignmentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPermissionSetAssignments(software.amazon.awssdk.services.assurance.model.ListPermissionSetAssignmentsRequest)operation.
This is a convenience which creates an instance of the
ListPermissionSetAssignmentsRequest.Builderavoiding the need to create one manually viaListPermissionSetAssignmentsRequest.builder()- Parameters:
listPermissionSetAssignmentsRequest- AConsumerthat will call methods onListPermissionSetAssignmentsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPermissionSets
default CompletableFuture<ListPermissionSetsResponse> listPermissionSets(ListPermissionSetsRequest listPermissionSetsRequest) Lists permission sets for an environment.
- Parameters:
listPermissionSetsRequest-- Returns:
- A Java Future containing the result of the ListPermissionSets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPermissionSets
default CompletableFuture<ListPermissionSetsResponse> listPermissionSets(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest) Lists permission sets for an environment.
This is a convenience which creates an instance of the
ListPermissionSetsRequest.Builderavoiding the need to create one manually viaListPermissionSetsRequest.builder()- Parameters:
listPermissionSetsRequest- AConsumerthat will call methods onListPermissionSetsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListPermissionSets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPermissionSetsPaginator
default ListPermissionSetsPublisher listPermissionSetsPaginator(ListPermissionSetsRequest listPermissionSetsRequest) This is a variant of
listPermissionSets(software.amazon.awssdk.services.assurance.model.ListPermissionSetsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListPermissionSetsPublisher publisher = client.listPermissionSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListPermissionSetsPublisher publisher = client.listPermissionSetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListPermissionSetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListPermissionSetsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPermissionSets(software.amazon.awssdk.services.assurance.model.ListPermissionSetsRequest)operation.- Parameters:
listPermissionSetsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPermissionSetsPaginator
default ListPermissionSetsPublisher listPermissionSetsPaginator(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest) This is a variant of
listPermissionSets(software.amazon.awssdk.services.assurance.model.ListPermissionSetsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListPermissionSetsPublisher publisher = client.listPermissionSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListPermissionSetsPublisher publisher = client.listPermissionSetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListPermissionSetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListPermissionSetsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPermissionSets(software.amazon.awssdk.services.assurance.model.ListPermissionSetsRequest)operation.
This is a convenience which creates an instance of the
ListPermissionSetsRequest.Builderavoiding the need to create one manually viaListPermissionSetsRequest.builder()- Parameters:
listPermissionSetsRequest- AConsumerthat will call methods onListPermissionSetsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProjects
default CompletableFuture<ListProjectsResponse> listProjects(ListProjectsRequest listProjectsRequest) Lists all projects within a governance environment.
- Parameters:
listProjectsRequest-- Returns:
- A Java Future containing the result of the ListProjects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProjects
default CompletableFuture<ListProjectsResponse> listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) Lists all projects within a governance environment.
This is a convenience which creates an instance of the
ListProjectsRequest.Builderavoiding the need to create one manually viaListProjectsRequest.builder()- Parameters:
listProjectsRequest- AConsumerthat will call methods onListProjectsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListProjects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProjectsPaginator
This is a variant of
listProjects(software.amazon.awssdk.services.assurance.model.ListProjectsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListProjectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListProjectsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProjects(software.amazon.awssdk.services.assurance.model.ListProjectsRequest)operation.- Parameters:
listProjectsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProjectsPaginator
default ListProjectsPublisher listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) This is a variant of
listProjects(software.amazon.awssdk.services.assurance.model.ListProjectsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListProjectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListProjectsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProjects(software.amazon.awssdk.services.assurance.model.ListProjectsRequest)operation.
This is a convenience which creates an instance of the
ListProjectsRequest.Builderavoiding the need to create one manually viaListProjectsRequest.builder()- Parameters:
listProjectsRequest- AConsumerthat will call methods onListProjectsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists tags for a resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists tags for a resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTaskHistory
default CompletableFuture<ListTaskHistoryResponse> listTaskHistory(ListTaskHistoryRequest listTaskHistoryRequest) Lists task history across assessments for a given task, ordered by most recent first.
- Parameters:
listTaskHistoryRequest-- Returns:
- A Java Future containing the result of the ListTaskHistory operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTaskHistory
default CompletableFuture<ListTaskHistoryResponse> listTaskHistory(Consumer<ListTaskHistoryRequest.Builder> listTaskHistoryRequest) Lists task history across assessments for a given task, ordered by most recent first.
This is a convenience which creates an instance of the
ListTaskHistoryRequest.Builderavoiding the need to create one manually viaListTaskHistoryRequest.builder()- Parameters:
listTaskHistoryRequest- AConsumerthat will call methods onListTaskHistoryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTaskHistory operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTaskHistoryPaginator
default ListTaskHistoryPublisher listTaskHistoryPaginator(ListTaskHistoryRequest listTaskHistoryRequest) This is a variant of
listTaskHistory(software.amazon.awssdk.services.assurance.model.ListTaskHistoryRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListTaskHistoryPublisher publisher = client.listTaskHistoryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListTaskHistoryPublisher publisher = client.listTaskHistoryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListTaskHistoryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListTaskHistoryResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTaskHistory(software.amazon.awssdk.services.assurance.model.ListTaskHistoryRequest)operation.- Parameters:
listTaskHistoryRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTaskHistoryPaginator
default ListTaskHistoryPublisher listTaskHistoryPaginator(Consumer<ListTaskHistoryRequest.Builder> listTaskHistoryRequest) This is a variant of
listTaskHistory(software.amazon.awssdk.services.assurance.model.ListTaskHistoryRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListTaskHistoryPublisher publisher = client.listTaskHistoryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListTaskHistoryPublisher publisher = client.listTaskHistoryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListTaskHistoryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListTaskHistoryResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTaskHistory(software.amazon.awssdk.services.assurance.model.ListTaskHistoryRequest)operation.
This is a convenience which creates an instance of the
ListTaskHistoryRequest.Builderavoiding the need to create one manually viaListTaskHistoryRequest.builder()- Parameters:
listTaskHistoryRequest- AConsumerthat will call methods onListTaskHistoryRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTasks
Lists all tasks within a governance environment.
- Parameters:
listTasksRequest-- Returns:
- A Java Future containing the result of the ListTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTasks
default CompletableFuture<ListTasksResponse> listTasks(Consumer<ListTasksRequest.Builder> listTasksRequest) Lists all tasks within a governance environment.
This is a convenience which creates an instance of the
ListTasksRequest.Builderavoiding the need to create one manually viaListTasksRequest.builder()- Parameters:
listTasksRequest- AConsumerthat will call methods onListTasksRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTasksPaginator
This is a variant of
listTasks(software.amazon.awssdk.services.assurance.model.ListTasksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListTasksPublisher publisher = client.listTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListTasksPublisher publisher = client.listTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListTasksResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTasks(software.amazon.awssdk.services.assurance.model.ListTasksRequest)operation.- Parameters:
listTasksRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTasksPaginator
This is a variant of
listTasks(software.amazon.awssdk.services.assurance.model.ListTasksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.assurance.paginators.ListTasksPublisher publisher = client.listTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.assurance.paginators.ListTasksPublisher publisher = client.listTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.assurance.model.ListTasksResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTasks(software.amazon.awssdk.services.assurance.model.ListTasksRequest)operation.
This is a convenience which creates an instance of the
ListTasksRequest.Builderavoiding the need to create one manually viaListTasksRequest.builder()- Parameters:
listTasksRequest- AConsumerthat will call methods onListTasksRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
publishFramework
default CompletableFuture<PublishFrameworkResponse> publishFramework(PublishFrameworkRequest publishFrameworkRequest) Publishes a custom framework, transitioning its status from PENDING to ACTIVE. You can enable only ACTIVE frameworks on an environment.
- Parameters:
publishFrameworkRequest-- Returns:
- A Java Future containing the result of the PublishFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
publishFramework
default CompletableFuture<PublishFrameworkResponse> publishFramework(Consumer<PublishFrameworkRequest.Builder> publishFrameworkRequest) Publishes a custom framework, transitioning its status from PENDING to ACTIVE. You can enable only ACTIVE frameworks on an environment.
This is a convenience which creates an instance of the
PublishFrameworkRequest.Builderavoiding the need to create one manually viaPublishFrameworkRequest.builder()- Parameters:
publishFrameworkRequest- AConsumerthat will call methods onPublishFrameworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PublishFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putControlStatusOverride
default CompletableFuture<PutControlStatusOverrideResponse> putControlStatusOverride(PutControlStatusOverrideRequest putControlStatusOverrideRequest) Marks a control, or one of its requirements, as not applicable to a project, or makes it applicable again. The decision applies only to the specified project and framework version, which must be enabled in the project.
Marking a control or requirement not applicable cancels its open remediation tasks. Making it applicable again doesn't reopen them.
If another request changes the same control at the same time, you receive a
ConflictException. CallGetControlStatusbefore you retry.- Parameters:
putControlStatusOverrideRequest- Input forPutControlStatusOverride.- Returns:
- A Java Future containing the result of the PutControlStatusOverride operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putControlStatusOverride
default CompletableFuture<PutControlStatusOverrideResponse> putControlStatusOverride(Consumer<PutControlStatusOverrideRequest.Builder> putControlStatusOverrideRequest) Marks a control, or one of its requirements, as not applicable to a project, or makes it applicable again. The decision applies only to the specified project and framework version, which must be enabled in the project.
Marking a control or requirement not applicable cancels its open remediation tasks. Making it applicable again doesn't reopen them.
If another request changes the same control at the same time, you receive a
ConflictException. CallGetControlStatusbefore you retry.
This is a convenience which creates an instance of the
PutControlStatusOverrideRequest.Builderavoiding the need to create one manually viaPutControlStatusOverrideRequest.builder()- Parameters:
putControlStatusOverrideRequest- AConsumerthat will call methods onPutControlStatusOverrideRequest.Builderto create a request. Input forPutControlStatusOverride.- Returns:
- A Java Future containing the result of the PutControlStatusOverride operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putEvidence
Adds evidence to support a compliance assessment. To add a new version of existing evidence, specify
evidenceId.Provide either the file content in
contentor a link to the document inreference, but not both.- Parameters:
putEvidenceRequest- Input forPutEvidence.- Returns:
- A Java Future containing the result of the PutEvidence operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putEvidence
default CompletableFuture<PutEvidenceResponse> putEvidence(Consumer<PutEvidenceRequest.Builder> putEvidenceRequest) Adds evidence to support a compliance assessment. To add a new version of existing evidence, specify
evidenceId.Provide either the file content in
contentor a link to the document inreference, but not both.
This is a convenience which creates an instance of the
PutEvidenceRequest.Builderavoiding the need to create one manually viaPutEvidenceRequest.builder()- Parameters:
putEvidenceRequest- AConsumerthat will call methods onPutEvidenceRequest.Builderto create a request. Input forPutEvidence.- Returns:
- A Java Future containing the result of the PutEvidence operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerOrganizationDelegatedAdmin
default CompletableFuture<RegisterOrganizationDelegatedAdminResponse> registerOrganizationDelegatedAdmin(RegisterOrganizationDelegatedAdminRequest registerOrganizationDelegatedAdminRequest) Registers a member account of your organization as the delegated administrator for AWS Assurance. The delegated administrator can then manage organization-scoped environments together with the management account.
Only the management account of the organization can call this operation.
- Parameters:
registerOrganizationDelegatedAdminRequest-- Returns:
- A Java Future containing the result of the RegisterOrganizationDelegatedAdmin operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerOrganizationDelegatedAdmin
default CompletableFuture<RegisterOrganizationDelegatedAdminResponse> registerOrganizationDelegatedAdmin(Consumer<RegisterOrganizationDelegatedAdminRequest.Builder> registerOrganizationDelegatedAdminRequest) Registers a member account of your organization as the delegated administrator for AWS Assurance. The delegated administrator can then manage organization-scoped environments together with the management account.
Only the management account of the organization can call this operation.
This is a convenience which creates an instance of the
RegisterOrganizationDelegatedAdminRequest.Builderavoiding the need to create one manually viaRegisterOrganizationDelegatedAdminRequest.builder()- Parameters:
registerOrganizationDelegatedAdminRequest- AConsumerthat will call methods onRegisterOrganizationDelegatedAdminRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RegisterOrganizationDelegatedAdmin operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rejectInvitation
default CompletableFuture<RejectInvitationResponse> rejectInvitation(RejectInvitationRequest rejectInvitationRequest) Rejects (declines) a pending invitation. Call this operation from the invited account. This operation is idempotent—re-rejecting an already REJECTED invitation has no effect.
- Parameters:
rejectInvitationRequest-- Returns:
- A Java Future containing the result of the RejectInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rejectInvitation
default CompletableFuture<RejectInvitationResponse> rejectInvitation(Consumer<RejectInvitationRequest.Builder> rejectInvitationRequest) Rejects (declines) a pending invitation. Call this operation from the invited account. This operation is idempotent—re-rejecting an already REJECTED invitation has no effect.
This is a convenience which creates an instance of the
RejectInvitationRequest.Builderavoiding the need to create one manually viaRejectInvitationRequest.builder()- Parameters:
rejectInvitationRequest- AConsumerthat will call methods onRejectInvitationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RejectInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokePermissionSet
default CompletableFuture<RevokePermissionSetResponse> revokePermissionSet(RevokePermissionSetRequest revokePermissionSetRequest) Revokes a permission set assignment.
- Parameters:
revokePermissionSetRequest-- Returns:
- A Java Future containing the result of the RevokePermissionSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokePermissionSet
default CompletableFuture<RevokePermissionSetResponse> revokePermissionSet(Consumer<RevokePermissionSetRequest.Builder> revokePermissionSetRequest) Revokes a permission set assignment.
This is a convenience which creates an instance of the
RevokePermissionSetRequest.Builderavoiding the need to create one manually viaRevokePermissionSetRequest.builder()- Parameters:
revokePermissionSetRequest- AConsumerthat will call methods onRevokePermissionSetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RevokePermissionSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startAssessment
default CompletableFuture<StartAssessmentResponse> startAssessment(StartAssessmentRequest startAssessmentRequest) Begins a new assessment for a control or framework.
- Parameters:
startAssessmentRequest-- Returns:
- A Java Future containing the result of the StartAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startAssessment
default CompletableFuture<StartAssessmentResponse> startAssessment(Consumer<StartAssessmentRequest.Builder> startAssessmentRequest) Begins a new assessment for a control or framework.
This is a convenience which creates an instance of the
StartAssessmentRequest.Builderavoiding the need to create one manually viaStartAssessmentRequest.builder()- Parameters:
startAssessmentRequest- AConsumerthat will call methods onStartAssessmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartAssessment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startAssessmentReportExport
default CompletableFuture<StartAssessmentReportExportResponse> startAssessmentReportExport(StartAssessmentReportExportRequest startAssessmentReportExportRequest) Starts preparing an assessment report for a framework in a project. To check progress, call
GetAssessmentReportExportuntil the export status isCOMPLETED. Then callGetAssessmentReportContentto get the report.If an export for the same scope is already in progress, this operation returns the identifier of that export instead of starting a new one.
- Parameters:
startAssessmentReportExportRequest- Input forStartAssessmentReportExport.- Returns:
- A Java Future containing the result of the StartAssessmentReportExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startAssessmentReportExport
default CompletableFuture<StartAssessmentReportExportResponse> startAssessmentReportExport(Consumer<StartAssessmentReportExportRequest.Builder> startAssessmentReportExportRequest) Starts preparing an assessment report for a framework in a project. To check progress, call
GetAssessmentReportExportuntil the export status isCOMPLETED. Then callGetAssessmentReportContentto get the report.If an export for the same scope is already in progress, this operation returns the identifier of that export instead of starting a new one.
This is a convenience which creates an instance of the
StartAssessmentReportExportRequest.Builderavoiding the need to create one manually viaStartAssessmentReportExportRequest.builder()- Parameters:
startAssessmentReportExportRequest- AConsumerthat will call methods onStartAssessmentReportExportRequest.Builderto create a request. Input forStartAssessmentReportExport.- Returns:
- A Java Future containing the result of the StartAssessmentReportExport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startResourceActivitiesQuery
default CompletableFuture<StartResourceActivitiesQueryResponse> startResourceActivitiesQuery(StartResourceActivitiesQueryRequest startResourceActivitiesQueryRequest) Starts a query of the AWS API calls that an artificial intelligence (AI) agent on Amazon Bedrock AgentCore Runtime made. Use the results to audit which resources the agent touched in your account. Returns a query ID. To check the status of the query and get its results, call
GetResourceActivitiesQueryResults.The agent runtime that you query must be in your AWS account.
- Parameters:
startResourceActivitiesQueryRequest-- Returns:
- A Java Future containing the result of the StartResourceActivitiesQuery operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startResourceActivitiesQuery
default CompletableFuture<StartResourceActivitiesQueryResponse> startResourceActivitiesQuery(Consumer<StartResourceActivitiesQueryRequest.Builder> startResourceActivitiesQueryRequest) Starts a query of the AWS API calls that an artificial intelligence (AI) agent on Amazon Bedrock AgentCore Runtime made. Use the results to audit which resources the agent touched in your account. Returns a query ID. To check the status of the query and get its results, call
GetResourceActivitiesQueryResults.The agent runtime that you query must be in your AWS account.
This is a convenience which creates an instance of the
StartResourceActivitiesQueryRequest.Builderavoiding the need to create one manually viaStartResourceActivitiesQueryRequest.builder()- Parameters:
startResourceActivitiesQueryRequest- AConsumerthat will call methods onStartResourceActivitiesQueryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartResourceActivitiesQuery operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds or overwrites tags on a resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or overwrites tags on a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateComment
default CompletableFuture<UpdateCommentResponse> updateComment(UpdateCommentRequest updateCommentRequest) Modifies the content of an existing comment.
- Parameters:
updateCommentRequest-- Returns:
- A Java Future containing the result of the UpdateComment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateComment
default CompletableFuture<UpdateCommentResponse> updateComment(Consumer<UpdateCommentRequest.Builder> updateCommentRequest) Modifies the content of an existing comment.
This is a convenience which creates an instance of the
UpdateCommentRequest.Builderavoiding the need to create one manually viaUpdateCommentRequest.builder()- Parameters:
updateCommentRequest- AConsumerthat will call methods onUpdateCommentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateComment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateControl
default CompletableFuture<UpdateControlResponse> updateControl(UpdateControlRequest updateControlRequest) Updates a custom control. Supply only the fields you want to change; the operation leaves omitted fields unchanged.
- Parameters:
updateControlRequest-- Returns:
- A Java Future containing the result of the UpdateControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateControl
default CompletableFuture<UpdateControlResponse> updateControl(Consumer<UpdateControlRequest.Builder> updateControlRequest) Updates a custom control. Supply only the fields you want to change; the operation leaves omitted fields unchanged.
This is a convenience which creates an instance of the
UpdateControlRequest.Builderavoiding the need to create one manually viaUpdateControlRequest.builder()- Parameters:
updateControlRequest- AConsumerthat will call methods onUpdateControlRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateControl operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateControlGroup
default CompletableFuture<UpdateControlGroupResponse> updateControlGroup(UpdateControlGroupRequest updateControlGroupRequest) Updates a control group.
- Parameters:
updateControlGroupRequest-- Returns:
- A Java Future containing the result of the UpdateControlGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateControlGroup
default CompletableFuture<UpdateControlGroupResponse> updateControlGroup(Consumer<UpdateControlGroupRequest.Builder> updateControlGroupRequest) Updates a control group.
This is a convenience which creates an instance of the
UpdateControlGroupRequest.Builderavoiding the need to create one manually viaUpdateControlGroupRequest.builder()- Parameters:
updateControlGroupRequest- AConsumerthat will call methods onUpdateControlGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateControlGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironment
default CompletableFuture<UpdateEnvironmentResponse> updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) Updates a governance environment.
- Parameters:
updateEnvironmentRequest-- Returns:
- A Java Future containing the result of the UpdateEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironment
default CompletableFuture<UpdateEnvironmentResponse> updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) Updates a governance environment.
This is a convenience which creates an instance of the
UpdateEnvironmentRequest.Builderavoiding the need to create one manually viaUpdateEnvironmentRequest.builder()- Parameters:
updateEnvironmentRequest- AConsumerthat will call methods onUpdateEnvironmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateEnvironment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEvidence
default CompletableFuture<UpdateEvidenceResponse> updateEvidence(UpdateEvidenceRequest updateEvidenceRequest) Updates evidence metadata and manages control links (add or remove) and re-analysis without creating a new evidence version.
- Parameters:
updateEvidenceRequest-- Returns:
- A Java Future containing the result of the UpdateEvidence operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEvidence
default CompletableFuture<UpdateEvidenceResponse> updateEvidence(Consumer<UpdateEvidenceRequest.Builder> updateEvidenceRequest) Updates evidence metadata and manages control links (add or remove) and re-analysis without creating a new evidence version.
This is a convenience which creates an instance of the
UpdateEvidenceRequest.Builderavoiding the need to create one manually viaUpdateEvidenceRequest.builder()- Parameters:
updateEvidenceRequest- AConsumerthat will call methods onUpdateEvidenceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateEvidence operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFramework
default CompletableFuture<UpdateFrameworkResponse> updateFramework(UpdateFrameworkRequest updateFrameworkRequest) Updates the title or description of a custom framework. You cannot change its name or version. You can update only custom frameworks; managed frameworks are read-only.
- Parameters:
updateFrameworkRequest-- Returns:
- A Java Future containing the result of the UpdateFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFramework
default CompletableFuture<UpdateFrameworkResponse> updateFramework(Consumer<UpdateFrameworkRequest.Builder> updateFrameworkRequest) Updates the title or description of a custom framework. You cannot change its name or version. You can update only custom frameworks; managed frameworks are read-only.
This is a convenience which creates an instance of the
UpdateFrameworkRequest.Builderavoiding the need to create one manually viaUpdateFrameworkRequest.builder()- Parameters:
updateFrameworkRequest- AConsumerthat will call methods onUpdateFrameworkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateFramework operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePermissionSet
default CompletableFuture<UpdatePermissionSetResponse> updatePermissionSet(UpdatePermissionSetRequest updatePermissionSetRequest) Updates an existing permission set. Omitted fields are left unchanged. Returns no content; retrieve the updated attributes with GetPermissionSet.
- Parameters:
updatePermissionSetRequest-- Returns:
- A Java Future containing the result of the UpdatePermissionSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePermissionSet
default CompletableFuture<UpdatePermissionSetResponse> updatePermissionSet(Consumer<UpdatePermissionSetRequest.Builder> updatePermissionSetRequest) Updates an existing permission set. Omitted fields are left unchanged. Returns no content; retrieve the updated attributes with GetPermissionSet.
This is a convenience which creates an instance of the
UpdatePermissionSetRequest.Builderavoiding the need to create one manually viaUpdatePermissionSetRequest.builder()- Parameters:
updatePermissionSetRequest- AConsumerthat will call methods onUpdatePermissionSetRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdatePermissionSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateProject
default CompletableFuture<UpdateProjectResponse> updateProject(UpdateProjectRequest updateProjectRequest) Updates an existing project. Omit any field to leave it unchanged.
- Parameters:
updateProjectRequest-- Returns:
- A Java Future containing the result of the UpdateProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateProject
default CompletableFuture<UpdateProjectResponse> updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) Updates an existing project. Omit any field to leave it unchanged.
This is a convenience which creates an instance of the
UpdateProjectRequest.Builderavoiding the need to create one manually viaUpdateProjectRequest.builder()- Parameters:
updateProjectRequest- AConsumerthat will call methods onUpdateProjectRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTask
Updates an existing task.
- Parameters:
updateTaskRequest-- Returns:
- A Java Future containing the result of the UpdateTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTask
default CompletableFuture<UpdateTaskResponse> updateTask(Consumer<UpdateTaskRequest.Builder> updateTaskRequest) Updates an existing task.
This is a convenience which creates an instance of the
UpdateTaskRequest.Builderavoiding the need to create one manually viaUpdateTaskRequest.builder()- Parameters:
updateTaskRequest- AConsumerthat will call methods onUpdateTaskRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ConflictException A conflict occurred (for example, resource already exists).
- ValidationException The request failed validation.
- InternalServerException An internal server error occurred.
- ThrottlingException The request was throttled.
- AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
- ResourceNotFoundException The requested resource was not found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aAssuranceAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aAssuranceAsyncClient.
-