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.
409 410 411 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 409 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
447 448 449 450 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 447 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.
501 502 503 504 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 501 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
554 555 556 557 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 554 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.
620 621 622 623 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 620 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.
676 677 678 679 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 676 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.
746 747 748 749 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 746 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.
836 837 838 839 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 836 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.
900 901 902 903 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 900 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.
989 990 991 992 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 989 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.
1025 1026 1027 1028 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 1025 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.
1061 1062 1063 1064 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 1061 def update_recommendation_lifecycle(params = {}, = {}) req = build_request(:update_recommendation_lifecycle, params) req.send_request() end |