aws-sdk-accountaccessruntime 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.
@@ -0,0 +1,282 @@
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::AccountAccessRuntime
11
+ module Types
12
+
13
+ # You are authenticated but not authorized to perform the requested
14
+ # action, such as assuming a role that you aren't entitled to. This
15
+ # error returns an HTTP 403 status code.
16
+ #
17
+ # @!attribute [rw] message
18
+ # @return [String]
19
+ #
20
+ # @see http://docs.aws.amazon.com/goto/WebAPI/account-access-runtime-2018-05-10/AccessDeniedException AWS API Documentation
21
+ #
22
+ class AccessDeniedException < Struct.new(
23
+ :message)
24
+ SENSITIVE = []
25
+ include Aws::Structure
26
+ end
27
+
28
+ # Describes a role that you can access, including the Amazon Web
29
+ # Services account that contains the role and the role's ARN.
30
+ #
31
+ # @!attribute [rw] account_id
32
+ # The 12-digit identifier of the Amazon Web Services account that
33
+ # contains the role.
34
+ # @return [String]
35
+ #
36
+ # @!attribute [rw] account_name
37
+ # The display name of the Amazon Web Services account, if available.
38
+ # This value can be absent when the account name can't be resolved.
39
+ # @return [String]
40
+ #
41
+ # @!attribute [rw] role_arn
42
+ # The Amazon Resource Name (ARN) of the role that you can access.
43
+ # @return [String]
44
+ #
45
+ # @see http://docs.aws.amazon.com/goto/WebAPI/account-access-runtime-2018-05-10/AccessDetails AWS API Documentation
46
+ #
47
+ class AccessDetails < Struct.new(
48
+ :account_id,
49
+ :account_name,
50
+ :role_arn)
51
+ SENSITIVE = []
52
+ include Aws::Structure
53
+ end
54
+
55
+ # The temporary credentials returned for a role. Only one member is set,
56
+ # depending on the type of access that you requested.
57
+ #
58
+ # @note CredentialsDetails is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CredentialsDetails corresponding to the set member.
59
+ #
60
+ # @!attribute [rw] programmatic_access
61
+ # The access key credentials returned for programmatic access with the
62
+ # CLI or an Amazon Web Services SDK.
63
+ # @return [Types::ProgrammaticAccessDetails]
64
+ #
65
+ # @see http://docs.aws.amazon.com/goto/WebAPI/account-access-runtime-2018-05-10/CredentialsDetails AWS API Documentation
66
+ #
67
+ class CredentialsDetails < Struct.new(
68
+ :programmatic_access,
69
+ :unknown)
70
+ SENSITIVE = [:programmatic_access]
71
+ include Aws::Structure
72
+ include Aws::Structure::Union
73
+
74
+ class ProgrammaticAccess < CredentialsDetails; end
75
+ class Unknown < CredentialsDetails; end
76
+ end
77
+
78
+ # @!attribute [rw] tenant_id
79
+ # The identifier of the tenant that the request applies to. A tenant
80
+ # ID begins with `aa-` and is 3 to 24 characters long. It can contain
81
+ # lowercase letters, numbers, and hyphens.
82
+ # @return [String]
83
+ #
84
+ # @!attribute [rw] role_arn
85
+ # The Amazon Resource Name (ARN) of the role to retrieve credentials
86
+ # for. You must be entitled to assume this role.
87
+ # @return [String]
88
+ #
89
+ # @!attribute [rw] access_type
90
+ # The type of access to request for the role. Specify
91
+ # `PROGRAMMATIC_ACCESS` to receive access key credentials for use with
92
+ # the CLI or an Amazon Web Services SDK.
93
+ # @return [String]
94
+ #
95
+ # @!attribute [rw] session_name
96
+ # An optional name for the role session. The name can be 2 to 64
97
+ # characters and can contain alphanumeric characters and the following
98
+ # symbols: plus (+), equal (=), comma (,), period (.), at (@), and
99
+ # hyphen (-). The session name appears in CloudTrail logs for the
100
+ # assumed role session.
101
+ # @return [String]
102
+ #
103
+ # @!attribute [rw] session_duration
104
+ # The duration, in seconds, that the returned credentials remain
105
+ # valid. If you don't specify a value, the service uses the default
106
+ # session duration. The maximum value can't exceed the maximum
107
+ # session duration configured for the role.
108
+ # @return [Integer]
109
+ #
110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/account-access-runtime-2018-05-10/GetRoleCredentialsRequest AWS API Documentation
111
+ #
112
+ class GetRoleCredentialsRequest < Struct.new(
113
+ :tenant_id,
114
+ :role_arn,
115
+ :access_type,
116
+ :session_name,
117
+ :session_duration)
118
+ SENSITIVE = []
119
+ include Aws::Structure
120
+ end
121
+
122
+ # @!attribute [rw] credentials_details
123
+ # The temporary credentials that the service returns for the requested
124
+ # role.
125
+ # @return [Types::CredentialsDetails]
126
+ #
127
+ # @see http://docs.aws.amazon.com/goto/WebAPI/account-access-runtime-2018-05-10/GetRoleCredentialsResponse AWS API Documentation
128
+ #
129
+ class GetRoleCredentialsResponse < Struct.new(
130
+ :credentials_details)
131
+ SENSITIVE = [:credentials_details]
132
+ include Aws::Structure
133
+ end
134
+
135
+ # An internal server error occurred. Retry the request. If the problem
136
+ # persists, contact Amazon Web Services Support. This error returns an
137
+ # HTTP 500 status code.
138
+ #
139
+ # @!attribute [rw] message
140
+ # @return [String]
141
+ #
142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/account-access-runtime-2018-05-10/InternalServerException AWS API Documentation
143
+ #
144
+ class InternalServerException < Struct.new(
145
+ :message)
146
+ SENSITIVE = []
147
+ include Aws::Structure
148
+ end
149
+
150
+ # @!attribute [rw] tenant_id
151
+ # The identifier of the tenant whose roles you want to list. A tenant
152
+ # ID begins with `aa-` and is 3 to 24 characters long. It can contain
153
+ # lowercase letters, numbers, and hyphens.
154
+ # @return [String]
155
+ #
156
+ # @!attribute [rw] max_results
157
+ # The maximum number of roles to return in a single response. If more
158
+ # roles are available than the specified value, the response includes
159
+ # a `nextToken` value that you can use to retrieve the next page of
160
+ # results. If you don't specify a value, the service uses a default
161
+ # page size.
162
+ # @return [Integer]
163
+ #
164
+ # @!attribute [rw] next_token
165
+ # The pagination token from a previous `ListRoles` response. Use it to
166
+ # retrieve the next page of results. Omit this parameter on the first
167
+ # call.
168
+ # @return [String]
169
+ #
170
+ # @see http://docs.aws.amazon.com/goto/WebAPI/account-access-runtime-2018-05-10/ListRolesRequest AWS API Documentation
171
+ #
172
+ class ListRolesRequest < Struct.new(
173
+ :tenant_id,
174
+ :max_results,
175
+ :next_token)
176
+ SENSITIVE = []
177
+ include Aws::Structure
178
+ end
179
+
180
+ # @!attribute [rw] roles
181
+ # The list of roles that you can access in the tenant. Each entry
182
+ # describes an Amazon Web Services account and a role.
183
+ # @return [Array<Types::AccessDetails>]
184
+ #
185
+ # @!attribute [rw] next_token
186
+ # The pagination token to include in a subsequent `ListRoles` request
187
+ # to retrieve the next page of results. This value is absent when
188
+ # there are no more results to return.
189
+ # @return [String]
190
+ #
191
+ # @see http://docs.aws.amazon.com/goto/WebAPI/account-access-runtime-2018-05-10/ListRolesResponse AWS API Documentation
192
+ #
193
+ class ListRolesResponse < Struct.new(
194
+ :roles,
195
+ :next_token)
196
+ SENSITIVE = []
197
+ include Aws::Structure
198
+ end
199
+
200
+ # A set of temporary Amazon Web Services credentials for programmatic
201
+ # access. Treat these values as sensitive.
202
+ #
203
+ # @!attribute [rw] access_key_id
204
+ # The access key ID for the temporary credentials.
205
+ # @return [String]
206
+ #
207
+ # @!attribute [rw] secret_access_key
208
+ # The secret access key for the temporary credentials. Treat this
209
+ # value as a secret.
210
+ # @return [String]
211
+ #
212
+ # @!attribute [rw] session_token
213
+ # The session token that you must include along with the access key ID
214
+ # and secret access key when you make requests with the temporary
215
+ # credentials.
216
+ # @return [String]
217
+ #
218
+ # @!attribute [rw] expires_at
219
+ # The date and time when the temporary credentials expire, after which
220
+ # they can no longer be used.
221
+ # @return [Time]
222
+ #
223
+ # @see http://docs.aws.amazon.com/goto/WebAPI/account-access-runtime-2018-05-10/ProgrammaticAccessDetails AWS API Documentation
224
+ #
225
+ class ProgrammaticAccessDetails < Struct.new(
226
+ :access_key_id,
227
+ :secret_access_key,
228
+ :session_token,
229
+ :expires_at)
230
+ SENSITIVE = []
231
+ include Aws::Structure
232
+ end
233
+
234
+ # The request rate exceeded the allowed limit. Reduce your request rate,
235
+ # and then retry the request. This error returns an HTTP 429 status
236
+ # code.
237
+ #
238
+ # @!attribute [rw] message
239
+ # @return [String]
240
+ #
241
+ # @see http://docs.aws.amazon.com/goto/WebAPI/account-access-runtime-2018-05-10/ThrottlingException AWS API Documentation
242
+ #
243
+ class ThrottlingException < Struct.new(
244
+ :message)
245
+ SENSITIVE = []
246
+ include Aws::Structure
247
+ end
248
+
249
+ # The bearer token is missing, invalid, or expired. Obtain a new token,
250
+ # and then retry the request. This error returns an HTTP 401 status
251
+ # code.
252
+ #
253
+ # @!attribute [rw] message
254
+ # @return [String]
255
+ #
256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/account-access-runtime-2018-05-10/UnauthorizedException AWS API Documentation
257
+ #
258
+ class UnauthorizedException < Struct.new(
259
+ :message)
260
+ SENSITIVE = []
261
+ include Aws::Structure
262
+ end
263
+
264
+ # The request is missing a required parameter, or a parameter value
265
+ # doesn't satisfy its constraints, such as its length or pattern.
266
+ # Correct the input, and then retry the request. This error returns an
267
+ # HTTP 400 status code.
268
+ #
269
+ # @!attribute [rw] message
270
+ # @return [String]
271
+ #
272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/account-access-runtime-2018-05-10/ValidationException AWS API Documentation
273
+ #
274
+ class ValidationException < Struct.new(
275
+ :message)
276
+ SENSITIVE = []
277
+ include Aws::Structure
278
+ end
279
+
280
+ end
281
+ end
282
+
@@ -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::AccountAccessRuntime
13
+ module Waiters
14
+ end
15
+ end
@@ -0,0 +1,61 @@
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
+
13
+ Aws::Plugins::GlobalConfiguration.add_identifier(:accountaccessruntime)
14
+
15
+ # This module provides support for Account Access Runtime. This module is available in the
16
+ # `aws-sdk-accountaccessruntime` gem.
17
+ #
18
+ # # Client
19
+ #
20
+ # The {Client} class provides one method for each API operation. Operation
21
+ # methods each accept a hash of request parameters and return a response
22
+ # structure.
23
+ #
24
+ # account_access_runtime = Aws::AccountAccessRuntime::Client.new
25
+ # resp = account_access_runtime.get_role_credentials(params)
26
+ #
27
+ # See {Client} for more information.
28
+ #
29
+ # # Errors
30
+ #
31
+ # Errors returned from Account Access Runtime are defined in the
32
+ # {Errors} module and all extend {Errors::ServiceError}.
33
+ #
34
+ # begin
35
+ # # do stuff
36
+ # rescue Aws::AccountAccessRuntime::Errors::ServiceError
37
+ # # rescues all Account Access Runtime API errors
38
+ # end
39
+ #
40
+ # See {Errors} for more information.
41
+ #
42
+ # @!group service
43
+ module Aws::AccountAccessRuntime
44
+ autoload :Types, 'aws-sdk-accountaccessruntime/types'
45
+ autoload :ClientApi, 'aws-sdk-accountaccessruntime/client_api'
46
+ module Plugins
47
+ autoload :Endpoints, 'aws-sdk-accountaccessruntime/plugins/endpoints.rb'
48
+ end
49
+ autoload :Client, 'aws-sdk-accountaccessruntime/client'
50
+ autoload :Errors, 'aws-sdk-accountaccessruntime/errors'
51
+ autoload :Waiters, 'aws-sdk-accountaccessruntime/waiters'
52
+ autoload :Resource, 'aws-sdk-accountaccessruntime/resource'
53
+ autoload :EndpointParameters, 'aws-sdk-accountaccessruntime/endpoint_parameters'
54
+ autoload :EndpointProvider, 'aws-sdk-accountaccessruntime/endpoint_provider'
55
+ autoload :Endpoints, 'aws-sdk-accountaccessruntime/endpoints'
56
+
57
+ GEM_VERSION = '1.0.0'
58
+
59
+ end
60
+
61
+ require_relative 'aws-sdk-accountaccessruntime/customizations'
data/sig/client.rbs ADDED
@@ -0,0 +1,111 @@
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 AccountAccessRuntime
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccessRuntime/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_clock_skew_correction: bool,
31
+ ?disable_host_prefix_injection: bool,
32
+ ?disable_request_compression: bool,
33
+ ?endpoint: String,
34
+ ?endpoint_cache_max_entries: Integer,
35
+ ?endpoint_cache_max_threads: Integer,
36
+ ?endpoint_cache_poll_interval: Integer,
37
+ ?endpoint_discovery: bool,
38
+ ?ignore_configured_endpoint_urls: bool,
39
+ ?log_formatter: untyped,
40
+ ?log_level: Symbol,
41
+ ?logger: untyped,
42
+ ?max_attempts: Integer,
43
+ ?profile: String,
44
+ ?request_checksum_calculation: String,
45
+ ?request_min_compression_size_bytes: Integer,
46
+ ?response_checksum_validation: String,
47
+ ?retry_backoff: Proc,
48
+ ?retry_base_delay: Float,
49
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
50
+ ?retry_limit: Integer,
51
+ ?retry_max_delay: Integer,
52
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
53
+ ?sdk_ua_app_id: String,
54
+ ?secret_access_key: String,
55
+ ?session_token: String,
56
+ ?sigv4a_signing_region_set: Array[String],
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 _GetRoleCredentialsResponseSuccess
83
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRoleCredentialsResponse]
84
+ def credentials_details: () -> Types::CredentialsDetails
85
+ end
86
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccessRuntime/Client.html#get_role_credentials-instance_method
87
+ def get_role_credentials: (
88
+ tenant_id: ::String,
89
+ role_arn: ::String,
90
+ access_type: ("PROGRAMMATIC_ACCESS"),
91
+ ?session_name: ::String,
92
+ ?session_duration: ::Integer
93
+ ) -> _GetRoleCredentialsResponseSuccess
94
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRoleCredentialsResponseSuccess
95
+
96
+ interface _ListRolesResponseSuccess
97
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRolesResponse]
98
+ def roles: () -> ::Array[Types::AccessDetails]
99
+ def next_token: () -> ::String
100
+ end
101
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccessRuntime/Client.html#list_roles-instance_method
102
+ def list_roles: (
103
+ tenant_id: ::String,
104
+ ?max_results: ::Integer,
105
+ ?next_token: ::String
106
+ ) -> _ListRolesResponseSuccess
107
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRolesResponseSuccess
108
+ end
109
+ end
110
+ end
111
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,31 @@
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 AccountAccessRuntime
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class InternalServerException < ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class ThrottlingException < ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class UnauthorizedException < ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ValidationException < ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ end
30
+ end
31
+ 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 AccountAccessRuntime
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccessRuntime/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AccountAccessRuntime/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_clock_skew_correction: bool,
31
+ ?disable_host_prefix_injection: bool,
32
+ ?disable_request_compression: bool,
33
+ ?endpoint: String,
34
+ ?endpoint_cache_max_entries: Integer,
35
+ ?endpoint_cache_max_threads: Integer,
36
+ ?endpoint_cache_poll_interval: Integer,
37
+ ?endpoint_discovery: bool,
38
+ ?ignore_configured_endpoint_urls: bool,
39
+ ?log_formatter: untyped,
40
+ ?log_level: Symbol,
41
+ ?logger: untyped,
42
+ ?max_attempts: Integer,
43
+ ?profile: String,
44
+ ?request_checksum_calculation: String,
45
+ ?request_min_compression_size_bytes: Integer,
46
+ ?response_checksum_validation: String,
47
+ ?retry_backoff: Proc,
48
+ ?retry_base_delay: Float,
49
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
50
+ ?retry_limit: Integer,
51
+ ?retry_max_delay: Integer,
52
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
53
+ ?sdk_ua_app_id: String,
54
+ ?secret_access_key: String,
55
+ ?session_token: String,
56
+ ?sigv4a_signing_region_set: Array[String],
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,89 @@
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::AccountAccessRuntime
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class AccessDetails
17
+ attr_accessor account_id: ::String
18
+ attr_accessor account_name: ::String
19
+ attr_accessor role_arn: ::String
20
+ SENSITIVE: []
21
+ end
22
+
23
+ class CredentialsDetails
24
+ attr_accessor programmatic_access: Types::ProgrammaticAccessDetails
25
+ attr_accessor unknown: untyped
26
+ SENSITIVE: [:programmatic_access]
27
+
28
+ class ProgrammaticAccess < CredentialsDetails
29
+ end
30
+ class Unknown < CredentialsDetails
31
+ end
32
+ end
33
+
34
+ class GetRoleCredentialsRequest
35
+ attr_accessor tenant_id: ::String
36
+ attr_accessor role_arn: ::String
37
+ attr_accessor access_type: ("PROGRAMMATIC_ACCESS")
38
+ attr_accessor session_name: ::String
39
+ attr_accessor session_duration: ::Integer
40
+ SENSITIVE: []
41
+ end
42
+
43
+ class GetRoleCredentialsResponse
44
+ attr_accessor credentials_details: Types::CredentialsDetails
45
+ SENSITIVE: [:credentials_details]
46
+ end
47
+
48
+ class InternalServerException
49
+ attr_accessor message: ::String
50
+ SENSITIVE: []
51
+ end
52
+
53
+ class ListRolesRequest
54
+ attr_accessor tenant_id: ::String
55
+ attr_accessor max_results: ::Integer
56
+ attr_accessor next_token: ::String
57
+ SENSITIVE: []
58
+ end
59
+
60
+ class ListRolesResponse
61
+ attr_accessor roles: ::Array[Types::AccessDetails]
62
+ attr_accessor next_token: ::String
63
+ SENSITIVE: []
64
+ end
65
+
66
+ class ProgrammaticAccessDetails
67
+ attr_accessor access_key_id: ::String
68
+ attr_accessor secret_access_key: ::String
69
+ attr_accessor session_token: ::String
70
+ attr_accessor expires_at: ::Time
71
+ SENSITIVE: []
72
+ end
73
+
74
+ class ThrottlingException
75
+ attr_accessor message: ::String
76
+ SENSITIVE: []
77
+ end
78
+
79
+ class UnauthorizedException
80
+ attr_accessor message: ::String
81
+ SENSITIVE: []
82
+ end
83
+
84
+ class ValidationException
85
+ attr_accessor message: ::String
86
+ SENSITIVE: []
87
+ end
88
+ end
89
+ 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 AccountAccessRuntime
10
+ module Waiters
11
+ end
12
+ end
13
+ end