Class: Aws::TrustedAdvisor::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::TrustedAdvisor::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb
Overview
An API client for TrustedAdvisor. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::TrustedAdvisor::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
-
#batch_update_recommendation_resource_exclusion(params = {}) ⇒ Types::BatchUpdateRecommendationResourceExclusionResponse
Update one or more exclusion status for a list of recommendation resources.
-
#get_organization_recommendation(params = {}) ⇒ Types::GetOrganizationRecommendationResponse
Get a specific recommendation within an AWS Organizations organization.
-
#get_recommendation(params = {}) ⇒ Types::GetRecommendationResponse
Get a specific Recommendation.
-
#list_checks(params = {}) ⇒ Types::ListChecksResponse
List a filterable set of Checks.
-
#list_organization_recommendation_accounts(params = {}) ⇒ Types::ListOrganizationRecommendationAccountsResponse
Lists the accounts that own the resources for an organization aggregate recommendation.
-
#list_organization_recommendation_resources(params = {}) ⇒ Types::ListOrganizationRecommendationResourcesResponse
List Resources of a Recommendation within an Organization.
-
#list_organization_recommendations(params = {}) ⇒ Types::ListOrganizationRecommendationsResponse
List a filterable set of Recommendations within an Organization.
-
#list_recommendation_resources(params = {}) ⇒ Types::ListRecommendationResourcesResponse
List Resources of a Recommendation.
-
#list_recommendations(params = {}) ⇒ Types::ListRecommendationsResponse
List a filterable set of Recommendations.
-
#update_organization_recommendation_lifecycle(params = {}) ⇒ Struct
Update the lifecycle of a Recommendation within an Organization.
-
#update_recommendation_lifecycle(params = {}) ⇒ Struct
Update the lifecyle of a Recommendation.
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.
444 445 446 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 444 def initialize(*args) super end |
Instance Method Details
#batch_update_recommendation_resource_exclusion(params = {}) ⇒ Types::BatchUpdateRecommendationResourceExclusionResponse
Update one or more exclusion status for a list of recommendation resources
482 483 484 485 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 482 def batch_update_recommendation_resource_exclusion(params = {}, = {}) req = build_request(:batch_update_recommendation_resource_exclusion, params) req.send_request() end |
#get_organization_recommendation(params = {}) ⇒ Types::GetOrganizationRecommendationResponse
Get a specific recommendation within an AWS Organizations organization. This API supports only prioritized recommendations.
536 537 538 539 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 536 def get_organization_recommendation(params = {}, = {}) req = build_request(:get_organization_recommendation, params) req.send_request() end |
#get_recommendation(params = {}) ⇒ Types::GetRecommendationResponse
Get a specific Recommendation
589 590 591 592 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 589 def get_recommendation(params = {}, = {}) req = build_request(:get_recommendation, params) req.send_request() end |
#list_checks(params = {}) ⇒ Types::ListChecksResponse
List a filterable set of Checks
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
655 656 657 658 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 655 def list_checks(params = {}, = {}) req = build_request(:list_checks, params) req.send_request() end |
#list_organization_recommendation_accounts(params = {}) ⇒ Types::ListOrganizationRecommendationAccountsResponse
Lists the accounts that own the resources for an organization aggregate recommendation. This API only supports prioritized recommendations.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
711 712 713 714 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 711 def list_organization_recommendation_accounts(params = {}, = {}) req = build_request(:list_organization_recommendation_accounts, params) req.send_request() end |
#list_organization_recommendation_resources(params = {}) ⇒ Types::ListOrganizationRecommendationResourcesResponse
List Resources of a Recommendation within an Organization. This API only supports prioritized recommendations.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
781 782 783 784 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 781 def list_organization_recommendation_resources(params = {}, = {}) req = build_request(:list_organization_recommendation_resources, params) req.send_request() end |
#list_organization_recommendations(params = {}) ⇒ Types::ListOrganizationRecommendationsResponse
List a filterable set of Recommendations within an Organization. This API only supports prioritized recommendations.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
871 872 873 874 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 871 def list_organization_recommendations(params = {}, = {}) req = build_request(:list_organization_recommendations, params) req.send_request() end |
#list_recommendation_resources(params = {}) ⇒ Types::ListRecommendationResourcesResponse
List Resources of a Recommendation
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
935 936 937 938 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 935 def list_recommendation_resources(params = {}, = {}) req = build_request(:list_recommendation_resources, params) req.send_request() end |
#list_recommendations(params = {}) ⇒ Types::ListRecommendationsResponse
List a filterable set of Recommendations
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1024 1025 1026 1027 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 1024 def list_recommendations(params = {}, = {}) req = build_request(:list_recommendations, params) req.send_request() end |
#update_organization_recommendation_lifecycle(params = {}) ⇒ Struct
Update the lifecycle of a Recommendation within an Organization. This API only supports prioritized recommendations.
1060 1061 1062 1063 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 1060 def update_organization_recommendation_lifecycle(params = {}, = {}) req = build_request(:update_organization_recommendation_lifecycle, params) req.send_request() end |
#update_recommendation_lifecycle(params = {}) ⇒ Struct
Update the lifecyle of a Recommendation. This API only supports prioritized recommendations.
1096 1097 1098 1099 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 1096 def update_recommendation_lifecycle(params = {}, = {}) req = build_request(:update_recommendation_lifecycle, params) req.send_request() end |