Class: Aws::WellArchitected::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::WellArchitected::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb
Overview
An API client for WellArchitected. To construct a client, you need to configure a :region and :credentials.
client = Aws::WellArchitected::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
-
#associate_lenses(params = {}) ⇒ Struct
Associate a lens to a workload.
-
#associate_profiles(params = {}) ⇒ Struct
Associate a profile with a workload.
-
#create_agent_basic_profile(params = {}) ⇒ Types::CreateAgentBasicProfileResponse
Creates a Basic profile for the calling account.
-
#create_agent_context(params = {}) ⇒ Types::CreateAgentContextResponse
Creates a context associated with an optimization profile.
-
#create_agent_goal(params = {}) ⇒ Types::CreateAgentGoalResponse
Creates an optimization goal associated with a profile.
-
#create_agent_organizational_profile(params = {}) ⇒ Types::CreateAgentOrganizationalProfileResponse
Creates an Organizational Profile for use with AWS Organizations integration.
-
#create_agent_organizational_report(params = {}) ⇒ Types::CreateAgentOrganizationalReportResponse
Creates an Organizational Report, which is an asynchronously-materialized, point-in-time snapshot of recommendations across all Agent Profiles within the caller's AWS Organization.
-
#create_agent_profile(params = {}) ⇒ Types::CreateAgentProfileResponse
Creates an optimization profile that defines the scope and configuration for generating recommendations.
-
#create_lens_share(params = {}) ⇒ Types::CreateLensShareOutput
Create a lens share.
-
#create_lens_version(params = {}) ⇒ Types::CreateLensVersionOutput
Create a new lens version.
-
#create_milestone(params = {}) ⇒ Types::CreateMilestoneOutput
Create a milestone for an existing workload.
-
#create_profile(params = {}) ⇒ Types::CreateProfileOutput
Create a profile.
-
#create_profile_share(params = {}) ⇒ Types::CreateProfileShareOutput
Create a profile share.
-
#create_review_template(params = {}) ⇒ Types::CreateReviewTemplateOutput
Create a review template.
-
#create_template_share(params = {}) ⇒ Types::CreateTemplateShareOutput
Create a review template share.
-
#create_workload(params = {}) ⇒ Types::CreateWorkloadOutput
Create a new workload.
-
#create_workload_share(params = {}) ⇒ Types::CreateWorkloadShareOutput
Create a workload share.
-
#delete_agent_context(params = {}) ⇒ Struct
Deletes a context associated with a profile.
-
#delete_agent_goal(params = {}) ⇒ Struct
Deletes an optimization goal from a profile.
-
#delete_agent_organizational_report(params = {}) ⇒ Struct
Deletes an Organizational Report and its associated artifacts.
-
#delete_agent_profile(params = {}) ⇒ Struct
Deletes an optimization profile and its associated configuration.
-
#delete_agent_profile_policy(params = {}) ⇒ Struct
Removes the resource-based policy from an Agent Profile.
-
#delete_agent_recommendation_policy(params = {}) ⇒ Struct
Removes the resource-based policy from an individual Agent Recommendation.
-
#delete_lens(params = {}) ⇒ Struct
Delete an existing lens.
-
#delete_lens_share(params = {}) ⇒ Struct
Delete a lens share.
-
#delete_profile(params = {}) ⇒ Struct
Delete a profile.
-
#delete_profile_share(params = {}) ⇒ Struct
Delete a profile share.
-
#delete_review_template(params = {}) ⇒ Struct
Delete a review template.
-
#delete_template_share(params = {}) ⇒ Struct
Delete a review template share.
-
#delete_workload(params = {}) ⇒ Struct
Delete an existing workload.
-
#delete_workload_share(params = {}) ⇒ Struct
Delete a workload share.
-
#disassociate_lenses(params = {}) ⇒ Struct
Disassociate a lens from a workload.
-
#disassociate_profiles(params = {}) ⇒ Struct
Disassociate a profile from a workload.
-
#export_lens(params = {}) ⇒ Types::ExportLensOutput
Export an existing lens.
-
#get_agent_context(params = {}) ⇒ Types::GetAgentContextResponse
Retrieves detailed information about a specific context associated with a profile.
-
#get_agent_goal(params = {}) ⇒ Types::GetAgentGoalResponse
Retrieves detailed information about a specific optimization goal.
-
#get_agent_organizational_report(params = {}) ⇒ Types::GetAgentOrganizationalReportResponse
Retrieves metadata and current state for a single Organizational Report.
-
#get_agent_organizational_report_data(params = {}) ⇒ Types::GetAgentOrganizationalReportDataResponse
Retrieves the data artifact for a completed Organizational Report as a short-lived presigned S3 URL.
-
#get_agent_preferences(params = {}) ⇒ Types::GetAgentPreferencesResponse
Returns the caller's complete set of Well-Architected Agent preferences with their current states.
-
#get_agent_profile(params = {}) ⇒ Types::GetAgentProfileResponse
Retrieves detailed information about an optimization profile, including its configuration and metadata.
-
#get_agent_profile_policy(params = {}) ⇒ Types::GetAgentProfilePolicyResponse
Retrieves the resource-based policy attached to an Agent Profile.
-
#get_agent_recommendation(params = {}) ⇒ Types::GetAgentRecommendationResponse
Application-level recommendations are a new recommendation format currently in beta.
-
#get_agent_recommendation_generation(params = {}) ⇒ Types::GetAgentRecommendationGenerationResponse
Application-level recommendations are a new recommendation format currently in beta.
-
#get_agent_recommendation_policy(params = {}) ⇒ Types::GetAgentRecommendationPolicyResponse
Retrieves the resource-based policy attached to an individual Agent Recommendation.
-
#get_answer(params = {}) ⇒ Types::GetAnswerOutput
Get the answer to a specific question in a workload review.
-
#get_consolidated_report(params = {}) ⇒ Types::GetConsolidatedReportOutput
Get a consolidated report of your workloads.
-
#get_global_settings(params = {}) ⇒ Types::GetGlobalSettingsOutput
Global settings for all workloads.
-
#get_lens(params = {}) ⇒ Types::GetLensOutput
Get an existing lens.
-
#get_lens_review(params = {}) ⇒ Types::GetLensReviewOutput
Get lens review.
-
#get_lens_review_report(params = {}) ⇒ Types::GetLensReviewReportOutput
Get lens review report.
-
#get_lens_version_difference(params = {}) ⇒ Types::GetLensVersionDifferenceOutput
Get lens version differences.
-
#get_milestone(params = {}) ⇒ Types::GetMilestoneOutput
Get a milestone for an existing workload.
-
#get_profile(params = {}) ⇒ Types::GetProfileOutput
Get profile information.
-
#get_profile_template(params = {}) ⇒ Types::GetProfileTemplateOutput
Get profile template.
-
#get_review_template(params = {}) ⇒ Types::GetReviewTemplateOutput
Get review template.
-
#get_review_template_answer(params = {}) ⇒ Types::GetReviewTemplateAnswerOutput
Get review template answer.
-
#get_review_template_lens_review(params = {}) ⇒ Types::GetReviewTemplateLensReviewOutput
Get a lens review associated with a review template.
-
#get_workload(params = {}) ⇒ Types::GetWorkloadOutput
Get an existing workload.
-
#import_lens(params = {}) ⇒ Types::ImportLensOutput
Import a new custom lens or update an existing custom lens.
-
#list_agent_contexts(params = {}) ⇒ Types::ListAgentContextsResponse
Lists contexts associated with a profile.
-
#list_agent_goals(params = {}) ⇒ Types::ListAgentGoalsResponse
Lists optimization goals associated with a specified profile.
-
#list_agent_organizational_reports(params = {}) ⇒ Types::ListAgentOrganizationalReportsResponse
Lists Organizational Reports owned by the caller's account within the caller's AWS Organization, ordered by most recently created first.
-
#list_agent_profiles(params = {}) ⇒ Types::ListAgentProfilesResponse
Lists optimization profiles in your account.
-
#list_agent_recommendation_generations(params = {}) ⇒ Types::ListAgentRecommendationGenerationsResponse
Application-level recommendations are a new recommendation format currently in beta.
-
#list_agent_recommendation_items(params = {}) ⇒ Types::ListAgentRecommendationItemsResponse
Application-level recommendations are a new recommendation format currently in beta.
-
#list_agent_recommendations(params = {}) ⇒ Types::ListAgentRecommendationsResponse
Application-level recommendations are a new recommendation format currently in beta.
-
#list_answers(params = {}) ⇒ Types::ListAnswersOutput
List of answers for a particular workload and lens.
-
#list_check_details(params = {}) ⇒ Types::ListCheckDetailsOutput
List of Trusted Advisor check details by account related to the workload.
-
#list_check_summaries(params = {}) ⇒ Types::ListCheckSummariesOutput
List of Trusted Advisor checks summarized for all accounts related to the workload.
-
#list_lens_review_improvements(params = {}) ⇒ Types::ListLensReviewImprovementsOutput
List the improvements of a particular lens review.
-
#list_lens_reviews(params = {}) ⇒ Types::ListLensReviewsOutput
List lens reviews for a particular workload.
-
#list_lens_shares(params = {}) ⇒ Types::ListLensSharesOutput
List the lens shares associated with the lens.
-
#list_lenses(params = {}) ⇒ Types::ListLensesOutput
List the available lenses.
-
#list_milestones(params = {}) ⇒ Types::ListMilestonesOutput
List all milestones for an existing workload.
-
#list_notifications(params = {}) ⇒ Types::ListNotificationsOutput
List lens notifications.
-
#list_profile_notifications(params = {}) ⇒ Types::ListProfileNotificationsOutput
List profile notifications.
-
#list_profile_shares(params = {}) ⇒ Types::ListProfileSharesOutput
List profile shares.
-
#list_profiles(params = {}) ⇒ Types::ListProfilesOutput
List profiles.
-
#list_review_template_answers(params = {}) ⇒ Types::ListReviewTemplateAnswersOutput
List the answers of a review template.
-
#list_review_templates(params = {}) ⇒ Types::ListReviewTemplatesOutput
List review templates.
-
#list_share_invitations(params = {}) ⇒ Types::ListShareInvitationsOutput
List the share invitations.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
List the tags for a resource.
-
#list_template_shares(params = {}) ⇒ Types::ListTemplateSharesOutput
List review template shares.
-
#list_workload_shares(params = {}) ⇒ Types::ListWorkloadSharesOutput
List the workload shares associated with the workload.
-
#list_workloads(params = {}) ⇒ Types::ListWorkloadsOutput
Paginated list of workloads.
-
#put_agent_preferences(params = {}) ⇒ Struct
Creates or replaces the caller's Well-Architected Agent preferences.
-
#put_agent_profile_policy(params = {}) ⇒ Struct
Attaches or replaces a resource-based policy on an Agent Profile.
-
#put_agent_recommendation_feedback(params = {}) ⇒ Struct
Submits user feedback on a recommendation to help improve future optimization suggestions and track implementation outcomes.
-
#put_agent_recommendation_policy(params = {}) ⇒ Struct
Attaches or replaces a resource-based policy on an individual Agent Recommendation.
-
#send_agent_organizational_report_data_to_s3(params = {}) ⇒ Types::SendAgentOrganizationalReportDataToS3Response
Writes the data artifact for a completed Organizational Report directly into a caller-owned S3 bucket.
-
#start_agent_recommendation_generation(params = {}) ⇒ Types::StartAgentRecommendationGenerationResponse
Starts a recommendation generation process for the specified agent profile.
-
#tag_resource(params = {}) ⇒ Struct
Adds one or more tags to the specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Deletes specified tags from a resource.
-
#update_agent_context(params = {}) ⇒ Types::UpdateAgentContextResponse
Updates an existing context associated with a profile.
-
#update_agent_goal(params = {}) ⇒ Types::UpdateAgentGoalResponse
Updates the pillars and title of an existing goal associated with a profile.
-
#update_agent_organizational_profile(params = {}) ⇒ Types::UpdateAgentOrganizationalProfileResponse
Updates an Organizational Profile.
-
#update_agent_profile(params = {}) ⇒ Types::UpdateAgentProfileResponse
Updates an existing optimization profile's configuration, including its pillars, execution role, and aggregation settings.
-
#update_agent_recommendation_status(params = {}) ⇒ Struct
Updates the status of a recommendation to track its progress through the implementation lifecycle.
-
#update_answer(params = {}) ⇒ Types::UpdateAnswerOutput
Update the answer to a specific question in a workload review.
-
#update_global_settings(params = {}) ⇒ Struct
Update whether the Amazon Web Services account is opted into organization sharing and discovery integration features.
-
#update_integration(params = {}) ⇒ Struct
Update integration features.
-
#update_lens_review(params = {}) ⇒ Types::UpdateLensReviewOutput
Update lens review for a particular workload.
-
#update_profile(params = {}) ⇒ Types::UpdateProfileOutput
Update a profile.
-
#update_review_template(params = {}) ⇒ Types::UpdateReviewTemplateOutput
Update a review template.
-
#update_review_template_answer(params = {}) ⇒ Types::UpdateReviewTemplateAnswerOutput
Update a review template answer.
-
#update_review_template_lens_review(params = {}) ⇒ Types::UpdateReviewTemplateLensReviewOutput
Update a lens review associated with a review template.
-
#update_share_invitation(params = {}) ⇒ Types::UpdateShareInvitationOutput
Update a workload or custom lens share invitation.
-
#update_workload(params = {}) ⇒ Types::UpdateWorkloadOutput
Update an existing workload.
-
#update_workload_share(params = {}) ⇒ Types::UpdateWorkloadShareOutput
Update a workload share.
-
#upgrade_lens_review(params = {}) ⇒ Struct
Upgrade lens review for a particular workload.
-
#upgrade_profile_version(params = {}) ⇒ Struct
Upgrade a profile.
-
#upgrade_review_template_lens_review(params = {}) ⇒ Struct
Upgrade the lens review of a review template.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
-
#wait_until(waiter_name, params = {}, options = {}) {|w.waiter| ... } ⇒ Boolean
Polls an API operation until a resource enters a desired state.
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.
479 480 481 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 479 def initialize(*args) super end |
Instance Method Details
#associate_lenses(params = {}) ⇒ Struct
Associate a lens to a workload.
Up to 10 lenses can be associated with a workload in a single API operation. A maximum of 20 lenses can be associated with a workload.
By accessing and/or applying custom lenses created by another Amazon Web Services user or account, you acknowledge that custom lenses created by other users and shared with you are Third Party Content as defined in the Amazon Web Services Customer Agreement.
522 523 524 525 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 522 def associate_lenses(params = {}, = {}) req = build_request(:associate_lenses, params) req.send_request() end |
#associate_profiles(params = {}) ⇒ Struct
Associate a profile with a workload.
549 550 551 552 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 549 def associate_profiles(params = {}, = {}) req = build_request(:associate_profiles, params) req.send_request() end |
#create_agent_basic_profile(params = {}) ⇒ Types::CreateAgentBasicProfileResponse
Creates a Basic profile for the calling account. No configuration
input is required because the account and region are inferred from the
caller. The profile uses the reserved name basic. This operation is
idempotent. Calling it twice returns the same ARN. Each account can
have at most one Basic profile.
594 595 596 597 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 594 def create_agent_basic_profile(params = {}, = {}) req = build_request(:create_agent_basic_profile, params) req.send_request() end |
#create_agent_context(params = {}) ⇒ Types::CreateAgentContextResponse
Creates a context associated with an optimization profile. Contexts provide application and environment information used during recommendation generation.
693 694 695 696 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 693 def create_agent_context(params = {}, = {}) req = build_request(:create_agent_context, params) req.send_request() end |
#create_agent_goal(params = {}) ⇒ Types::CreateAgentGoalResponse
Creates an optimization goal associated with a profile. Goals define specific targets and objectives for the optimization process.
753 754 755 756 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 753 def create_agent_goal(params = {}, = {}) req = build_request(:create_agent_goal, params) req.send_request() end |
#create_agent_organizational_profile(params = {}) ⇒ Types::CreateAgentOrganizationalProfileResponse
Creates an Organizational Profile for use with AWS Organizations integration. Organizational Profiles are scoped to an AWS Organization and do not require an execution role or aggregation configuration. The organization is inferred from the caller's identity.
885 886 887 888 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 885 def create_agent_organizational_profile(params = {}, = {}) req = build_request(:create_agent_organizational_profile, params) req.send_request() end |
#create_agent_organizational_report(params = {}) ⇒ Types::CreateAgentOrganizationalReportResponse
Creates an Organizational Report, which is an asynchronously-materialized, point-in-time snapshot of recommendations across all Agent Profiles within the caller's AWS Organization. You can optionally narrow the scope with filters. The operation is idempotent on the caller-supplied clientToken. The AWS Organization the report belongs to is inferred from the caller's authorization context. Reports are retained for 90 days from creation, after which they are automatically deleted. Use DeleteAgentOrganizationalReport to delete a report earlier.
954 955 956 957 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 954 def create_agent_organizational_report(params = {}, = {}) req = build_request(:create_agent_organizational_report, params) req.send_request() end |
#create_agent_profile(params = {}) ⇒ Types::CreateAgentProfileResponse
Creates an optimization profile that defines the scope and configuration for generating recommendations. A profile specifies the execution role, target pillars, and aggregation settings for analyzing your Amazon Web Services resources.
1078 1079 1080 1081 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 1078 def create_agent_profile(params = {}, = {}) req = build_request(:create_agent_profile, params) req.send_request() end |
#create_lens_share(params = {}) ⇒ Types::CreateLensShareOutput
Create a lens share.
The owner of a lens can share it with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Lenses provided by Amazon Web Services (Amazon Web Services Official Content) cannot be shared.
Shared access to a lens is not removed until the lens invitation is deleted.
If you share a lens with an organization or OU, all accounts in the organization or OU are granted access to the lens.
For more information, see Sharing a custom lens in the Well-Architected Tool User Guide.
By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your custom lenses available to those other accounts. Those other accounts may continue to access and use your shared custom lenses even if you delete the custom lenses from your own Amazon Web Services account or terminate your Amazon Web Services account.
1170 1171 1172 1173 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 1170 def create_lens_share(params = {}, = {}) req = build_request(:create_lens_share, params) req.send_request() end |
#create_lens_version(params = {}) ⇒ Types::CreateLensVersionOutput
Create a new lens version.
A lens can have up to 100 versions.
Use this operation to publish a new lens version after you have
imported a lens. The LensAlias is used to identify the lens to be
published. The owner of a lens can share the lens with other Amazon
Web Services accounts and users in the same Amazon Web Services
Region. Only the owner of a lens can delete it.
1245 1246 1247 1248 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 1245 def create_lens_version(params = {}, = {}) req = build_request(:create_lens_version, params) req.send_request() end |
#create_milestone(params = {}) ⇒ Types::CreateMilestoneOutput
Create a milestone for an existing workload.
1300 1301 1302 1303 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 1300 def create_milestone(params = {}, = {}) req = build_request(:create_milestone, params) req.send_request() end |
#create_profile(params = {}) ⇒ Types::CreateProfileOutput
Create a profile.
1367 1368 1369 1370 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 1367 def create_profile(params = {}, = {}) req = build_request(:create_profile, params) req.send_request() end |
#create_profile_share(params = {}) ⇒ Types::CreateProfileShareOutput
Create a profile share.
1421 1422 1423 1424 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 1421 def create_profile_share(params = {}, = {}) req = build_request(:create_profile_share, params) req.send_request() end |
#create_review_template(params = {}) ⇒ Types::CreateReviewTemplateOutput
Create a review template.
Do not include or gather personal identifiable information (PII) of end users or other identifiable individuals in or via your review templates. If your review template or those shared with you and used in your account do include or collect PII you are responsible for: ensuring that the included PII is processed in accordance with applicable law, providing adequate privacy notices, and obtaining necessary consents for processing such data.
1500 1501 1502 1503 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 1500 def create_review_template(params = {}, = {}) req = build_request(:create_review_template, params) req.send_request() end |
#create_template_share(params = {}) ⇒ Types::CreateTemplateShareOutput
Create a review template share.
The owner of a review template can share it with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region.
Shared access to a review template is not removed until the review template share invitation is deleted.
If you share a review template with an organization or OU, all accounts in the organization or OU are granted access to the review template.
By sharing your review template with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your review template available to those other accounts.
1573 1574 1575 1576 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 1573 def create_template_share(params = {}, = {}) req = build_request(:create_template_share, params) req.send_request() end |
#create_workload(params = {}) ⇒ Types::CreateWorkloadOutput
Create a new workload.
The owner of a workload can share the workload with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Only the owner of a workload can delete it.
For more information, see Defining a Workload in the Well-Architected Tool User Guide.
Either AwsRegions, NonAwsRegions, or both must be specified when
creating a workload.
You also must specify ReviewOwner, even though the parameter is
listed as not being required in the following section.
When creating a workload using a review template, you must have the following IAM permissions:
wellarchitected:GetReviewTemplatewellarchitected:GetReviewTemplateAnswerwellarchitected:ListReviewTemplateAnswerswellarchitected:GetReviewTemplateLensReview
1806 1807 1808 1809 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 1806 def create_workload(params = {}, = {}) req = build_request(:create_workload, params) req.send_request() end |
#create_workload_share(params = {}) ⇒ Types::CreateWorkloadShareOutput
Create a workload share.
The owner of a workload can share it with other Amazon Web Services accounts and users in the same Amazon Web Services Region. Shared access to a workload is not removed until the workload invitation is deleted.
If you share a workload with an organization or OU, all accounts in the organization or OU are granted access to the workload.
For more information, see Sharing a workload in the Well-Architected Tool User Guide.
1880 1881 1882 1883 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 1880 def create_workload_share(params = {}, = {}) req = build_request(:create_workload_share, params) req.send_request() end |
#delete_agent_context(params = {}) ⇒ Struct
Deletes a context associated with a profile.
1906 1907 1908 1909 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 1906 def delete_agent_context(params = {}, = {}) req = build_request(:delete_agent_context, params) req.send_request() end |
#delete_agent_goal(params = {}) ⇒ Struct
Deletes an optimization goal from a profile.
1932 1933 1934 1935 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 1932 def delete_agent_goal(params = {}, = {}) req = build_request(:delete_agent_goal, params) req.send_request() end |
#delete_agent_organizational_report(params = {}) ⇒ Struct
Deletes an Organizational Report and its associated artifacts. The operation is idempotent, so repeated calls for a report that has already been deleted return success.
1956 1957 1958 1959 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 1956 def delete_agent_organizational_report(params = {}, = {}) req = build_request(:delete_agent_organizational_report, params) req.send_request() end |
#delete_agent_profile(params = {}) ⇒ Struct
Deletes an optimization profile and its associated configuration. This action cannot be undone.
1979 1980 1981 1982 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 1979 def delete_agent_profile(params = {}, = {}) req = build_request(:delete_agent_profile, params) req.send_request() end |
#delete_agent_profile_policy(params = {}) ⇒ Struct
Removes the resource-based policy from an Agent Profile. This revokes all cross-account access previously granted by the policy. Only the profile owner can call this operation.
2003 2004 2005 2006 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2003 def delete_agent_profile_policy(params = {}, = {}) req = build_request(:delete_agent_profile_policy, params) req.send_request() end |
#delete_agent_recommendation_policy(params = {}) ⇒ Struct
Removes the resource-based policy from an individual Agent Recommendation. This revokes all cross-account access previously granted by the policy. The recommendation owner or any principal with profile write access on the parent profile can call this operation.
2028 2029 2030 2031 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2028 def delete_agent_recommendation_policy(params = {}, = {}) req = build_request(:delete_agent_recommendation_policy, params) req.send_request() end |
#delete_lens(params = {}) ⇒ Struct
Delete an existing lens.
Only the owner of a lens can delete it. After the lens is deleted, Amazon Web Services accounts and users that you shared the lens with can continue to use it, but they will no longer be able to apply it to new workloads.
By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your custom lenses available to those other accounts. Those other accounts may continue to access and use your shared custom lenses even if you delete the custom lenses from your own Amazon Web Services account or terminate your Amazon Web Services account.
2099 2100 2101 2102 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2099 def delete_lens(params = {}, = {}) req = build_request(:delete_lens, params) req.send_request() end |
#delete_lens_share(params = {}) ⇒ Struct
Delete a lens share.
After the lens share is deleted, Amazon Web Services accounts, users, organizations, and organizational units (OUs) that you shared the lens with can continue to use it, but they will no longer be able to apply it to new workloads.
By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your custom lenses available to those other accounts. Those other accounts may continue to access and use your shared custom lenses even if you delete the custom lenses from your own Amazon Web Services account or terminate your Amazon Web Services account.
2170 2171 2172 2173 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2170 def delete_lens_share(params = {}, = {}) req = build_request(:delete_lens_share, params) req.send_request() end |
#delete_profile(params = {}) ⇒ Struct
Delete a profile.
By sharing your profile with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your profile available to those other accounts. Those other accounts may continue to access and use your shared profile even if you delete the profile from your own Amazon Web Services account or terminate your Amazon Web Services account.
2221 2222 2223 2224 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2221 def delete_profile(params = {}, = {}) req = build_request(:delete_profile, params) req.send_request() end |
#delete_profile_share(params = {}) ⇒ Struct
Delete a profile share.
2265 2266 2267 2268 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2265 def delete_profile_share(params = {}, = {}) req = build_request(:delete_profile_share, params) req.send_request() end |
#delete_review_template(params = {}) ⇒ Struct
Delete a review template.
Only the owner of a review template can delete it.
After the review template is deleted, Amazon Web Services accounts, users, organizations, and organizational units (OUs) that you shared the review template with will no longer be able to apply it to new workloads.
2312 2313 2314 2315 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2312 def delete_review_template(params = {}, = {}) req = build_request(:delete_review_template, params) req.send_request() end |
#delete_template_share(params = {}) ⇒ Struct
Delete a review template share.
After the review template share is deleted, Amazon Web Services accounts, users, organizations, and organizational units (OUs) that you shared the review template with will no longer be able to apply it to new workloads.
2361 2362 2363 2364 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2361 def delete_template_share(params = {}, = {}) req = build_request(:delete_template_share, params) req.send_request() end |
#delete_workload(params = {}) ⇒ Struct
Delete an existing workload.
2402 2403 2404 2405 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2402 def delete_workload(params = {}, = {}) req = build_request(:delete_workload, params) req.send_request() end |
#delete_workload_share(params = {}) ⇒ Struct
Delete a workload share.
2447 2448 2449 2450 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2447 def delete_workload_share(params = {}, = {}) req = build_request(:delete_workload_share, params) req.send_request() end |
#disassociate_lenses(params = {}) ⇒ Struct
Disassociate a lens from a workload.
Up to 10 lenses can be disassociated from a workload in a single API operation.
wellarchitected) cannot be removed from a workload.
2485 2486 2487 2488 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2485 def disassociate_lenses(params = {}, = {}) req = build_request(:disassociate_lenses, params) req.send_request() end |
#disassociate_profiles(params = {}) ⇒ Struct
Disassociate a profile from a workload.
2512 2513 2514 2515 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2512 def disassociate_profiles(params = {}, = {}) req = build_request(:disassociate_profiles, params) req.send_request() end |
#export_lens(params = {}) ⇒ Types::ExportLensOutput
Export an existing lens.
Only the owner of a lens can export it. Lenses provided by Amazon Web Services (Amazon Web Services Official Content) cannot be exported.
Lenses are defined in JSON. For more information, see JSON format specification in the Well-Architected Tool User Guide.
Do not include or gather personal identifiable information (PII) of end users or other identifiable individuals in or via your custom lenses. If your custom lens or those shared with you and used in your account do include or collect PII you are responsible for: ensuring that the included PII is processed in accordance with applicable law, providing adequate privacy notices, and obtaining necessary consents for processing such data.
2577 2578 2579 2580 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2577 def export_lens(params = {}, = {}) req = build_request(:export_lens, params) req.send_request() end |
#get_agent_context(params = {}) ⇒ Types::GetAgentContextResponse
Retrieves detailed information about a specific context associated with a profile.
2638 2639 2640 2641 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2638 def get_agent_context(params = {}, = {}) req = build_request(:get_agent_context, params) req.send_request() end |
#get_agent_goal(params = {}) ⇒ Types::GetAgentGoalResponse
Retrieves detailed information about a specific optimization goal.
2679 2680 2681 2682 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2679 def get_agent_goal(params = {}, = {}) req = build_request(:get_agent_goal, params) req.send_request() end |
#get_agent_organizational_report(params = {}) ⇒ Types::GetAgentOrganizationalReportResponse
Retrieves metadata and current state for a single Organizational Report. The coverageSummary is populated once the report reaches COMPLETED and is absent for reports still in progress or in a failed state.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- agent_organizational_report_completed
2761 2762 2763 2764 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2761 def get_agent_organizational_report(params = {}, = {}) req = build_request(:get_agent_organizational_report, params) req.send_request() end |
#get_agent_organizational_report_data(params = {}) ⇒ Types::GetAgentOrganizationalReportDataResponse
Retrieves the data artifact for a completed Organizational Report as a short-lived presigned S3 URL. The response contains the URL in downloadUrl and its expiration in expiresAt. To have the service write the artifact directly into a caller-owned bucket instead, use SendAgentOrganizationalReportDataToS3.
2799 2800 2801 2802 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2799 def get_agent_organizational_report_data(params = {}, = {}) req = build_request(:get_agent_organizational_report_data, params) req.send_request() end |
#get_agent_preferences(params = {}) ⇒ Types::GetAgentPreferencesResponse
Returns the caller's complete set of Well-Architected Agent preferences with their current states.
2822 2823 2824 2825 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2822 def get_agent_preferences(params = {}, = {}) req = build_request(:get_agent_preferences, params) req.send_request() end |
#get_agent_profile(params = {}) ⇒ Types::GetAgentProfileResponse
Retrieves detailed information about an optimization profile, including its configuration and metadata.
2903 2904 2905 2906 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2903 def get_agent_profile(params = {}, = {}) req = build_request(:get_agent_profile, params) req.send_request() end |
#get_agent_profile_policy(params = {}) ⇒ Types::GetAgentProfilePolicyResponse
Retrieves the resource-based policy attached to an Agent Profile. Only the profile owner can call this operation.
2934 2935 2936 2937 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 2934 def get_agent_profile_policy(params = {}, = {}) req = build_request(:get_agent_profile_policy, params) req.send_request() end |
#get_agent_recommendation(params = {}) ⇒ Types::GetAgentRecommendationResponse
Application-level recommendations are a new recommendation format currently in beta. We are actively seeking customer feedback to improve their quality and relevance. As with any AI-generated content, please thoroughly review each recommendation before taking any action based on it.
Retrieves detailed information about a specific optimization recommendation, including its impact analysis, content, and implementation guidance.
3072 3073 3074 3075 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 3072 def get_agent_recommendation(params = {}, = {}) req = build_request(:get_agent_recommendation, params) req.send_request() end |
#get_agent_recommendation_generation(params = {}) ⇒ Types::GetAgentRecommendationGenerationResponse
Application-level recommendations are a new recommendation format currently in beta. We are actively seeking customer feedback to improve their quality and relevance. As with any AI-generated content, please thoroughly review each recommendation before taking any action based on it.
Retrieves information about a recommendation generation process, including its status, progress, and results. Recommendation generation is asynchronous: poll this operation until status reaches a terminal value of COMPLETED (results are ready) or ERROR (see errorDetails). Intermediate values are QUEUED and IN_PROGRESS.
3156 3157 3158 3159 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 3156 def get_agent_recommendation_generation(params = {}, = {}) req = build_request(:get_agent_recommendation_generation, params) req.send_request() end |
#get_agent_recommendation_policy(params = {}) ⇒ Types::GetAgentRecommendationPolicyResponse
Retrieves the resource-based policy attached to an individual Agent Recommendation. The recommendation owner or any principal with profile write access on the parent profile can call this operation.
3188 3189 3190 3191 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 3188 def get_agent_recommendation_policy(params = {}, = {}) req = build_request(:get_agent_recommendation_policy, params) req.send_request() end |
#get_answer(params = {}) ⇒ Types::GetAnswerOutput
Get the answer to a specific question in a workload review.
3282 3283 3284 3285 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 3282 def get_answer(params = {}, = {}) req = build_request(:get_answer, params) req.send_request() end |
#get_consolidated_report(params = {}) ⇒ Types::GetConsolidatedReportOutput
Get a consolidated report of your workloads.
You can optionally choose to include workloads that have been shared with you.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3356 3357 3358 3359 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 3356 def get_consolidated_report(params = {}, = {}) req = build_request(:get_consolidated_report, params) req.send_request() end |
#get_global_settings(params = {}) ⇒ Types::GetGlobalSettingsOutput
Global settings for all workloads.
3384 3385 3386 3387 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 3384 def get_global_settings(params = {}, = {}) req = build_request(:get_global_settings, params) req.send_request() end |
#get_lens(params = {}) ⇒ Types::GetLensOutput
Get an existing lens.
3434 3435 3436 3437 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 3434 def get_lens(params = {}, = {}) req = build_request(:get_lens, params) req.send_request() end |
#get_lens_review(params = {}) ⇒ Types::GetLensReviewOutput
Get lens review.
3514 3515 3516 3517 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 3514 def get_lens_review(params = {}, = {}) req = build_request(:get_lens_review, params) req.send_request() end |
#get_lens_review_report(params = {}) ⇒ Types::GetLensReviewReportOutput
Get lens review report.
3570 3571 3572 3573 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 3570 def get_lens_review_report(params = {}, = {}) req = build_request(:get_lens_review_report, params) req.send_request() end |
#get_lens_version_difference(params = {}) ⇒ Types::GetLensVersionDifferenceOutput
Get lens version differences.
3634 3635 3636 3637 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 3634 def get_lens_version_difference(params = {}, = {}) req = build_request(:get_lens_version_difference, params) req.send_request() end |
#get_milestone(params = {}) ⇒ Types::GetMilestoneOutput
Get a milestone for an existing workload.
3717 3718 3719 3720 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 3717 def get_milestone(params = {}, = {}) req = build_request(:get_milestone, params) req.send_request() end |
#get_profile(params = {}) ⇒ Types::GetProfileOutput
Get profile information.
3770 3771 3772 3773 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 3770 def get_profile(params = {}, = {}) req = build_request(:get_profile, params) req.send_request() end |
#get_profile_template(params = {}) ⇒ Types::GetProfileTemplateOutput
Get profile template.
3801 3802 3803 3804 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 3801 def get_profile_template(params = {}, = {}) req = build_request(:get_profile_template, params) req.send_request() end |
#get_review_template(params = {}) ⇒ Types::GetReviewTemplateOutput
Get review template.
3842 3843 3844 3845 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 3842 def get_review_template(params = {}, = {}) req = build_request(:get_review_template, params) req.send_request() end |
#get_review_template_answer(params = {}) ⇒ Types::GetReviewTemplateAnswerOutput
Get review template answer.
3923 3924 3925 3926 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 3923 def get_review_template_answer(params = {}, = {}) req = build_request(:get_review_template_answer, params) req.send_request() end |
#get_review_template_lens_review(params = {}) ⇒ Types::GetReviewTemplateLensReviewOutput
Get a lens review associated with a review template.
3983 3984 3985 3986 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 3983 def get_review_template_lens_review(params = {}, = {}) req = build_request(:get_review_template_lens_review, params) req.send_request() end |
#get_workload(params = {}) ⇒ Types::GetWorkloadOutput
Get an existing workload.
4055 4056 4057 4058 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 4055 def get_workload(params = {}, = {}) req = build_request(:get_workload, params) req.send_request() end |
#import_lens(params = {}) ⇒ Types::ImportLensOutput
Import a new custom lens or update an existing custom lens.
To update an existing custom lens, specify its ARN as the LensAlias.
If no ARN is specified, a new custom lens is created.
The new or updated lens will have a status of DRAFT. The lens cannot
be applied to workloads or shared with other Amazon Web Services
accounts until it's published with CreateLensVersion.
Lenses are defined in JSON. For more information, see JSON format specification in the Well-Architected Tool User Guide.
A custom lens cannot exceed 500 KB in size.
Do not include or gather personal identifiable information (PII) of end users or other identifiable individuals in or via your custom lenses. If your custom lens or those shared with you and used in your account do include or collect PII you are responsible for: ensuring that the included PII is processed in accordance with applicable law, providing adequate privacy notices, and obtaining necessary consents for processing such data.
4152 4153 4154 4155 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 4152 def import_lens(params = {}, = {}) req = build_request(:import_lens, params) req.send_request() end |
#list_agent_contexts(params = {}) ⇒ Types::ListAgentContextsResponse
Lists contexts associated with a profile.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4223 4224 4225 4226 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 4223 def list_agent_contexts(params = {}, = {}) req = build_request(:list_agent_contexts, params) req.send_request() end |
#list_agent_goals(params = {}) ⇒ Types::ListAgentGoalsResponse
Lists optimization goals associated with a specified profile. Goals define specific targets and objectives for the optimization process.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4276 4277 4278 4279 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 4276 def list_agent_goals(params = {}, = {}) req = build_request(:list_agent_goals, params) req.send_request() end |
#list_agent_organizational_reports(params = {}) ⇒ Types::ListAgentOrganizationalReportsResponse
Lists Organizational Reports owned by the caller's account within the caller's AWS Organization, ordered by most recently created first. Supports pagination and an optional state filter.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4326 4327 4328 4329 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 4326 def list_agent_organizational_reports(params = {}, = {}) req = build_request(:list_agent_organizational_reports, params) req.send_request() end |
#list_agent_profiles(params = {}) ⇒ Types::ListAgentProfilesResponse
Lists optimization profiles in your account. Profiles define the scope and configuration for generating optimization recommendations.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4396 4397 4398 4399 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 4396 def list_agent_profiles(params = {}, = {}) req = build_request(:list_agent_profiles, params) req.send_request() end |
#list_agent_recommendation_generations(params = {}) ⇒ Types::ListAgentRecommendationGenerationsResponse
Application-level recommendations are a new recommendation format currently in beta. We are actively seeking customer feedback to improve their quality and relevance. As with any AI-generated content, please thoroughly review each recommendation before taking any action based on it.
Lists recommendation generation processes for a specified profile.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4465 4466 4467 4468 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 4465 def list_agent_recommendation_generations(params = {}, = {}) req = build_request(:list_agent_recommendation_generations, params) req.send_request() end |
#list_agent_recommendation_items(params = {}) ⇒ Types::ListAgentRecommendationItemsResponse
Application-level recommendations are a new recommendation format currently in beta. We are actively seeking customer feedback to improve their quality and relevance. As with any AI-generated content, please thoroughly review each recommendation before taking any action based on it.
Lists recommendation items for a specific recommendation. Recommendation items provide detailed information about individual optimization opportunities.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4530 4531 4532 4533 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 4530 def list_agent_recommendation_items(params = {}, = {}) req = build_request(:list_agent_recommendation_items, params) req.send_request() end |
#list_agent_recommendations(params = {}) ⇒ Types::ListAgentRecommendationsResponse
Application-level recommendations are a new recommendation format currently in beta. We are actively seeking customer feedback to improve their quality and relevance. As with any AI-generated content, please thoroughly review each recommendation before taking any action based on it.
Lists active optimization recommendations for a specified profile with optional filtering by state.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4616 4617 4618 4619 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 4616 def list_agent_recommendations(params = {}, = {}) req = build_request(:list_agent_recommendations, params) req.send_request() end |
#list_answers(params = {}) ⇒ Types::ListAnswersOutput
List of answers for a particular workload and lens.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4724 4725 4726 4727 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 4724 def list_answers(params = {}, = {}) req = build_request(:list_answers, params) req.send_request() end |
#list_check_details(params = {}) ⇒ Types::ListCheckDetailsOutput
List of Trusted Advisor check details by account related to the workload.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4797 4798 4799 4800 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 4797 def list_check_details(params = {}, = {}) req = build_request(:list_check_details, params) req.send_request() end |
#list_check_summaries(params = {}) ⇒ Types::ListCheckSummariesOutput
List of Trusted Advisor checks summarized for all accounts related to the workload.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4869 4870 4871 4872 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 4869 def list_check_summaries(params = {}, = {}) req = build_request(:list_check_summaries, params) req.send_request() end |
#list_lens_review_improvements(params = {}) ⇒ Types::ListLensReviewImprovementsOutput
List the improvements of a particular lens review.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4960 4961 4962 4963 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 4960 def list_lens_review_improvements(params = {}, = {}) req = build_request(:list_lens_review_improvements, params) req.send_request() end |
#list_lens_reviews(params = {}) ⇒ Types::ListLensReviewsOutput
List lens reviews for a particular workload.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5024 5025 5026 5027 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5024 def list_lens_reviews(params = {}, = {}) req = build_request(:list_lens_reviews, params) req.send_request() end |
#list_lens_shares(params = {}) ⇒ Types::ListLensSharesOutput
List the lens shares associated with the lens.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5088 5089 5090 5091 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5088 def list_lens_shares(params = {}, = {}) req = build_request(:list_lens_shares, params) req.send_request() end |
#list_lenses(params = {}) ⇒ Types::ListLensesOutput
List the available lenses.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5146 5147 5148 5149 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5146 def list_lenses(params = {}, = {}) req = build_request(:list_lenses, params) req.send_request() end |
#list_milestones(params = {}) ⇒ Types::ListMilestonesOutput
List all milestones for an existing workload.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5207 5208 5209 5210 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5207 def list_milestones(params = {}, = {}) req = build_request(:list_milestones, params) req.send_request() end |
#list_notifications(params = {}) ⇒ Types::ListNotificationsOutput
List lens notifications.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5265 5266 5267 5268 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5265 def list_notifications(params = {}, = {}) req = build_request(:list_notifications, params) req.send_request() end |
#list_profile_notifications(params = {}) ⇒ Types::ListProfileNotificationsOutput
List profile notifications.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5313 5314 5315 5316 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5313 def list_profile_notifications(params = {}, = {}) req = build_request(:list_profile_notifications, params) req.send_request() end |
#list_profile_shares(params = {}) ⇒ Types::ListProfileSharesOutput
List profile shares.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5366 5367 5368 5369 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5366 def list_profile_shares(params = {}, = {}) req = build_request(:list_profile_shares, params) req.send_request() end |
#list_profiles(params = {}) ⇒ Types::ListProfilesOutput
List profiles.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5418 5419 5420 5421 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5418 def list_profiles(params = {}, = {}) req = build_request(:list_profiles, params) req.send_request() end |
#list_review_template_answers(params = {}) ⇒ Types::ListReviewTemplateAnswersOutput
List the answers of a review template.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5509 5510 5511 5512 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5509 def list_review_template_answers(params = {}, = {}) req = build_request(:list_review_template_answers, params) req.send_request() end |
#list_review_templates(params = {}) ⇒ Types::ListReviewTemplatesOutput
List review templates.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5553 5554 5555 5556 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5553 def list_review_templates(params = {}, = {}) req = build_request(:list_review_templates, params) req.send_request() end |
#list_share_invitations(params = {}) ⇒ Types::ListShareInvitationsOutput
List the share invitations.
WorkloadNamePrefix, LensNamePrefix, ProfileNamePrefix, and
TemplateNamePrefix are mutually exclusive. Use the parameter that
matches your ShareResourceType.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5630 5631 5632 5633 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5630 def list_share_invitations(params = {}, = {}) req = build_request(:list_share_invitations, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
List the tags for a resource.
5664 5665 5666 5667 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5664 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_template_shares(params = {}) ⇒ Types::ListTemplateSharesOutput
List review template shares.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5719 5720 5721 5722 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5719 def list_template_shares(params = {}, = {}) req = build_request(:list_template_shares, params) req.send_request() end |
#list_workload_shares(params = {}) ⇒ Types::ListWorkloadSharesOutput
List the workload shares associated with the workload.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5776 5777 5778 5779 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5776 def list_workload_shares(params = {}, = {}) req = build_request(:list_workload_shares, params) req.send_request() end |
#list_workloads(params = {}) ⇒ Types::ListWorkloadsOutput
Paginated list of workloads.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5832 5833 5834 5835 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5832 def list_workloads(params = {}, = {}) req = build_request(:list_workloads, params) req.send_request() end |
#put_agent_preferences(params = {}) ⇒ Struct
Creates or replaces the caller's Well-Architected Agent preferences. Each supplied update sets the desired state of one preference. Preferences not named in the request are left unchanged. Enabling or disabling is performed synchronously, so a failure to reach the requested state is returned as a modeled exception rather than a FAILED status. On success the operation returns an empty response. Call GetAgentPreferences to read the resulting state. The account the preferences belong to is inferred from the caller's authorization context.
5868 5869 5870 5871 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5868 def put_agent_preferences(params = {}, = {}) req = build_request(:put_agent_preferences, params) req.send_request() end |
#put_agent_profile_policy(params = {}) ⇒ Struct
Attaches or replaces a resource-based policy on an Agent Profile. The policy controls cross-account access to the profile and its child resources such as recommendations, goals, and contexts. Only the profile owner can call this operation. The policy must be valid IAM JSON with Allow-only statements and no negation condition operators.
5899 5900 5901 5902 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5899 def put_agent_profile_policy(params = {}, = {}) req = build_request(:put_agent_profile_policy, params) req.send_request() end |
#put_agent_recommendation_feedback(params = {}) ⇒ Struct
Submits user feedback on a recommendation to help improve future optimization suggestions and track implementation outcomes.
5935 5936 5937 5938 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5935 def put_agent_recommendation_feedback(params = {}, = {}) req = build_request(:put_agent_recommendation_feedback, params) req.send_request() end |
#put_agent_recommendation_policy(params = {}) ⇒ Struct
Attaches or replaces a resource-based policy on an individual Agent Recommendation. The policy controls cross-account access to the recommendation and its child resources such as items and remediations. The recommendation owner or any principal with profile write access on the parent profile can call this operation. The policy must be valid IAM JSON with Allow-only statements and no negation condition operators.
5968 5969 5970 5971 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 5968 def put_agent_recommendation_policy(params = {}, = {}) req = build_request(:put_agent_recommendation_policy, params) req.send_request() end |
#send_agent_organizational_report_data_to_s3(params = {}) ⇒ Types::SendAgentOrganizationalReportDataToS3Response
Writes the data artifact for a completed Organizational Report directly into a caller-owned S3 bucket. The artifact is written in the requested format to the supplied bucketArn and objectKey, and the resulting S3 location is returned in deliveredTo. This operation creates an S3 object and should not be retried indiscriminately. To download the artifact through a short-lived presigned URL instead, use GetAgentOrganizationalReportData.
6014 6015 6016 6017 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 6014 def send_agent_organizational_report_data_to_s3(params = {}, = {}) req = build_request(:send_agent_organizational_report_data_to_s3, params) req.send_request() end |
#start_agent_recommendation_generation(params = {}) ⇒ Types::StartAgentRecommendationGenerationResponse
Starts a recommendation generation process for the specified agent
profile. This asynchronous operation returns immediately. Use
GetAgentRecommendationGeneration to check the status of the
generation.
Currently, only the ARCHITECTURE recommendation type is supported.
RESOURCE and APPLICATION recommendations are generated only by the
scheduled generation cycle and cannot be started with this operation.
For the ARCHITECTURE type, the generation analyzes the
infrastructure as code (IaC) template that you specify in
additionalContext, and returns updated templates with best practice
fixes applied. You must specify scope and additionalContext. You
can optionally specify name.
Architecture review generations are subject to a daily quota for each profile. For more information, see Quotas and limits in the Amazon Web Services Well-Architected User Guide.
6129 6130 6131 6132 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 6129 def start_agent_recommendation_generation(params = {}, = {}) req = build_request(:start_agent_recommendation_generation, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds one or more tags to the specified resource.
6162 6163 6164 6165 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 6162 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Deletes specified tags from a resource.
To specify multiple tags, use separate tagKeys parameters, for example:
DELETE /tags/WorkloadArn?tagKeys=key1&tagKeys=key2
6199 6200 6201 6202 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 6199 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_agent_context(params = {}) ⇒ Types::UpdateAgentContextResponse
Updates an existing context associated with a profile.
6295 6296 6297 6298 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 6295 def update_agent_context(params = {}, = {}) req = build_request(:update_agent_context, params) req.send_request() end |
#update_agent_goal(params = {}) ⇒ Types::UpdateAgentGoalResponse
Updates the pillars and title of an existing goal associated with a profile.
6360 6361 6362 6363 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 6360 def update_agent_goal(params = {}, = {}) req = build_request(:update_agent_goal, params) req.send_request() end |
#update_agent_organizational_profile(params = {}) ⇒ Types::UpdateAgentOrganizationalProfileResponse
Updates an Organizational Profile. Organizational Profiles are specific to Profiles created using AWS Organizations integration. Include only the fields you want to change; any field you omit from the request keeps its current value.
To clear an optional text field, supply an empty string for it; the
field is then unset, and a subsequent read omits it rather than
returning an empty string. Omitting the field from the request leaves
the stored value in place. description and businessOverview can be
cleared this way. displayName cannot be cleared because a display
name is required, though you can change it. pillars cannot be
cleared because a profile must target at least one pillar.
organizationalAggregationConfiguration behaves differently because
it is a structure rather than a text field. Supplying it with both its
organizationalUnits and accounts lists empty removes every
monitored organizational unit and account, but the field itself
remains set: a subsequent read returns the structure with two empty
lists rather than omitting it. Omitting the field from the request
keeps the stored boundary.
6510 6511 6512 6513 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 6510 def update_agent_organizational_profile(params = {}, = {}) req = build_request(:update_agent_organizational_profile, params) req.send_request() end |
#update_agent_profile(params = {}) ⇒ Types::UpdateAgentProfileResponse
Updates an existing optimization profile's configuration, including its pillars, execution role, and aggregation settings. Include only the fields you want to change. Any field you omit from the request keeps its current value, so you do not need to retrieve the profile first and resend the fields you are not changing.
To clear an optional text field, supply an empty string for it; the
field is then unset, and a subsequent read omits it rather than
returning an empty string. Omitting the field from the request leaves
the stored value in place. description and businessOverview can be
cleared this way. displayName cannot be cleared because a display
name is required, though you can change it. pillars cannot be
cleared because a profile must target at least one pillar.
aggregationConfiguration behaves differently because it is a list of
per-account configurations rather than a text field. Supplying an
empty list removes every account entry, but the field itself remains
set: a subsequent read returns an empty list rather than omitting the
field. Omitting it from the request keeps the stored entries.
6648 6649 6650 6651 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 6648 def update_agent_profile(params = {}, = {}) req = build_request(:update_agent_profile, params) req.send_request() end |
#update_agent_recommendation_status(params = {}) ⇒ Struct
Updates the status of a recommendation to track its progress through the implementation lifecycle.
6679 6680 6681 6682 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 6679 def update_agent_recommendation_status(params = {}, = {}) req = build_request(:update_agent_recommendation_status, params) req.send_request() end |
#update_answer(params = {}) ⇒ Types::UpdateAnswerOutput
Update the answer to a specific question in a workload review.
6797 6798 6799 6800 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 6797 def update_answer(params = {}, = {}) req = build_request(:update_answer, params) req.send_request() end |
#update_global_settings(params = {}) ⇒ Struct
Update whether the Amazon Web Services account is opted into organization sharing and discovery integration features.
6833 6834 6835 6836 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 6833 def update_global_settings(params = {}, = {}) req = build_request(:update_global_settings, params) req.send_request() end |
#update_integration(params = {}) ⇒ Struct
Update integration features.
6878 6879 6880 6881 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 6878 def update_integration(params = {}, = {}) req = build_request(:update_integration, params) req.send_request() end |
#update_lens_review(params = {}) ⇒ Types::UpdateLensReviewOutput
Update lens review for a particular workload.
6977 6978 6979 6980 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 6977 def update_lens_review(params = {}, = {}) req = build_request(:update_lens_review, params) req.send_request() end |
#update_profile(params = {}) ⇒ Types::UpdateProfileOutput
Update a profile.
7039 7040 7041 7042 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 7039 def update_profile(params = {}, = {}) req = build_request(:update_profile, params) req.send_request() end |
#update_review_template(params = {}) ⇒ Types::UpdateReviewTemplateOutput
Update a review template.
7104 7105 7106 7107 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 7104 def update_review_template(params = {}, = {}) req = build_request(:update_review_template, params) req.send_request() end |
#update_review_template_answer(params = {}) ⇒ Types::UpdateReviewTemplateAnswerOutput
Update a review template answer.
7216 7217 7218 7219 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 7216 def update_review_template_answer(params = {}, = {}) req = build_request(:update_review_template_answer, params) req.send_request() end |
#update_review_template_lens_review(params = {}) ⇒ Types::UpdateReviewTemplateLensReviewOutput
Update a lens review associated with a review template.
7292 7293 7294 7295 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 7292 def update_review_template_lens_review(params = {}, = {}) req = build_request(:update_review_template_lens_review, params) req.send_request() end |
#update_share_invitation(params = {}) ⇒ Types::UpdateShareInvitationOutput
Update a workload or custom lens share invitation.
7335 7336 7337 7338 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 7335 def update_share_invitation(params = {}, = {}) req = build_request(:update_share_invitation, params) req.send_request() end |
#update_workload(params = {}) ⇒ Types::UpdateWorkloadOutput
Update an existing workload.
7558 7559 7560 7561 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 7558 def update_workload(params = {}, = {}) req = build_request(:update_workload, params) req.send_request() end |
#update_workload_share(params = {}) ⇒ Types::UpdateWorkloadShareOutput
Update a workload share.
7603 7604 7605 7606 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 7603 def update_workload_share(params = {}, = {}) req = build_request(:update_workload_share, params) req.send_request() end |
#upgrade_lens_review(params = {}) ⇒ Struct
Upgrade lens review for a particular workload.
7662 7663 7664 7665 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 7662 def upgrade_lens_review(params = {}, = {}) req = build_request(:upgrade_lens_review, params) req.send_request() end |
#upgrade_profile_version(params = {}) ⇒ Struct
Upgrade a profile.
7713 7714 7715 7716 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 7713 def upgrade_profile_version(params = {}, = {}) req = build_request(:upgrade_profile_version, params) req.send_request() end |
#upgrade_review_template_lens_review(params = {}) ⇒ Struct
Upgrade the lens review of a review template.
7765 7766 7767 7768 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 7765 def upgrade_review_template_lens_review(params = {}, = {}) req = build_request(:upgrade_review_template_lens_review, params) req.send_request() end |
#wait_until(waiter_name, params = {}, options = {}) {|w.waiter| ... } ⇒ Boolean
Polls an API operation until a resource enters a desired state.
Basic Usage
A waiter will call an API operation until:
- It is successful
- It enters a terminal state
- It makes the maximum number of attempts
In between attempts, the waiter will sleep.
# polls in a loop, sleeping between attempts
client.wait_until(waiter_name, params)
Configuration
You can configure the maximum number of polling attempts, and the delay (in seconds) between each polling attempt. You can pass configuration as the final arguments hash.
# poll for ~25 seconds
client.wait_until(waiter_name, params, {
max_attempts: 5,
delay: 5,
})
Callbacks
You can be notified before each polling attempt and before each
delay. If you throw :success or :failure from these callbacks,
it will terminate the waiter.
started_at = Time.now
client.wait_until(waiter_name, params, {
# disable max attempts
max_attempts: nil,
# poll for 1 hour, instead of a number of attempts
before_wait: -> (attempts, response) do
throw :failure if Time.now - started_at > 3600
end
})
Handling Errors
When a waiter is unsuccessful, it will raise an error. All of the failure errors extend from Aws::Waiters::Errors::WaiterFailed.
begin
client.wait_until(...)
rescue Aws::Waiters::Errors::WaiterFailed
# resource did not enter the desired state in time
end
Valid Waiters
The following table lists the valid waiter names, the operations they call,
and the default :delay and :max_attempts values.
| waiter_name | params | :delay | :max_attempts |
|---|---|---|---|
| agent_organizational_report_completed | #get_agent_organizational_report | 15 | 40 |
7880 7881 7882 7883 7884 |
# File 'gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb', line 7880 def wait_until(waiter_name, params = {}, = {}) w = waiter(waiter_name, ) yield(w.waiter) if block_given? # deprecated w.wait(params) end |