Interface AssuranceClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
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 TypeMethodDescriptiondefault AcceptInvitationResponseacceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest) Accepts a pending invitation to connect your account to an environment.default AcceptInvitationResponseacceptInvitation(AcceptInvitationRequest acceptInvitationRequest) Accepts a pending invitation to connect your account to an environment.default AssignPermissionSetResponseassignPermissionSet(Consumer<AssignPermissionSetRequest.Builder> assignPermissionSetRequest) Assigns a permission set to a principal with optional scopes.default AssignPermissionSetResponseassignPermissionSet(AssignPermissionSetRequest assignPermissionSetRequest) Assigns a permission set to a principal with optional scopes.default BatchGetCommentResponsebatchGetComment(Consumer<BatchGetCommentRequest.Builder> batchGetCommentRequest) Retrieves multiple comments in a single request.default BatchGetCommentResponsebatchGetComment(BatchGetCommentRequest batchGetCommentRequest) Retrieves multiple comments in a single request.default BatchGetControlResponsebatchGetControl(Consumer<BatchGetControlRequest.Builder> batchGetControlRequest) Retrieves multiple controls in a single request.default BatchGetControlResponsebatchGetControl(BatchGetControlRequest batchGetControlRequest) Retrieves multiple controls in a single request.default BatchGetTaskResponsebatchGetTask(Consumer<BatchGetTaskRequest.Builder> batchGetTaskRequest) Retrieves multiple tasks in a single request.default BatchGetTaskResponsebatchGetTask(BatchGetTaskRequest batchGetTaskRequest) Retrieves multiple tasks in a single request.static AssuranceClientBuilderbuilder()Create a builder that can be used to configure and create aAssuranceClient.static AssuranceClientcreate()Create aAssuranceClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateCommentResponsecreateComment(Consumer<CreateCommentRequest.Builder> createCommentRequest) Adds a new comment to a specific control.default CreateCommentResponsecreateComment(CreateCommentRequest createCommentRequest) Adds a new comment to a specific control.default CreateControlResponsecreateControl(Consumer<CreateControlRequest.Builder> createControlRequest) Creates a leaf control, which is a control with no child controls, in a custom framework.default CreateControlResponsecreateControl(CreateControlRequest createControlRequest) Creates a leaf control, which is a control with no child controls, in a custom framework.default CreateControlGroupResponsecreateControlGroup(Consumer<CreateControlGroupRequest.Builder> createControlGroupRequest) Creates a control group within a custom framework.default CreateControlGroupResponsecreateControlGroup(CreateControlGroupRequest createControlGroupRequest) Creates a control group within a custom framework.default CreateEnvironmentResponsecreateEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) Creates a new governance environment with the specified name and service role.default CreateEnvironmentResponsecreateEnvironment(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 CreateFrameworkResponsecreateFramework(Consumer<CreateFrameworkRequest.Builder> createFrameworkRequest) Creates a custom framework.default CreateFrameworkResponsecreateFramework(CreateFrameworkRequest createFrameworkRequest) Creates a custom framework.default CreateInvitationResponsecreateInvitation(Consumer<CreateInvitationRequest.Builder> createInvitationRequest) Creates a pending invitation for a customer account to connect to an environment.default CreateInvitationResponsecreateInvitation(CreateInvitationRequest createInvitationRequest) Creates a pending invitation for a customer account to connect to an environment.default CreatePermissionSetResponsecreatePermissionSet(Consumer<CreatePermissionSetRequest.Builder> createPermissionSetRequest) Creates a new permission set in the environment.default CreatePermissionSetResponsecreatePermissionSet(CreatePermissionSetRequest createPermissionSetRequest) Creates a new permission set in the environment.default CreateProjectResponsecreateProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) Creates a new project with a list of resources in a governance environment.default CreateProjectResponsecreateProject(CreateProjectRequest createProjectRequest) Creates a new project with a list of resources in a governance environment.default DeleteCommentResponsedeleteComment(Consumer<DeleteCommentRequest.Builder> deleteCommentRequest) Deletes a specific comment by its identifying fields.default DeleteCommentResponsedeleteComment(DeleteCommentRequest deleteCommentRequest) Deletes a specific comment by its identifying fields.default DeleteControlResponsedeleteControl(Consumer<DeleteControlRequest.Builder> deleteControlRequest) Deletes a custom control.default DeleteControlResponsedeleteControl(DeleteControlRequest deleteControlRequest) Deletes a custom control.default DeleteControlGroupResponsedeleteControlGroup(Consumer<DeleteControlGroupRequest.Builder> deleteControlGroupRequest) Deletes a control group.default DeleteControlGroupResponsedeleteControlGroup(DeleteControlGroupRequest deleteControlGroupRequest) Deletes a control group.default DeleteEnvironmentResponsedeleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) Deletes a governance environment.default DeleteEnvironmentResponsedeleteEnvironment(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 DeleteEvidenceResponsedeleteEvidence(Consumer<DeleteEvidenceRequest.Builder> deleteEvidenceRequest) Removes an evidence item.default DeleteEvidenceResponsedeleteEvidence(DeleteEvidenceRequest deleteEvidenceRequest) Removes an evidence item.default DeleteFrameworkResponsedeleteFramework(Consumer<DeleteFrameworkRequest.Builder> deleteFrameworkRequest) Deletes a custom framework that you no longer need.default DeleteFrameworkResponsedeleteFramework(DeleteFrameworkRequest deleteFrameworkRequest) Deletes a custom framework that you no longer need.default DeleteInvitationResponsedeleteInvitation(Consumer<DeleteInvitationRequest.Builder> deleteInvitationRequest) Deletes an invitation or unlinks a connected account for an environment.default DeleteInvitationResponsedeleteInvitation(DeleteInvitationRequest deleteInvitationRequest) Deletes an invitation or unlinks a connected account for an environment.default DeletePermissionSetResponsedeletePermissionSet(Consumer<DeletePermissionSetRequest.Builder> deletePermissionSetRequest) Deletes a permission set.default DeletePermissionSetResponsedeletePermissionSet(DeletePermissionSetRequest deletePermissionSetRequest) Deletes a permission set.default DeleteProjectResponsedeleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) Deletes a project and all its associated resources.default DeleteProjectResponsedeleteProject(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.default DisableFrameworkResponsedisableFramework(Consumer<DisableFrameworkRequest.Builder> disableFrameworkRequest) Disables a previously enabled framework for a specific project.default DisableFrameworkResponsedisableFramework(DisableFrameworkRequest disableFrameworkRequest) Disables a previously enabled framework for a specific project.default EnableFrameworkResponseenableFramework(Consumer<EnableFrameworkRequest.Builder> enableFrameworkRequest) Enables a compliance framework for a project in a governance environment.default EnableFrameworkResponseenableFramework(EnableFrameworkRequest enableFrameworkRequest) Enables a compliance framework for a project in a governance environment.default GetAnnotationResponsegetAnnotation(Consumer<GetAnnotationRequest.Builder> getAnnotationRequest) Retrieves the annotation for a specific piece of evidence.default GetAnnotationResponsegetAnnotation(GetAnnotationRequest getAnnotationRequest) Retrieves the annotation for a specific piece of evidence.default GetAssessmentResponsegetAssessment(Consumer<GetAssessmentRequest.Builder> getAssessmentRequest) Retrieves a single assessment.default GetAssessmentResponsegetAssessment(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 GetChatMessagesResponsegetChatMessages(Consumer<GetChatMessagesRequest.Builder> getChatMessagesRequest) Gets messages for a chat session in chronological order.default GetChatMessagesResponsegetChatMessages(GetChatMessagesRequest getChatMessagesRequest) Gets messages for a chat session in chronological order.default GetChatMessagesIterablegetChatMessagesPaginator(Consumer<GetChatMessagesRequest.Builder> getChatMessagesRequest) This is a variant ofgetChatMessages(software.amazon.awssdk.services.assurance.model.GetChatMessagesRequest)operation.default GetChatMessagesIterablegetChatMessagesPaginator(GetChatMessagesRequest getChatMessagesRequest) This is a variant ofgetChatMessages(software.amazon.awssdk.services.assurance.model.GetChatMessagesRequest)operation.default GetCommentResponsegetComment(Consumer<GetCommentRequest.Builder> getCommentRequest) Retrieves a specific comment by its identifying fields.default GetCommentResponsegetComment(GetCommentRequest getCommentRequest) Retrieves a specific comment by its identifying fields.default GetControlResponsegetControl(Consumer<GetControlRequest.Builder> getControlRequest) Retrieves a single leaf control within a framework version, including its title, description, and requirements.default GetControlResponsegetControl(GetControlRequest getControlRequest) Retrieves a single leaf control within a framework version, including its title, description, and requirements.default GetControlGroupResponsegetControlGroup(Consumer<GetControlGroupRequest.Builder> getControlGroupRequest) Retrieves a single control group's own attributes (title, description, status) within a framework version.default GetControlGroupResponsegetControlGroup(GetControlGroupRequest getControlGroupRequest) Retrieves a single control group's own attributes (title, description, status) within a framework version.default GetControlStatusResponsegetControlStatus(Consumer<GetControlStatusRequest.Builder> getControlStatusRequest) Retrieves the effective compliance status of a control in a project.default GetControlStatusResponsegetControlStatus(GetControlStatusRequest getControlStatusRequest) Retrieves the effective compliance status of a control in a project.default GetEnvironmentResponsegetEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) Retrieves a governance environment by ARN or domain.default GetEnvironmentResponsegetEnvironment(GetEnvironmentRequest getEnvironmentRequest) Retrieves a governance environment by ARN or domain.default GetEvidenceResponsegetEvidence(Consumer<GetEvidenceRequest.Builder> getEvidenceRequest) Retrieves metadata for an evidence item.default GetEvidenceResponsegetEvidence(GetEvidenceRequest getEvidenceRequest) Retrieves metadata for an evidence item.default GetEvidenceContentResponsegetEvidenceContent(Consumer<GetEvidenceContentRequest.Builder> getEvidenceContentRequest) Returns the content of an evidence item.default GetEvidenceContentResponsegetEvidenceContent(GetEvidenceContentRequest getEvidenceContentRequest) Returns the content of an evidence item.default GetFrameworkResponsegetFramework(Consumer<GetFrameworkRequest.Builder> getFrameworkRequest) Retrieves a framework resource by type and key fields.default GetFrameworkResponsegetFramework(GetFrameworkRequest getFrameworkRequest) Retrieves a framework resource by type and key fields.default GetInvitationResponsegetInvitation(Consumer<GetInvitationRequest.Builder> getInvitationRequest) Retrieves a single invitation, identified byenvironmentArnandinviteeAccountId.default GetInvitationResponsegetInvitation(GetInvitationRequest getInvitationRequest) Retrieves a single invitation, identified byenvironmentArnandinviteeAccountId.default GetPermissionSetResponsegetPermissionSet(Consumer<GetPermissionSetRequest.Builder> getPermissionSetRequest) Retrieves a permission set by ID.default GetPermissionSetResponsegetPermissionSet(GetPermissionSetRequest getPermissionSetRequest) Retrieves a permission set by ID.default GetProjectResponsegetProject(Consumer<GetProjectRequest.Builder> getProjectRequest) Retrieves a project and all its associated resources.default GetProjectResponsegetProject(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 GetTaskResponsegetTask(Consumer<GetTaskRequest.Builder> getTaskRequest) Retrieves a specific task by its identifying fields.default GetTaskResponsegetTask(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.default ListAssessmentOutcomesResponselistAssessmentOutcomes(Consumer<ListAssessmentOutcomesRequest.Builder> listAssessmentOutcomesRequest) Returns the compliance score of a framework in a project over a time range.default ListAssessmentOutcomesResponselistAssessmentOutcomes(ListAssessmentOutcomesRequest listAssessmentOutcomesRequest) Returns the compliance score of a framework in a project over a time range.default ListAssessmentOutcomesIterablelistAssessmentOutcomesPaginator(Consumer<ListAssessmentOutcomesRequest.Builder> listAssessmentOutcomesRequest) This is a variant oflistAssessmentOutcomes(software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesRequest)operation.default ListAssessmentOutcomesIterablelistAssessmentOutcomesPaginator(ListAssessmentOutcomesRequest listAssessmentOutcomesRequest) This is a variant oflistAssessmentOutcomes(software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesRequest)operation.default ListAssessmentsResponselistAssessments(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) Lists assessments, paginated.default ListAssessmentsResponselistAssessments(ListAssessmentsRequest listAssessmentsRequest) Lists assessments, paginated.default ListAssessmentsIterablelistAssessmentsPaginator(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) This is a variant oflistAssessments(software.amazon.awssdk.services.assurance.model.ListAssessmentsRequest)operation.default ListAssessmentsIterablelistAssessmentsPaginator(ListAssessmentsRequest listAssessmentsRequest) This is a variant oflistAssessments(software.amazon.awssdk.services.assurance.model.ListAssessmentsRequest)operation.default ListChatSessionsResponselistChatSessions(Consumer<ListChatSessionsRequest.Builder> listChatSessionsRequest) Lists chat sessions for you in a governance environment.default ListChatSessionsResponselistChatSessions(ListChatSessionsRequest listChatSessionsRequest) Lists chat sessions for you in a governance environment.default ListChatSessionsIterablelistChatSessionsPaginator(Consumer<ListChatSessionsRequest.Builder> listChatSessionsRequest) This is a variant oflistChatSessions(software.amazon.awssdk.services.assurance.model.ListChatSessionsRequest)operation.default ListChatSessionsIterablelistChatSessionsPaginator(ListChatSessionsRequest listChatSessionsRequest) This is a variant oflistChatSessions(software.amazon.awssdk.services.assurance.model.ListChatSessionsRequest)operation.default ListCommentsResponselistComments(Consumer<ListCommentsRequest.Builder> listCommentsRequest) Lists the comments on a specific control, optionally narrowed to a task.default ListCommentsResponselistComments(ListCommentsRequest listCommentsRequest) Lists the comments on a specific control, optionally narrowed to a task.default ListCommentsIterablelistCommentsPaginator(Consumer<ListCommentsRequest.Builder> listCommentsRequest) This is a variant oflistComments(software.amazon.awssdk.services.assurance.model.ListCommentsRequest)operation.default ListCommentsIterablelistCommentsPaginator(ListCommentsRequest listCommentsRequest) This is a variant oflistComments(software.amazon.awssdk.services.assurance.model.ListCommentsRequest)operation.default ListConnectionItemsResponselistConnectionItems(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.default ListConnectionItemsResponselistConnectionItems(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 ListConnectionItemsIterablelistConnectionItemsPaginator(Consumer<ListConnectionItemsRequest.Builder> listConnectionItemsRequest) This is a variant oflistConnectionItems(software.amazon.awssdk.services.assurance.model.ListConnectionItemsRequest)operation.default ListConnectionItemsIterablelistConnectionItemsPaginator(ListConnectionItemsRequest listConnectionItemsRequest) This is a variant oflistConnectionItems(software.amazon.awssdk.services.assurance.model.ListConnectionItemsRequest)operation.default ListControlGroupsResponselistControlGroups(Consumer<ListControlGroupsRequest.Builder> listControlGroupsRequest) Lists the control groups in a framework version.default ListControlGroupsResponselistControlGroups(ListControlGroupsRequest listControlGroupsRequest) Lists the control groups in a framework version.default ListControlGroupsIterablelistControlGroupsPaginator(Consumer<ListControlGroupsRequest.Builder> listControlGroupsRequest) This is a variant oflistControlGroups(software.amazon.awssdk.services.assurance.model.ListControlGroupsRequest)operation.default ListControlGroupsIterablelistControlGroupsPaginator(ListControlGroupsRequest listControlGroupsRequest) This is a variant oflistControlGroups(software.amazon.awssdk.services.assurance.model.ListControlGroupsRequest)operation.default ListControlResourcesResponselistControlResources(Consumer<ListControlResourcesRequest.Builder> listControlResourcesRequest) Lists the resources that are in scope for the automated evaluation of a control.default ListControlResourcesResponselistControlResources(ListControlResourcesRequest listControlResourcesRequest) Lists the resources that are in scope for the automated evaluation of a control.default ListControlResourcesIterablelistControlResourcesPaginator(Consumer<ListControlResourcesRequest.Builder> listControlResourcesRequest) This is a variant oflistControlResources(software.amazon.awssdk.services.assurance.model.ListControlResourcesRequest)operation.default ListControlResourcesIterablelistControlResourcesPaginator(ListControlResourcesRequest listControlResourcesRequest) This is a variant oflistControlResources(software.amazon.awssdk.services.assurance.model.ListControlResourcesRequest)operation.default ListControlsResponselistControls(Consumer<ListControlsRequest.Builder> listControlsRequest) Lists the leaf controls within a single control group in a framework version.default ListControlsResponselistControls(ListControlsRequest listControlsRequest) Lists the leaf controls within a single control group in a framework version.default ListControlsIterablelistControlsPaginator(Consumer<ListControlsRequest.Builder> listControlsRequest) This is a variant oflistControls(software.amazon.awssdk.services.assurance.model.ListControlsRequest)operation.default ListControlsIterablelistControlsPaginator(ListControlsRequest listControlsRequest) This is a variant oflistControls(software.amazon.awssdk.services.assurance.model.ListControlsRequest)operation.default ListDiscoveredResourcesResponselistDiscoveredResources(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest) Lists the resources that are in scope for an environment or project.default ListDiscoveredResourcesResponselistDiscoveredResources(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest) Lists the resources that are in scope for an environment or project.default ListDiscoveredResourcesIterablelistDiscoveredResourcesPaginator(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest) This is a variant oflistDiscoveredResources(software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesRequest)operation.default ListDiscoveredResourcesIterablelistDiscoveredResourcesPaginator(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest) This is a variant oflistDiscoveredResources(software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesRequest)operation.default ListEnabledFrameworksResponselistEnabledFrameworks(Consumer<ListEnabledFrameworksRequest.Builder> listEnabledFrameworksRequest) Lists the frameworks enabled in a governance environment, optionally narrowed byfilters.default ListEnabledFrameworksResponselistEnabledFrameworks(ListEnabledFrameworksRequest listEnabledFrameworksRequest) Lists the frameworks enabled in a governance environment, optionally narrowed byfilters.default ListEnabledFrameworksIterablelistEnabledFrameworksPaginator(Consumer<ListEnabledFrameworksRequest.Builder> listEnabledFrameworksRequest) This is a variant oflistEnabledFrameworks(software.amazon.awssdk.services.assurance.model.ListEnabledFrameworksRequest)operation.default ListEnabledFrameworksIterablelistEnabledFrameworksPaginator(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.default ListEnvironmentsResponselistEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) Lists your governance environments.default ListEnvironmentsResponselistEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) Lists your governance environments.default ListEnvironmentsIterablelistEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) This is a variant oflistEnvironments(software.amazon.awssdk.services.assurance.model.ListEnvironmentsRequest)operation.default ListEnvironmentsIterablelistEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) This is a variant oflistEnvironments(software.amazon.awssdk.services.assurance.model.ListEnvironmentsRequest)operation.default ListEvidenceResponselistEvidence(Consumer<ListEvidenceRequest.Builder> listEvidenceRequest) Lists evidence items (paginated).default ListEvidenceResponselistEvidence(ListEvidenceRequest listEvidenceRequest) Lists evidence items (paginated).default ListEvidenceAnnotationsResponselistEvidenceAnnotations(Consumer<ListEvidenceAnnotationsRequest.Builder> listEvidenceAnnotationsRequest) Lists the annotations on one version of a piece of evidence within a project, paginated.default ListEvidenceAnnotationsResponselistEvidenceAnnotations(ListEvidenceAnnotationsRequest listEvidenceAnnotationsRequest) Lists the annotations on one version of a piece of evidence within a project, paginated.default ListEvidenceAnnotationsIterablelistEvidenceAnnotationsPaginator(Consumer<ListEvidenceAnnotationsRequest.Builder> listEvidenceAnnotationsRequest) This is a variant oflistEvidenceAnnotations(software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsRequest)operation.default ListEvidenceAnnotationsIterablelistEvidenceAnnotationsPaginator(ListEvidenceAnnotationsRequest listEvidenceAnnotationsRequest) This is a variant oflistEvidenceAnnotations(software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsRequest)operation.default ListEvidenceIterablelistEvidencePaginator(Consumer<ListEvidenceRequest.Builder> listEvidenceRequest) This is a variant oflistEvidence(software.amazon.awssdk.services.assurance.model.ListEvidenceRequest)operation.default ListEvidenceIterablelistEvidencePaginator(ListEvidenceRequest listEvidenceRequest) This is a variant oflistEvidence(software.amazon.awssdk.services.assurance.model.ListEvidenceRequest)operation.default ListFrameworksResponselistFrameworks(Consumer<ListFrameworksRequest.Builder> listFrameworksRequest) Lists frameworks by type, with optional pagination.default ListFrameworksResponselistFrameworks(ListFrameworksRequest listFrameworksRequest) Lists frameworks by type, with optional pagination.default ListFrameworksIterablelistFrameworksPaginator(Consumer<ListFrameworksRequest.Builder> listFrameworksRequest) This is a variant oflistFrameworks(software.amazon.awssdk.services.assurance.model.ListFrameworksRequest)operation.default ListFrameworksIterablelistFrameworksPaginator(ListFrameworksRequest listFrameworksRequest) This is a variant oflistFrameworks(software.amazon.awssdk.services.assurance.model.ListFrameworksRequest)operation.default ListInboundInvitationsResponselistInboundInvitations(Consumer<ListInboundInvitationsRequest.Builder> listInboundInvitationsRequest) Lists the invitations addressed to your account, across all environments.default ListInboundInvitationsResponselistInboundInvitations(ListInboundInvitationsRequest listInboundInvitationsRequest) Lists the invitations addressed to your account, across all environments.default ListInboundInvitationsIterablelistInboundInvitationsPaginator(Consumer<ListInboundInvitationsRequest.Builder> listInboundInvitationsRequest) This is a variant oflistInboundInvitations(software.amazon.awssdk.services.assurance.model.ListInboundInvitationsRequest)operation.default ListInboundInvitationsIterablelistInboundInvitationsPaginator(ListInboundInvitationsRequest listInboundInvitationsRequest) This is a variant oflistInboundInvitations(software.amazon.awssdk.services.assurance.model.ListInboundInvitationsRequest)operation.default ListOutboundInvitationsResponselistOutboundInvitations(Consumer<ListOutboundInvitationsRequest.Builder> listOutboundInvitationsRequest) Lists the invitations that you extended from an environment you own.default ListOutboundInvitationsResponselistOutboundInvitations(ListOutboundInvitationsRequest listOutboundInvitationsRequest) Lists the invitations that you extended from an environment you own.default ListOutboundInvitationsIterablelistOutboundInvitationsPaginator(Consumer<ListOutboundInvitationsRequest.Builder> listOutboundInvitationsRequest) This is a variant oflistOutboundInvitations(software.amazon.awssdk.services.assurance.model.ListOutboundInvitationsRequest)operation.default ListOutboundInvitationsIterablelistOutboundInvitationsPaginator(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.default ListPermissionSetsResponselistPermissionSets(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest) Lists permission sets for an environment.default ListPermissionSetsResponselistPermissionSets(ListPermissionSetsRequest listPermissionSetsRequest) Lists permission sets for an environment.default ListPermissionSetsIterablelistPermissionSetsPaginator(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest) This is a variant oflistPermissionSets(software.amazon.awssdk.services.assurance.model.ListPermissionSetsRequest)operation.default ListPermissionSetsIterablelistPermissionSetsPaginator(ListPermissionSetsRequest listPermissionSetsRequest) This is a variant oflistPermissionSets(software.amazon.awssdk.services.assurance.model.ListPermissionSetsRequest)operation.default ListProjectsResponselistProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) Lists all projects within a governance environment.default ListProjectsResponselistProjects(ListProjectsRequest listProjectsRequest) Lists all projects within a governance environment.default ListProjectsIterablelistProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.assurance.model.ListProjectsRequest)operation.default ListProjectsIterablelistProjectsPaginator(ListProjectsRequest listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.assurance.model.ListProjectsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists tags for a resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists tags for a resource.default ListTaskHistoryResponselistTaskHistory(Consumer<ListTaskHistoryRequest.Builder> listTaskHistoryRequest) Lists task history across assessments for a given task, ordered by most recent first.default ListTaskHistoryResponselistTaskHistory(ListTaskHistoryRequest listTaskHistoryRequest) Lists task history across assessments for a given task, ordered by most recent first.default ListTaskHistoryIterablelistTaskHistoryPaginator(Consumer<ListTaskHistoryRequest.Builder> listTaskHistoryRequest) This is a variant oflistTaskHistory(software.amazon.awssdk.services.assurance.model.ListTaskHistoryRequest)operation.default ListTaskHistoryIterablelistTaskHistoryPaginator(ListTaskHistoryRequest listTaskHistoryRequest) This is a variant oflistTaskHistory(software.amazon.awssdk.services.assurance.model.ListTaskHistoryRequest)operation.default ListTasksResponselistTasks(Consumer<ListTasksRequest.Builder> listTasksRequest) Lists all tasks within a governance environment.default ListTasksResponselistTasks(ListTasksRequest listTasksRequest) Lists all tasks within a governance environment.default ListTasksIterablelistTasksPaginator(Consumer<ListTasksRequest.Builder> listTasksRequest) This is a variant oflistTasks(software.amazon.awssdk.services.assurance.model.ListTasksRequest)operation.default ListTasksIterablelistTasksPaginator(ListTasksRequest listTasksRequest) This is a variant oflistTasks(software.amazon.awssdk.services.assurance.model.ListTasksRequest)operation.default PublishFrameworkResponsepublishFramework(Consumer<PublishFrameworkRequest.Builder> publishFrameworkRequest) Publishes a custom framework, transitioning its status from PENDING to ACTIVE.default PublishFrameworkResponsepublishFramework(PublishFrameworkRequest publishFrameworkRequest) Publishes a custom framework, transitioning its status from PENDING to ACTIVE.default PutControlStatusOverrideResponseputControlStatusOverride(Consumer<PutControlStatusOverrideRequest.Builder> putControlStatusOverrideRequest) Marks a control, or one of its requirements, as not applicable to a project, or makes it applicable again.default PutControlStatusOverrideResponseputControlStatusOverride(PutControlStatusOverrideRequest putControlStatusOverrideRequest) Marks a control, or one of its requirements, as not applicable to a project, or makes it applicable again.default PutEvidenceResponseputEvidence(Consumer<PutEvidenceRequest.Builder> putEvidenceRequest) Adds evidence to support a compliance assessment.default PutEvidenceResponseputEvidence(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.default RejectInvitationResponserejectInvitation(Consumer<RejectInvitationRequest.Builder> rejectInvitationRequest) Rejects (declines) a pending invitation.default RejectInvitationResponserejectInvitation(RejectInvitationRequest rejectInvitationRequest) Rejects (declines) a pending invitation.default RevokePermissionSetResponserevokePermissionSet(Consumer<RevokePermissionSetRequest.Builder> revokePermissionSetRequest) Revokes a permission set assignment.default RevokePermissionSetResponserevokePermissionSet(RevokePermissionSetRequest revokePermissionSetRequest) Revokes a permission set assignment.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault StartAssessmentResponsestartAssessment(Consumer<StartAssessmentRequest.Builder> startAssessmentRequest) Begins a new assessment for a control or framework.default StartAssessmentResponsestartAssessment(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 TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or overwrites tags on a resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds or overwrites tags on a resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes tags from a resource.default UpdateCommentResponseupdateComment(Consumer<UpdateCommentRequest.Builder> updateCommentRequest) Modifies the content of an existing comment.default UpdateCommentResponseupdateComment(UpdateCommentRequest updateCommentRequest) Modifies the content of an existing comment.default UpdateControlResponseupdateControl(Consumer<UpdateControlRequest.Builder> updateControlRequest) Updates a custom control.default UpdateControlResponseupdateControl(UpdateControlRequest updateControlRequest) Updates a custom control.default UpdateControlGroupResponseupdateControlGroup(Consumer<UpdateControlGroupRequest.Builder> updateControlGroupRequest) Updates a control group.default UpdateControlGroupResponseupdateControlGroup(UpdateControlGroupRequest updateControlGroupRequest) Updates a control group.default UpdateEnvironmentResponseupdateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) Updates a governance environment.default UpdateEnvironmentResponseupdateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) Updates a governance environment.default UpdateEvidenceResponseupdateEvidence(Consumer<UpdateEvidenceRequest.Builder> updateEvidenceRequest) Updates evidence metadata and manages control links (add or remove) and re-analysis without creating a new evidence version.default UpdateEvidenceResponseupdateEvidence(UpdateEvidenceRequest updateEvidenceRequest) Updates evidence metadata and manages control links (add or remove) and re-analysis without creating a new evidence version.default UpdateFrameworkResponseupdateFramework(Consumer<UpdateFrameworkRequest.Builder> updateFrameworkRequest) Updates the title or description of a custom framework.default UpdateFrameworkResponseupdateFramework(UpdateFrameworkRequest updateFrameworkRequest) Updates the title or description of a custom framework.default UpdatePermissionSetResponseupdatePermissionSet(Consumer<UpdatePermissionSetRequest.Builder> updatePermissionSetRequest) Updates an existing permission set.default UpdatePermissionSetResponseupdatePermissionSet(UpdatePermissionSetRequest updatePermissionSetRequest) Updates an existing permission set.default UpdateProjectResponseupdateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) Updates an existing project.default UpdateProjectResponseupdateProject(UpdateProjectRequest updateProjectRequest) Updates an existing project.default UpdateTaskResponseupdateTask(Consumer<UpdateTaskRequest.Builder> updateTaskRequest) Updates an existing task.default UpdateTaskResponseupdateTask(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 AcceptInvitationResponse acceptInvitation(AcceptInvitationRequest acceptInvitationRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the AcceptInvitation operation returned by the service.
- See Also:
-
acceptInvitation
default AcceptInvitationResponse acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the AcceptInvitation operation returned by the service.
- See Also:
-
assignPermissionSet
default AssignPermissionSetResponse assignPermissionSet(AssignPermissionSetRequest assignPermissionSetRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Assigns a permission set to a principal with optional scopes.
- Parameters:
assignPermissionSetRequest-- Returns:
- Result of the AssignPermissionSet operation returned by the service.
- See Also:
-
assignPermissionSet
default AssignPermissionSetResponse assignPermissionSet(Consumer<AssignPermissionSetRequest.Builder> assignPermissionSetRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the AssignPermissionSet operation returned by the service.
- See Also:
-
batchGetComment
default BatchGetCommentResponse batchGetComment(BatchGetCommentRequest batchGetCommentRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the BatchGetComment operation returned by the service.
- See Also:
-
batchGetComment
default BatchGetCommentResponse batchGetComment(Consumer<BatchGetCommentRequest.Builder> batchGetCommentRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the BatchGetComment operation returned by the service.
- See Also:
-
batchGetControl
default BatchGetControlResponse batchGetControl(BatchGetControlRequest batchGetControlRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the BatchGetControl operation returned by the service.
- See Also:
-
batchGetControl
default BatchGetControlResponse batchGetControl(Consumer<BatchGetControlRequest.Builder> batchGetControlRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the BatchGetControl operation returned by the service.
- See Also:
-
batchGetTask
default BatchGetTaskResponse batchGetTask(BatchGetTaskRequest batchGetTaskRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the BatchGetTask operation returned by the service.
- See Also:
-
batchGetTask
default BatchGetTaskResponse batchGetTask(Consumer<BatchGetTaskRequest.Builder> batchGetTaskRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the BatchGetTask operation returned by the service.
- See Also:
-
createComment
default CreateCommentResponse createComment(CreateCommentRequest createCommentRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Adds a new comment to a specific control.
- Parameters:
createCommentRequest-- Returns:
- Result of the CreateComment operation returned by the service.
- See Also:
-
createComment
default CreateCommentResponse createComment(Consumer<CreateCommentRequest.Builder> createCommentRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the CreateComment operation returned by the service.
- See Also:
-
createControl
default CreateControlResponse createControl(CreateControlRequest createControlRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Creates a leaf control, which is a control with no child controls, in a custom framework.
- Parameters:
createControlRequest-- Returns:
- Result of the CreateControl operation returned by the service.
- See Also:
-
createControl
default CreateControlResponse createControl(Consumer<CreateControlRequest.Builder> createControlRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the CreateControl operation returned by the service.
- See Also:
-
createControlGroup
default CreateControlGroupResponse createControlGroup(CreateControlGroupRequest createControlGroupRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Creates a control group within a custom framework.
- Parameters:
createControlGroupRequest-- Returns:
- Result of the CreateControlGroup operation returned by the service.
- See Also:
-
createControlGroup
default CreateControlGroupResponse createControlGroup(Consumer<CreateControlGroupRequest.Builder> createControlGroupRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the CreateControlGroup operation returned by the service.
- See Also:
-
createEnvironment
default CreateEnvironmentResponse createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the CreateEnvironment operation returned by the service.
- See Also:
-
createEnvironment
default CreateEnvironmentResponse createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the CreateEnvironment operation returned by the service.
- See Also:
-
createEnvironmentConnection
default CreateEnvironmentConnectionResponse createEnvironmentConnection(CreateEnvironmentConnectionRequest createEnvironmentConnectionRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the CreateEnvironmentConnection operation returned by the service.
- See Also:
-
createEnvironmentConnection
default CreateEnvironmentConnectionResponse createEnvironmentConnection(Consumer<CreateEnvironmentConnectionRequest.Builder> createEnvironmentConnectionRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the CreateEnvironmentConnection operation returned by the service.
- See Also:
-
createFramework
default CreateFrameworkResponse createFramework(CreateFrameworkRequest createFrameworkRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Creates a custom framework. The framework name must not start with
AWS:. New frameworks are created inPENDINGstatus. UsePublishFrameworkto make themACTIVE.- Parameters:
createFrameworkRequest-- Returns:
- Result of the CreateFramework operation returned by the service.
- See Also:
-
createFramework
default CreateFrameworkResponse createFramework(Consumer<CreateFrameworkRequest.Builder> createFrameworkRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the CreateFramework operation returned by the service.
- See Also:
-
createInvitation
default CreateInvitationResponse createInvitation(CreateInvitationRequest createInvitationRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the CreateInvitation operation returned by the service.
- See Also:
-
createInvitation
default CreateInvitationResponse createInvitation(Consumer<CreateInvitationRequest.Builder> createInvitationRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the CreateInvitation operation returned by the service.
- See Also:
-
createPermissionSet
default CreatePermissionSetResponse createPermissionSet(CreatePermissionSetRequest createPermissionSetRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Creates a new permission set in the environment. Returns the identifier the service assigned to it; retrieve its attributes with GetPermissionSet.
- Parameters:
createPermissionSetRequest-- Returns:
- Result of the CreatePermissionSet operation returned by the service.
- See Also:
-
createPermissionSet
default CreatePermissionSetResponse createPermissionSet(Consumer<CreatePermissionSetRequest.Builder> createPermissionSetRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the CreatePermissionSet operation returned by the service.
- See Also:
-
createProject
default CreateProjectResponse createProject(CreateProjectRequest createProjectRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Creates a new project with a list of resources in a governance environment.
- Parameters:
createProjectRequest-- Returns:
- Result of the CreateProject operation returned by the service.
- See Also:
-
createProject
default CreateProjectResponse createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the CreateProject operation returned by the service.
- See Also:
-
deleteComment
default DeleteCommentResponse deleteComment(DeleteCommentRequest deleteCommentRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Deletes a specific comment by its identifying fields.
- Parameters:
deleteCommentRequest-- Returns:
- Result of the DeleteComment operation returned by the service.
- See Also:
-
deleteComment
default DeleteCommentResponse deleteComment(Consumer<DeleteCommentRequest.Builder> deleteCommentRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the DeleteComment operation returned by the service.
- See Also:
-
deleteControl
default DeleteControlResponse deleteControl(DeleteControlRequest deleteControlRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Deletes a custom control. The operation also removes any associated evaluation metadata (control intents and workflow type).
- Parameters:
deleteControlRequest-- Returns:
- Result of the DeleteControl operation returned by the service.
- See Also:
-
deleteControl
default DeleteControlResponse deleteControl(Consumer<DeleteControlRequest.Builder> deleteControlRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the DeleteControl operation returned by the service.
- See Also:
-
deleteControlGroup
default DeleteControlGroupResponse deleteControlGroup(DeleteControlGroupRequest deleteControlGroupRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Deletes a control group. The group must be empty (no child controls) before you delete it.
- Parameters:
deleteControlGroupRequest-- Returns:
- Result of the DeleteControlGroup operation returned by the service.
- See Also:
-
deleteControlGroup
default DeleteControlGroupResponse deleteControlGroup(Consumer<DeleteControlGroupRequest.Builder> deleteControlGroupRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the DeleteControlGroup operation returned by the service.
- See Also:
-
deleteEnvironment
default DeleteEnvironmentResponse deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Deletes a governance environment.
- Parameters:
deleteEnvironmentRequest-- Returns:
- Result of the DeleteEnvironment operation returned by the service.
- See Also:
-
deleteEnvironment
default DeleteEnvironmentResponse deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the DeleteEnvironment operation returned by the service.
- See Also:
-
deleteEnvironmentConnection
default DeleteEnvironmentConnectionResponse deleteEnvironmentConnection(DeleteEnvironmentConnectionRequest deleteEnvironmentConnectionRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the DeleteEnvironmentConnection operation returned by the service.
- See Also:
-
deleteEnvironmentConnection
default DeleteEnvironmentConnectionResponse deleteEnvironmentConnection(Consumer<DeleteEnvironmentConnectionRequest.Builder> deleteEnvironmentConnectionRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the DeleteEnvironmentConnection operation returned by the service.
- See Also:
-
deleteEvidence
default DeleteEvidenceResponse deleteEvidence(DeleteEvidenceRequest deleteEvidenceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Removes an evidence item.
- Parameters:
deleteEvidenceRequest-- Returns:
- Result of the DeleteEvidence operation returned by the service.
- See Also:
-
deleteEvidence
default DeleteEvidenceResponse deleteEvidence(Consumer<DeleteEvidenceRequest.Builder> deleteEvidenceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the DeleteEvidence operation returned by the service.
- See Also:
-
deleteFramework
default DeleteFrameworkResponse deleteFramework(DeleteFrameworkRequest deleteFrameworkRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the DeleteFramework operation returned by the service.
- See Also:
-
-
deleteFramework
default DeleteFrameworkResponse deleteFramework(Consumer<DeleteFrameworkRequest.Builder> deleteFrameworkRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the DeleteFramework operation returned by the service.
- See Also:
-
-
deleteInvitation
default DeleteInvitationResponse deleteInvitation(DeleteInvitationRequest deleteInvitationRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the DeleteInvitation operation returned by the service.
- See Also:
-
deleteInvitation
default DeleteInvitationResponse deleteInvitation(Consumer<DeleteInvitationRequest.Builder> deleteInvitationRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the DeleteInvitation operation returned by the service.
- See Also:
-
deletePermissionSet
default DeletePermissionSetResponse deletePermissionSet(DeletePermissionSetRequest deletePermissionSetRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Deletes a permission set.
- Parameters:
deletePermissionSetRequest-- Returns:
- Result of the DeletePermissionSet operation returned by the service.
- See Also:
-
deletePermissionSet
default DeletePermissionSetResponse deletePermissionSet(Consumer<DeletePermissionSetRequest.Builder> deletePermissionSetRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the DeletePermissionSet operation returned by the service.
- See Also:
-
deleteProject
default DeleteProjectResponse deleteProject(DeleteProjectRequest deleteProjectRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Deletes a project and all its associated resources.
- Parameters:
deleteProjectRequest-- Returns:
- Result of the DeleteProject operation returned by the service.
- See Also:
-
deleteProject
default DeleteProjectResponse deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the DeleteProject operation returned by the service.
- See Also:
-
deregisterOrganizationDelegatedAdmin
default DeregisterOrganizationDelegatedAdminResponse deregisterOrganizationDelegatedAdmin(DeregisterOrganizationDelegatedAdminRequest deregisterOrganizationDelegatedAdminRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the DeregisterOrganizationDelegatedAdmin operation returned by the service.
- See Also:
-
deregisterOrganizationDelegatedAdmin
default DeregisterOrganizationDelegatedAdminResponse deregisterOrganizationDelegatedAdmin(Consumer<DeregisterOrganizationDelegatedAdminRequest.Builder> deregisterOrganizationDelegatedAdminRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the DeregisterOrganizationDelegatedAdmin operation returned by the service.
- See Also:
-
disableFramework
default DisableFrameworkResponse disableFramework(DisableFrameworkRequest disableFrameworkRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Disables a previously enabled framework for a specific project.
- Parameters:
disableFrameworkRequest-- Returns:
- Result of the DisableFramework operation returned by the service.
- See Also:
-
disableFramework
default DisableFrameworkResponse disableFramework(Consumer<DisableFrameworkRequest.Builder> disableFrameworkRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the DisableFramework operation returned by the service.
- See Also:
-
enableFramework
default EnableFrameworkResponse enableFramework(EnableFrameworkRequest enableFrameworkRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the EnableFramework operation returned by the service.
- See Also:
-
enableFramework
default EnableFrameworkResponse enableFramework(Consumer<EnableFrameworkRequest.Builder> enableFrameworkRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the EnableFramework operation returned by the service.
- See Also:
-
getAnnotation
default GetAnnotationResponse getAnnotation(GetAnnotationRequest getAnnotationRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Retrieves the annotation for a specific piece of evidence.
- Parameters:
getAnnotationRequest-- Returns:
- Result of the GetAnnotation operation returned by the service.
- See Also:
-
getAnnotation
default GetAnnotationResponse getAnnotation(Consumer<GetAnnotationRequest.Builder> getAnnotationRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetAnnotation operation returned by the service.
- See Also:
-
getAssessment
default GetAssessmentResponse getAssessment(GetAssessmentRequest getAssessmentRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Retrieves a single assessment.
- Parameters:
getAssessmentRequest-- Returns:
- Result of the GetAssessment operation returned by the service.
- See Also:
-
getAssessment
default GetAssessmentResponse getAssessment(Consumer<GetAssessmentRequest.Builder> getAssessmentRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetAssessment operation returned by the service.
- See Also:
-
getAssessmentReportContent
default GetAssessmentReportContentResponse getAssessmentReportContent(GetAssessmentReportContentRequest getAssessmentReportContentRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetAssessmentReportContent operation returned by the service.
- See Also:
-
getAssessmentReportContent
default GetAssessmentReportContentResponse getAssessmentReportContent(Consumer<GetAssessmentReportContentRequest.Builder> getAssessmentReportContentRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetAssessmentReportContent operation returned by the service.
- See Also:
-
getAssessmentReportExport
default GetAssessmentReportExportResponse getAssessmentReportExport(GetAssessmentReportExportRequest getAssessmentReportExportRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Gets the status of an assessment report export.
- Parameters:
getAssessmentReportExportRequest- Input forGetAssessmentReportExport.- Returns:
- Result of the GetAssessmentReportExport operation returned by the service.
- See Also:
-
getAssessmentReportExport
default GetAssessmentReportExportResponse getAssessmentReportExport(Consumer<GetAssessmentReportExportRequest.Builder> getAssessmentReportExportRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetAssessmentReportExport operation returned by the service.
- See Also:
-
getChatMessages
default GetChatMessagesResponse getChatMessages(GetChatMessagesRequest getChatMessagesRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Gets messages for a chat session in chronological order.
- Parameters:
getChatMessagesRequest-- Returns:
- Result of the GetChatMessages operation returned by the service.
- See Also:
-
getChatMessages
default GetChatMessagesResponse getChatMessages(Consumer<GetChatMessagesRequest.Builder> getChatMessagesRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetChatMessages operation returned by the service.
- See Also:
-
getChatMessagesPaginator
default GetChatMessagesIterable getChatMessagesPaginator(GetChatMessagesRequest getChatMessagesRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
getChatMessages(software.amazon.awssdk.services.assurance.model.GetChatMessagesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.GetChatMessagesIterable responses = client.getChatMessagesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.GetChatMessagesIterable responses = client .getChatMessagesPaginator(request); for (software.amazon.awssdk.services.assurance.model.GetChatMessagesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.GetChatMessagesIterable responses = client.getChatMessagesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getChatMessages(software.amazon.awssdk.services.assurance.model.GetChatMessagesRequest)operation.- Parameters:
getChatMessagesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getChatMessagesPaginator
default GetChatMessagesIterable getChatMessagesPaginator(Consumer<GetChatMessagesRequest.Builder> getChatMessagesRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
getChatMessages(software.amazon.awssdk.services.assurance.model.GetChatMessagesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.GetChatMessagesIterable responses = client.getChatMessagesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.GetChatMessagesIterable responses = client .getChatMessagesPaginator(request); for (software.amazon.awssdk.services.assurance.model.GetChatMessagesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.GetChatMessagesIterable responses = client.getChatMessagesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
getComment
default GetCommentResponse getComment(GetCommentRequest getCommentRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Retrieves a specific comment by its identifying fields.
- Parameters:
getCommentRequest-- Returns:
- Result of the GetComment operation returned by the service.
- See Also:
-
getComment
default GetCommentResponse getComment(Consumer<GetCommentRequest.Builder> getCommentRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetComment operation returned by the service.
- See Also:
-
getControl
default GetControlResponse getControl(GetControlRequest getControlRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Retrieves a single leaf control within a framework version, including its title, description, and requirements.
- Parameters:
getControlRequest-- Returns:
- Result of the GetControl operation returned by the service.
- See Also:
-
getControl
default GetControlResponse getControl(Consumer<GetControlRequest.Builder> getControlRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetControl operation returned by the service.
- See Also:
-
getControlGroup
default GetControlGroupResponse getControlGroup(GetControlGroupRequest getControlGroupRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetControlGroup operation returned by the service.
- See Also:
-
getControlGroup
default GetControlGroupResponse getControlGroup(Consumer<GetControlGroupRequest.Builder> getControlGroupRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetControlGroup operation returned by the service.
- See Also:
-
getControlStatus
default GetControlStatusResponse getControlStatus(GetControlStatusRequest getControlStatusRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetControlStatus operation returned by the service.
- See Also:
-
getControlStatus
default GetControlStatusResponse getControlStatus(Consumer<GetControlStatusRequest.Builder> getControlStatusRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetControlStatus operation returned by the service.
- See Also:
-
getEnvironment
default GetEnvironmentResponse getEnvironment(GetEnvironmentRequest getEnvironmentRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Retrieves a governance environment by ARN or domain. Provide exactly one of
environmentArnordomain.- Parameters:
getEnvironmentRequest-- Returns:
- Result of the GetEnvironment operation returned by the service.
- See Also:
-
getEnvironment
default GetEnvironmentResponse getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetEnvironment operation returned by the service.
- See Also:
-
getEvidence
default GetEvidenceResponse getEvidence(GetEvidenceRequest getEvidenceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Retrieves metadata for an evidence item.
- Parameters:
getEvidenceRequest-- Returns:
- Result of the GetEvidence operation returned by the service.
- See Also:
-
getEvidence
default GetEvidenceResponse getEvidence(Consumer<GetEvidenceRequest.Builder> getEvidenceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetEvidence operation returned by the service.
- See Also:
-
getEvidenceContent
default GetEvidenceContentResponse getEvidenceContent(GetEvidenceContentRequest getEvidenceContentRequest) throws ValidationException, InternalServerException, ThrottlingException, IntegrityException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Returns the content of an evidence item.
- Parameters:
getEvidenceContentRequest- Input forGetEvidenceContent.- Returns:
- Result of the GetEvidenceContent operation returned by the service.
- See Also:
-
getEvidenceContent
default GetEvidenceContentResponse getEvidenceContent(Consumer<GetEvidenceContentRequest.Builder> getEvidenceContentRequest) throws ValidationException, InternalServerException, ThrottlingException, IntegrityException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetEvidenceContent operation returned by the service.
- See Also:
-
getFramework
default GetFrameworkResponse getFramework(GetFrameworkRequest getFrameworkRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Retrieves a framework resource by type and key fields.
- Parameters:
getFrameworkRequest-- Returns:
- Result of the GetFramework operation returned by the service.
- See Also:
-
getFramework
default GetFrameworkResponse getFramework(Consumer<GetFrameworkRequest.Builder> getFrameworkRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetFramework operation returned by the service.
- See Also:
-
getInvitation
default GetInvitationResponse getInvitation(GetInvitationRequest getInvitationRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetInvitation operation returned by the service.
- See Also:
-
getInvitation
default GetInvitationResponse getInvitation(Consumer<GetInvitationRequest.Builder> getInvitationRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetInvitation operation returned by the service.
- See Also:
-
getPermissionSet
default GetPermissionSetResponse getPermissionSet(GetPermissionSetRequest getPermissionSetRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Retrieves a permission set by ID.
- Parameters:
getPermissionSetRequest-- Returns:
- Result of the GetPermissionSet operation returned by the service.
- See Also:
-
getPermissionSet
default GetPermissionSetResponse getPermissionSet(Consumer<GetPermissionSetRequest.Builder> getPermissionSetRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetPermissionSet operation returned by the service.
- See Also:
-
getProject
default GetProjectResponse getProject(GetProjectRequest getProjectRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Retrieves a project and all its associated resources.
- Parameters:
getProjectRequest-- Returns:
- Result of the GetProject operation returned by the service.
- See Also:
-
getProject
default GetProjectResponse getProject(Consumer<GetProjectRequest.Builder> getProjectRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetProject operation returned by the service.
- See Also:
-
getResourceActivitiesQueryResults
default GetResourceActivitiesQueryResultsResponse getResourceActivitiesQueryResults(GetResourceActivitiesQueryResultsRequest getResourceActivitiesQueryResultsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetResourceActivitiesQueryResults operation returned by the service.
- See Also:
-
getResourceActivitiesQueryResults
default GetResourceActivitiesQueryResultsResponse getResourceActivitiesQueryResults(Consumer<GetResourceActivitiesQueryResultsRequest.Builder> getResourceActivitiesQueryResultsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetResourceActivitiesQueryResults operation returned by the service.
- See Also:
-
getResourceActivitiesQueryResultsPaginator
default GetResourceActivitiesQueryResultsIterable getResourceActivitiesQueryResultsPaginator(GetResourceActivitiesQueryResultsRequest getResourceActivitiesQueryResultsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
getResourceActivitiesQueryResults(software.amazon.awssdk.services.assurance.model.GetResourceActivitiesQueryResultsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.GetResourceActivitiesQueryResultsIterable responses = client.getResourceActivitiesQueryResultsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.GetResourceActivitiesQueryResultsIterable responses = client .getResourceActivitiesQueryResultsPaginator(request); for (software.amazon.awssdk.services.assurance.model.GetResourceActivitiesQueryResultsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.GetResourceActivitiesQueryResultsIterable responses = client.getResourceActivitiesQueryResultsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getResourceActivitiesQueryResults(software.amazon.awssdk.services.assurance.model.GetResourceActivitiesQueryResultsRequest)operation.- Parameters:
getResourceActivitiesQueryResultsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getResourceActivitiesQueryResultsPaginator
default GetResourceActivitiesQueryResultsIterable getResourceActivitiesQueryResultsPaginator(Consumer<GetResourceActivitiesQueryResultsRequest.Builder> getResourceActivitiesQueryResultsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
getResourceActivitiesQueryResults(software.amazon.awssdk.services.assurance.model.GetResourceActivitiesQueryResultsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.GetResourceActivitiesQueryResultsIterable responses = client.getResourceActivitiesQueryResultsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.GetResourceActivitiesQueryResultsIterable responses = client .getResourceActivitiesQueryResultsPaginator(request); for (software.amazon.awssdk.services.assurance.model.GetResourceActivitiesQueryResultsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.GetResourceActivitiesQueryResultsIterable responses = client.getResourceActivitiesQueryResultsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
getTask
default GetTaskResponse getTask(GetTaskRequest getTaskRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Retrieves a specific task by its identifying fields.
- Parameters:
getTaskRequest-- Returns:
- Result of the GetTask operation returned by the service.
- See Also:
-
getTask
default GetTaskResponse getTask(Consumer<GetTaskRequest.Builder> getTaskRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the GetTask operation returned by the service.
- See Also:
-
listAssessmentAnnotations
default ListAssessmentAnnotationsResponse listAssessmentAnnotations(ListAssessmentAnnotationsRequest listAssessmentAnnotationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists the annotations on one assessment, paginated.
- Parameters:
listAssessmentAnnotationsRequest-- Returns:
- Result of the ListAssessmentAnnotations operation returned by the service.
- See Also:
-
listAssessmentAnnotations
default ListAssessmentAnnotationsResponse listAssessmentAnnotations(Consumer<ListAssessmentAnnotationsRequest.Builder> listAssessmentAnnotationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListAssessmentAnnotations operation returned by the service.
- See Also:
-
listAssessmentAnnotationsPaginator
default ListAssessmentAnnotationsIterable listAssessmentAnnotationsPaginator(ListAssessmentAnnotationsRequest listAssessmentAnnotationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listAssessmentAnnotations(software.amazon.awssdk.services.assurance.model.ListAssessmentAnnotationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentAnnotationsIterable responses = client.listAssessmentAnnotationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListAssessmentAnnotationsIterable responses = client .listAssessmentAnnotationsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListAssessmentAnnotationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentAnnotationsIterable responses = client.listAssessmentAnnotationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentAnnotations(software.amazon.awssdk.services.assurance.model.ListAssessmentAnnotationsRequest)operation.- Parameters:
listAssessmentAnnotationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssessmentAnnotationsPaginator
default ListAssessmentAnnotationsIterable listAssessmentAnnotationsPaginator(Consumer<ListAssessmentAnnotationsRequest.Builder> listAssessmentAnnotationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listAssessmentAnnotations(software.amazon.awssdk.services.assurance.model.ListAssessmentAnnotationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentAnnotationsIterable responses = client.listAssessmentAnnotationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListAssessmentAnnotationsIterable responses = client .listAssessmentAnnotationsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListAssessmentAnnotationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentAnnotationsIterable responses = client.listAssessmentAnnotationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssessmentJournalRecords
default ListAssessmentJournalRecordsResponse listAssessmentJournalRecords(ListAssessmentJournalRecordsRequest listAssessmentJournalRecordsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists assessment journal records, paginated.
- Parameters:
listAssessmentJournalRecordsRequest-- Returns:
- Result of the ListAssessmentJournalRecords operation returned by the service.
- See Also:
-
listAssessmentJournalRecords
default ListAssessmentJournalRecordsResponse listAssessmentJournalRecords(Consumer<ListAssessmentJournalRecordsRequest.Builder> listAssessmentJournalRecordsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListAssessmentJournalRecords operation returned by the service.
- See Also:
-
listAssessmentJournalRecordsPaginator
default ListAssessmentJournalRecordsIterable listAssessmentJournalRecordsPaginator(ListAssessmentJournalRecordsRequest listAssessmentJournalRecordsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listAssessmentJournalRecords(software.amazon.awssdk.services.assurance.model.ListAssessmentJournalRecordsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentJournalRecordsIterable responses = client.listAssessmentJournalRecordsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListAssessmentJournalRecordsIterable responses = client .listAssessmentJournalRecordsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListAssessmentJournalRecordsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentJournalRecordsIterable responses = client.listAssessmentJournalRecordsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentJournalRecords(software.amazon.awssdk.services.assurance.model.ListAssessmentJournalRecordsRequest)operation.- Parameters:
listAssessmentJournalRecordsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssessmentJournalRecordsPaginator
default ListAssessmentJournalRecordsIterable listAssessmentJournalRecordsPaginator(Consumer<ListAssessmentJournalRecordsRequest.Builder> listAssessmentJournalRecordsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listAssessmentJournalRecords(software.amazon.awssdk.services.assurance.model.ListAssessmentJournalRecordsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentJournalRecordsIterable responses = client.listAssessmentJournalRecordsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListAssessmentJournalRecordsIterable responses = client .listAssessmentJournalRecordsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListAssessmentJournalRecordsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentJournalRecordsIterable responses = client.listAssessmentJournalRecordsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssessmentOutcomes
default ListAssessmentOutcomesResponse listAssessmentOutcomes(ListAssessmentOutcomesRequest listAssessmentOutcomesRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListAssessmentOutcomes operation returned by the service.
- See Also:
-
-
listAssessmentOutcomes
default ListAssessmentOutcomesResponse listAssessmentOutcomes(Consumer<ListAssessmentOutcomesRequest.Builder> listAssessmentOutcomesRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListAssessmentOutcomes operation returned by the service.
- See Also:
-
-
listAssessmentOutcomesPaginator
default ListAssessmentOutcomesIterable listAssessmentOutcomesPaginator(ListAssessmentOutcomesRequest listAssessmentOutcomesRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listAssessmentOutcomes(software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentOutcomesIterable responses = client.listAssessmentOutcomesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListAssessmentOutcomesIterable responses = client .listAssessmentOutcomesPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentOutcomesIterable responses = client.listAssessmentOutcomesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessmentOutcomes(software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesRequest)operation.- Parameters:
listAssessmentOutcomesRequest- Input forListAssessmentOutcomes.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssessmentOutcomesPaginator
default ListAssessmentOutcomesIterable listAssessmentOutcomesPaginator(Consumer<ListAssessmentOutcomesRequest.Builder> listAssessmentOutcomesRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listAssessmentOutcomes(software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentOutcomesIterable responses = client.listAssessmentOutcomesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListAssessmentOutcomesIterable responses = client .listAssessmentOutcomesPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListAssessmentOutcomesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentOutcomesIterable responses = client.listAssessmentOutcomesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssessments
default ListAssessmentsResponse listAssessments(ListAssessmentsRequest listAssessmentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists assessments, paginated.
- Parameters:
listAssessmentsRequest-- Returns:
- Result of the ListAssessments operation returned by the service.
- See Also:
-
listAssessments
default ListAssessmentsResponse listAssessments(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListAssessments operation returned by the service.
- See Also:
-
listAssessmentsPaginator
default ListAssessmentsIterable listAssessmentsPaginator(ListAssessmentsRequest listAssessmentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listAssessments(software.amazon.awssdk.services.assurance.model.ListAssessmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentsIterable responses = client.listAssessmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListAssessmentsIterable responses = client .listAssessmentsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListAssessmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentsIterable responses = client.listAssessmentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAssessments(software.amazon.awssdk.services.assurance.model.ListAssessmentsRequest)operation.- Parameters:
listAssessmentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAssessmentsPaginator
default ListAssessmentsIterable listAssessmentsPaginator(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listAssessments(software.amazon.awssdk.services.assurance.model.ListAssessmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentsIterable responses = client.listAssessmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListAssessmentsIterable responses = client .listAssessmentsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListAssessmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListAssessmentsIterable responses = client.listAssessmentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listChatSessions
default ListChatSessionsResponse listChatSessions(ListChatSessionsRequest listChatSessionsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists chat sessions for you in a governance environment.
- Parameters:
listChatSessionsRequest-- Returns:
- Result of the ListChatSessions operation returned by the service.
- See Also:
-
listChatSessions
default ListChatSessionsResponse listChatSessions(Consumer<ListChatSessionsRequest.Builder> listChatSessionsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListChatSessions operation returned by the service.
- See Also:
-
listChatSessionsPaginator
default ListChatSessionsIterable listChatSessionsPaginator(ListChatSessionsRequest listChatSessionsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listChatSessions(software.amazon.awssdk.services.assurance.model.ListChatSessionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListChatSessionsIterable responses = client.listChatSessionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListChatSessionsIterable responses = client .listChatSessionsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListChatSessionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListChatSessionsIterable responses = client.listChatSessionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listChatSessions(software.amazon.awssdk.services.assurance.model.ListChatSessionsRequest)operation.- Parameters:
listChatSessionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listChatSessionsPaginator
default ListChatSessionsIterable listChatSessionsPaginator(Consumer<ListChatSessionsRequest.Builder> listChatSessionsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listChatSessions(software.amazon.awssdk.services.assurance.model.ListChatSessionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListChatSessionsIterable responses = client.listChatSessionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListChatSessionsIterable responses = client .listChatSessionsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListChatSessionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListChatSessionsIterable responses = client.listChatSessionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listComments
default ListCommentsResponse listComments(ListCommentsRequest listCommentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists the comments on a specific control, optionally narrowed to a task.
- Parameters:
listCommentsRequest-- Returns:
- Result of the ListComments operation returned by the service.
- See Also:
-
listComments
default ListCommentsResponse listComments(Consumer<ListCommentsRequest.Builder> listCommentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListComments operation returned by the service.
- See Also:
-
listCommentsPaginator
default ListCommentsIterable listCommentsPaginator(ListCommentsRequest listCommentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listComments(software.amazon.awssdk.services.assurance.model.ListCommentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListCommentsIterable responses = client.listCommentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListCommentsIterable responses = client.listCommentsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListCommentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListCommentsIterable responses = client.listCommentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComments(software.amazon.awssdk.services.assurance.model.ListCommentsRequest)operation.- Parameters:
listCommentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCommentsPaginator
default ListCommentsIterable listCommentsPaginator(Consumer<ListCommentsRequest.Builder> listCommentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listComments(software.amazon.awssdk.services.assurance.model.ListCommentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListCommentsIterable responses = client.listCommentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListCommentsIterable responses = client.listCommentsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListCommentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListCommentsIterable responses = client.listCommentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listConnectionItems
default ListConnectionItemsResponse listConnectionItems(ListConnectionItemsRequest listConnectionItemsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListConnectionItems operation returned by the service.
- See Also:
-
listConnectionItems
default ListConnectionItemsResponse listConnectionItems(Consumer<ListConnectionItemsRequest.Builder> listConnectionItemsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListConnectionItems operation returned by the service.
- See Also:
-
listConnectionItemsPaginator
default ListConnectionItemsIterable listConnectionItemsPaginator(ListConnectionItemsRequest listConnectionItemsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listConnectionItems(software.amazon.awssdk.services.assurance.model.ListConnectionItemsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListConnectionItemsIterable responses = client.listConnectionItemsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListConnectionItemsIterable responses = client .listConnectionItemsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListConnectionItemsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListConnectionItemsIterable responses = client.listConnectionItemsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listConnectionItems(software.amazon.awssdk.services.assurance.model.ListConnectionItemsRequest)operation.- Parameters:
listConnectionItemsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listConnectionItemsPaginator
default ListConnectionItemsIterable listConnectionItemsPaginator(Consumer<ListConnectionItemsRequest.Builder> listConnectionItemsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listConnectionItems(software.amazon.awssdk.services.assurance.model.ListConnectionItemsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListConnectionItemsIterable responses = client.listConnectionItemsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListConnectionItemsIterable responses = client .listConnectionItemsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListConnectionItemsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListConnectionItemsIterable responses = client.listConnectionItemsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listControlGroups
default ListControlGroupsResponse listControlGroups(ListControlGroupsRequest listControlGroupsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListControlGroups operation returned by the service.
- See Also:
-
listControlGroups
default ListControlGroupsResponse listControlGroups(Consumer<ListControlGroupsRequest.Builder> listControlGroupsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListControlGroups operation returned by the service.
- See Also:
-
listControlGroupsPaginator
default ListControlGroupsIterable listControlGroupsPaginator(ListControlGroupsRequest listControlGroupsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listControlGroups(software.amazon.awssdk.services.assurance.model.ListControlGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListControlGroupsIterable responses = client.listControlGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListControlGroupsIterable responses = client .listControlGroupsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListControlGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListControlGroupsIterable responses = client.listControlGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlGroups(software.amazon.awssdk.services.assurance.model.ListControlGroupsRequest)operation.- Parameters:
listControlGroupsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listControlGroupsPaginator
default ListControlGroupsIterable listControlGroupsPaginator(Consumer<ListControlGroupsRequest.Builder> listControlGroupsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listControlGroups(software.amazon.awssdk.services.assurance.model.ListControlGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListControlGroupsIterable responses = client.listControlGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListControlGroupsIterable responses = client .listControlGroupsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListControlGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListControlGroupsIterable responses = client.listControlGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listControlResources
default ListControlResourcesResponse listControlResources(ListControlResourcesRequest listControlResourcesRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListControlResources operation returned by the service.
- See Also:
-
listControlResources
default ListControlResourcesResponse listControlResources(Consumer<ListControlResourcesRequest.Builder> listControlResourcesRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListControlResources operation returned by the service.
- See Also:
-
listControlResourcesPaginator
default ListControlResourcesIterable listControlResourcesPaginator(ListControlResourcesRequest listControlResourcesRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listControlResources(software.amazon.awssdk.services.assurance.model.ListControlResourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListControlResourcesIterable responses = client.listControlResourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListControlResourcesIterable responses = client .listControlResourcesPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListControlResourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListControlResourcesIterable responses = client.listControlResourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControlResources(software.amazon.awssdk.services.assurance.model.ListControlResourcesRequest)operation.- Parameters:
listControlResourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listControlResourcesPaginator
default ListControlResourcesIterable listControlResourcesPaginator(Consumer<ListControlResourcesRequest.Builder> listControlResourcesRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listControlResources(software.amazon.awssdk.services.assurance.model.ListControlResourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListControlResourcesIterable responses = client.listControlResourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListControlResourcesIterable responses = client .listControlResourcesPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListControlResourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListControlResourcesIterable responses = client.listControlResourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listControls
default ListControlsResponse listControls(ListControlsRequest listControlsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists the leaf controls within a single control group in a framework version. Supports pagination through maxResults and nextToken.
- Parameters:
listControlsRequest-- Returns:
- Result of the ListControls operation returned by the service.
- See Also:
-
listControls
default ListControlsResponse listControls(Consumer<ListControlsRequest.Builder> listControlsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListControls operation returned by the service.
- See Also:
-
listControlsPaginator
default ListControlsIterable listControlsPaginator(ListControlsRequest listControlsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listControls(software.amazon.awssdk.services.assurance.model.ListControlsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListControlsIterable responses = client.listControlsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListControlsIterable responses = client.listControlsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListControlsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListControlsIterable responses = client.listControlsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listControls(software.amazon.awssdk.services.assurance.model.ListControlsRequest)operation.- Parameters:
listControlsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listControlsPaginator
default ListControlsIterable listControlsPaginator(Consumer<ListControlsRequest.Builder> listControlsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listControls(software.amazon.awssdk.services.assurance.model.ListControlsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListControlsIterable responses = client.listControlsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListControlsIterable responses = client.listControlsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListControlsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListControlsIterable responses = client.listControlsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listDiscoveredResources
default ListDiscoveredResourcesResponse listDiscoveredResources(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListDiscoveredResources operation returned by the service.
- See Also:
-
listDiscoveredResources
default ListDiscoveredResourcesResponse listDiscoveredResources(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListDiscoveredResources operation returned by the service.
- See Also:
-
listDiscoveredResourcesPaginator
default ListDiscoveredResourcesIterable listDiscoveredResourcesPaginator(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listDiscoveredResources(software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListDiscoveredResourcesIterable responses = client.listDiscoveredResourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListDiscoveredResourcesIterable responses = client .listDiscoveredResourcesPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListDiscoveredResourcesIterable responses = client.listDiscoveredResourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDiscoveredResources(software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesRequest)operation.- Parameters:
listDiscoveredResourcesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDiscoveredResourcesPaginator
default ListDiscoveredResourcesIterable listDiscoveredResourcesPaginator(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listDiscoveredResources(software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListDiscoveredResourcesIterable responses = client.listDiscoveredResourcesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListDiscoveredResourcesIterable responses = client .listDiscoveredResourcesPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListDiscoveredResourcesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListDiscoveredResourcesIterable responses = client.listDiscoveredResourcesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listEnabledFrameworks
default ListEnabledFrameworksResponse listEnabledFrameworks(ListEnabledFrameworksRequest listEnabledFrameworksRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists the frameworks enabled in a governance environment, optionally narrowed by
filters.- Parameters:
listEnabledFrameworksRequest-- Returns:
- Result of the ListEnabledFrameworks operation returned by the service.
- See Also:
-
listEnabledFrameworks
default ListEnabledFrameworksResponse listEnabledFrameworks(Consumer<ListEnabledFrameworksRequest.Builder> listEnabledFrameworksRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListEnabledFrameworks operation returned by the service.
- See Also:
-
listEnabledFrameworksPaginator
default ListEnabledFrameworksIterable listEnabledFrameworksPaginator(ListEnabledFrameworksRequest listEnabledFrameworksRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listEnabledFrameworks(software.amazon.awssdk.services.assurance.model.ListEnabledFrameworksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListEnabledFrameworksIterable responses = client.listEnabledFrameworksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListEnabledFrameworksIterable responses = client .listEnabledFrameworksPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListEnabledFrameworksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListEnabledFrameworksIterable responses = client.listEnabledFrameworksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnabledFrameworks(software.amazon.awssdk.services.assurance.model.ListEnabledFrameworksRequest)operation.- Parameters:
listEnabledFrameworksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEnabledFrameworksPaginator
default ListEnabledFrameworksIterable listEnabledFrameworksPaginator(Consumer<ListEnabledFrameworksRequest.Builder> listEnabledFrameworksRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listEnabledFrameworks(software.amazon.awssdk.services.assurance.model.ListEnabledFrameworksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListEnabledFrameworksIterable responses = client.listEnabledFrameworksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListEnabledFrameworksIterable responses = client .listEnabledFrameworksPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListEnabledFrameworksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListEnabledFrameworksIterable responses = client.listEnabledFrameworksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listEnvironmentConnections
default ListEnvironmentConnectionsResponse listEnvironmentConnections(ListEnvironmentConnectionsRequest listEnvironmentConnectionsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists the connections for a governance environment. To return only some connections, specify
filters.- Parameters:
listEnvironmentConnectionsRequest-- Returns:
- Result of the ListEnvironmentConnections operation returned by the service.
- See Also:
-
listEnvironmentConnections
default ListEnvironmentConnectionsResponse listEnvironmentConnections(Consumer<ListEnvironmentConnectionsRequest.Builder> listEnvironmentConnectionsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListEnvironmentConnections operation returned by the service.
- See Also:
-
listEnvironmentConnectionsPaginator
default ListEnvironmentConnectionsIterable listEnvironmentConnectionsPaginator(ListEnvironmentConnectionsRequest listEnvironmentConnectionsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listEnvironmentConnections(software.amazon.awssdk.services.assurance.model.ListEnvironmentConnectionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListEnvironmentConnectionsIterable responses = client.listEnvironmentConnectionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListEnvironmentConnectionsIterable responses = client .listEnvironmentConnectionsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListEnvironmentConnectionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListEnvironmentConnectionsIterable responses = client.listEnvironmentConnectionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironmentConnections(software.amazon.awssdk.services.assurance.model.ListEnvironmentConnectionsRequest)operation.- Parameters:
listEnvironmentConnectionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEnvironmentConnectionsPaginator
default ListEnvironmentConnectionsIterable listEnvironmentConnectionsPaginator(Consumer<ListEnvironmentConnectionsRequest.Builder> listEnvironmentConnectionsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listEnvironmentConnections(software.amazon.awssdk.services.assurance.model.ListEnvironmentConnectionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListEnvironmentConnectionsIterable responses = client.listEnvironmentConnectionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListEnvironmentConnectionsIterable responses = client .listEnvironmentConnectionsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListEnvironmentConnectionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListEnvironmentConnectionsIterable responses = client.listEnvironmentConnectionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listEnvironments
default ListEnvironmentsResponse listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListEnvironments operation returned by the service.
- See Also:
-
listEnvironments
default ListEnvironmentsResponse listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListEnvironments operation returned by the service.
- See Also:
-
listEnvironmentsPaginator
default ListEnvironmentsIterable listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listEnvironments(software.amazon.awssdk.services.assurance.model.ListEnvironmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListEnvironmentsIterable responses = client .listEnvironmentsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListEnvironmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironments(software.amazon.awssdk.services.assurance.model.ListEnvironmentsRequest)operation.- Parameters:
listEnvironmentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEnvironmentsPaginator
default ListEnvironmentsIterable listEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listEnvironments(software.amazon.awssdk.services.assurance.model.ListEnvironmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListEnvironmentsIterable responses = client .listEnvironmentsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListEnvironmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListEnvironmentsIterable responses = client.listEnvironmentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listEvidence
default ListEvidenceResponse listEvidence(ListEvidenceRequest listEvidenceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists evidence items (paginated).
- Parameters:
listEvidenceRequest-- Returns:
- Result of the ListEvidence operation returned by the service.
- See Also:
-
listEvidence
default ListEvidenceResponse listEvidence(Consumer<ListEvidenceRequest.Builder> listEvidenceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListEvidence operation returned by the service.
- See Also:
-
listEvidencePaginator
default ListEvidenceIterable listEvidencePaginator(ListEvidenceRequest listEvidenceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listEvidence(software.amazon.awssdk.services.assurance.model.ListEvidenceRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListEvidenceIterable responses = client.listEvidencePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListEvidenceIterable responses = client.listEvidencePaginator(request); for (software.amazon.awssdk.services.assurance.model.ListEvidenceResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListEvidenceIterable responses = client.listEvidencePaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEvidence(software.amazon.awssdk.services.assurance.model.ListEvidenceRequest)operation.- Parameters:
listEvidenceRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEvidencePaginator
default ListEvidenceIterable listEvidencePaginator(Consumer<ListEvidenceRequest.Builder> listEvidenceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listEvidence(software.amazon.awssdk.services.assurance.model.ListEvidenceRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListEvidenceIterable responses = client.listEvidencePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListEvidenceIterable responses = client.listEvidencePaginator(request); for (software.amazon.awssdk.services.assurance.model.ListEvidenceResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListEvidenceIterable responses = client.listEvidencePaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listEvidenceAnnotations
default ListEvidenceAnnotationsResponse listEvidenceAnnotations(ListEvidenceAnnotationsRequest listEvidenceAnnotationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists the annotations on one version of a piece of evidence within a project, paginated.
- Parameters:
listEvidenceAnnotationsRequest-- Returns:
- Result of the ListEvidenceAnnotations operation returned by the service.
- See Also:
-
listEvidenceAnnotations
default ListEvidenceAnnotationsResponse listEvidenceAnnotations(Consumer<ListEvidenceAnnotationsRequest.Builder> listEvidenceAnnotationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListEvidenceAnnotations operation returned by the service.
- See Also:
-
listEvidenceAnnotationsPaginator
default ListEvidenceAnnotationsIterable listEvidenceAnnotationsPaginator(ListEvidenceAnnotationsRequest listEvidenceAnnotationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listEvidenceAnnotations(software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListEvidenceAnnotationsIterable responses = client.listEvidenceAnnotationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListEvidenceAnnotationsIterable responses = client .listEvidenceAnnotationsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListEvidenceAnnotationsIterable responses = client.listEvidenceAnnotationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEvidenceAnnotations(software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsRequest)operation.- Parameters:
listEvidenceAnnotationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEvidenceAnnotationsPaginator
default ListEvidenceAnnotationsIterable listEvidenceAnnotationsPaginator(Consumer<ListEvidenceAnnotationsRequest.Builder> listEvidenceAnnotationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listEvidenceAnnotations(software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListEvidenceAnnotationsIterable responses = client.listEvidenceAnnotationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListEvidenceAnnotationsIterable responses = client .listEvidenceAnnotationsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListEvidenceAnnotationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListEvidenceAnnotationsIterable responses = client.listEvidenceAnnotationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFrameworks
default ListFrameworksResponse listFrameworks(ListFrameworksRequest listFrameworksRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists frameworks by type, with optional pagination. When
typeis omitted, the operation returns both MANAGED and CUSTOM frameworks.- Parameters:
listFrameworksRequest-- Returns:
- Result of the ListFrameworks operation returned by the service.
- See Also:
-
listFrameworks
default ListFrameworksResponse listFrameworks(Consumer<ListFrameworksRequest.Builder> listFrameworksRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListFrameworks operation returned by the service.
- See Also:
-
listFrameworksPaginator
default ListFrameworksIterable listFrameworksPaginator(ListFrameworksRequest listFrameworksRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listFrameworks(software.amazon.awssdk.services.assurance.model.ListFrameworksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListFrameworksIterable responses = client.listFrameworksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListFrameworksIterable responses = client .listFrameworksPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListFrameworksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListFrameworksIterable responses = client.listFrameworksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFrameworks(software.amazon.awssdk.services.assurance.model.ListFrameworksRequest)operation.- Parameters:
listFrameworksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFrameworksPaginator
default ListFrameworksIterable listFrameworksPaginator(Consumer<ListFrameworksRequest.Builder> listFrameworksRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listFrameworks(software.amazon.awssdk.services.assurance.model.ListFrameworksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListFrameworksIterable responses = client.listFrameworksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListFrameworksIterable responses = client .listFrameworksPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListFrameworksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListFrameworksIterable responses = client.listFrameworksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listInboundInvitations
default ListInboundInvitationsResponse listInboundInvitations(ListInboundInvitationsRequest listInboundInvitationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListInboundInvitations operation returned by the service.
- See Also:
-
listInboundInvitations
default ListInboundInvitationsResponse listInboundInvitations(Consumer<ListInboundInvitationsRequest.Builder> listInboundInvitationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListInboundInvitations operation returned by the service.
- See Also:
-
listInboundInvitationsPaginator
default ListInboundInvitationsIterable listInboundInvitationsPaginator(ListInboundInvitationsRequest listInboundInvitationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listInboundInvitations(software.amazon.awssdk.services.assurance.model.ListInboundInvitationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListInboundInvitationsIterable responses = client.listInboundInvitationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListInboundInvitationsIterable responses = client .listInboundInvitationsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListInboundInvitationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListInboundInvitationsIterable responses = client.listInboundInvitationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInboundInvitations(software.amazon.awssdk.services.assurance.model.ListInboundInvitationsRequest)operation.- Parameters:
listInboundInvitationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listInboundInvitationsPaginator
default ListInboundInvitationsIterable listInboundInvitationsPaginator(Consumer<ListInboundInvitationsRequest.Builder> listInboundInvitationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listInboundInvitations(software.amazon.awssdk.services.assurance.model.ListInboundInvitationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListInboundInvitationsIterable responses = client.listInboundInvitationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListInboundInvitationsIterable responses = client .listInboundInvitationsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListInboundInvitationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListInboundInvitationsIterable responses = client.listInboundInvitationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listOutboundInvitations
default ListOutboundInvitationsResponse listOutboundInvitations(ListOutboundInvitationsRequest listOutboundInvitationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists the invitations that you extended from an environment you own. Supports pagination and an optional status filter.
- Parameters:
listOutboundInvitationsRequest-- Returns:
- Result of the ListOutboundInvitations operation returned by the service.
- See Also:
-
listOutboundInvitations
default ListOutboundInvitationsResponse listOutboundInvitations(Consumer<ListOutboundInvitationsRequest.Builder> listOutboundInvitationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListOutboundInvitations operation returned by the service.
- See Also:
-
listOutboundInvitationsPaginator
default ListOutboundInvitationsIterable listOutboundInvitationsPaginator(ListOutboundInvitationsRequest listOutboundInvitationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listOutboundInvitations(software.amazon.awssdk.services.assurance.model.ListOutboundInvitationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListOutboundInvitationsIterable responses = client.listOutboundInvitationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListOutboundInvitationsIterable responses = client .listOutboundInvitationsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListOutboundInvitationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListOutboundInvitationsIterable responses = client.listOutboundInvitationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOutboundInvitations(software.amazon.awssdk.services.assurance.model.ListOutboundInvitationsRequest)operation.- Parameters:
listOutboundInvitationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOutboundInvitationsPaginator
default ListOutboundInvitationsIterable listOutboundInvitationsPaginator(Consumer<ListOutboundInvitationsRequest.Builder> listOutboundInvitationsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listOutboundInvitations(software.amazon.awssdk.services.assurance.model.ListOutboundInvitationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListOutboundInvitationsIterable responses = client.listOutboundInvitationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListOutboundInvitationsIterable responses = client .listOutboundInvitationsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListOutboundInvitationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListOutboundInvitationsIterable responses = client.listOutboundInvitationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listPermissionSetAssignments
default ListPermissionSetAssignmentsResponse listPermissionSetAssignments(ListPermissionSetAssignmentsRequest listPermissionSetAssignmentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists permission set assignments for an environment.
- Parameters:
listPermissionSetAssignmentsRequest-- Returns:
- Result of the ListPermissionSetAssignments operation returned by the service.
- See Also:
-
listPermissionSetAssignments
default ListPermissionSetAssignmentsResponse listPermissionSetAssignments(Consumer<ListPermissionSetAssignmentsRequest.Builder> listPermissionSetAssignmentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListPermissionSetAssignments operation returned by the service.
- See Also:
-
listPermissionSetAssignmentsPaginator
default ListPermissionSetAssignmentsIterable listPermissionSetAssignmentsPaginator(ListPermissionSetAssignmentsRequest listPermissionSetAssignmentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listPermissionSetAssignments(software.amazon.awssdk.services.assurance.model.ListPermissionSetAssignmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListPermissionSetAssignmentsIterable responses = client.listPermissionSetAssignmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListPermissionSetAssignmentsIterable responses = client .listPermissionSetAssignmentsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListPermissionSetAssignmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListPermissionSetAssignmentsIterable responses = client.listPermissionSetAssignmentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPermissionSetAssignments(software.amazon.awssdk.services.assurance.model.ListPermissionSetAssignmentsRequest)operation.- Parameters:
listPermissionSetAssignmentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPermissionSetAssignmentsPaginator
default ListPermissionSetAssignmentsIterable listPermissionSetAssignmentsPaginator(Consumer<ListPermissionSetAssignmentsRequest.Builder> listPermissionSetAssignmentsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listPermissionSetAssignments(software.amazon.awssdk.services.assurance.model.ListPermissionSetAssignmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListPermissionSetAssignmentsIterable responses = client.listPermissionSetAssignmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListPermissionSetAssignmentsIterable responses = client .listPermissionSetAssignmentsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListPermissionSetAssignmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListPermissionSetAssignmentsIterable responses = client.listPermissionSetAssignmentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listPermissionSets
default ListPermissionSetsResponse listPermissionSets(ListPermissionSetsRequest listPermissionSetsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists permission sets for an environment.
- Parameters:
listPermissionSetsRequest-- Returns:
- Result of the ListPermissionSets operation returned by the service.
- See Also:
-
listPermissionSets
default ListPermissionSetsResponse listPermissionSets(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListPermissionSets operation returned by the service.
- See Also:
-
listPermissionSetsPaginator
default ListPermissionSetsIterable listPermissionSetsPaginator(ListPermissionSetsRequest listPermissionSetsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listPermissionSets(software.amazon.awssdk.services.assurance.model.ListPermissionSetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListPermissionSetsIterable responses = client.listPermissionSetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListPermissionSetsIterable responses = client .listPermissionSetsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListPermissionSetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListPermissionSetsIterable responses = client.listPermissionSetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPermissionSets(software.amazon.awssdk.services.assurance.model.ListPermissionSetsRequest)operation.- Parameters:
listPermissionSetsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPermissionSetsPaginator
default ListPermissionSetsIterable listPermissionSetsPaginator(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listPermissionSets(software.amazon.awssdk.services.assurance.model.ListPermissionSetsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListPermissionSetsIterable responses = client.listPermissionSetsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListPermissionSetsIterable responses = client .listPermissionSetsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListPermissionSetsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListPermissionSetsIterable responses = client.listPermissionSetsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listProjects
default ListProjectsResponse listProjects(ListProjectsRequest listProjectsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists all projects within a governance environment.
- Parameters:
listProjectsRequest-- Returns:
- Result of the ListProjects operation returned by the service.
- See Also:
-
listProjects
default ListProjectsResponse listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListProjects operation returned by the service.
- See Also:
-
listProjectsPaginator
default ListProjectsIterable listProjectsPaginator(ListProjectsRequest listProjectsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listProjects(software.amazon.awssdk.services.assurance.model.ListProjectsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListProjectsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProjects(software.amazon.awssdk.services.assurance.model.ListProjectsRequest)operation.- Parameters:
listProjectsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProjectsPaginator
default ListProjectsIterable listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listProjects(software.amazon.awssdk.services.assurance.model.ListProjectsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListProjectsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists tags for a resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTaskHistory
default ListTaskHistoryResponse listTaskHistory(ListTaskHistoryRequest listTaskHistoryRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists task history across assessments for a given task, ordered by most recent first.
- Parameters:
listTaskHistoryRequest-- Returns:
- Result of the ListTaskHistory operation returned by the service.
- See Also:
-
listTaskHistory
default ListTaskHistoryResponse listTaskHistory(Consumer<ListTaskHistoryRequest.Builder> listTaskHistoryRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListTaskHistory operation returned by the service.
- See Also:
-
listTaskHistoryPaginator
default ListTaskHistoryIterable listTaskHistoryPaginator(ListTaskHistoryRequest listTaskHistoryRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listTaskHistory(software.amazon.awssdk.services.assurance.model.ListTaskHistoryRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListTaskHistoryIterable responses = client.listTaskHistoryPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListTaskHistoryIterable responses = client .listTaskHistoryPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListTaskHistoryResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListTaskHistoryIterable responses = client.listTaskHistoryPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTaskHistory(software.amazon.awssdk.services.assurance.model.ListTaskHistoryRequest)operation.- Parameters:
listTaskHistoryRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTaskHistoryPaginator
default ListTaskHistoryIterable listTaskHistoryPaginator(Consumer<ListTaskHistoryRequest.Builder> listTaskHistoryRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listTaskHistory(software.amazon.awssdk.services.assurance.model.ListTaskHistoryRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListTaskHistoryIterable responses = client.listTaskHistoryPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListTaskHistoryIterable responses = client .listTaskHistoryPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListTaskHistoryResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListTaskHistoryIterable responses = client.listTaskHistoryPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listTasks
default ListTasksResponse listTasks(ListTasksRequest listTasksRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Lists all tasks within a governance environment.
- Parameters:
listTasksRequest-- Returns:
- Result of the ListTasks operation returned by the service.
- See Also:
-
listTasks
default ListTasksResponse listTasks(Consumer<ListTasksRequest.Builder> listTasksRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the ListTasks operation returned by the service.
- See Also:
-
listTasksPaginator
default ListTasksIterable listTasksPaginator(ListTasksRequest listTasksRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listTasks(software.amazon.awssdk.services.assurance.model.ListTasksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListTasksIterable responses = client.listTasksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListTasksIterable responses = client.listTasksPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListTasksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListTasksIterable responses = client.listTasksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTasks(software.amazon.awssdk.services.assurance.model.ListTasksRequest)operation.- Parameters:
listTasksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTasksPaginator
default ListTasksIterable listTasksPaginator(Consumer<ListTasksRequest.Builder> listTasksRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException This is a variant of
listTasks(software.amazon.awssdk.services.assurance.model.ListTasksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.assurance.paginators.ListTasksIterable responses = client.listTasksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.assurance.paginators.ListTasksIterable responses = client.listTasksPaginator(request); for (software.amazon.awssdk.services.assurance.model.ListTasksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.assurance.paginators.ListTasksIterable responses = client.listTasksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
publishFramework
default PublishFrameworkResponse publishFramework(PublishFrameworkRequest publishFrameworkRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Publishes a custom framework, transitioning its status from PENDING to ACTIVE. You can enable only ACTIVE frameworks on an environment.
- Parameters:
publishFrameworkRequest-- Returns:
- Result of the PublishFramework operation returned by the service.
- See Also:
-
publishFramework
default PublishFrameworkResponse publishFramework(Consumer<PublishFrameworkRequest.Builder> publishFrameworkRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the PublishFramework operation returned by the service.
- See Also:
-
putControlStatusOverride
default PutControlStatusOverrideResponse putControlStatusOverride(PutControlStatusOverrideRequest putControlStatusOverrideRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the PutControlStatusOverride operation returned by the service.
- See Also:
-
putControlStatusOverride
default PutControlStatusOverrideResponse putControlStatusOverride(Consumer<PutControlStatusOverrideRequest.Builder> putControlStatusOverrideRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the PutControlStatusOverride operation returned by the service.
- See Also:
-
putEvidence
default PutEvidenceResponse putEvidence(PutEvidenceRequest putEvidenceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the PutEvidence operation returned by the service.
- See Also:
-
putEvidence
default PutEvidenceResponse putEvidence(Consumer<PutEvidenceRequest.Builder> putEvidenceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the PutEvidence operation returned by the service.
- See Also:
-
registerOrganizationDelegatedAdmin
default RegisterOrganizationDelegatedAdminResponse registerOrganizationDelegatedAdmin(RegisterOrganizationDelegatedAdminRequest registerOrganizationDelegatedAdminRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the RegisterOrganizationDelegatedAdmin operation returned by the service.
- See Also:
-
registerOrganizationDelegatedAdmin
default RegisterOrganizationDelegatedAdminResponse registerOrganizationDelegatedAdmin(Consumer<RegisterOrganizationDelegatedAdminRequest.Builder> registerOrganizationDelegatedAdminRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the RegisterOrganizationDelegatedAdmin operation returned by the service.
- See Also:
-
rejectInvitation
default RejectInvitationResponse rejectInvitation(RejectInvitationRequest rejectInvitationRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the RejectInvitation operation returned by the service.
- See Also:
-
rejectInvitation
default RejectInvitationResponse rejectInvitation(Consumer<RejectInvitationRequest.Builder> rejectInvitationRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the RejectInvitation operation returned by the service.
- See Also:
-
revokePermissionSet
default RevokePermissionSetResponse revokePermissionSet(RevokePermissionSetRequest revokePermissionSetRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Revokes a permission set assignment.
- Parameters:
revokePermissionSetRequest-- Returns:
- Result of the RevokePermissionSet operation returned by the service.
- See Also:
-
revokePermissionSet
default RevokePermissionSetResponse revokePermissionSet(Consumer<RevokePermissionSetRequest.Builder> revokePermissionSetRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the RevokePermissionSet operation returned by the service.
- See Also:
-
startAssessment
default StartAssessmentResponse startAssessment(StartAssessmentRequest startAssessmentRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Begins a new assessment for a control or framework.
- Parameters:
startAssessmentRequest-- Returns:
- Result of the StartAssessment operation returned by the service.
- See Also:
-
startAssessment
default StartAssessmentResponse startAssessment(Consumer<StartAssessmentRequest.Builder> startAssessmentRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the StartAssessment operation returned by the service.
- See Also:
-
startAssessmentReportExport
default StartAssessmentReportExportResponse startAssessmentReportExport(StartAssessmentReportExportRequest startAssessmentReportExportRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the StartAssessmentReportExport operation returned by the service.
- See Also:
-
startAssessmentReportExport
default StartAssessmentReportExportResponse startAssessmentReportExport(Consumer<StartAssessmentReportExportRequest.Builder> startAssessmentReportExportRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the StartAssessmentReportExport operation returned by the service.
- See Also:
-
startResourceActivitiesQuery
default StartResourceActivitiesQueryResponse startResourceActivitiesQuery(StartResourceActivitiesQueryRequest startResourceActivitiesQueryRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the StartResourceActivitiesQuery operation returned by the service.
- See Also:
-
startResourceActivitiesQuery
default StartResourceActivitiesQueryResponse startResourceActivitiesQuery(Consumer<StartResourceActivitiesQueryRequest.Builder> startResourceActivitiesQueryRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the StartResourceActivitiesQuery operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Adds or overwrites tags on a resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Removes tags from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Removes tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateComment
default UpdateCommentResponse updateComment(UpdateCommentRequest updateCommentRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Modifies the content of an existing comment.
- Parameters:
updateCommentRequest-- Returns:
- Result of the UpdateComment operation returned by the service.
- See Also:
-
updateComment
default UpdateCommentResponse updateComment(Consumer<UpdateCommentRequest.Builder> updateCommentRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the UpdateComment operation returned by the service.
- See Also:
-
updateControl
default UpdateControlResponse updateControl(UpdateControlRequest updateControlRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Updates a custom control. Supply only the fields you want to change; the operation leaves omitted fields unchanged.
- Parameters:
updateControlRequest-- Returns:
- Result of the UpdateControl operation returned by the service.
- See Also:
-
updateControl
default UpdateControlResponse updateControl(Consumer<UpdateControlRequest.Builder> updateControlRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the UpdateControl operation returned by the service.
- See Also:
-
updateControlGroup
default UpdateControlGroupResponse updateControlGroup(UpdateControlGroupRequest updateControlGroupRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Updates a control group.
- Parameters:
updateControlGroupRequest-- Returns:
- Result of the UpdateControlGroup operation returned by the service.
- See Also:
-
updateControlGroup
default UpdateControlGroupResponse updateControlGroup(Consumer<UpdateControlGroupRequest.Builder> updateControlGroupRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the UpdateControlGroup operation returned by the service.
- See Also:
-
updateEnvironment
default UpdateEnvironmentResponse updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Updates a governance environment.
- Parameters:
updateEnvironmentRequest-- Returns:
- Result of the UpdateEnvironment operation returned by the service.
- See Also:
-
updateEnvironment
default UpdateEnvironmentResponse updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the UpdateEnvironment operation returned by the service.
- See Also:
-
updateEvidence
default UpdateEvidenceResponse updateEvidence(UpdateEvidenceRequest updateEvidenceRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Updates evidence metadata and manages control links (add or remove) and re-analysis without creating a new evidence version.
- Parameters:
updateEvidenceRequest-- Returns:
- Result of the UpdateEvidence operation returned by the service.
- See Also:
-
updateEvidence
default UpdateEvidenceResponse updateEvidence(Consumer<UpdateEvidenceRequest.Builder> updateEvidenceRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the UpdateEvidence operation returned by the service.
- See Also:
-
updateFramework
default UpdateFrameworkResponse updateFramework(UpdateFrameworkRequest updateFrameworkRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the UpdateFramework operation returned by the service.
- See Also:
-
updateFramework
default UpdateFrameworkResponse updateFramework(Consumer<UpdateFrameworkRequest.Builder> updateFrameworkRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the UpdateFramework operation returned by the service.
- See Also:
-
updatePermissionSet
default UpdatePermissionSetResponse updatePermissionSet(UpdatePermissionSetRequest updatePermissionSetRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Updates an existing permission set. Omitted fields are left unchanged. Returns no content; retrieve the updated attributes with GetPermissionSet.
- Parameters:
updatePermissionSetRequest-- Returns:
- Result of the UpdatePermissionSet operation returned by the service.
- See Also:
-
updatePermissionSet
default UpdatePermissionSetResponse updatePermissionSet(Consumer<UpdatePermissionSetRequest.Builder> updatePermissionSetRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the UpdatePermissionSet operation returned by the service.
- See Also:
-
updateProject
default UpdateProjectResponse updateProject(UpdateProjectRequest updateProjectRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Updates an existing project. Omit any field to leave it unchanged.
- Parameters:
updateProjectRequest-- Returns:
- Result of the UpdateProject operation returned by the service.
- See Also:
-
updateProject
default UpdateProjectResponse updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) throws ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the UpdateProject operation returned by the service.
- See Also:
-
updateTask
default UpdateTaskResponse updateTask(UpdateTaskRequest updateTaskRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException Updates an existing task.
- Parameters:
updateTaskRequest-- Returns:
- Result of the UpdateTask operation returned by the service.
- See Also:
-
updateTask
default UpdateTaskResponse updateTask(Consumer<UpdateTaskRequest.Builder> updateTaskRequest) throws ConflictException, ValidationException, InternalServerException, ThrottlingException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AssuranceException 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:
- Result of the UpdateTask operation returned by the service.
- See Also:
-
create
Create aAssuranceClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aAssuranceClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-