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.
440 441 442 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 440 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
478 479 480 481 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 478 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.
532 533 534 535 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 532 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
585 586 587 588 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 585 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.
651 652 653 654 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 651 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.
707 708 709 710 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 707 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.
777 778 779 780 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 777 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.
867 868 869 870 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 867 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.
931 932 933 934 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 931 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.
1020 1021 1022 1023 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 1020 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.
1056 1057 1058 1059 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 1056 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.
1092 1093 1094 1095 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 1092 def update_recommendation_lifecycle(params = {}, = {}) req = build_request(:update_recommendation_lifecycle, params) req.send_request() end |