aws-sdk-trustedadvisor 1.2.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-trustedadvisor/client.rb +70 -46
- data/lib/aws-sdk-trustedadvisor/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-trustedadvisor.rb +1 -1
- data/sig/client.rbs +216 -0
- data/sig/errors.rbs +34 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +331 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec9e4f637dbe85b4f32fb889064c1414a897b205e60835f309fcb147afa32732
|
4
|
+
data.tar.gz: 76b9507f007e9630b6f7b9ff0618fbfe002735c92a4151c87943ac9cdeaf8b96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a045eb0bb384be0f99d4ff0562990c86b64486ec5caa2e1e593297e9089cbf8b435102fc9e4b156bd55c37b6ce276f1e99a57814a7486c14f925415d7bed7cc
|
7
|
+
data.tar.gz: e119305bea9aff1a4b95db213adca3a61a588e0edcbf5bbbe7a61b54f276b9c3057bb629f90207480d1fba1bebd820d5e5eb3710e6a18d865d1dfd5f18534578
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.4.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.3.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.2.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.4.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::TrustedAdvisor
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::TrustedAdvisor
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,50 +346,65 @@ module Aws::TrustedAdvisor
|
|
337
346
|
# @option options [Aws::TrustedAdvisor::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::TrustedAdvisor::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
365
399
|
#
|
366
|
-
# @option options [
|
367
|
-
#
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
368
402
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
372
405
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
378
|
-
#
|
379
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
380
|
-
# directory that contains the unbundled SSL certificate
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -1005,7 +1029,7 @@ module Aws::TrustedAdvisor
|
|
1005
1029
|
params: params,
|
1006
1030
|
config: config)
|
1007
1031
|
context[:gem_name] = 'aws-sdk-trustedadvisor'
|
1008
|
-
context[:gem_version] = '1.
|
1032
|
+
context[:gem_version] = '1.4.0'
|
1009
1033
|
Seahorse::Client::Request.new(handlers, context)
|
1010
1034
|
end
|
1011
1035
|
|
@@ -14,6 +14,7 @@ module Aws::TrustedAdvisor
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::TrustedAdvisor::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,216 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module TrustedAdvisor
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TrustedAdvisor/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _GetOrganizationRecommendationResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetOrganizationRecommendationResponse]
|
77
|
+
def organization_recommendation: () -> Types::OrganizationRecommendation
|
78
|
+
end
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TrustedAdvisor/Client.html#get_organization_recommendation-instance_method
|
80
|
+
def get_organization_recommendation: (
|
81
|
+
organization_recommendation_identifier: ::String
|
82
|
+
) -> _GetOrganizationRecommendationResponseSuccess
|
83
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOrganizationRecommendationResponseSuccess
|
84
|
+
|
85
|
+
interface _GetRecommendationResponseSuccess
|
86
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetRecommendationResponse]
|
87
|
+
def recommendation: () -> Types::Recommendation
|
88
|
+
end
|
89
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TrustedAdvisor/Client.html#get_recommendation-instance_method
|
90
|
+
def get_recommendation: (
|
91
|
+
recommendation_identifier: ::String
|
92
|
+
) -> _GetRecommendationResponseSuccess
|
93
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRecommendationResponseSuccess
|
94
|
+
|
95
|
+
interface _ListChecksResponseSuccess
|
96
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListChecksResponse]
|
97
|
+
def check_summaries: () -> ::Array[Types::CheckSummary]
|
98
|
+
def next_token: () -> ::String
|
99
|
+
end
|
100
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TrustedAdvisor/Client.html#list_checks-instance_method
|
101
|
+
def list_checks: (
|
102
|
+
?aws_service: ::String,
|
103
|
+
?language: ("en" | "ja" | "zh" | "fr" | "de" | "ko" | "zh_TW" | "it" | "es" | "pt_BR" | "id"),
|
104
|
+
?max_results: ::Integer,
|
105
|
+
?next_token: ::String,
|
106
|
+
?pillar: ("cost_optimizing" | "performance" | "security" | "service_limits" | "fault_tolerance" | "operational_excellence"),
|
107
|
+
?source: ("aws_config" | "compute_optimizer" | "cost_explorer" | "lse" | "manual" | "pse" | "rds" | "resilience" | "resilience_hub" | "security_hub" | "stir" | "ta_check" | "well_architected")
|
108
|
+
) -> _ListChecksResponseSuccess
|
109
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChecksResponseSuccess
|
110
|
+
|
111
|
+
interface _ListOrganizationRecommendationAccountsResponseSuccess
|
112
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListOrganizationRecommendationAccountsResponse]
|
113
|
+
def account_recommendation_lifecycle_summaries: () -> ::Array[Types::AccountRecommendationLifecycleSummary]
|
114
|
+
def next_token: () -> ::String
|
115
|
+
end
|
116
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TrustedAdvisor/Client.html#list_organization_recommendation_accounts-instance_method
|
117
|
+
def list_organization_recommendation_accounts: (
|
118
|
+
?affected_account_id: ::String,
|
119
|
+
?max_results: ::Integer,
|
120
|
+
?next_token: ::String,
|
121
|
+
organization_recommendation_identifier: ::String
|
122
|
+
) -> _ListOrganizationRecommendationAccountsResponseSuccess
|
123
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOrganizationRecommendationAccountsResponseSuccess
|
124
|
+
|
125
|
+
interface _ListOrganizationRecommendationResourcesResponseSuccess
|
126
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListOrganizationRecommendationResourcesResponse]
|
127
|
+
def next_token: () -> ::String
|
128
|
+
def organization_recommendation_resource_summaries: () -> ::Array[Types::OrganizationRecommendationResourceSummary]
|
129
|
+
end
|
130
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TrustedAdvisor/Client.html#list_organization_recommendation_resources-instance_method
|
131
|
+
def list_organization_recommendation_resources: (
|
132
|
+
?affected_account_id: ::String,
|
133
|
+
?max_results: ::Integer,
|
134
|
+
?next_token: ::String,
|
135
|
+
organization_recommendation_identifier: ::String,
|
136
|
+
?region_code: ::String,
|
137
|
+
?status: ("ok" | "warning" | "error")
|
138
|
+
) -> _ListOrganizationRecommendationResourcesResponseSuccess
|
139
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOrganizationRecommendationResourcesResponseSuccess
|
140
|
+
|
141
|
+
interface _ListOrganizationRecommendationsResponseSuccess
|
142
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListOrganizationRecommendationsResponse]
|
143
|
+
def next_token: () -> ::String
|
144
|
+
def organization_recommendation_summaries: () -> ::Array[Types::OrganizationRecommendationSummary]
|
145
|
+
end
|
146
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TrustedAdvisor/Client.html#list_organization_recommendations-instance_method
|
147
|
+
def list_organization_recommendations: (
|
148
|
+
?after_last_updated_at: ::Time,
|
149
|
+
?aws_service: ::String,
|
150
|
+
?before_last_updated_at: ::Time,
|
151
|
+
?check_identifier: ::String,
|
152
|
+
?max_results: ::Integer,
|
153
|
+
?next_token: ::String,
|
154
|
+
?pillar: ("cost_optimizing" | "performance" | "security" | "service_limits" | "fault_tolerance" | "operational_excellence"),
|
155
|
+
?source: ("aws_config" | "compute_optimizer" | "cost_explorer" | "lse" | "manual" | "pse" | "rds" | "resilience" | "resilience_hub" | "security_hub" | "stir" | "ta_check" | "well_architected"),
|
156
|
+
?status: ("ok" | "warning" | "error"),
|
157
|
+
?type: ("standard" | "priority")
|
158
|
+
) -> _ListOrganizationRecommendationsResponseSuccess
|
159
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOrganizationRecommendationsResponseSuccess
|
160
|
+
|
161
|
+
interface _ListRecommendationResourcesResponseSuccess
|
162
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRecommendationResourcesResponse]
|
163
|
+
def next_token: () -> ::String
|
164
|
+
def recommendation_resource_summaries: () -> ::Array[Types::RecommendationResourceSummary]
|
165
|
+
end
|
166
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TrustedAdvisor/Client.html#list_recommendation_resources-instance_method
|
167
|
+
def list_recommendation_resources: (
|
168
|
+
?max_results: ::Integer,
|
169
|
+
?next_token: ::String,
|
170
|
+
recommendation_identifier: ::String,
|
171
|
+
?region_code: ::String,
|
172
|
+
?status: ("ok" | "warning" | "error")
|
173
|
+
) -> _ListRecommendationResourcesResponseSuccess
|
174
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRecommendationResourcesResponseSuccess
|
175
|
+
|
176
|
+
interface _ListRecommendationsResponseSuccess
|
177
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRecommendationsResponse]
|
178
|
+
def next_token: () -> ::String
|
179
|
+
def recommendation_summaries: () -> ::Array[Types::RecommendationSummary]
|
180
|
+
end
|
181
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TrustedAdvisor/Client.html#list_recommendations-instance_method
|
182
|
+
def list_recommendations: (
|
183
|
+
?after_last_updated_at: ::Time,
|
184
|
+
?aws_service: ::String,
|
185
|
+
?before_last_updated_at: ::Time,
|
186
|
+
?check_identifier: ::String,
|
187
|
+
?max_results: ::Integer,
|
188
|
+
?next_token: ::String,
|
189
|
+
?pillar: ("cost_optimizing" | "performance" | "security" | "service_limits" | "fault_tolerance" | "operational_excellence"),
|
190
|
+
?source: ("aws_config" | "compute_optimizer" | "cost_explorer" | "lse" | "manual" | "pse" | "rds" | "resilience" | "resilience_hub" | "security_hub" | "stir" | "ta_check" | "well_architected"),
|
191
|
+
?status: ("ok" | "warning" | "error"),
|
192
|
+
?type: ("standard" | "priority")
|
193
|
+
) -> _ListRecommendationsResponseSuccess
|
194
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRecommendationsResponseSuccess
|
195
|
+
|
196
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TrustedAdvisor/Client.html#update_organization_recommendation_lifecycle-instance_method
|
197
|
+
def update_organization_recommendation_lifecycle: (
|
198
|
+
lifecycle_stage: ("pending_response" | "in_progress" | "dismissed" | "resolved"),
|
199
|
+
organization_recommendation_identifier: ::String,
|
200
|
+
?update_reason: ::String,
|
201
|
+
?update_reason_code: ("non_critical_account" | "temporary_account" | "valid_business_case" | "other_methods_available" | "low_priority" | "not_applicable" | "other")
|
202
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
203
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
204
|
+
|
205
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TrustedAdvisor/Client.html#update_recommendation_lifecycle-instance_method
|
206
|
+
def update_recommendation_lifecycle: (
|
207
|
+
lifecycle_stage: ("pending_response" | "in_progress" | "dismissed" | "resolved"),
|
208
|
+
recommendation_identifier: ::String,
|
209
|
+
?update_reason: ::String,
|
210
|
+
?update_reason_code: ("non_critical_account" | "temporary_account" | "valid_business_case" | "other_methods_available" | "low_priority" | "not_applicable" | "other")
|
211
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
212
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
213
|
+
end
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module TrustedAdvisor
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
23
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
24
|
+
def message: () -> ::String
|
25
|
+
end
|
26
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
end
|
29
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module TrustedAdvisor
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TrustedAdvisor/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/TrustedAdvisor/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,331 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::TrustedAdvisor
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class AccountRecommendationLifecycleSummary
|
17
|
+
attr_accessor account_id: ::String
|
18
|
+
attr_accessor account_recommendation_arn: ::String
|
19
|
+
attr_accessor last_updated_at: ::Time
|
20
|
+
attr_accessor lifecycle_stage: ("in_progress" | "pending_response" | "dismissed" | "resolved")
|
21
|
+
attr_accessor update_reason: ::String
|
22
|
+
attr_accessor update_reason_code: ("non_critical_account" | "temporary_account" | "valid_business_case" | "other_methods_available" | "low_priority" | "not_applicable" | "other")
|
23
|
+
attr_accessor updated_on_behalf_of: ::String
|
24
|
+
attr_accessor updated_on_behalf_of_job_title: ::String
|
25
|
+
SENSITIVE: [:update_reason]
|
26
|
+
end
|
27
|
+
|
28
|
+
class CheckSummary
|
29
|
+
attr_accessor arn: ::String
|
30
|
+
attr_accessor aws_services: ::Array[::String]
|
31
|
+
attr_accessor description: ::String
|
32
|
+
attr_accessor id: ::String
|
33
|
+
attr_accessor metadata: ::Hash[::String, ::String]
|
34
|
+
attr_accessor name: ::String
|
35
|
+
attr_accessor pillars: ::Array[("cost_optimizing" | "performance" | "security" | "service_limits" | "fault_tolerance" | "operational_excellence")]
|
36
|
+
attr_accessor source: ("aws_config" | "compute_optimizer" | "cost_explorer" | "lse" | "manual" | "pse" | "rds" | "resilience" | "resilience_hub" | "security_hub" | "stir" | "ta_check" | "well_architected")
|
37
|
+
SENSITIVE: []
|
38
|
+
end
|
39
|
+
|
40
|
+
class ConflictException
|
41
|
+
attr_accessor message: ::String
|
42
|
+
SENSITIVE: []
|
43
|
+
end
|
44
|
+
|
45
|
+
class GetOrganizationRecommendationRequest
|
46
|
+
attr_accessor organization_recommendation_identifier: ::String
|
47
|
+
SENSITIVE: []
|
48
|
+
end
|
49
|
+
|
50
|
+
class GetOrganizationRecommendationResponse
|
51
|
+
attr_accessor organization_recommendation: Types::OrganizationRecommendation
|
52
|
+
SENSITIVE: []
|
53
|
+
end
|
54
|
+
|
55
|
+
class GetRecommendationRequest
|
56
|
+
attr_accessor recommendation_identifier: ::String
|
57
|
+
SENSITIVE: []
|
58
|
+
end
|
59
|
+
|
60
|
+
class GetRecommendationResponse
|
61
|
+
attr_accessor recommendation: Types::Recommendation
|
62
|
+
SENSITIVE: []
|
63
|
+
end
|
64
|
+
|
65
|
+
class InternalServerException
|
66
|
+
attr_accessor message: ::String
|
67
|
+
SENSITIVE: []
|
68
|
+
end
|
69
|
+
|
70
|
+
class ListChecksRequest
|
71
|
+
attr_accessor aws_service: ::String
|
72
|
+
attr_accessor language: ("en" | "ja" | "zh" | "fr" | "de" | "ko" | "zh_TW" | "it" | "es" | "pt_BR" | "id")
|
73
|
+
attr_accessor max_results: ::Integer
|
74
|
+
attr_accessor next_token: ::String
|
75
|
+
attr_accessor pillar: ("cost_optimizing" | "performance" | "security" | "service_limits" | "fault_tolerance" | "operational_excellence")
|
76
|
+
attr_accessor source: ("aws_config" | "compute_optimizer" | "cost_explorer" | "lse" | "manual" | "pse" | "rds" | "resilience" | "resilience_hub" | "security_hub" | "stir" | "ta_check" | "well_architected")
|
77
|
+
SENSITIVE: []
|
78
|
+
end
|
79
|
+
|
80
|
+
class ListChecksResponse
|
81
|
+
attr_accessor check_summaries: ::Array[Types::CheckSummary]
|
82
|
+
attr_accessor next_token: ::String
|
83
|
+
SENSITIVE: []
|
84
|
+
end
|
85
|
+
|
86
|
+
class ListOrganizationRecommendationAccountsRequest
|
87
|
+
attr_accessor affected_account_id: ::String
|
88
|
+
attr_accessor max_results: ::Integer
|
89
|
+
attr_accessor next_token: ::String
|
90
|
+
attr_accessor organization_recommendation_identifier: ::String
|
91
|
+
SENSITIVE: []
|
92
|
+
end
|
93
|
+
|
94
|
+
class ListOrganizationRecommendationAccountsResponse
|
95
|
+
attr_accessor account_recommendation_lifecycle_summaries: ::Array[Types::AccountRecommendationLifecycleSummary]
|
96
|
+
attr_accessor next_token: ::String
|
97
|
+
SENSITIVE: []
|
98
|
+
end
|
99
|
+
|
100
|
+
class ListOrganizationRecommendationResourcesRequest
|
101
|
+
attr_accessor affected_account_id: ::String
|
102
|
+
attr_accessor max_results: ::Integer
|
103
|
+
attr_accessor next_token: ::String
|
104
|
+
attr_accessor organization_recommendation_identifier: ::String
|
105
|
+
attr_accessor region_code: ::String
|
106
|
+
attr_accessor status: ("ok" | "warning" | "error")
|
107
|
+
SENSITIVE: []
|
108
|
+
end
|
109
|
+
|
110
|
+
class ListOrganizationRecommendationResourcesResponse
|
111
|
+
attr_accessor next_token: ::String
|
112
|
+
attr_accessor organization_recommendation_resource_summaries: ::Array[Types::OrganizationRecommendationResourceSummary]
|
113
|
+
SENSITIVE: []
|
114
|
+
end
|
115
|
+
|
116
|
+
class ListOrganizationRecommendationsRequest
|
117
|
+
attr_accessor after_last_updated_at: ::Time
|
118
|
+
attr_accessor aws_service: ::String
|
119
|
+
attr_accessor before_last_updated_at: ::Time
|
120
|
+
attr_accessor check_identifier: ::String
|
121
|
+
attr_accessor max_results: ::Integer
|
122
|
+
attr_accessor next_token: ::String
|
123
|
+
attr_accessor pillar: ("cost_optimizing" | "performance" | "security" | "service_limits" | "fault_tolerance" | "operational_excellence")
|
124
|
+
attr_accessor source: ("aws_config" | "compute_optimizer" | "cost_explorer" | "lse" | "manual" | "pse" | "rds" | "resilience" | "resilience_hub" | "security_hub" | "stir" | "ta_check" | "well_architected")
|
125
|
+
attr_accessor status: ("ok" | "warning" | "error")
|
126
|
+
attr_accessor type: ("standard" | "priority")
|
127
|
+
SENSITIVE: []
|
128
|
+
end
|
129
|
+
|
130
|
+
class ListOrganizationRecommendationsResponse
|
131
|
+
attr_accessor next_token: ::String
|
132
|
+
attr_accessor organization_recommendation_summaries: ::Array[Types::OrganizationRecommendationSummary]
|
133
|
+
SENSITIVE: []
|
134
|
+
end
|
135
|
+
|
136
|
+
class ListRecommendationResourcesRequest
|
137
|
+
attr_accessor max_results: ::Integer
|
138
|
+
attr_accessor next_token: ::String
|
139
|
+
attr_accessor recommendation_identifier: ::String
|
140
|
+
attr_accessor region_code: ::String
|
141
|
+
attr_accessor status: ("ok" | "warning" | "error")
|
142
|
+
SENSITIVE: []
|
143
|
+
end
|
144
|
+
|
145
|
+
class ListRecommendationResourcesResponse
|
146
|
+
attr_accessor next_token: ::String
|
147
|
+
attr_accessor recommendation_resource_summaries: ::Array[Types::RecommendationResourceSummary]
|
148
|
+
SENSITIVE: []
|
149
|
+
end
|
150
|
+
|
151
|
+
class ListRecommendationsRequest
|
152
|
+
attr_accessor after_last_updated_at: ::Time
|
153
|
+
attr_accessor aws_service: ::String
|
154
|
+
attr_accessor before_last_updated_at: ::Time
|
155
|
+
attr_accessor check_identifier: ::String
|
156
|
+
attr_accessor max_results: ::Integer
|
157
|
+
attr_accessor next_token: ::String
|
158
|
+
attr_accessor pillar: ("cost_optimizing" | "performance" | "security" | "service_limits" | "fault_tolerance" | "operational_excellence")
|
159
|
+
attr_accessor source: ("aws_config" | "compute_optimizer" | "cost_explorer" | "lse" | "manual" | "pse" | "rds" | "resilience" | "resilience_hub" | "security_hub" | "stir" | "ta_check" | "well_architected")
|
160
|
+
attr_accessor status: ("ok" | "warning" | "error")
|
161
|
+
attr_accessor type: ("standard" | "priority")
|
162
|
+
SENSITIVE: []
|
163
|
+
end
|
164
|
+
|
165
|
+
class ListRecommendationsResponse
|
166
|
+
attr_accessor next_token: ::String
|
167
|
+
attr_accessor recommendation_summaries: ::Array[Types::RecommendationSummary]
|
168
|
+
SENSITIVE: []
|
169
|
+
end
|
170
|
+
|
171
|
+
class OrganizationRecommendation
|
172
|
+
attr_accessor arn: ::String
|
173
|
+
attr_accessor aws_services: ::Array[::String]
|
174
|
+
attr_accessor check_arn: ::String
|
175
|
+
attr_accessor created_at: ::Time
|
176
|
+
attr_accessor created_by: ::String
|
177
|
+
attr_accessor description: ::String
|
178
|
+
attr_accessor id: ::String
|
179
|
+
attr_accessor last_updated_at: ::Time
|
180
|
+
attr_accessor lifecycle_stage: ("in_progress" | "pending_response" | "dismissed" | "resolved")
|
181
|
+
attr_accessor name: ::String
|
182
|
+
attr_accessor pillar_specific_aggregates: Types::RecommendationPillarSpecificAggregates
|
183
|
+
attr_accessor pillars: ::Array[("cost_optimizing" | "performance" | "security" | "service_limits" | "fault_tolerance" | "operational_excellence")]
|
184
|
+
attr_accessor resolved_at: ::Time
|
185
|
+
attr_accessor resources_aggregates: Types::RecommendationResourcesAggregates
|
186
|
+
attr_accessor source: ("aws_config" | "compute_optimizer" | "cost_explorer" | "lse" | "manual" | "pse" | "rds" | "resilience" | "resilience_hub" | "security_hub" | "stir" | "ta_check" | "well_architected")
|
187
|
+
attr_accessor status: ("ok" | "warning" | "error")
|
188
|
+
attr_accessor type: ("standard" | "priority")
|
189
|
+
attr_accessor update_reason: ::String
|
190
|
+
attr_accessor update_reason_code: ("non_critical_account" | "temporary_account" | "valid_business_case" | "other_methods_available" | "low_priority" | "not_applicable" | "other")
|
191
|
+
attr_accessor updated_on_behalf_of: ::String
|
192
|
+
attr_accessor updated_on_behalf_of_job_title: ::String
|
193
|
+
SENSITIVE: [:update_reason]
|
194
|
+
end
|
195
|
+
|
196
|
+
class OrganizationRecommendationResourceSummary
|
197
|
+
attr_accessor account_id: ::String
|
198
|
+
attr_accessor arn: ::String
|
199
|
+
attr_accessor aws_resource_id: ::String
|
200
|
+
attr_accessor id: ::String
|
201
|
+
attr_accessor last_updated_at: ::Time
|
202
|
+
attr_accessor metadata: ::Hash[::String, ::String]
|
203
|
+
attr_accessor recommendation_arn: ::String
|
204
|
+
attr_accessor region_code: ::String
|
205
|
+
attr_accessor status: ("ok" | "warning" | "error")
|
206
|
+
SENSITIVE: []
|
207
|
+
end
|
208
|
+
|
209
|
+
class OrganizationRecommendationSummary
|
210
|
+
attr_accessor arn: ::String
|
211
|
+
attr_accessor aws_services: ::Array[::String]
|
212
|
+
attr_accessor check_arn: ::String
|
213
|
+
attr_accessor created_at: ::Time
|
214
|
+
attr_accessor id: ::String
|
215
|
+
attr_accessor last_updated_at: ::Time
|
216
|
+
attr_accessor lifecycle_stage: ("in_progress" | "pending_response" | "dismissed" | "resolved")
|
217
|
+
attr_accessor name: ::String
|
218
|
+
attr_accessor pillar_specific_aggregates: Types::RecommendationPillarSpecificAggregates
|
219
|
+
attr_accessor pillars: ::Array[("cost_optimizing" | "performance" | "security" | "service_limits" | "fault_tolerance" | "operational_excellence")]
|
220
|
+
attr_accessor resources_aggregates: Types::RecommendationResourcesAggregates
|
221
|
+
attr_accessor source: ("aws_config" | "compute_optimizer" | "cost_explorer" | "lse" | "manual" | "pse" | "rds" | "resilience" | "resilience_hub" | "security_hub" | "stir" | "ta_check" | "well_architected")
|
222
|
+
attr_accessor status: ("ok" | "warning" | "error")
|
223
|
+
attr_accessor type: ("standard" | "priority")
|
224
|
+
SENSITIVE: []
|
225
|
+
end
|
226
|
+
|
227
|
+
class Recommendation
|
228
|
+
attr_accessor arn: ::String
|
229
|
+
attr_accessor aws_services: ::Array[::String]
|
230
|
+
attr_accessor check_arn: ::String
|
231
|
+
attr_accessor created_at: ::Time
|
232
|
+
attr_accessor created_by: ::String
|
233
|
+
attr_accessor description: ::String
|
234
|
+
attr_accessor id: ::String
|
235
|
+
attr_accessor last_updated_at: ::Time
|
236
|
+
attr_accessor lifecycle_stage: ("in_progress" | "pending_response" | "dismissed" | "resolved")
|
237
|
+
attr_accessor name: ::String
|
238
|
+
attr_accessor pillar_specific_aggregates: Types::RecommendationPillarSpecificAggregates
|
239
|
+
attr_accessor pillars: ::Array[("cost_optimizing" | "performance" | "security" | "service_limits" | "fault_tolerance" | "operational_excellence")]
|
240
|
+
attr_accessor resolved_at: ::Time
|
241
|
+
attr_accessor resources_aggregates: Types::RecommendationResourcesAggregates
|
242
|
+
attr_accessor source: ("aws_config" | "compute_optimizer" | "cost_explorer" | "lse" | "manual" | "pse" | "rds" | "resilience" | "resilience_hub" | "security_hub" | "stir" | "ta_check" | "well_architected")
|
243
|
+
attr_accessor status: ("ok" | "warning" | "error")
|
244
|
+
attr_accessor type: ("standard" | "priority")
|
245
|
+
attr_accessor update_reason: ::String
|
246
|
+
attr_accessor update_reason_code: ("non_critical_account" | "temporary_account" | "valid_business_case" | "other_methods_available" | "low_priority" | "not_applicable" | "other")
|
247
|
+
attr_accessor updated_on_behalf_of: ::String
|
248
|
+
attr_accessor updated_on_behalf_of_job_title: ::String
|
249
|
+
SENSITIVE: [:update_reason]
|
250
|
+
end
|
251
|
+
|
252
|
+
class RecommendationCostOptimizingAggregates
|
253
|
+
attr_accessor estimated_monthly_savings: ::Float
|
254
|
+
attr_accessor estimated_percent_monthly_savings: ::Float
|
255
|
+
SENSITIVE: []
|
256
|
+
end
|
257
|
+
|
258
|
+
class RecommendationPillarSpecificAggregates
|
259
|
+
attr_accessor cost_optimizing: Types::RecommendationCostOptimizingAggregates
|
260
|
+
SENSITIVE: []
|
261
|
+
end
|
262
|
+
|
263
|
+
class RecommendationResourceSummary
|
264
|
+
attr_accessor arn: ::String
|
265
|
+
attr_accessor aws_resource_id: ::String
|
266
|
+
attr_accessor id: ::String
|
267
|
+
attr_accessor last_updated_at: ::Time
|
268
|
+
attr_accessor metadata: ::Hash[::String, ::String]
|
269
|
+
attr_accessor recommendation_arn: ::String
|
270
|
+
attr_accessor region_code: ::String
|
271
|
+
attr_accessor status: ("ok" | "warning" | "error")
|
272
|
+
SENSITIVE: []
|
273
|
+
end
|
274
|
+
|
275
|
+
class RecommendationResourcesAggregates
|
276
|
+
attr_accessor error_count: ::Integer
|
277
|
+
attr_accessor ok_count: ::Integer
|
278
|
+
attr_accessor warning_count: ::Integer
|
279
|
+
SENSITIVE: []
|
280
|
+
end
|
281
|
+
|
282
|
+
class RecommendationSummary
|
283
|
+
attr_accessor arn: ::String
|
284
|
+
attr_accessor aws_services: ::Array[::String]
|
285
|
+
attr_accessor check_arn: ::String
|
286
|
+
attr_accessor created_at: ::Time
|
287
|
+
attr_accessor id: ::String
|
288
|
+
attr_accessor last_updated_at: ::Time
|
289
|
+
attr_accessor lifecycle_stage: ("in_progress" | "pending_response" | "dismissed" | "resolved")
|
290
|
+
attr_accessor name: ::String
|
291
|
+
attr_accessor pillar_specific_aggregates: Types::RecommendationPillarSpecificAggregates
|
292
|
+
attr_accessor pillars: ::Array[("cost_optimizing" | "performance" | "security" | "service_limits" | "fault_tolerance" | "operational_excellence")]
|
293
|
+
attr_accessor resources_aggregates: Types::RecommendationResourcesAggregates
|
294
|
+
attr_accessor source: ("aws_config" | "compute_optimizer" | "cost_explorer" | "lse" | "manual" | "pse" | "rds" | "resilience" | "resilience_hub" | "security_hub" | "stir" | "ta_check" | "well_architected")
|
295
|
+
attr_accessor status: ("ok" | "warning" | "error")
|
296
|
+
attr_accessor type: ("standard" | "priority")
|
297
|
+
SENSITIVE: []
|
298
|
+
end
|
299
|
+
|
300
|
+
class ResourceNotFoundException
|
301
|
+
attr_accessor message: ::String
|
302
|
+
SENSITIVE: []
|
303
|
+
end
|
304
|
+
|
305
|
+
class ThrottlingException
|
306
|
+
attr_accessor message: ::String
|
307
|
+
SENSITIVE: []
|
308
|
+
end
|
309
|
+
|
310
|
+
class UpdateOrganizationRecommendationLifecycleRequest
|
311
|
+
attr_accessor lifecycle_stage: ("pending_response" | "in_progress" | "dismissed" | "resolved")
|
312
|
+
attr_accessor organization_recommendation_identifier: ::String
|
313
|
+
attr_accessor update_reason: ::String
|
314
|
+
attr_accessor update_reason_code: ("non_critical_account" | "temporary_account" | "valid_business_case" | "other_methods_available" | "low_priority" | "not_applicable" | "other")
|
315
|
+
SENSITIVE: [:update_reason]
|
316
|
+
end
|
317
|
+
|
318
|
+
class UpdateRecommendationLifecycleRequest
|
319
|
+
attr_accessor lifecycle_stage: ("pending_response" | "in_progress" | "dismissed" | "resolved")
|
320
|
+
attr_accessor recommendation_identifier: ::String
|
321
|
+
attr_accessor update_reason: ::String
|
322
|
+
attr_accessor update_reason_code: ("non_critical_account" | "temporary_account" | "valid_business_case" | "other_methods_available" | "low_priority" | "not_applicable" | "other")
|
323
|
+
SENSITIVE: [:update_reason]
|
324
|
+
end
|
325
|
+
|
326
|
+
class ValidationException
|
327
|
+
attr_accessor message: ::String
|
328
|
+
SENSITIVE: []
|
329
|
+
end
|
330
|
+
end
|
331
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module TrustedAdvisor
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-trustedadvisor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.193.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,13 +66,18 @@ files:
|
|
66
66
|
- lib/aws-sdk-trustedadvisor/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-trustedadvisor/resource.rb
|
68
68
|
- lib/aws-sdk-trustedadvisor/types.rb
|
69
|
+
- sig/client.rbs
|
70
|
+
- sig/errors.rbs
|
71
|
+
- sig/resource.rbs
|
72
|
+
- sig/types.rbs
|
73
|
+
- sig/waiters.rbs
|
69
74
|
homepage: https://github.com/aws/aws-sdk-ruby
|
70
75
|
licenses:
|
71
76
|
- Apache-2.0
|
72
77
|
metadata:
|
73
78
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-trustedadvisor
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-trustedadvisor/CHANGELOG.md
|
75
|
-
post_install_message:
|
80
|
+
post_install_message:
|
76
81
|
rdoc_options: []
|
77
82
|
require_paths:
|
78
83
|
- lib
|
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
92
|
- !ruby/object:Gem::Version
|
88
93
|
version: '0'
|
89
94
|
requirements: []
|
90
|
-
rubygems_version: 3.
|
91
|
-
signing_key:
|
95
|
+
rubygems_version: 3.4.10
|
96
|
+
signing_key:
|
92
97
|
specification_version: 4
|
93
98
|
summary: AWS SDK for Ruby - TrustedAdvisor Public API
|
94
99
|
test_files: []
|