Class: Aws::Assurance::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Assurance::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb
Overview
An API client for Assurance. To construct a client, you need to configure a :region and :credentials.
client = Aws::Assurance::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#accept_invitation(params = {}) ⇒ Types::AcceptInvitationOutput
Accepts a pending invitation to connect your account to an environment.
-
#assign_permission_set(params = {}) ⇒ Types::AssignPermissionSetOutput
Assigns a permission set to a principal with optional scopes.
-
#batch_get_comment(params = {}) ⇒ Types::BatchGetCommentOutput
Retrieves multiple comments in a single request.
-
#batch_get_control(params = {}) ⇒ Types::BatchGetControlOutput
Retrieves multiple controls in a single request.
-
#batch_get_task(params = {}) ⇒ Types::BatchGetTaskOutput
Retrieves multiple tasks in a single request.
-
#chat(params = {}) ⇒ Types::ChatOutput
Starts a streaming chat turn with the AWS Assurance agent.
-
#create_comment(params = {}) ⇒ Types::CreateCommentOutput
Adds a new comment to a specific control.
-
#create_control(params = {}) ⇒ Struct
Creates a leaf control, which is a control with no child controls, in a custom framework.
-
#create_control_group(params = {}) ⇒ Struct
Creates a control group within a custom framework.
-
#create_environment(params = {}) ⇒ Types::CreateEnvironmentOutput
Creates a new governance environment with the specified name and service role.
-
#create_environment_connection(params = {}) ⇒ Types::CreateEnvironmentConnectionOutput
Creates a connection between a governance environment and an evidence source.
-
#create_framework(params = {}) ⇒ Types::CreateFrameworkOutput
Creates a custom framework.
-
#create_invitation(params = {}) ⇒ Types::CreateInvitationOutput
Creates a pending invitation for a customer account to connect to an environment.
-
#create_permission_set(params = {}) ⇒ Types::CreatePermissionSetOutput
Creates a new permission set in the environment.
-
#create_project(params = {}) ⇒ Types::CreateProjectOutput
Creates a new project with a list of resources in a governance environment.
-
#delete_comment(params = {}) ⇒ Struct
Deletes a specific comment by its identifying fields.
-
#delete_control(params = {}) ⇒ Struct
Deletes a custom control.
-
#delete_control_group(params = {}) ⇒ Struct
Deletes a control group.
-
#delete_environment(params = {}) ⇒ Struct
Deletes a governance environment.
-
#delete_environment_connection(params = {}) ⇒ Struct
Deletes a connection from a governance environment.
-
#delete_evidence(params = {}) ⇒ Struct
Removes an evidence item.
-
#delete_framework(params = {}) ⇒ Struct
Deletes a custom framework that you no longer need.
-
#delete_invitation(params = {}) ⇒ Struct
Deletes an invitation or unlinks a connected account for an environment.
-
#delete_permission_set(params = {}) ⇒ Struct
Deletes a permission set.
-
#delete_project(params = {}) ⇒ Types::DeleteProjectOutput
Deletes a project and all its associated resources.
-
#deregister_organization_delegated_admin(params = {}) ⇒ Types::DeregisterOrganizationDelegatedAdminOutput
Removes the delegated administrator for AWS Assurance from your organization.
-
#disable_framework(params = {}) ⇒ Types::DisableFrameworkOutput
Disables a previously enabled framework for a specific project.
-
#enable_framework(params = {}) ⇒ Types::EnableFrameworkOutput
Enables a compliance framework for a project in a governance environment.
-
#get_annotation(params = {}) ⇒ Types::GetAnnotationOutput
Retrieves the annotation for a specific piece of evidence.
-
#get_assessment(params = {}) ⇒ Types::GetAssessmentOutput
Retrieves a single assessment.
-
#get_assessment_report_content(params = {}) ⇒ Types::GetAssessmentReportContentOutput
Returns an assessment report.
-
#get_assessment_report_export(params = {}) ⇒ Types::GetAssessmentReportExportOutput
Gets the status of an assessment report export.
-
#get_chat_messages(params = {}) ⇒ Types::GetChatMessagesOutput
Gets messages for a chat session in chronological order.
-
#get_comment(params = {}) ⇒ Types::GetCommentOutput
Retrieves a specific comment by its identifying fields.
-
#get_control(params = {}) ⇒ Types::GetControlOutput
Retrieves a single leaf control within a framework version, including its title, description, and requirements.
-
#get_control_group(params = {}) ⇒ Types::GetControlGroupOutput
Retrieves a single control group's own attributes (title, description, status) within a framework version.
-
#get_control_status(params = {}) ⇒ Types::GetControlStatusOutput
Retrieves the effective compliance status of a control in a project.
-
#get_environment(params = {}) ⇒ Types::GetEnvironmentOutput
Retrieves a governance environment by ARN or domain.
-
#get_evidence(params = {}) ⇒ Types::GetEvidenceOutput
Retrieves metadata for an evidence item.
-
#get_evidence_content(params = {}) ⇒ Types::GetEvidenceContentOutput
Returns the content of an evidence item.
-
#get_framework(params = {}) ⇒ Types::GetFrameworkOutput
Retrieves a framework resource by type and key fields.
-
#get_invitation(params = {}) ⇒ Types::GetInvitationOutput
Retrieves a single invitation, identified by
environmentArnandinviteeAccountId. -
#get_permission_set(params = {}) ⇒ Types::GetPermissionSetOutput
Retrieves a permission set by ID.
-
#get_project(params = {}) ⇒ Types::GetProjectOutput
Retrieves a project and all its associated resources.
-
#get_resource_activities_query_results(params = {}) ⇒ Types::GetResourceActivitiesQueryResultsOutput
Gets the status of a query that
StartResourceActivitiesQuerystarted, and one page of its results. -
#get_task(params = {}) ⇒ Types::GetTaskOutput
Retrieves a specific task by its identifying fields.
-
#list_assessment_annotations(params = {}) ⇒ Types::ListAssessmentAnnotationsOutput
Lists the annotations on one assessment, paginated.
-
#list_assessment_journal_records(params = {}) ⇒ Types::ListAssessmentJournalRecordsOutput
Lists assessment journal records, paginated.
-
#list_assessment_outcomes(params = {}) ⇒ Types::ListAssessmentOutcomesOutput
Returns the compliance score of a framework in a project over a time range.
-
#list_assessments(params = {}) ⇒ Types::ListAssessmentsOutput
Lists assessments, paginated.
-
#list_chat_sessions(params = {}) ⇒ Types::ListChatSessionsOutput
Lists chat sessions for you in a governance environment.
-
#list_comments(params = {}) ⇒ Types::ListCommentsOutput
Lists the comments on a specific control, optionally narrowed to a task.
-
#list_connection_items(params = {}) ⇒ Types::ListConnectionItemsOutput
Lists the items that a connection can access, one level at a time, to help you find a document without knowing its URL.
-
#list_control_groups(params = {}) ⇒ Types::ListControlGroupsOutput
Lists the control groups in a framework version.
-
#list_control_resources(params = {}) ⇒ Types::ListControlResourcesOutput
Lists the resources that are in scope for the automated evaluation of a control.
-
#list_controls(params = {}) ⇒ Types::ListControlsOutput
Lists the leaf controls within a single control group in a framework version.
-
#list_discovered_resources(params = {}) ⇒ Types::ListDiscoveredResourcesOutput
Lists the resources that are in scope for an environment or project.
-
#list_enabled_frameworks(params = {}) ⇒ Types::ListEnabledFrameworksOutput
Lists the frameworks enabled in a governance environment, optionally narrowed by
filters. -
#list_environment_connections(params = {}) ⇒ Types::ListEnvironmentConnectionsOutput
Lists the connections for a governance environment.
-
#list_environments(params = {}) ⇒ Types::ListEnvironmentsOutput
Lists your governance environments.
-
#list_evidence(params = {}) ⇒ Types::ListEvidenceOutput
Lists evidence items (paginated).
-
#list_evidence_annotations(params = {}) ⇒ Types::ListEvidenceAnnotationsOutput
Lists the annotations on one version of a piece of evidence within a project, paginated.
-
#list_frameworks(params = {}) ⇒ Types::ListFrameworksOutput
Lists frameworks by type, with optional pagination.
-
#list_inbound_invitations(params = {}) ⇒ Types::ListInboundInvitationsOutput
Lists the invitations addressed to your account, across all environments.
-
#list_outbound_invitations(params = {}) ⇒ Types::ListOutboundInvitationsOutput
Lists the invitations that you extended from an environment you own.
-
#list_permission_set_assignments(params = {}) ⇒ Types::ListPermissionSetAssignmentsOutput
Lists permission set assignments for an environment.
-
#list_permission_sets(params = {}) ⇒ Types::ListPermissionSetsOutput
Lists permission sets for an environment.
-
#list_projects(params = {}) ⇒ Types::ListProjectsOutput
Lists all projects within a governance environment.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Lists tags for a resource.
-
#list_task_history(params = {}) ⇒ Types::ListTaskHistoryOutput
Lists task history across assessments for a given task, ordered by most recent first.
-
#list_tasks(params = {}) ⇒ Types::ListTasksOutput
Lists all tasks within a governance environment.
-
#publish_framework(params = {}) ⇒ Types::PublishFrameworkOutput
Publishes a custom framework, transitioning its status from PENDING to ACTIVE.
-
#put_control_status_override(params = {}) ⇒ Types::PutControlStatusOverrideOutput
Marks a control, or one of its requirements, as not applicable to a project, or makes it applicable again.
-
#put_evidence(params = {}) ⇒ Types::PutEvidenceOutput
Adds evidence to support a compliance assessment.
-
#register_organization_delegated_admin(params = {}) ⇒ Types::RegisterOrganizationDelegatedAdminOutput
Registers a member account of your organization as the delegated administrator for AWS Assurance.
-
#reject_invitation(params = {}) ⇒ Struct
Rejects (declines) a pending invitation.
-
#revoke_permission_set(params = {}) ⇒ Struct
Revokes a permission set assignment.
-
#start_assessment(params = {}) ⇒ Types::StartAssessmentOutput
Begins a new assessment for a control or framework.
-
#start_assessment_report_export(params = {}) ⇒ Types::StartAssessmentReportExportOutput
Starts preparing an assessment report for a framework in a project.
-
#start_resource_activities_query(params = {}) ⇒ Types::StartResourceActivitiesQueryOutput
Starts a query of the AWS API calls that an artificial intelligence (AI) agent on Amazon Bedrock AgentCore Runtime made.
-
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites tags on a resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
-
#update_comment(params = {}) ⇒ Struct
Modifies the content of an existing comment.
-
#update_control(params = {}) ⇒ Struct
Updates a custom control.
-
#update_control_group(params = {}) ⇒ Struct
Updates a control group.
-
#update_environment(params = {}) ⇒ Struct
Updates a governance environment.
-
#update_evidence(params = {}) ⇒ Struct
Updates evidence metadata and manages control links (add or remove) and re-analysis without creating a new evidence version.
-
#update_framework(params = {}) ⇒ Types::UpdateFrameworkOutput
Updates the title or description of a custom framework.
-
#update_permission_set(params = {}) ⇒ Struct
Updates an existing permission set.
-
#update_project(params = {}) ⇒ Types::UpdateProjectOutput
Updates an existing project.
-
#update_task(params = {}) ⇒ Types::UpdateTaskOutput
Updates an existing task.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
490 491 492 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 490 def initialize(*args) super end |
Instance Method Details
#accept_invitation(params = {}) ⇒ Types::AcceptInvitationOutput
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.
542 543 544 545 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 542 def accept_invitation(params = {}, = {}) req = build_request(:accept_invitation, params) req.send_request() end |
#assign_permission_set(params = {}) ⇒ Types::AssignPermissionSetOutput
Assigns a permission set to a principal with optional scopes.
619 620 621 622 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 619 def (params = {}, = {}) req = build_request(:assign_permission_set, params) req.send_request() end |
#batch_get_comment(params = {}) ⇒ Types::BatchGetCommentOutput
Retrieves multiple comments in a single request. Use it instead of
calling GetComment for each comment. If the operation can't return
a comment, it lists the comment in errors and still succeeds.
723 724 725 726 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 723 def batch_get_comment(params = {}, = {}) req = build_request(:batch_get_comment, params) req.send_request() end |
#batch_get_control(params = {}) ⇒ Types::BatchGetControlOutput
Retrieves multiple controls in a single request. Use it instead of
calling GetControl for each control. If the operation can't return
a control, it lists the control in errors and still succeeds.
850 851 852 853 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 850 def batch_get_control(params = {}, = {}) req = build_request(:batch_get_control, params) req.send_request() end |
#batch_get_task(params = {}) ⇒ Types::BatchGetTaskOutput
Retrieves multiple tasks in a single request. Use it instead of
calling GetTask for each task. If the operation can't return a
task, it lists the task in errors and still succeeds.
982 983 984 985 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 982 def batch_get_task(params = {}, = {}) req = build_request(:batch_get_task, params) req.send_request() end |
#chat(params = {}) ⇒ Types::ChatOutput
Starts a streaming chat turn with the AWS Assurance agent. Returns an event stream of chat events, including chunks, tool calls, and errors.
1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 1187 def chat(params = {}, = {}) params = params.dup event_stream_handler = case handler = params.delete(:event_stream_handler) when EventStreams::ChatEventStream then handler when Proc then EventStreams::ChatEventStream.new.tap(&handler) when nil then EventStreams::ChatEventStream.new else msg = "expected :event_stream_handler to be a block or "\ "instance of Aws::Assurance::EventStreams::ChatEventStream"\ ", got `#{handler.inspect}` instead" raise ArgumentError, msg end yield(event_stream_handler) if block_given? req = build_request(:chat, params) req.context[:event_stream_handler] = event_stream_handler req.handlers.add(Aws::Binary::DecodeHandler, priority: 95) req.send_request() end |
#create_comment(params = {}) ⇒ Types::CreateCommentOutput
Adds a new comment to a specific control.
1278 1279 1280 1281 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 1278 def create_comment(params = {}, = {}) req = build_request(:create_comment, params) req.send_request() end |
#create_control(params = {}) ⇒ Struct
Creates a leaf control, which is a control with no child controls, in a custom framework.
1385 1386 1387 1388 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 1385 def create_control(params = {}, = {}) req = build_request(:create_control, params) req.send_request() end |
#create_control_group(params = {}) ⇒ Struct
Creates a control group within a custom framework.
1452 1453 1454 1455 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 1452 def create_control_group(params = {}, = {}) req = build_request(:create_control_group, params) req.send_request() end |
#create_environment(params = {}) ⇒ Types::CreateEnvironmentOutput
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.
1567 1568 1569 1570 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 1567 def create_environment(params = {}, = {}) req = build_request(:create_environment, params) req.send_request() end |
#create_environment_connection(params = {}) ⇒ Types::CreateEnvironmentConnectionOutput
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.
1639 1640 1641 1642 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 1639 def create_environment_connection(params = {}, = {}) req = build_request(:create_environment_connection, params) req.send_request() end |
#create_framework(params = {}) ⇒ Types::CreateFrameworkOutput
Creates a custom framework. The framework name must not start with
AWS:. New frameworks are created in PENDING status. Use
PublishFramework to make them ACTIVE.
1720 1721 1722 1723 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 1720 def create_framework(params = {}, = {}) req = build_request(:create_framework, params) req.send_request() end |
#create_invitation(params = {}) ⇒ Types::CreateInvitationOutput
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 returns
ConflictException.
1777 1778 1779 1780 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 1777 def create_invitation(params = {}, = {}) req = build_request(:create_invitation, params) req.send_request() end |
#create_permission_set(params = {}) ⇒ Types::CreatePermissionSetOutput
Creates a new permission set in the environment. Returns the identifier the service assigned to it; retrieve its attributes with GetPermissionSet.
1839 1840 1841 1842 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 1839 def (params = {}, = {}) req = build_request(:create_permission_set, params) req.send_request() end |
#create_project(params = {}) ⇒ Types::CreateProjectOutput
Creates a new project with a list of resources in a governance environment.
1903 1904 1905 1906 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 1903 def create_project(params = {}, = {}) req = build_request(:create_project, params) req.send_request() end |
#delete_comment(params = {}) ⇒ Struct
Deletes a specific comment by its identifying fields.
1964 1965 1966 1967 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 1964 def delete_comment(params = {}, = {}) req = build_request(:delete_comment, params) req.send_request() end |
#delete_control(params = {}) ⇒ Struct
Deletes a custom control. The operation also removes any associated evaluation metadata (control intents and workflow type).
2017 2018 2019 2020 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 2017 def delete_control(params = {}, = {}) req = build_request(:delete_control, params) req.send_request() end |
#delete_control_group(params = {}) ⇒ Struct
Deletes a control group. The group must be empty (no child controls) before you delete it.
2070 2071 2072 2073 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 2070 def delete_control_group(params = {}, = {}) req = build_request(:delete_control_group, params) req.send_request() end |
#delete_environment(params = {}) ⇒ Struct
Deletes a governance environment.
2105 2106 2107 2108 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 2105 def delete_environment(params = {}, = {}) req = build_request(:delete_environment, params) req.send_request() end |
#delete_environment_connection(params = {}) ⇒ Struct
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.
2173 2174 2175 2176 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 2173 def delete_environment_connection(params = {}, = {}) req = build_request(:delete_environment_connection, params) req.send_request() end |
#delete_evidence(params = {}) ⇒ Struct
Removes an evidence item.
2218 2219 2220 2221 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 2218 def delete_evidence(params = {}, = {}) req = build_request(:delete_evidence, params) req.send_request() end |
#delete_framework(params = {}) ⇒ Struct
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 PENDING status must be empty (no control groups or
controls) before you delete it. Otherwise, you receive a
ConflictException. When you delete an ACTIVE (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 until
GetAssessmentReportExport reports COMPLETED. Finally, get the
report with GetAssessmentReportContent.
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.
2299 2300 2301 2302 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 2299 def delete_framework(params = {}, = {}) req = build_request(:delete_framework, params) req.send_request() end |
#delete_invitation(params = {}) ⇒ Struct
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.
2347 2348 2349 2350 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 2347 def delete_invitation(params = {}, = {}) req = build_request(:delete_invitation, params) req.send_request() end |
#delete_permission_set(params = {}) ⇒ Struct
Deletes a permission set.
2387 2388 2389 2390 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 2387 def (params = {}, = {}) req = build_request(:delete_permission_set, params) req.send_request() end |
#delete_project(params = {}) ⇒ Types::DeleteProjectOutput
Deletes a project and all its associated resources.
2434 2435 2436 2437 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 2434 def delete_project(params = {}, = {}) req = build_request(:delete_project, params) req.send_request() end |
#deregister_organization_delegated_admin(params = {}) ⇒ Types::DeregisterOrganizationDelegatedAdminOutput
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.
2489 2490 2491 2492 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 2489 def deregister_organization_delegated_admin(params = {}, = {}) req = build_request(:deregister_organization_delegated_admin, params) req.send_request() end |
#disable_framework(params = {}) ⇒ Types::DisableFrameworkOutput
Disables a previously enabled framework for a specific project.
2553 2554 2555 2556 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 2553 def disable_framework(params = {}, = {}) req = build_request(:disable_framework, params) req.send_request() end |
#enable_framework(params = {}) ⇒ Types::EnableFrameworkOutput
Enables a compliance framework for a project in a governance environment. AWS Assurance then assesses the project's resources against the framework's controls.
2635 2636 2637 2638 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 2635 def enable_framework(params = {}, = {}) req = build_request(:enable_framework, params) req.send_request() end |
#get_annotation(params = {}) ⇒ Types::GetAnnotationOutput
Retrieves the annotation for a specific piece of evidence.
2740 2741 2742 2743 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 2740 def get_annotation(params = {}, = {}) req = build_request(:get_annotation, params) req.send_request() end |
#get_assessment(params = {}) ⇒ Types::GetAssessmentOutput
Retrieves a single assessment.
2854 2855 2856 2857 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 2854 def get_assessment(params = {}, = {}) req = build_request(:get_assessment, params) req.send_request() end |
#get_assessment_report_content(params = {}) ⇒ Types::GetAssessmentReportContentOutput
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.
2912 2913 2914 2915 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 2912 def get_assessment_report_content(params = {}, = {}) req = build_request(:get_assessment_report_content, params) req.send_request() end |
#get_assessment_report_export(params = {}) ⇒ Types::GetAssessmentReportExportOutput
Gets the status of an assessment report export.
2987 2988 2989 2990 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 2987 def get_assessment_report_export(params = {}, = {}) req = build_request(:get_assessment_report_export, params) req.send_request() end |
#get_chat_messages(params = {}) ⇒ Types::GetChatMessagesOutput
Gets messages for a chat session in chronological order.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3068 3069 3070 3071 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 3068 def (params = {}, = {}) req = build_request(:get_chat_messages, params) req.send_request() end |
#get_comment(params = {}) ⇒ Types::GetCommentOutput
Retrieves a specific comment by its identifying fields.
3158 3159 3160 3161 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 3158 def get_comment(params = {}, = {}) req = build_request(:get_comment, params) req.send_request() end |
#get_control(params = {}) ⇒ Types::GetControlOutput
Retrieves a single leaf control within a framework version, including its title, description, and requirements.
3256 3257 3258 3259 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 3256 def get_control(params = {}, = {}) req = build_request(:get_control, params) req.send_request() end |
#get_control_group(params = {}) ⇒ Types::GetControlGroupOutput
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.
3330 3331 3332 3333 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 3330 def get_control_group(params = {}, = {}) req = build_request(:get_control_group, params) req.send_request() end |
#get_control_status(params = {}) ⇒ Types::GetControlStatusOutput
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.
3410 3411 3412 3413 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 3410 def get_control_status(params = {}, = {}) req = build_request(:get_control_status, params) req.send_request() end |
#get_environment(params = {}) ⇒ Types::GetEnvironmentOutput
Retrieves a governance environment by ARN or domain. Provide exactly
one of environmentArn or domain.
3490 3491 3492 3493 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 3490 def get_environment(params = {}, = {}) req = build_request(:get_environment, params) req.send_request() end |
#get_evidence(params = {}) ⇒ Types::GetEvidenceOutput
Retrieves metadata for an evidence item.
3580 3581 3582 3583 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 3580 def get_evidence(params = {}, = {}) req = build_request(:get_evidence, params) req.send_request() end |
#get_evidence_content(params = {}) ⇒ Types::GetEvidenceContentOutput
Returns the content of an evidence item.
3649 3650 3651 3652 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 3649 def get_evidence_content(params = {}, = {}) req = build_request(:get_evidence_content, params) req.send_request() end |
#get_framework(params = {}) ⇒ Types::GetFrameworkOutput
Retrieves a framework resource by type and key fields.
3719 3720 3721 3722 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 3719 def get_framework(params = {}, = {}) req = build_request(:get_framework, params) req.send_request() end |
#get_invitation(params = {}) ⇒ Types::GetInvitationOutput
Retrieves a single invitation, identified by environmentArn and
inviteeAccountId. You can call this operation from the account that
owns the environment or from the invited account.
3789 3790 3791 3792 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 3789 def get_invitation(params = {}, = {}) req = build_request(:get_invitation, params) req.send_request() end |
#get_permission_set(params = {}) ⇒ Types::GetPermissionSetOutput
Retrieves a permission set by ID.
3852 3853 3854 3855 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 3852 def (params = {}, = {}) req = build_request(:get_permission_set, params) req.send_request() end |
#get_project(params = {}) ⇒ Types::GetProjectOutput
Retrieves a project and all its associated resources.
3906 3907 3908 3909 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 3906 def get_project(params = {}, = {}) req = build_request(:get_project, params) req.send_request() end |
#get_resource_activities_query_results(params = {}) ⇒ Types::GetResourceActivitiesQueryResultsOutput
Gets the status of a query that StartResourceActivitiesQuery
started, and one page of its results. To get the next page, pass the
nextToken value from the response in your next request.
Call this operation until status is COMPLETE, FAILED, or
EXPIRED. The response includes results and a pagination token only
when status is COMPLETE.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3975 3976 3977 3978 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 3975 def get_resource_activities_query_results(params = {}, = {}) req = build_request(:get_resource_activities_query_results, params) req.send_request() end |
#get_task(params = {}) ⇒ Types::GetTaskOutput
Retrieves a specific task by its identifying fields.
4071 4072 4073 4074 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 4071 def get_task(params = {}, = {}) req = build_request(:get_task, params) req.send_request() end |
#list_assessment_annotations(params = {}) ⇒ Types::ListAssessmentAnnotationsOutput
Lists the annotations on one assessment, paginated.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4175 4176 4177 4178 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 4175 def list_assessment_annotations(params = {}, = {}) req = build_request(:list_assessment_annotations, params) req.send_request() end |
#list_assessment_journal_records(params = {}) ⇒ Types::ListAssessmentJournalRecordsOutput
Lists assessment journal records, paginated.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4276 4277 4278 4279 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 4276 def list_assessment_journal_records(params = {}, = {}) req = build_request(:list_assessment_journal_records, params) req.send_request() end |
#list_assessment_outcomes(params = {}) ⇒ Types::ListAssessmentOutcomesOutput
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 startTime and excludes
endTime.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4486 4487 4488 4489 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 4486 def list_assessment_outcomes(params = {}, = {}) req = build_request(:list_assessment_outcomes, params) req.send_request() end |
#list_assessments(params = {}) ⇒ Types::ListAssessmentsOutput
Lists assessments, paginated.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4589 4590 4591 4592 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 4589 def list_assessments(params = {}, = {}) req = build_request(:list_assessments, params) req.send_request() end |
#list_chat_sessions(params = {}) ⇒ Types::ListChatSessionsOutput
Lists chat sessions for you in a governance environment.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4657 4658 4659 4660 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 4657 def list_chat_sessions(params = {}, = {}) req = build_request(:list_chat_sessions, params) req.send_request() end |
#list_comments(params = {}) ⇒ Types::ListCommentsOutput
Lists the comments on a specific control, optionally narrowed to a task.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4775 4776 4777 4778 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 4775 def list_comments(params = {}, = {}) req = build_request(:list_comments, params) req.send_request() end |
#list_connection_items(params = {}) ⇒ Types::ListConnectionItemsOutput
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 its
id. You can't list the contents of a FILE.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4889 4890 4891 4892 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 4889 def list_connection_items(params = {}, = {}) req = build_request(:list_connection_items, params) req.send_request() end |
#list_control_groups(params = {}) ⇒ Types::ListControlGroupsOutput
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 ListControls with the group's controlId.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4977 4978 4979 4980 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 4977 def list_control_groups(params = {}, = {}) req = build_request(:list_control_groups, params) req.send_request() end |
#list_control_resources(params = {}) ⇒ Types::ListControlResourcesOutput
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5070 5071 5072 5073 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 5070 def list_control_resources(params = {}, = {}) req = build_request(:list_control_resources, params) req.send_request() end |
#list_controls(params = {}) ⇒ Types::ListControlsOutput
Lists the leaf controls within a single control group in a framework version. Supports pagination through maxResults and nextToken.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5161 5162 5163 5164 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 5161 def list_controls(params = {}, = {}) req = build_request(:list_controls, params) req.send_request() end |
#list_discovered_resources(params = {}) ⇒ Types::ListDiscoveredResourcesOutput
Lists the resources that are in scope for an environment or project.
Results are paginated. If more results are available, use the
nextToken value returned in the response to retrieve the next page.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5251 5252 5253 5254 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 5251 def list_discovered_resources(params = {}, = {}) req = build_request(:list_discovered_resources, params) req.send_request() end |
#list_enabled_frameworks(params = {}) ⇒ Types::ListEnabledFrameworksOutput
Lists the frameworks enabled in a governance environment, optionally
narrowed by filters.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5350 5351 5352 5353 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 5350 def list_enabled_frameworks(params = {}, = {}) req = build_request(:list_enabled_frameworks, params) req.send_request() end |
#list_environment_connections(params = {}) ⇒ Types::ListEnvironmentConnectionsOutput
Lists the connections for a governance environment. To return only
some connections, specify filters.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5472 5473 5474 5475 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 5472 def list_environment_connections(params = {}, = {}) req = build_request(:list_environment_connections, params) req.send_request() end |
#list_environments(params = {}) ⇒ Types::ListEnvironmentsOutput
Lists your governance environments. If more results are available, the
response includes a nextToken value. To get the next page, pass that
value in your next request.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5540 5541 5542 5543 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 5540 def list_environments(params = {}, = {}) req = build_request(:list_environments, params) req.send_request() end |
#list_evidence(params = {}) ⇒ Types::ListEvidenceOutput
Lists evidence items (paginated).
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5663 5664 5665 5666 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 5663 def list_evidence(params = {}, = {}) req = build_request(:list_evidence, params) req.send_request() end |
#list_evidence_annotations(params = {}) ⇒ Types::ListEvidenceAnnotationsOutput
Lists the annotations on one version of a piece of evidence within a project, paginated.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5762 5763 5764 5765 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 5762 def list_evidence_annotations(params = {}, = {}) req = build_request(:list_evidence_annotations, params) req.send_request() end |
#list_frameworks(params = {}) ⇒ Types::ListFrameworksOutput
Lists frameworks by type, with optional pagination. When type is
omitted, the operation returns both MANAGED and CUSTOM frameworks.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5841 5842 5843 5844 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 5841 def list_frameworks(params = {}, = {}) req = build_request(:list_frameworks, params) req.send_request() end |
#list_inbound_invitations(params = {}) ⇒ Types::ListInboundInvitationsOutput
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5912 5913 5914 5915 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 5912 def list_inbound_invitations(params = {}, = {}) req = build_request(:list_inbound_invitations, params) req.send_request() end |
#list_outbound_invitations(params = {}) ⇒ Types::ListOutboundInvitationsOutput
Lists the invitations that you extended from an environment you own. Supports pagination and an optional status filter.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5986 5987 5988 5989 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 5986 def list_outbound_invitations(params = {}, = {}) req = build_request(:list_outbound_invitations, params) req.send_request() end |
#list_permission_set_assignments(params = {}) ⇒ Types::ListPermissionSetAssignmentsOutput
Lists permission set assignments for an environment.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6063 6064 6065 6066 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 6063 def (params = {}, = {}) req = build_request(:list_permission_set_assignments, params) req.send_request() end |
#list_permission_sets(params = {}) ⇒ Types::ListPermissionSetsOutput
Lists permission sets for an environment.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6131 6132 6133 6134 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 6131 def (params = {}, = {}) req = build_request(:list_permission_sets, params) req.send_request() end |
#list_projects(params = {}) ⇒ Types::ListProjectsOutput
Lists all projects within a governance environment.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6196 6197 6198 6199 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 6196 def list_projects(params = {}, = {}) req = build_request(:list_projects, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Lists tags for a resource.
6249 6250 6251 6252 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 6249 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_task_history(params = {}) ⇒ Types::ListTaskHistoryOutput
Lists task history across assessments for a given task, ordered by most recent first.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6349 6350 6351 6352 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 6349 def list_task_history(params = {}, = {}) req = build_request(:list_task_history, params) req.send_request() end |
#list_tasks(params = {}) ⇒ Types::ListTasksOutput
Lists all tasks within a governance environment.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6470 6471 6472 6473 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 6470 def list_tasks(params = {}, = {}) req = build_request(:list_tasks, params) req.send_request() end |
#publish_framework(params = {}) ⇒ Types::PublishFrameworkOutput
Publishes a custom framework, transitioning its status from PENDING to ACTIVE. You can enable only ACTIVE frameworks on an environment.
6541 6542 6543 6544 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 6541 def publish_framework(params = {}, = {}) req = build_request(:publish_framework, params) req.send_request() end |
#put_control_status_override(params = {}) ⇒ Types::PutControlStatusOverrideOutput
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.
If another request changes the same control at the same time, you
receive a ConflictException. Call GetControlStatus before you
retry.
6629 6630 6631 6632 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 6629 def put_control_status_override(params = {}, = {}) req = build_request(:put_control_status_override, params) req.send_request() end |
#put_evidence(params = {}) ⇒ Types::PutEvidenceOutput
Adds evidence to support a compliance assessment. To add a new version
of existing evidence, specify evidenceId.
Provide either the file content in content or a link to the document
in reference, but not both.
6791 6792 6793 6794 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 6791 def put_evidence(params = {}, = {}) req = build_request(:put_evidence, params) req.send_request() end |
#register_organization_delegated_admin(params = {}) ⇒ Types::RegisterOrganizationDelegatedAdminOutput
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.
6845 6846 6847 6848 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 6845 def register_organization_delegated_admin(params = {}, = {}) req = build_request(:register_organization_delegated_admin, params) req.send_request() end |
#reject_invitation(params = {}) ⇒ Struct
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.
6882 6883 6884 6885 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 6882 def reject_invitation(params = {}, = {}) req = build_request(:reject_invitation, params) req.send_request() end |
#revoke_permission_set(params = {}) ⇒ Struct
Revokes a permission set assignment.
6922 6923 6924 6925 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 6922 def (params = {}, = {}) req = build_request(:revoke_permission_set, params) req.send_request() end |
#start_assessment(params = {}) ⇒ Types::StartAssessmentOutput
Begins a new assessment for a control or framework.
6990 6991 6992 6993 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 6990 def start_assessment(params = {}, = {}) req = build_request(:start_assessment, params) req.send_request() end |
#start_assessment_report_export(params = {}) ⇒ Types::StartAssessmentReportExportOutput
Starts preparing an assessment report for a framework in a project. To
check progress, call GetAssessmentReportExport until the export
status is COMPLETED. Then call GetAssessmentReportContent to 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.
7059 7060 7061 7062 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 7059 def start_assessment_report_export(params = {}, = {}) req = build_request(:start_assessment_report_export, params) req.send_request() end |
#start_resource_activities_query(params = {}) ⇒ Types::StartResourceActivitiesQueryOutput
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.
7135 7136 7137 7138 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 7135 def start_resource_activities_query(params = {}, = {}) req = build_request(:start_resource_activities_query, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds or overwrites tags on a resource.
7190 7191 7192 7193 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 7190 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
7232 7233 7234 7235 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 7232 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_comment(params = {}) ⇒ Struct
Modifies the content of an existing comment.
7298 7299 7300 7301 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 7298 def update_comment(params = {}, = {}) req = build_request(:update_comment, params) req.send_request() end |
#update_control(params = {}) ⇒ Struct
Updates a custom control. Supply only the fields you want to change; the operation leaves omitted fields unchanged.
7392 7393 7394 7395 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 7392 def update_control(params = {}, = {}) req = build_request(:update_control, params) req.send_request() end |
#update_control_group(params = {}) ⇒ Struct
Updates a control group.
7459 7460 7461 7462 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 7459 def update_control_group(params = {}, = {}) req = build_request(:update_control_group, params) req.send_request() end |
#update_environment(params = {}) ⇒ Struct
Updates a governance environment.
7554 7555 7556 7557 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 7554 def update_environment(params = {}, = {}) req = build_request(:update_environment, params) req.send_request() end |
#update_evidence(params = {}) ⇒ Struct
Updates evidence metadata and manages control links (add or remove) and re-analysis without creating a new evidence version.
7653 7654 7655 7656 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 7653 def update_evidence(params = {}, = {}) req = build_request(:update_evidence, params) req.send_request() end |
#update_framework(params = {}) ⇒ Types::UpdateFrameworkOutput
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.
7735 7736 7737 7738 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 7735 def update_framework(params = {}, = {}) req = build_request(:update_framework, params) req.send_request() end |
#update_permission_set(params = {}) ⇒ Struct
Updates an existing permission set. Omitted fields are left unchanged. Returns no content; retrieve the updated attributes with GetPermissionSet.
7794 7795 7796 7797 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 7794 def (params = {}, = {}) req = build_request(:update_permission_set, params) req.send_request() end |
#update_project(params = {}) ⇒ Types::UpdateProjectOutput
Updates an existing project. Omit any field to leave it unchanged.
7858 7859 7860 7861 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 7858 def update_project(params = {}, = {}) req = build_request(:update_project, params) req.send_request() end |
#update_task(params = {}) ⇒ Types::UpdateTaskOutput
Updates an existing task.
7971 7972 7973 7974 |
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/client.rb', line 7971 def update_task(params = {}, = {}) req = build_request(:update_task, params) req.send_request() end |