aws-sdk-account 1.20.0 → 1.22.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-account/client.rb +70 -46
- data/lib/aws-sdk-account/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-account.rb +1 -1
- data/sig/client.rbs +176 -0
- data/sig/errors.rbs +36 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +161 -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: 7b74fd77b986f1986f87a4b57f3b43e9df17dcc3db37348aed2a9700b416e0ed
|
4
|
+
data.tar.gz: 1ae169345b9dfcdb98c6262c1fb46d1d337c236f011c9577c4ccb3f16dab7a43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7be8d9229092f0c12f11d7002bc0b4376d7baf4ba0ae2743d0a7817410f24c675503aae6165e1c533db760d4ea7b401b13cc34f0240ea43d9d9f6113381a742
|
7
|
+
data.tar.gz: 911405cf62ae2cb7a0a2bf3fa3e2aa92c0af7d34554542f4307febd3486835f6a0a8664bccf438dd4fc6ba1f9e5b1fdb91a3451d929e2ff176cc32efe9e06bda
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.22.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.21.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.20.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.22.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::Account
|
|
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::Account
|
|
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::Account
|
|
337
346
|
# @option options [Aws::Account::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::Account::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
|
@@ -1077,7 +1101,7 @@ module Aws::Account
|
|
1077
1101
|
params: params,
|
1078
1102
|
config: config)
|
1079
1103
|
context[:gem_name] = 'aws-sdk-account'
|
1080
|
-
context[:gem_version] = '1.
|
1104
|
+
context[:gem_version] = '1.22.0'
|
1081
1105
|
Seahorse::Client::Request.new(handlers, context)
|
1082
1106
|
end
|
1083
1107
|
|
@@ -14,6 +14,7 @@ module Aws::Account
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::Account::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/lib/aws-sdk-account.rb
CHANGED
data/sig/client.rbs
ADDED
@@ -0,0 +1,176 @@
|
|
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 Account
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Account/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
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Account/Client.html#delete_alternate_contact-instance_method
|
76
|
+
def delete_alternate_contact: (
|
77
|
+
?account_id: ::String,
|
78
|
+
alternate_contact_type: ("BILLING" | "OPERATIONS" | "SECURITY")
|
79
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
80
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
81
|
+
|
82
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Account/Client.html#disable_region-instance_method
|
83
|
+
def disable_region: (
|
84
|
+
?account_id: ::String,
|
85
|
+
region_name: ::String
|
86
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
87
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
88
|
+
|
89
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Account/Client.html#enable_region-instance_method
|
90
|
+
def enable_region: (
|
91
|
+
?account_id: ::String,
|
92
|
+
region_name: ::String
|
93
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
94
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
95
|
+
|
96
|
+
interface _GetAlternateContactResponseSuccess
|
97
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAlternateContactResponse]
|
98
|
+
def alternate_contact: () -> Types::AlternateContact
|
99
|
+
end
|
100
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Account/Client.html#get_alternate_contact-instance_method
|
101
|
+
def get_alternate_contact: (
|
102
|
+
?account_id: ::String,
|
103
|
+
alternate_contact_type: ("BILLING" | "OPERATIONS" | "SECURITY")
|
104
|
+
) -> _GetAlternateContactResponseSuccess
|
105
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAlternateContactResponseSuccess
|
106
|
+
|
107
|
+
interface _GetContactInformationResponseSuccess
|
108
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetContactInformationResponse]
|
109
|
+
def contact_information: () -> Types::ContactInformation
|
110
|
+
end
|
111
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Account/Client.html#get_contact_information-instance_method
|
112
|
+
def get_contact_information: (
|
113
|
+
?account_id: ::String
|
114
|
+
) -> _GetContactInformationResponseSuccess
|
115
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetContactInformationResponseSuccess
|
116
|
+
|
117
|
+
interface _GetRegionOptStatusResponseSuccess
|
118
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetRegionOptStatusResponse]
|
119
|
+
def region_name: () -> ::String
|
120
|
+
def region_opt_status: () -> ("ENABLED" | "ENABLING" | "DISABLING" | "DISABLED" | "ENABLED_BY_DEFAULT")
|
121
|
+
end
|
122
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Account/Client.html#get_region_opt_status-instance_method
|
123
|
+
def get_region_opt_status: (
|
124
|
+
?account_id: ::String,
|
125
|
+
region_name: ::String
|
126
|
+
) -> _GetRegionOptStatusResponseSuccess
|
127
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRegionOptStatusResponseSuccess
|
128
|
+
|
129
|
+
interface _ListRegionsResponseSuccess
|
130
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRegionsResponse]
|
131
|
+
def next_token: () -> ::String
|
132
|
+
def regions: () -> ::Array[Types::Region]
|
133
|
+
end
|
134
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Account/Client.html#list_regions-instance_method
|
135
|
+
def list_regions: (
|
136
|
+
?account_id: ::String,
|
137
|
+
?max_results: ::Integer,
|
138
|
+
?next_token: ::String,
|
139
|
+
?region_opt_status_contains: Array[("ENABLED" | "ENABLING" | "DISABLING" | "DISABLED" | "ENABLED_BY_DEFAULT")]
|
140
|
+
) -> _ListRegionsResponseSuccess
|
141
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRegionsResponseSuccess
|
142
|
+
|
143
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Account/Client.html#put_alternate_contact-instance_method
|
144
|
+
def put_alternate_contact: (
|
145
|
+
?account_id: ::String,
|
146
|
+
alternate_contact_type: ("BILLING" | "OPERATIONS" | "SECURITY"),
|
147
|
+
email_address: ::String,
|
148
|
+
name: ::String,
|
149
|
+
phone_number: ::String,
|
150
|
+
title: ::String
|
151
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
152
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
153
|
+
|
154
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Account/Client.html#put_contact_information-instance_method
|
155
|
+
def put_contact_information: (
|
156
|
+
?account_id: ::String,
|
157
|
+
contact_information: {
|
158
|
+
address_line_1: ::String,
|
159
|
+
address_line_2: ::String?,
|
160
|
+
address_line_3: ::String?,
|
161
|
+
city: ::String,
|
162
|
+
company_name: ::String?,
|
163
|
+
country_code: ::String,
|
164
|
+
district_or_county: ::String?,
|
165
|
+
full_name: ::String,
|
166
|
+
phone_number: ::String,
|
167
|
+
postal_code: ::String,
|
168
|
+
state_or_region: ::String?,
|
169
|
+
website_url: ::String?
|
170
|
+
}
|
171
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
172
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,36 @@
|
|
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 Account
|
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 TooManyRequestsException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
end
|
29
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
30
|
+
def field_list: () -> ::String
|
31
|
+
def message: () -> ::String
|
32
|
+
def reason: () -> ::String
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
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 Account
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Account/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Account/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,161 @@
|
|
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::Account
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class AlternateContact
|
17
|
+
attr_accessor alternate_contact_type: ("BILLING" | "OPERATIONS" | "SECURITY")
|
18
|
+
attr_accessor email_address: ::String
|
19
|
+
attr_accessor name: ::String
|
20
|
+
attr_accessor phone_number: ::String
|
21
|
+
attr_accessor title: ::String
|
22
|
+
SENSITIVE: [:email_address, :name, :phone_number, :title]
|
23
|
+
end
|
24
|
+
|
25
|
+
class ConflictException
|
26
|
+
attr_accessor message: ::String
|
27
|
+
SENSITIVE: []
|
28
|
+
end
|
29
|
+
|
30
|
+
class ContactInformation
|
31
|
+
attr_accessor address_line_1: ::String
|
32
|
+
attr_accessor address_line_2: ::String
|
33
|
+
attr_accessor address_line_3: ::String
|
34
|
+
attr_accessor city: ::String
|
35
|
+
attr_accessor company_name: ::String
|
36
|
+
attr_accessor country_code: ::String
|
37
|
+
attr_accessor district_or_county: ::String
|
38
|
+
attr_accessor full_name: ::String
|
39
|
+
attr_accessor phone_number: ::String
|
40
|
+
attr_accessor postal_code: ::String
|
41
|
+
attr_accessor state_or_region: ::String
|
42
|
+
attr_accessor website_url: ::String
|
43
|
+
SENSITIVE: [:address_line_1, :address_line_2, :address_line_3, :city, :company_name, :country_code, :district_or_county, :full_name, :phone_number, :postal_code, :state_or_region, :website_url]
|
44
|
+
end
|
45
|
+
|
46
|
+
class DeleteAlternateContactRequest
|
47
|
+
attr_accessor account_id: ::String
|
48
|
+
attr_accessor alternate_contact_type: ("BILLING" | "OPERATIONS" | "SECURITY")
|
49
|
+
SENSITIVE: []
|
50
|
+
end
|
51
|
+
|
52
|
+
class DisableRegionRequest
|
53
|
+
attr_accessor account_id: ::String
|
54
|
+
attr_accessor region_name: ::String
|
55
|
+
SENSITIVE: []
|
56
|
+
end
|
57
|
+
|
58
|
+
class EnableRegionRequest
|
59
|
+
attr_accessor account_id: ::String
|
60
|
+
attr_accessor region_name: ::String
|
61
|
+
SENSITIVE: []
|
62
|
+
end
|
63
|
+
|
64
|
+
class GetAlternateContactRequest
|
65
|
+
attr_accessor account_id: ::String
|
66
|
+
attr_accessor alternate_contact_type: ("BILLING" | "OPERATIONS" | "SECURITY")
|
67
|
+
SENSITIVE: []
|
68
|
+
end
|
69
|
+
|
70
|
+
class GetAlternateContactResponse
|
71
|
+
attr_accessor alternate_contact: Types::AlternateContact
|
72
|
+
SENSITIVE: []
|
73
|
+
end
|
74
|
+
|
75
|
+
class GetContactInformationRequest
|
76
|
+
attr_accessor account_id: ::String
|
77
|
+
SENSITIVE: []
|
78
|
+
end
|
79
|
+
|
80
|
+
class GetContactInformationResponse
|
81
|
+
attr_accessor contact_information: Types::ContactInformation
|
82
|
+
SENSITIVE: []
|
83
|
+
end
|
84
|
+
|
85
|
+
class GetRegionOptStatusRequest
|
86
|
+
attr_accessor account_id: ::String
|
87
|
+
attr_accessor region_name: ::String
|
88
|
+
SENSITIVE: []
|
89
|
+
end
|
90
|
+
|
91
|
+
class GetRegionOptStatusResponse
|
92
|
+
attr_accessor region_name: ::String
|
93
|
+
attr_accessor region_opt_status: ("ENABLED" | "ENABLING" | "DISABLING" | "DISABLED" | "ENABLED_BY_DEFAULT")
|
94
|
+
SENSITIVE: []
|
95
|
+
end
|
96
|
+
|
97
|
+
class InternalServerException
|
98
|
+
attr_accessor message: ::String
|
99
|
+
SENSITIVE: []
|
100
|
+
end
|
101
|
+
|
102
|
+
class ListRegionsRequest
|
103
|
+
attr_accessor account_id: ::String
|
104
|
+
attr_accessor max_results: ::Integer
|
105
|
+
attr_accessor next_token: ::String
|
106
|
+
attr_accessor region_opt_status_contains: ::Array[("ENABLED" | "ENABLING" | "DISABLING" | "DISABLED" | "ENABLED_BY_DEFAULT")]
|
107
|
+
SENSITIVE: []
|
108
|
+
end
|
109
|
+
|
110
|
+
class ListRegionsResponse
|
111
|
+
attr_accessor next_token: ::String
|
112
|
+
attr_accessor regions: ::Array[Types::Region]
|
113
|
+
SENSITIVE: []
|
114
|
+
end
|
115
|
+
|
116
|
+
class PutAlternateContactRequest
|
117
|
+
attr_accessor account_id: ::String
|
118
|
+
attr_accessor alternate_contact_type: ("BILLING" | "OPERATIONS" | "SECURITY")
|
119
|
+
attr_accessor email_address: ::String
|
120
|
+
attr_accessor name: ::String
|
121
|
+
attr_accessor phone_number: ::String
|
122
|
+
attr_accessor title: ::String
|
123
|
+
SENSITIVE: [:email_address, :name, :phone_number, :title]
|
124
|
+
end
|
125
|
+
|
126
|
+
class PutContactInformationRequest
|
127
|
+
attr_accessor account_id: ::String
|
128
|
+
attr_accessor contact_information: Types::ContactInformation
|
129
|
+
SENSITIVE: []
|
130
|
+
end
|
131
|
+
|
132
|
+
class Region
|
133
|
+
attr_accessor region_name: ::String
|
134
|
+
attr_accessor region_opt_status: ("ENABLED" | "ENABLING" | "DISABLING" | "DISABLED" | "ENABLED_BY_DEFAULT")
|
135
|
+
SENSITIVE: []
|
136
|
+
end
|
137
|
+
|
138
|
+
class ResourceNotFoundException
|
139
|
+
attr_accessor message: ::String
|
140
|
+
SENSITIVE: []
|
141
|
+
end
|
142
|
+
|
143
|
+
class TooManyRequestsException
|
144
|
+
attr_accessor message: ::String
|
145
|
+
SENSITIVE: []
|
146
|
+
end
|
147
|
+
|
148
|
+
class ValidationException
|
149
|
+
attr_accessor field_list: ::Array[Types::ValidationExceptionField]
|
150
|
+
attr_accessor message: ::String
|
151
|
+
attr_accessor reason: ("invalidRegionOptTarget" | "fieldValidationFailed")
|
152
|
+
SENSITIVE: [:message]
|
153
|
+
end
|
154
|
+
|
155
|
+
class ValidationExceptionField
|
156
|
+
attr_accessor message: ::String
|
157
|
+
attr_accessor name: ::String
|
158
|
+
SENSITIVE: [:message]
|
159
|
+
end
|
160
|
+
end
|
161
|
+
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 Account
|
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-account
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.22.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-account/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-account/resource.rb
|
68
68
|
- lib/aws-sdk-account/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-account
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-account/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 - AWS Account
|
94
99
|
test_files: []
|