aws-sdk-rolesanywhere 1.11.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1bd26c225c2168e35e1fe44281fc08da1706307c14925895e14027ec37300bb
4
- data.tar.gz: f0a8e607c281a201d99c4ed1f5690d8e7d4194fa0cf3a467ac6735e1ef70adf2
3
+ metadata.gz: cab6cc815d24122551e2bdd16d96902e338df7f0c651bda9c41d73cfbb1beed4
4
+ data.tar.gz: 7e98e3d4abe80a389b0329c637b2defbd53d4112c95b7f9efa7280e82681a8f2
5
5
  SHA512:
6
- metadata.gz: 28887f90da70e7e0dcfbd10e9a2c8ac14d66ba6eae67cd5361a5bfa538b43dc8fd1128d2016e7467fa7265287f70a3d71f82a65d1c2e8ffd4f9fc8765ba53ebe
7
- data.tar.gz: 1fe6b2cf20fe2cd5584bbfa52af2d028e3200396888c012b7724b5bce0fe52808946bef5150f29696db0575d9d16a9fc1b7f5ba2be2372539ba547013297ec61
6
+ metadata.gz: 9fed2e23dfdfd1a65b45c81f0dfed91dfad2d01b0c796821a2257ce1f8f8ebd40a67e0e93916f5583005d45906a47c5d114465630b7e0205a012715875b351ae
7
+ data.tar.gz: e4bc65409346237455920f80806e952fcdccce4271e90c16a98c1427433c9347cddbc4dd385ff4f85e2c6c1e605f5737a1c4726316f27ec1b5839a64e7e79833
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.12.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.11.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.12.0
@@ -1777,7 +1777,7 @@ module Aws::RolesAnywhere
1777
1777
  params: params,
1778
1778
  config: config)
1779
1779
  context[:gem_name] = 'aws-sdk-rolesanywhere'
1780
- context[:gem_version] = '1.11.0'
1780
+ context[:gem_version] = '1.12.0'
1781
1781
  Seahorse::Client::Request.new(handlers, context)
1782
1782
  end
1783
1783
 
@@ -14,6 +14,7 @@ module Aws::RolesAnywhere
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::RolesAnywhere::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 '\
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-rolesanywhere/customizations'
52
52
  # @!group service
53
53
  module Aws::RolesAnywhere
54
54
 
55
- GEM_VERSION = '1.11.0'
55
+ GEM_VERSION = '1.12.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,442 @@
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 RolesAnywhere
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/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 _CreateProfileResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::ProfileDetailResponse]
77
+ def profile: () -> Types::ProfileDetail
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#create_profile-instance_method
80
+ def create_profile: (
81
+ ?duration_seconds: ::Integer,
82
+ ?enabled: bool,
83
+ ?managed_policy_arns: Array[::String],
84
+ name: ::String,
85
+ ?require_instance_properties: bool,
86
+ role_arns: Array[::String],
87
+ ?session_policy: ::String,
88
+ ?tags: Array[
89
+ {
90
+ key: ::String,
91
+ value: ::String
92
+ },
93
+ ]
94
+ ) -> _CreateProfileResponseSuccess
95
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProfileResponseSuccess
96
+
97
+ interface _CreateTrustAnchorResponseSuccess
98
+ include ::Seahorse::Client::_ResponseSuccess[Types::TrustAnchorDetailResponse]
99
+ def trust_anchor: () -> Types::TrustAnchorDetail
100
+ end
101
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#create_trust_anchor-instance_method
102
+ def create_trust_anchor: (
103
+ ?enabled: bool,
104
+ name: ::String,
105
+ ?notification_settings: Array[
106
+ {
107
+ channel: ("ALL")?,
108
+ enabled: bool,
109
+ event: ("CA_CERTIFICATE_EXPIRY" | "END_ENTITY_CERTIFICATE_EXPIRY"),
110
+ threshold: ::Integer?
111
+ },
112
+ ],
113
+ source: {
114
+ source_data: {
115
+ acm_pca_arn: ::String?,
116
+ x509_certificate_data: ::String?
117
+ }?,
118
+ source_type: ("AWS_ACM_PCA" | "CERTIFICATE_BUNDLE" | "SELF_SIGNED_REPOSITORY")?
119
+ },
120
+ ?tags: Array[
121
+ {
122
+ key: ::String,
123
+ value: ::String
124
+ },
125
+ ]
126
+ ) -> _CreateTrustAnchorResponseSuccess
127
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTrustAnchorResponseSuccess
128
+
129
+ interface _DeleteCrlResponseSuccess
130
+ include ::Seahorse::Client::_ResponseSuccess[Types::CrlDetailResponse]
131
+ def crl: () -> Types::CrlDetail
132
+ end
133
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#delete_crl-instance_method
134
+ def delete_crl: (
135
+ crl_id: ::String
136
+ ) -> _DeleteCrlResponseSuccess
137
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCrlResponseSuccess
138
+
139
+ interface _DeleteProfileResponseSuccess
140
+ include ::Seahorse::Client::_ResponseSuccess[Types::ProfileDetailResponse]
141
+ def profile: () -> Types::ProfileDetail
142
+ end
143
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#delete_profile-instance_method
144
+ def delete_profile: (
145
+ profile_id: ::String
146
+ ) -> _DeleteProfileResponseSuccess
147
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProfileResponseSuccess
148
+
149
+ interface _DeleteTrustAnchorResponseSuccess
150
+ include ::Seahorse::Client::_ResponseSuccess[Types::TrustAnchorDetailResponse]
151
+ def trust_anchor: () -> Types::TrustAnchorDetail
152
+ end
153
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#delete_trust_anchor-instance_method
154
+ def delete_trust_anchor: (
155
+ trust_anchor_id: ::String
156
+ ) -> _DeleteTrustAnchorResponseSuccess
157
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTrustAnchorResponseSuccess
158
+
159
+ interface _DisableCrlResponseSuccess
160
+ include ::Seahorse::Client::_ResponseSuccess[Types::CrlDetailResponse]
161
+ def crl: () -> Types::CrlDetail
162
+ end
163
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#disable_crl-instance_method
164
+ def disable_crl: (
165
+ crl_id: ::String
166
+ ) -> _DisableCrlResponseSuccess
167
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableCrlResponseSuccess
168
+
169
+ interface _DisableProfileResponseSuccess
170
+ include ::Seahorse::Client::_ResponseSuccess[Types::ProfileDetailResponse]
171
+ def profile: () -> Types::ProfileDetail
172
+ end
173
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#disable_profile-instance_method
174
+ def disable_profile: (
175
+ profile_id: ::String
176
+ ) -> _DisableProfileResponseSuccess
177
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableProfileResponseSuccess
178
+
179
+ interface _DisableTrustAnchorResponseSuccess
180
+ include ::Seahorse::Client::_ResponseSuccess[Types::TrustAnchorDetailResponse]
181
+ def trust_anchor: () -> Types::TrustAnchorDetail
182
+ end
183
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#disable_trust_anchor-instance_method
184
+ def disable_trust_anchor: (
185
+ trust_anchor_id: ::String
186
+ ) -> _DisableTrustAnchorResponseSuccess
187
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableTrustAnchorResponseSuccess
188
+
189
+ interface _EnableCrlResponseSuccess
190
+ include ::Seahorse::Client::_ResponseSuccess[Types::CrlDetailResponse]
191
+ def crl: () -> Types::CrlDetail
192
+ end
193
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#enable_crl-instance_method
194
+ def enable_crl: (
195
+ crl_id: ::String
196
+ ) -> _EnableCrlResponseSuccess
197
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableCrlResponseSuccess
198
+
199
+ interface _EnableProfileResponseSuccess
200
+ include ::Seahorse::Client::_ResponseSuccess[Types::ProfileDetailResponse]
201
+ def profile: () -> Types::ProfileDetail
202
+ end
203
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#enable_profile-instance_method
204
+ def enable_profile: (
205
+ profile_id: ::String
206
+ ) -> _EnableProfileResponseSuccess
207
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableProfileResponseSuccess
208
+
209
+ interface _EnableTrustAnchorResponseSuccess
210
+ include ::Seahorse::Client::_ResponseSuccess[Types::TrustAnchorDetailResponse]
211
+ def trust_anchor: () -> Types::TrustAnchorDetail
212
+ end
213
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#enable_trust_anchor-instance_method
214
+ def enable_trust_anchor: (
215
+ trust_anchor_id: ::String
216
+ ) -> _EnableTrustAnchorResponseSuccess
217
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableTrustAnchorResponseSuccess
218
+
219
+ interface _GetCrlResponseSuccess
220
+ include ::Seahorse::Client::_ResponseSuccess[Types::CrlDetailResponse]
221
+ def crl: () -> Types::CrlDetail
222
+ end
223
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#get_crl-instance_method
224
+ def get_crl: (
225
+ crl_id: ::String
226
+ ) -> _GetCrlResponseSuccess
227
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCrlResponseSuccess
228
+
229
+ interface _GetProfileResponseSuccess
230
+ include ::Seahorse::Client::_ResponseSuccess[Types::ProfileDetailResponse]
231
+ def profile: () -> Types::ProfileDetail
232
+ end
233
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#get_profile-instance_method
234
+ def get_profile: (
235
+ profile_id: ::String
236
+ ) -> _GetProfileResponseSuccess
237
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProfileResponseSuccess
238
+
239
+ interface _GetSubjectResponseSuccess
240
+ include ::Seahorse::Client::_ResponseSuccess[Types::SubjectDetailResponse]
241
+ def subject: () -> Types::SubjectDetail
242
+ end
243
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#get_subject-instance_method
244
+ def get_subject: (
245
+ subject_id: ::String
246
+ ) -> _GetSubjectResponseSuccess
247
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSubjectResponseSuccess
248
+
249
+ interface _GetTrustAnchorResponseSuccess
250
+ include ::Seahorse::Client::_ResponseSuccess[Types::TrustAnchorDetailResponse]
251
+ def trust_anchor: () -> Types::TrustAnchorDetail
252
+ end
253
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#get_trust_anchor-instance_method
254
+ def get_trust_anchor: (
255
+ trust_anchor_id: ::String
256
+ ) -> _GetTrustAnchorResponseSuccess
257
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTrustAnchorResponseSuccess
258
+
259
+ interface _ImportCrlResponseSuccess
260
+ include ::Seahorse::Client::_ResponseSuccess[Types::CrlDetailResponse]
261
+ def crl: () -> Types::CrlDetail
262
+ end
263
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#import_crl-instance_method
264
+ def import_crl: (
265
+ crl_data: ::String,
266
+ ?enabled: bool,
267
+ name: ::String,
268
+ ?tags: Array[
269
+ {
270
+ key: ::String,
271
+ value: ::String
272
+ },
273
+ ],
274
+ trust_anchor_arn: ::String
275
+ ) -> _ImportCrlResponseSuccess
276
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportCrlResponseSuccess
277
+
278
+ interface _ListCrlsResponseSuccess
279
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCrlsResponse]
280
+ def crls: () -> ::Array[Types::CrlDetail]
281
+ def next_token: () -> ::String
282
+ end
283
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#list_crls-instance_method
284
+ def list_crls: (
285
+ ?next_token: ::String,
286
+ ?page_size: ::Integer
287
+ ) -> _ListCrlsResponseSuccess
288
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCrlsResponseSuccess
289
+
290
+ interface _ListProfilesResponseSuccess
291
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListProfilesResponse]
292
+ def next_token: () -> ::String
293
+ def profiles: () -> ::Array[Types::ProfileDetail]
294
+ end
295
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#list_profiles-instance_method
296
+ def list_profiles: (
297
+ ?next_token: ::String,
298
+ ?page_size: ::Integer
299
+ ) -> _ListProfilesResponseSuccess
300
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProfilesResponseSuccess
301
+
302
+ interface _ListSubjectsResponseSuccess
303
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSubjectsResponse]
304
+ def next_token: () -> ::String
305
+ def subjects: () -> ::Array[Types::SubjectSummary]
306
+ end
307
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#list_subjects-instance_method
308
+ def list_subjects: (
309
+ ?next_token: ::String,
310
+ ?page_size: ::Integer
311
+ ) -> _ListSubjectsResponseSuccess
312
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSubjectsResponseSuccess
313
+
314
+ interface _ListTagsForResourceResponseSuccess
315
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
316
+ def tags: () -> ::Array[Types::Tag]
317
+ end
318
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#list_tags_for_resource-instance_method
319
+ def list_tags_for_resource: (
320
+ resource_arn: ::String
321
+ ) -> _ListTagsForResourceResponseSuccess
322
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
323
+
324
+ interface _ListTrustAnchorsResponseSuccess
325
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTrustAnchorsResponse]
326
+ def next_token: () -> ::String
327
+ def trust_anchors: () -> ::Array[Types::TrustAnchorDetail]
328
+ end
329
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#list_trust_anchors-instance_method
330
+ def list_trust_anchors: (
331
+ ?next_token: ::String,
332
+ ?page_size: ::Integer
333
+ ) -> _ListTrustAnchorsResponseSuccess
334
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTrustAnchorsResponseSuccess
335
+
336
+ interface _PutNotificationSettingsResponseSuccess
337
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutNotificationSettingsResponse]
338
+ def trust_anchor: () -> Types::TrustAnchorDetail
339
+ end
340
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#put_notification_settings-instance_method
341
+ def put_notification_settings: (
342
+ notification_settings: Array[
343
+ {
344
+ channel: ("ALL")?,
345
+ enabled: bool,
346
+ event: ("CA_CERTIFICATE_EXPIRY" | "END_ENTITY_CERTIFICATE_EXPIRY"),
347
+ threshold: ::Integer?
348
+ },
349
+ ],
350
+ trust_anchor_id: ::String
351
+ ) -> _PutNotificationSettingsResponseSuccess
352
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutNotificationSettingsResponseSuccess
353
+
354
+ interface _ResetNotificationSettingsResponseSuccess
355
+ include ::Seahorse::Client::_ResponseSuccess[Types::ResetNotificationSettingsResponse]
356
+ def trust_anchor: () -> Types::TrustAnchorDetail
357
+ end
358
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#reset_notification_settings-instance_method
359
+ def reset_notification_settings: (
360
+ notification_setting_keys: Array[
361
+ {
362
+ channel: ("ALL")?,
363
+ event: ("CA_CERTIFICATE_EXPIRY" | "END_ENTITY_CERTIFICATE_EXPIRY")
364
+ },
365
+ ],
366
+ trust_anchor_id: ::String
367
+ ) -> _ResetNotificationSettingsResponseSuccess
368
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResetNotificationSettingsResponseSuccess
369
+
370
+ interface _TagResourceResponseSuccess
371
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
372
+ end
373
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#tag_resource-instance_method
374
+ def tag_resource: (
375
+ resource_arn: ::String,
376
+ tags: Array[
377
+ {
378
+ key: ::String,
379
+ value: ::String
380
+ },
381
+ ]
382
+ ) -> _TagResourceResponseSuccess
383
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
384
+
385
+ interface _UntagResourceResponseSuccess
386
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
387
+ end
388
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#untag_resource-instance_method
389
+ def untag_resource: (
390
+ resource_arn: ::String,
391
+ tag_keys: Array[::String]
392
+ ) -> _UntagResourceResponseSuccess
393
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
394
+
395
+ interface _UpdateCrlResponseSuccess
396
+ include ::Seahorse::Client::_ResponseSuccess[Types::CrlDetailResponse]
397
+ def crl: () -> Types::CrlDetail
398
+ end
399
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#update_crl-instance_method
400
+ def update_crl: (
401
+ ?crl_data: ::String,
402
+ crl_id: ::String,
403
+ ?name: ::String
404
+ ) -> _UpdateCrlResponseSuccess
405
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCrlResponseSuccess
406
+
407
+ interface _UpdateProfileResponseSuccess
408
+ include ::Seahorse::Client::_ResponseSuccess[Types::ProfileDetailResponse]
409
+ def profile: () -> Types::ProfileDetail
410
+ end
411
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#update_profile-instance_method
412
+ def update_profile: (
413
+ ?duration_seconds: ::Integer,
414
+ ?managed_policy_arns: Array[::String],
415
+ ?name: ::String,
416
+ profile_id: ::String,
417
+ ?role_arns: Array[::String],
418
+ ?session_policy: ::String
419
+ ) -> _UpdateProfileResponseSuccess
420
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProfileResponseSuccess
421
+
422
+ interface _UpdateTrustAnchorResponseSuccess
423
+ include ::Seahorse::Client::_ResponseSuccess[Types::TrustAnchorDetailResponse]
424
+ def trust_anchor: () -> Types::TrustAnchorDetail
425
+ end
426
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Client.html#update_trust_anchor-instance_method
427
+ def update_trust_anchor: (
428
+ ?name: ::String,
429
+ ?source: {
430
+ source_data: {
431
+ acm_pca_arn: ::String?,
432
+ x509_certificate_data: ::String?
433
+ }?,
434
+ source_type: ("AWS_ACM_PCA" | "CERTIFICATE_BUNDLE" | "SELF_SIGNED_REPOSITORY")?
435
+ },
436
+ trust_anchor_id: ::String
437
+ ) -> _UpdateTrustAnchorResponseSuccess
438
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTrustAnchorResponseSuccess
439
+ end
440
+ end
441
+ end
442
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,28 @@
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 RolesAnywhere
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 ResourceNotFoundException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class TooManyTagsException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ValidationException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ end
27
+ end
28
+ 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 RolesAnywhere
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RolesAnywhere/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,335 @@
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::RolesAnywhere
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class CreateProfileRequest
17
+ attr_accessor duration_seconds: ::Integer
18
+ attr_accessor enabled: bool
19
+ attr_accessor managed_policy_arns: ::Array[::String]
20
+ attr_accessor name: ::String
21
+ attr_accessor require_instance_properties: bool
22
+ attr_accessor role_arns: ::Array[::String]
23
+ attr_accessor session_policy: ::String
24
+ attr_accessor tags: ::Array[Types::Tag]
25
+ SENSITIVE: []
26
+ end
27
+
28
+ class CreateTrustAnchorRequest
29
+ attr_accessor enabled: bool
30
+ attr_accessor name: ::String
31
+ attr_accessor notification_settings: ::Array[Types::NotificationSetting]
32
+ attr_accessor source: Types::Source
33
+ attr_accessor tags: ::Array[Types::Tag]
34
+ SENSITIVE: []
35
+ end
36
+
37
+ class CredentialSummary
38
+ attr_accessor enabled: bool
39
+ attr_accessor failed: bool
40
+ attr_accessor issuer: ::String
41
+ attr_accessor seen_at: ::Time
42
+ attr_accessor serial_number: ::String
43
+ attr_accessor x509_certificate_data: ::String
44
+ SENSITIVE: []
45
+ end
46
+
47
+ class CrlDetail
48
+ attr_accessor created_at: ::Time
49
+ attr_accessor crl_arn: ::String
50
+ attr_accessor crl_data: ::String
51
+ attr_accessor crl_id: ::String
52
+ attr_accessor enabled: bool
53
+ attr_accessor name: ::String
54
+ attr_accessor trust_anchor_arn: ::String
55
+ attr_accessor updated_at: ::Time
56
+ SENSITIVE: []
57
+ end
58
+
59
+ class CrlDetailResponse
60
+ attr_accessor crl: Types::CrlDetail
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class ImportCrlRequest
65
+ attr_accessor crl_data: ::String
66
+ attr_accessor enabled: bool
67
+ attr_accessor name: ::String
68
+ attr_accessor tags: ::Array[Types::Tag]
69
+ attr_accessor trust_anchor_arn: ::String
70
+ SENSITIVE: []
71
+ end
72
+
73
+ class InstanceProperty
74
+ attr_accessor failed: bool
75
+ attr_accessor properties: ::Hash[::String, ::String]
76
+ attr_accessor seen_at: ::Time
77
+ SENSITIVE: []
78
+ end
79
+
80
+ class ListCrlsResponse
81
+ attr_accessor crls: ::Array[Types::CrlDetail]
82
+ attr_accessor next_token: ::String
83
+ SENSITIVE: []
84
+ end
85
+
86
+ class ListProfilesResponse
87
+ attr_accessor next_token: ::String
88
+ attr_accessor profiles: ::Array[Types::ProfileDetail]
89
+ SENSITIVE: []
90
+ end
91
+
92
+ class ListRequest
93
+ attr_accessor next_token: ::String
94
+ attr_accessor page_size: ::Integer
95
+ SENSITIVE: []
96
+ end
97
+
98
+ class ListSubjectsResponse
99
+ attr_accessor next_token: ::String
100
+ attr_accessor subjects: ::Array[Types::SubjectSummary]
101
+ SENSITIVE: []
102
+ end
103
+
104
+ class ListTagsForResourceRequest
105
+ attr_accessor resource_arn: ::String
106
+ SENSITIVE: []
107
+ end
108
+
109
+ class ListTagsForResourceResponse
110
+ attr_accessor tags: ::Array[Types::Tag]
111
+ SENSITIVE: []
112
+ end
113
+
114
+ class ListTrustAnchorsResponse
115
+ attr_accessor next_token: ::String
116
+ attr_accessor trust_anchors: ::Array[Types::TrustAnchorDetail]
117
+ SENSITIVE: []
118
+ end
119
+
120
+ class NotificationSetting
121
+ attr_accessor channel: ("ALL")
122
+ attr_accessor enabled: bool
123
+ attr_accessor event: ("CA_CERTIFICATE_EXPIRY" | "END_ENTITY_CERTIFICATE_EXPIRY")
124
+ attr_accessor threshold: ::Integer
125
+ SENSITIVE: []
126
+ end
127
+
128
+ class NotificationSettingDetail
129
+ attr_accessor channel: ("ALL")
130
+ attr_accessor configured_by: ::String
131
+ attr_accessor enabled: bool
132
+ attr_accessor event: ("CA_CERTIFICATE_EXPIRY" | "END_ENTITY_CERTIFICATE_EXPIRY")
133
+ attr_accessor threshold: ::Integer
134
+ SENSITIVE: []
135
+ end
136
+
137
+ class NotificationSettingKey
138
+ attr_accessor channel: ("ALL")
139
+ attr_accessor event: ("CA_CERTIFICATE_EXPIRY" | "END_ENTITY_CERTIFICATE_EXPIRY")
140
+ SENSITIVE: []
141
+ end
142
+
143
+ class ProfileDetail
144
+ attr_accessor created_at: ::Time
145
+ attr_accessor created_by: ::String
146
+ attr_accessor duration_seconds: ::Integer
147
+ attr_accessor enabled: bool
148
+ attr_accessor managed_policy_arns: ::Array[::String]
149
+ attr_accessor name: ::String
150
+ attr_accessor profile_arn: ::String
151
+ attr_accessor profile_id: ::String
152
+ attr_accessor require_instance_properties: bool
153
+ attr_accessor role_arns: ::Array[::String]
154
+ attr_accessor session_policy: ::String
155
+ attr_accessor updated_at: ::Time
156
+ SENSITIVE: []
157
+ end
158
+
159
+ class ProfileDetailResponse
160
+ attr_accessor profile: Types::ProfileDetail
161
+ SENSITIVE: []
162
+ end
163
+
164
+ class PutNotificationSettingsRequest
165
+ attr_accessor notification_settings: ::Array[Types::NotificationSetting]
166
+ attr_accessor trust_anchor_id: ::String
167
+ SENSITIVE: []
168
+ end
169
+
170
+ class PutNotificationSettingsResponse
171
+ attr_accessor trust_anchor: Types::TrustAnchorDetail
172
+ SENSITIVE: []
173
+ end
174
+
175
+ class ResetNotificationSettingsRequest
176
+ attr_accessor notification_setting_keys: ::Array[Types::NotificationSettingKey]
177
+ attr_accessor trust_anchor_id: ::String
178
+ SENSITIVE: []
179
+ end
180
+
181
+ class ResetNotificationSettingsResponse
182
+ attr_accessor trust_anchor: Types::TrustAnchorDetail
183
+ SENSITIVE: []
184
+ end
185
+
186
+ class ResourceNotFoundException
187
+ attr_accessor message: ::String
188
+ SENSITIVE: []
189
+ end
190
+
191
+ class ScalarCrlRequest
192
+ attr_accessor crl_id: ::String
193
+ SENSITIVE: []
194
+ end
195
+
196
+ class ScalarProfileRequest
197
+ attr_accessor profile_id: ::String
198
+ SENSITIVE: []
199
+ end
200
+
201
+ class ScalarSubjectRequest
202
+ attr_accessor subject_id: ::String
203
+ SENSITIVE: []
204
+ end
205
+
206
+ class ScalarTrustAnchorRequest
207
+ attr_accessor trust_anchor_id: ::String
208
+ SENSITIVE: []
209
+ end
210
+
211
+ class Source
212
+ attr_accessor source_data: Types::SourceData
213
+ attr_accessor source_type: ("AWS_ACM_PCA" | "CERTIFICATE_BUNDLE" | "SELF_SIGNED_REPOSITORY")
214
+ SENSITIVE: []
215
+ end
216
+
217
+ class SourceData
218
+ attr_accessor acm_pca_arn: ::String
219
+ attr_accessor x509_certificate_data: ::String
220
+ attr_accessor unknown: untyped
221
+ SENSITIVE: []
222
+
223
+ class AcmPcaArn < SourceData
224
+ end
225
+ class X509CertificateData < SourceData
226
+ end
227
+ class Unknown < SourceData
228
+ end
229
+ end
230
+
231
+ class SubjectDetail
232
+ attr_accessor created_at: ::Time
233
+ attr_accessor credentials: ::Array[Types::CredentialSummary]
234
+ attr_accessor enabled: bool
235
+ attr_accessor instance_properties: ::Array[Types::InstanceProperty]
236
+ attr_accessor last_seen_at: ::Time
237
+ attr_accessor subject_arn: ::String
238
+ attr_accessor subject_id: ::String
239
+ attr_accessor updated_at: ::Time
240
+ attr_accessor x509_subject: ::String
241
+ SENSITIVE: []
242
+ end
243
+
244
+ class SubjectDetailResponse
245
+ attr_accessor subject: Types::SubjectDetail
246
+ SENSITIVE: []
247
+ end
248
+
249
+ class SubjectSummary
250
+ attr_accessor created_at: ::Time
251
+ attr_accessor enabled: bool
252
+ attr_accessor last_seen_at: ::Time
253
+ attr_accessor subject_arn: ::String
254
+ attr_accessor subject_id: ::String
255
+ attr_accessor updated_at: ::Time
256
+ attr_accessor x509_subject: ::String
257
+ SENSITIVE: []
258
+ end
259
+
260
+ class Tag
261
+ attr_accessor key: ::String
262
+ attr_accessor value: ::String
263
+ SENSITIVE: [:key, :value]
264
+ end
265
+
266
+ class TagResourceRequest
267
+ attr_accessor resource_arn: ::String
268
+ attr_accessor tags: ::Array[Types::Tag]
269
+ SENSITIVE: []
270
+ end
271
+
272
+ class TagResourceResponse < Aws::EmptyStructure
273
+ end
274
+
275
+ class TooManyTagsException
276
+ attr_accessor message: ::String
277
+ SENSITIVE: []
278
+ end
279
+
280
+ class TrustAnchorDetail
281
+ attr_accessor created_at: ::Time
282
+ attr_accessor enabled: bool
283
+ attr_accessor name: ::String
284
+ attr_accessor notification_settings: ::Array[Types::NotificationSettingDetail]
285
+ attr_accessor source: Types::Source
286
+ attr_accessor trust_anchor_arn: ::String
287
+ attr_accessor trust_anchor_id: ::String
288
+ attr_accessor updated_at: ::Time
289
+ SENSITIVE: []
290
+ end
291
+
292
+ class TrustAnchorDetailResponse
293
+ attr_accessor trust_anchor: Types::TrustAnchorDetail
294
+ SENSITIVE: []
295
+ end
296
+
297
+ class UntagResourceRequest
298
+ attr_accessor resource_arn: ::String
299
+ attr_accessor tag_keys: ::Array[::String]
300
+ SENSITIVE: []
301
+ end
302
+
303
+ class UntagResourceResponse < Aws::EmptyStructure
304
+ end
305
+
306
+ class UpdateCrlRequest
307
+ attr_accessor crl_data: ::String
308
+ attr_accessor crl_id: ::String
309
+ attr_accessor name: ::String
310
+ SENSITIVE: []
311
+ end
312
+
313
+ class UpdateProfileRequest
314
+ attr_accessor duration_seconds: ::Integer
315
+ attr_accessor managed_policy_arns: ::Array[::String]
316
+ attr_accessor name: ::String
317
+ attr_accessor profile_id: ::String
318
+ attr_accessor role_arns: ::Array[::String]
319
+ attr_accessor session_policy: ::String
320
+ SENSITIVE: []
321
+ end
322
+
323
+ class UpdateTrustAnchorRequest
324
+ attr_accessor name: ::String
325
+ attr_accessor source: Types::Source
326
+ attr_accessor trust_anchor_id: ::String
327
+ SENSITIVE: []
328
+ end
329
+
330
+ class ValidationException
331
+ attr_accessor message: ::String
332
+ SENSITIVE: []
333
+ end
334
+ end
335
+ 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 RolesAnywhere
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-rolesanywhere
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.12.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: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-01-26 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.188.0
22
+ version: 3.191.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.188.0
32
+ version: 3.191.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-rolesanywhere/plugins/endpoints.rb
67
67
  - lib/aws-sdk-rolesanywhere/resource.rb
68
68
  - lib/aws-sdk-rolesanywhere/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-rolesanywhere
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-rolesanywhere/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.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - IAM Roles Anywhere
94
99
  test_files: []