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.
467 468 469 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 467 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
505 506 507 508 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 505 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.
559 560 561 562 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 559 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
612 613 614 615 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 612 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.
678 679 680 681 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 678 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.
734 735 736 737 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 734 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.
804 805 806 807 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 804 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.
894 895 896 897 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 894 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.
958 959 960 961 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 958 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.
1047 1048 1049 1050 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 1047 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.
1083 1084 1085 1086 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 1083 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.
1119 1120 1121 1122 |
# File 'gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb', line 1119 def update_recommendation_lifecycle(params = {}, = {}) req = build_request(:update_recommendation_lifecycle, params) req.send_request() end |