aws-sdk-bcmrecommendedactions 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-bcmrecommendedactions/client.rb +585 -0
- data/lib/aws-sdk-bcmrecommendedactions/client_api.rb +145 -0
- data/lib/aws-sdk-bcmrecommendedactions/customizations.rb +0 -0
- data/lib/aws-sdk-bcmrecommendedactions/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-bcmrecommendedactions/endpoint_provider.rb +32 -0
- data/lib/aws-sdk-bcmrecommendedactions/endpoints.rb +20 -0
- data/lib/aws-sdk-bcmrecommendedactions/errors.rb +112 -0
- data/lib/aws-sdk-bcmrecommendedactions/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-bcmrecommendedactions/resource.rb +26 -0
- data/lib/aws-sdk-bcmrecommendedactions/types.rb +236 -0
- data/lib/aws-sdk-bcmrecommendedactions/waiters.rb +15 -0
- data/lib/aws-sdk-bcmrecommendedactions.rb +62 -0
- data/sig/client.rbs +105 -0
- data/sig/errors.rbs +30 -0
- data/sig/resource.rbs +86 -0
- data/sig/types.rbs +76 -0
- data/sig/waiters.rbs +13 -0
- metadata +97 -0
@@ -0,0 +1,236 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::BCMRecommendedActions
|
11
|
+
module Types
|
12
|
+
|
13
|
+
# You do not have sufficient access to perform this action.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bcm-recommended-actions-2024-11-14/AccessDeniedException AWS API Documentation
|
19
|
+
#
|
20
|
+
class AccessDeniedException < Struct.new(
|
21
|
+
:message)
|
22
|
+
SENSITIVE = []
|
23
|
+
include Aws::Structure
|
24
|
+
end
|
25
|
+
|
26
|
+
# Describes a filter that returns a more specific list of recommended
|
27
|
+
# actions.
|
28
|
+
#
|
29
|
+
# @!attribute [rw] key
|
30
|
+
# The category to filter on. Valid values are `FEATURE` for feature
|
31
|
+
# type, `SEVERITY` for severity level, and `TYPE` for recommendation
|
32
|
+
# type.
|
33
|
+
# @return [String]
|
34
|
+
#
|
35
|
+
# @!attribute [rw] match_option
|
36
|
+
# Specifies how to apply the filter. Use `EQUALS` to include matching
|
37
|
+
# results or `NOT_EQUALS` to exclude matching results.
|
38
|
+
# @return [String]
|
39
|
+
#
|
40
|
+
# @!attribute [rw] values
|
41
|
+
# One or more values to match against the specified key.
|
42
|
+
# @return [Array<String>]
|
43
|
+
#
|
44
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bcm-recommended-actions-2024-11-14/ActionFilter AWS API Documentation
|
45
|
+
#
|
46
|
+
class ActionFilter < Struct.new(
|
47
|
+
:key,
|
48
|
+
:match_option,
|
49
|
+
:values)
|
50
|
+
SENSITIVE = []
|
51
|
+
include Aws::Structure
|
52
|
+
end
|
53
|
+
|
54
|
+
# An unexpected error occurred during the processing of your request.
|
55
|
+
#
|
56
|
+
# @!attribute [rw] message
|
57
|
+
# @return [String]
|
58
|
+
#
|
59
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bcm-recommended-actions-2024-11-14/InternalServerException AWS API Documentation
|
60
|
+
#
|
61
|
+
class InternalServerException < Struct.new(
|
62
|
+
:message)
|
63
|
+
SENSITIVE = []
|
64
|
+
include Aws::Structure
|
65
|
+
end
|
66
|
+
|
67
|
+
# @!attribute [rw] filter
|
68
|
+
# The criteria that you want all returned recommended actions to
|
69
|
+
# match.
|
70
|
+
# @return [Types::RequestFilter]
|
71
|
+
#
|
72
|
+
# @!attribute [rw] max_results
|
73
|
+
# The maximum number of results to return in the response.
|
74
|
+
# @return [Integer]
|
75
|
+
#
|
76
|
+
# @!attribute [rw] next_token
|
77
|
+
# The pagination token that indicates the next set of results that you
|
78
|
+
# want to retrieve.
|
79
|
+
# @return [String]
|
80
|
+
#
|
81
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bcm-recommended-actions-2024-11-14/ListRecommendedActionsRequest AWS API Documentation
|
82
|
+
#
|
83
|
+
class ListRecommendedActionsRequest < Struct.new(
|
84
|
+
:filter,
|
85
|
+
:max_results,
|
86
|
+
:next_token)
|
87
|
+
SENSITIVE = []
|
88
|
+
include Aws::Structure
|
89
|
+
end
|
90
|
+
|
91
|
+
# @!attribute [rw] recommended_actions
|
92
|
+
# The list of recommended actions that satisfy the filter criteria.
|
93
|
+
# @return [Array<Types::RecommendedAction>]
|
94
|
+
#
|
95
|
+
# @!attribute [rw] next_token
|
96
|
+
# The pagination token that indicates the next set of results that you
|
97
|
+
# want to retrieve.
|
98
|
+
# @return [String]
|
99
|
+
#
|
100
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bcm-recommended-actions-2024-11-14/ListRecommendedActionsResponse AWS API Documentation
|
101
|
+
#
|
102
|
+
class ListRecommendedActionsResponse < Struct.new(
|
103
|
+
:recommended_actions,
|
104
|
+
:next_token)
|
105
|
+
SENSITIVE = []
|
106
|
+
include Aws::Structure
|
107
|
+
end
|
108
|
+
|
109
|
+
# Describes a specific recommended action.
|
110
|
+
#
|
111
|
+
# @!attribute [rw] id
|
112
|
+
# The ID for the recommended action.
|
113
|
+
# @return [String]
|
114
|
+
#
|
115
|
+
# @!attribute [rw] type
|
116
|
+
# The type of action you can take by adopting the recommended action.
|
117
|
+
# @return [String]
|
118
|
+
#
|
119
|
+
# @!attribute [rw] account_id
|
120
|
+
# The account that the recommended action is for.
|
121
|
+
# @return [String]
|
122
|
+
#
|
123
|
+
# @!attribute [rw] severity
|
124
|
+
# The severity associated with the recommended action.
|
125
|
+
# @return [String]
|
126
|
+
#
|
127
|
+
# @!attribute [rw] feature
|
128
|
+
# The feature associated with the recommended action.
|
129
|
+
# @return [String]
|
130
|
+
#
|
131
|
+
# @!attribute [rw] context
|
132
|
+
# Context that applies to the recommended action.
|
133
|
+
# @return [Hash<String,String>]
|
134
|
+
#
|
135
|
+
# @!attribute [rw] next_steps
|
136
|
+
# The possible next steps to execute the recommended action.
|
137
|
+
# @return [Array<String>]
|
138
|
+
#
|
139
|
+
# @!attribute [rw] last_updated_time_stamp
|
140
|
+
# The time when the recommended action status was last updated.
|
141
|
+
# @return [String]
|
142
|
+
#
|
143
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bcm-recommended-actions-2024-11-14/RecommendedAction AWS API Documentation
|
144
|
+
#
|
145
|
+
class RecommendedAction < Struct.new(
|
146
|
+
:id,
|
147
|
+
:type,
|
148
|
+
:account_id,
|
149
|
+
:severity,
|
150
|
+
:feature,
|
151
|
+
:context,
|
152
|
+
:next_steps,
|
153
|
+
:last_updated_time_stamp)
|
154
|
+
SENSITIVE = []
|
155
|
+
include Aws::Structure
|
156
|
+
end
|
157
|
+
|
158
|
+
# Enables filtering of results based on specified action criteria. You
|
159
|
+
# can define multiple action filters to refine results using
|
160
|
+
# combinations of feature type, severity level, and recommendation type.
|
161
|
+
#
|
162
|
+
# @!attribute [rw] actions
|
163
|
+
# A list of action filters that define criteria for filtering results.
|
164
|
+
# Each filter specifies a key, match option, and corresponding values
|
165
|
+
# to filter on.
|
166
|
+
# @return [Array<Types::ActionFilter>]
|
167
|
+
#
|
168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bcm-recommended-actions-2024-11-14/RequestFilter AWS API Documentation
|
169
|
+
#
|
170
|
+
class RequestFilter < Struct.new(
|
171
|
+
:actions)
|
172
|
+
SENSITIVE = []
|
173
|
+
include Aws::Structure
|
174
|
+
end
|
175
|
+
|
176
|
+
# The request was denied due to request throttling.
|
177
|
+
#
|
178
|
+
# @!attribute [rw] message
|
179
|
+
# @return [String]
|
180
|
+
#
|
181
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bcm-recommended-actions-2024-11-14/ThrottlingException AWS API Documentation
|
182
|
+
#
|
183
|
+
class ThrottlingException < Struct.new(
|
184
|
+
:message)
|
185
|
+
SENSITIVE = []
|
186
|
+
include Aws::Structure
|
187
|
+
end
|
188
|
+
|
189
|
+
# The input fails to satisfy the constraints specified by an Amazon Web
|
190
|
+
# Services service.
|
191
|
+
#
|
192
|
+
# @!attribute [rw] message
|
193
|
+
# @return [String]
|
194
|
+
#
|
195
|
+
# @!attribute [rw] reason
|
196
|
+
# Provides a single, overarching explanation for the validation
|
197
|
+
# failure.
|
198
|
+
# @return [String]
|
199
|
+
#
|
200
|
+
# @!attribute [rw] field_list
|
201
|
+
# Lists each problematic field and why it failed validation.
|
202
|
+
# @return [Array<Types::ValidationExceptionField>]
|
203
|
+
#
|
204
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bcm-recommended-actions-2024-11-14/ValidationException AWS API Documentation
|
205
|
+
#
|
206
|
+
class ValidationException < Struct.new(
|
207
|
+
:message,
|
208
|
+
:reason,
|
209
|
+
:field_list)
|
210
|
+
SENSITIVE = []
|
211
|
+
include Aws::Structure
|
212
|
+
end
|
213
|
+
|
214
|
+
# Provides specific details about why a particular field failed
|
215
|
+
# validation.
|
216
|
+
#
|
217
|
+
# @!attribute [rw] name
|
218
|
+
# Provides the name of the field that failed validation.
|
219
|
+
# @return [String]
|
220
|
+
#
|
221
|
+
# @!attribute [rw] message
|
222
|
+
# Provides a message explaining why the field failed validation.
|
223
|
+
# @return [String]
|
224
|
+
#
|
225
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bcm-recommended-actions-2024-11-14/ValidationExceptionField AWS API Documentation
|
226
|
+
#
|
227
|
+
class ValidationExceptionField < Struct.new(
|
228
|
+
:name,
|
229
|
+
:message)
|
230
|
+
SENSITIVE = []
|
231
|
+
include Aws::Structure
|
232
|
+
end
|
233
|
+
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
require 'aws-sdk-core/waiters'
|
11
|
+
|
12
|
+
module Aws::BCMRecommendedActions
|
13
|
+
module Waiters
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
require 'aws-sdk-core'
|
12
|
+
require 'aws-sigv4'
|
13
|
+
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:bcmrecommendedactions)
|
15
|
+
|
16
|
+
# This module provides support for AWS Billing and Cost Management Recommended Actions. This module is available in the
|
17
|
+
# `aws-sdk-bcmrecommendedactions` gem.
|
18
|
+
#
|
19
|
+
# # Client
|
20
|
+
#
|
21
|
+
# The {Client} class provides one method for each API operation. Operation
|
22
|
+
# methods each accept a hash of request parameters and return a response
|
23
|
+
# structure.
|
24
|
+
#
|
25
|
+
# bcm_recommended_actions = Aws::BCMRecommendedActions::Client.new
|
26
|
+
# resp = bcm_recommended_actions.list_recommended_actions(params)
|
27
|
+
#
|
28
|
+
# See {Client} for more information.
|
29
|
+
#
|
30
|
+
# # Errors
|
31
|
+
#
|
32
|
+
# Errors returned from AWS Billing and Cost Management Recommended Actions are defined in the
|
33
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
34
|
+
#
|
35
|
+
# begin
|
36
|
+
# # do stuff
|
37
|
+
# rescue Aws::BCMRecommendedActions::Errors::ServiceError
|
38
|
+
# # rescues all AWS Billing and Cost Management Recommended Actions API errors
|
39
|
+
# end
|
40
|
+
#
|
41
|
+
# See {Errors} for more information.
|
42
|
+
#
|
43
|
+
# @!group service
|
44
|
+
module Aws::BCMRecommendedActions
|
45
|
+
autoload :Types, 'aws-sdk-bcmrecommendedactions/types'
|
46
|
+
autoload :ClientApi, 'aws-sdk-bcmrecommendedactions/client_api'
|
47
|
+
module Plugins
|
48
|
+
autoload :Endpoints, 'aws-sdk-bcmrecommendedactions/plugins/endpoints.rb'
|
49
|
+
end
|
50
|
+
autoload :Client, 'aws-sdk-bcmrecommendedactions/client'
|
51
|
+
autoload :Errors, 'aws-sdk-bcmrecommendedactions/errors'
|
52
|
+
autoload :Waiters, 'aws-sdk-bcmrecommendedactions/waiters'
|
53
|
+
autoload :Resource, 'aws-sdk-bcmrecommendedactions/resource'
|
54
|
+
autoload :EndpointParameters, 'aws-sdk-bcmrecommendedactions/endpoint_parameters'
|
55
|
+
autoload :EndpointProvider, 'aws-sdk-bcmrecommendedactions/endpoint_provider'
|
56
|
+
autoload :Endpoints, 'aws-sdk-bcmrecommendedactions/endpoints'
|
57
|
+
|
58
|
+
GEM_VERSION = '1.0.0'
|
59
|
+
|
60
|
+
end
|
61
|
+
|
62
|
+
require_relative 'aws-sdk-bcmrecommendedactions/customizations'
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,105 @@
|
|
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 BCMRecommendedActions
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMRecommendedActions/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?account_id: String,
|
19
|
+
?active_endpoint_cache: bool,
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
22
|
+
?client_side_monitoring: bool,
|
23
|
+
?client_side_monitoring_client_id: String,
|
24
|
+
?client_side_monitoring_host: String,
|
25
|
+
?client_side_monitoring_port: Integer,
|
26
|
+
?client_side_monitoring_publisher: untyped,
|
27
|
+
?convert_params: bool,
|
28
|
+
?correct_clock_skew: bool,
|
29
|
+
?defaults_mode: String,
|
30
|
+
?disable_host_prefix_injection: bool,
|
31
|
+
?disable_request_compression: bool,
|
32
|
+
?endpoint: String,
|
33
|
+
?endpoint_cache_max_entries: Integer,
|
34
|
+
?endpoint_cache_max_threads: Integer,
|
35
|
+
?endpoint_cache_poll_interval: Integer,
|
36
|
+
?endpoint_discovery: bool,
|
37
|
+
?ignore_configured_endpoint_urls: bool,
|
38
|
+
?log_formatter: untyped,
|
39
|
+
?log_level: Symbol,
|
40
|
+
?logger: untyped,
|
41
|
+
?max_attempts: Integer,
|
42
|
+
?profile: String,
|
43
|
+
?request_checksum_calculation: String,
|
44
|
+
?request_min_compression_size_bytes: Integer,
|
45
|
+
?response_checksum_validation: String,
|
46
|
+
?retry_backoff: Proc,
|
47
|
+
?retry_base_delay: Float,
|
48
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
49
|
+
?retry_limit: Integer,
|
50
|
+
?retry_max_delay: Integer,
|
51
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
52
|
+
?sdk_ua_app_id: String,
|
53
|
+
?secret_access_key: String,
|
54
|
+
?session_token: String,
|
55
|
+
?sigv4a_signing_region_set: Array[String],
|
56
|
+
?simple_json: bool,
|
57
|
+
?stub_responses: untyped,
|
58
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
59
|
+
?token_provider: untyped,
|
60
|
+
?use_dualstack_endpoint: bool,
|
61
|
+
?use_fips_endpoint: bool,
|
62
|
+
?validate_params: bool,
|
63
|
+
?endpoint_provider: untyped,
|
64
|
+
?http_proxy: String,
|
65
|
+
?http_open_timeout: (Float | Integer),
|
66
|
+
?http_read_timeout: (Float | Integer),
|
67
|
+
?http_idle_timeout: (Float | Integer),
|
68
|
+
?http_continue_timeout: (Float | Integer),
|
69
|
+
?ssl_timeout: (Float | Integer | nil),
|
70
|
+
?http_wire_trace: bool,
|
71
|
+
?ssl_verify_peer: bool,
|
72
|
+
?ssl_ca_bundle: String,
|
73
|
+
?ssl_ca_directory: String,
|
74
|
+
?ssl_ca_store: String,
|
75
|
+
?on_chunk_received: Proc,
|
76
|
+
?on_chunk_sent: Proc,
|
77
|
+
?raise_response_errors: bool
|
78
|
+
) -> instance
|
79
|
+
| (?Hash[Symbol, untyped]) -> instance
|
80
|
+
|
81
|
+
|
82
|
+
interface _ListRecommendedActionsResponseSuccess
|
83
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRecommendedActionsResponse]
|
84
|
+
def recommended_actions: () -> ::Array[Types::RecommendedAction]
|
85
|
+
def next_token: () -> ::String
|
86
|
+
end
|
87
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMRecommendedActions/Client.html#list_recommended_actions-instance_method
|
88
|
+
def list_recommended_actions: (
|
89
|
+
?filter: {
|
90
|
+
actions: Array[
|
91
|
+
{
|
92
|
+
key: ("FEATURE" | "SEVERITY" | "TYPE"),
|
93
|
+
match_option: ("EQUALS" | "NOT_EQUALS"),
|
94
|
+
values: Array[::String]
|
95
|
+
},
|
96
|
+
]?
|
97
|
+
},
|
98
|
+
?max_results: ::Integer,
|
99
|
+
?next_token: ::String
|
100
|
+
) -> _ListRecommendedActionsResponseSuccess
|
101
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRecommendedActionsResponseSuccess
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,30 @@
|
|
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 BCMRecommendedActions
|
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 InternalServerException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
23
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
24
|
+
def message: () -> ::String
|
25
|
+
def reason: () -> ::String
|
26
|
+
def field_list: () -> ::String
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,86 @@
|
|
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 BCMRecommendedActions
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMRecommendedActions/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMRecommendedActions/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?account_id: String,
|
19
|
+
?active_endpoint_cache: bool,
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
22
|
+
?client_side_monitoring: bool,
|
23
|
+
?client_side_monitoring_client_id: String,
|
24
|
+
?client_side_monitoring_host: String,
|
25
|
+
?client_side_monitoring_port: Integer,
|
26
|
+
?client_side_monitoring_publisher: untyped,
|
27
|
+
?convert_params: bool,
|
28
|
+
?correct_clock_skew: bool,
|
29
|
+
?defaults_mode: String,
|
30
|
+
?disable_host_prefix_injection: bool,
|
31
|
+
?disable_request_compression: bool,
|
32
|
+
?endpoint: String,
|
33
|
+
?endpoint_cache_max_entries: Integer,
|
34
|
+
?endpoint_cache_max_threads: Integer,
|
35
|
+
?endpoint_cache_poll_interval: Integer,
|
36
|
+
?endpoint_discovery: bool,
|
37
|
+
?ignore_configured_endpoint_urls: bool,
|
38
|
+
?log_formatter: untyped,
|
39
|
+
?log_level: Symbol,
|
40
|
+
?logger: untyped,
|
41
|
+
?max_attempts: Integer,
|
42
|
+
?profile: String,
|
43
|
+
?request_checksum_calculation: String,
|
44
|
+
?request_min_compression_size_bytes: Integer,
|
45
|
+
?response_checksum_validation: String,
|
46
|
+
?retry_backoff: Proc,
|
47
|
+
?retry_base_delay: Float,
|
48
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
49
|
+
?retry_limit: Integer,
|
50
|
+
?retry_max_delay: Integer,
|
51
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
52
|
+
?sdk_ua_app_id: String,
|
53
|
+
?secret_access_key: String,
|
54
|
+
?session_token: String,
|
55
|
+
?sigv4a_signing_region_set: Array[String],
|
56
|
+
?simple_json: bool,
|
57
|
+
?stub_responses: untyped,
|
58
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
59
|
+
?token_provider: untyped,
|
60
|
+
?use_dualstack_endpoint: bool,
|
61
|
+
?use_fips_endpoint: bool,
|
62
|
+
?validate_params: bool,
|
63
|
+
?endpoint_provider: untyped,
|
64
|
+
?http_proxy: String,
|
65
|
+
?http_open_timeout: (Float | Integer),
|
66
|
+
?http_read_timeout: (Float | Integer),
|
67
|
+
?http_idle_timeout: (Float | Integer),
|
68
|
+
?http_continue_timeout: (Float | Integer),
|
69
|
+
?ssl_timeout: (Float | Integer | nil),
|
70
|
+
?http_wire_trace: bool,
|
71
|
+
?ssl_verify_peer: bool,
|
72
|
+
?ssl_ca_bundle: String,
|
73
|
+
?ssl_ca_directory: String,
|
74
|
+
?ssl_ca_store: String,
|
75
|
+
?on_chunk_received: Proc,
|
76
|
+
?on_chunk_sent: Proc,
|
77
|
+
?raise_response_errors: bool
|
78
|
+
) -> void
|
79
|
+
| (?Hash[Symbol, untyped]) -> void
|
80
|
+
|
81
|
+
def client: () -> Client
|
82
|
+
|
83
|
+
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,76 @@
|
|
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::BCMRecommendedActions
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class ActionFilter
|
17
|
+
attr_accessor key: ("FEATURE" | "SEVERITY" | "TYPE")
|
18
|
+
attr_accessor match_option: ("EQUALS" | "NOT_EQUALS")
|
19
|
+
attr_accessor values: ::Array[::String]
|
20
|
+
SENSITIVE: []
|
21
|
+
end
|
22
|
+
|
23
|
+
class InternalServerException
|
24
|
+
attr_accessor message: ::String
|
25
|
+
SENSITIVE: []
|
26
|
+
end
|
27
|
+
|
28
|
+
class ListRecommendedActionsRequest
|
29
|
+
attr_accessor filter: Types::RequestFilter
|
30
|
+
attr_accessor max_results: ::Integer
|
31
|
+
attr_accessor next_token: ::String
|
32
|
+
SENSITIVE: []
|
33
|
+
end
|
34
|
+
|
35
|
+
class ListRecommendedActionsResponse
|
36
|
+
attr_accessor recommended_actions: ::Array[Types::RecommendedAction]
|
37
|
+
attr_accessor next_token: ::String
|
38
|
+
SENSITIVE: []
|
39
|
+
end
|
40
|
+
|
41
|
+
class RecommendedAction
|
42
|
+
attr_accessor id: ::String
|
43
|
+
attr_accessor type: ("ADD_ALTERNATE_BILLING_CONTACT" | "CREATE_ANOMALY_MONITOR" | "CREATE_BUDGET" | "ENABLE_COST_OPTIMIZATION_HUB" | "MIGRATE_TO_GRANULAR_PERMISSIONS" | "PAYMENTS_DUE" | "PAYMENTS_PAST_DUE" | "REVIEW_ANOMALIES" | "REVIEW_BUDGET_ALERTS" | "REVIEW_BUDGETS_EXCEEDED" | "REVIEW_EXPIRING_RI" | "REVIEW_EXPIRING_SP" | "REVIEW_FREETIER_USAGE_ALERTS" | "REVIEW_SAVINGS_OPPORTUNITY_RECOMMENDATIONS" | "UPDATE_EXPIRED_PAYMENT_METHOD" | "UPDATE_INVALID_PAYMENT_METHOD" | "UPDATE_TAX_EXEMPTION_CERTIFICATE" | "UPDATE_TAX_REGISTRATION_NUMBER")
|
44
|
+
attr_accessor account_id: ::String
|
45
|
+
attr_accessor severity: ("INFO" | "WARNING" | "CRITICAL")
|
46
|
+
attr_accessor feature: ("ACCOUNT" | "BUDGETS" | "COST_ANOMALY_DETECTION" | "COST_OPTIMIZATION_HUB" | "FREE_TIER" | "IAM" | "PAYMENTS" | "RESERVATIONS" | "SAVINGS_PLANS" | "TAX_SETTINGS")
|
47
|
+
attr_accessor context: ::Hash[::String, ::String]
|
48
|
+
attr_accessor next_steps: ::Array[::String]
|
49
|
+
attr_accessor last_updated_time_stamp: ::String
|
50
|
+
SENSITIVE: []
|
51
|
+
end
|
52
|
+
|
53
|
+
class RequestFilter
|
54
|
+
attr_accessor actions: ::Array[Types::ActionFilter]
|
55
|
+
SENSITIVE: []
|
56
|
+
end
|
57
|
+
|
58
|
+
class ThrottlingException
|
59
|
+
attr_accessor message: ::String
|
60
|
+
SENSITIVE: []
|
61
|
+
end
|
62
|
+
|
63
|
+
class ValidationException
|
64
|
+
attr_accessor message: ::String
|
65
|
+
attr_accessor reason: ("unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other")
|
66
|
+
attr_accessor field_list: ::Array[Types::ValidationExceptionField]
|
67
|
+
SENSITIVE: []
|
68
|
+
end
|
69
|
+
|
70
|
+
class ValidationExceptionField
|
71
|
+
attr_accessor name: ::String
|
72
|
+
attr_accessor message: ::String
|
73
|
+
SENSITIVE: []
|
74
|
+
end
|
75
|
+
end
|
76
|
+
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 BCMRecommendedActions
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|