aws-sdk-iam 1.93.0 → 1.95.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-iam/client.rb +29 -21
- data/lib/aws-sdk-iam/client_api.rb +7 -1
- data/lib/aws-sdk-iam/errors.rb +16 -0
- data/lib/aws-sdk-iam/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-iam/types.rb +41 -17
- data/lib/aws-sdk-iam.rb +1 -1
- data/sig/access_key.rbs +62 -0
- data/sig/access_key_pair.rbs +63 -0
- data/sig/account_password_policy.rbs +80 -0
- data/sig/account_summary.rbs +35 -0
- data/sig/assume_role_policy.rbs +43 -0
- data/sig/client.rbs +1826 -0
- data/sig/current_user.rbs +77 -0
- data/sig/errors.rbs +100 -0
- data/sig/group.rbs +118 -0
- data/sig/group_policy.rbs +58 -0
- data/sig/instance_profile.rbs +80 -0
- data/sig/login_profile.rbs +65 -0
- data/sig/mfa_device.rbs +62 -0
- data/sig/policy.rbs +147 -0
- data/sig/policy_version.rbs +59 -0
- data/sig/resource.rbs +304 -0
- data/sig/role.rbs +107 -0
- data/sig/role_policy.rbs +58 -0
- data/sig/saml_provider.rbs +60 -0
- data/sig/server_certificate.rbs +61 -0
- data/sig/signing_certificate.rbs +65 -0
- data/sig/types.rbs +2136 -0
- data/sig/user.rbs +188 -0
- data/sig/user_policy.rbs +58 -0
- data/sig/virtual_mfa_device.rbs +54 -0
- data/sig/waiters.rbs +53 -0
- metadata +34 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b1babaf1113737628781613a10bcdbb3fa4f7ca9feb75fad5b6e753f56ff904
|
4
|
+
data.tar.gz: b87db6c6cf3de1820478094f84bf31af1b3bad2559d8e0b5d3aae3b5be64be8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fa5f05f98660acd3bf706c7c2d8932a45542d219f2a51b60eda0028efe664c422a737aa82401e195891d6ecc14ad932a8dde511e61cc1c319f88562b5345785
|
7
|
+
data.tar.gz: 7cce096cae8761f3179c58f44080612109991111dbe98e84ed30ac9fd5b771e74e406af5891a6675d40e59ba51a3ca6b10b87e347f3bd389f249fcb67050ab2c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.95.0 (2024-04-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - For CreateOpenIDConnectProvider API, the ThumbprintList parameter is no longer required.
|
8
|
+
|
9
|
+
1.94.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.93.0 (2023-12-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.95.0
|
data/lib/aws-sdk-iam/client.rb
CHANGED
@@ -1372,20 +1372,23 @@ module Aws::IAM
|
|
1372
1372
|
# `CreateOpenIDConnectProviderRequest` operation accepts client IDs up
|
1373
1373
|
# to 255 characters long.
|
1374
1374
|
#
|
1375
|
-
# @option params [
|
1375
|
+
# @option params [Array<String>] :thumbprint_list
|
1376
1376
|
# A list of server certificate thumbprints for the OpenID Connect (OIDC)
|
1377
1377
|
# identity provider's server certificates. Typically this list includes
|
1378
1378
|
# only one entry. However, IAM lets you have up to five thumbprints for
|
1379
1379
|
# an OIDC provider. This lets you maintain multiple thumbprints if the
|
1380
1380
|
# identity provider is rotating certificates.
|
1381
1381
|
#
|
1382
|
+
# This parameter is optional. If it is not included, IAM will retrieve
|
1383
|
+
# and use the top intermediate certificate authority (CA) thumbprint of
|
1384
|
+
# the OpenID Connect identity provider server certificate.
|
1385
|
+
#
|
1382
1386
|
# The server certificate thumbprint is the hex-encoded SHA-1 hash value
|
1383
1387
|
# of the X.509 certificate used by the domain where the OpenID Connect
|
1384
1388
|
# provider makes its keys available. It is always a 40-character string.
|
1385
1389
|
#
|
1386
|
-
#
|
1387
|
-
# provider
|
1388
|
-
# `server.example.com` and the provider stores its keys at
|
1390
|
+
# For example, assume that the OIDC provider is `server.example.com` and
|
1391
|
+
# the provider stores its keys at
|
1389
1392
|
# https://keys.server.example.com/openid-connect. In that case, the
|
1390
1393
|
# thumbprint string would be the hex-encoded SHA-1 hash value of the
|
1391
1394
|
# certificate used by `https://keys.server.example.com.`
|
@@ -1445,7 +1448,7 @@ module Aws::IAM
|
|
1445
1448
|
# resp = client.create_open_id_connect_provider({
|
1446
1449
|
# url: "OpenIDConnectProviderUrlType", # required
|
1447
1450
|
# client_id_list: ["clientIDType"],
|
1448
|
-
# thumbprint_list: ["thumbprintType"],
|
1451
|
+
# thumbprint_list: ["thumbprintType"],
|
1449
1452
|
# tags: [
|
1450
1453
|
# {
|
1451
1454
|
# key: "tagKeyType", # required
|
@@ -9878,7 +9881,7 @@ module Aws::IAM
|
|
9878
9881
|
req.send_request(options)
|
9879
9882
|
end
|
9880
9883
|
|
9881
|
-
# Removes the specified IAM role from the specified EC2 instance
|
9884
|
+
# Removes the specified IAM role from the specified Amazon EC2 instance
|
9882
9885
|
# profile.
|
9883
9886
|
#
|
9884
9887
|
# Make sure that you do not have any Amazon EC2 instances running with
|
@@ -10465,13 +10468,13 @@ module Aws::IAM
|
|
10465
10468
|
# following list shows each of the supported scenario values and the
|
10466
10469
|
# resources that you must define to run the simulation.
|
10467
10470
|
#
|
10468
|
-
# Each of the EC2 scenarios requires that you specify instance,
|
10469
|
-
# and security group resources. If your scenario includes an EBS
|
10470
|
-
# then you must specify that volume as a resource. If the
|
10471
|
-
# includes VPC, then you must supply the network interface
|
10472
|
-
# it includes an IP subnet, then you must specify the
|
10473
|
-
# For more information on the EC2 scenario
|
10474
|
-
# platforms][1] in the *Amazon EC2 User Guide*.
|
10471
|
+
# Each of the Amazon EC2 scenarios requires that you specify instance,
|
10472
|
+
# image, and security group resources. If your scenario includes an EBS
|
10473
|
+
# volume, then you must specify that volume as a resource. If the Amazon
|
10474
|
+
# EC2 scenario includes VPC, then you must supply the network interface
|
10475
|
+
# resource. If it includes an IP subnet, then you must specify the
|
10476
|
+
# subnet resource. For more information on the Amazon EC2 scenario
|
10477
|
+
# options, see [Supported platforms][1] in the *Amazon EC2 User Guide*.
|
10475
10478
|
#
|
10476
10479
|
# * **EC2-VPC-InstanceStore**
|
10477
10480
|
#
|
@@ -10830,13 +10833,13 @@ module Aws::IAM
|
|
10830
10833
|
# following list shows each of the supported scenario values and the
|
10831
10834
|
# resources that you must define to run the simulation.
|
10832
10835
|
#
|
10833
|
-
# Each of the EC2 scenarios requires that you specify instance,
|
10834
|
-
# and security group resources. If your scenario includes an EBS
|
10835
|
-
# then you must specify that volume as a resource. If the
|
10836
|
-
# includes VPC, then you must supply the network interface
|
10837
|
-
# it includes an IP subnet, then you must specify the
|
10838
|
-
# For more information on the EC2 scenario
|
10839
|
-
# platforms][1] in the *Amazon EC2 User Guide*.
|
10836
|
+
# Each of the Amazon EC2 scenarios requires that you specify instance,
|
10837
|
+
# image, and security group resources. If your scenario includes an EBS
|
10838
|
+
# volume, then you must specify that volume as a resource. If the Amazon
|
10839
|
+
# EC2 scenario includes VPC, then you must supply the network interface
|
10840
|
+
# resource. If it includes an IP subnet, then you must specify the
|
10841
|
+
# subnet resource. For more information on the Amazon EC2 scenario
|
10842
|
+
# options, see [Supported platforms][1] in the *Amazon EC2 User Guide*.
|
10840
10843
|
#
|
10841
10844
|
# * **EC2-VPC-InstanceStore**
|
10842
10845
|
#
|
@@ -12564,6 +12567,11 @@ module Aws::IAM
|
|
12564
12567
|
# when you use those operations to create a console URL. For more
|
12565
12568
|
# information, see [Using IAM roles][1] in the *IAM User Guide*.
|
12566
12569
|
#
|
12570
|
+
# <note markdown="1"> IAM role credentials provided by Amazon EC2 instances assigned to the
|
12571
|
+
# role are not subject to the specified maximum session duration.
|
12572
|
+
#
|
12573
|
+
# </note>
|
12574
|
+
#
|
12567
12575
|
#
|
12568
12576
|
#
|
12569
12577
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html
|
@@ -13467,7 +13475,7 @@ module Aws::IAM
|
|
13467
13475
|
params: params,
|
13468
13476
|
config: config)
|
13469
13477
|
context[:gem_name] = 'aws-sdk-iam'
|
13470
|
-
context[:gem_version] = '1.
|
13478
|
+
context[:gem_version] = '1.95.0'
|
13471
13479
|
Seahorse::Client::Request.new(handlers, context)
|
13472
13480
|
end
|
13473
13481
|
|
@@ -262,6 +262,7 @@ module Aws::IAM
|
|
262
262
|
OpenIDConnectProviderListEntry = Shapes::StructureShape.new(name: 'OpenIDConnectProviderListEntry')
|
263
263
|
OpenIDConnectProviderListType = Shapes::ListShape.new(name: 'OpenIDConnectProviderListType')
|
264
264
|
OpenIDConnectProviderUrlType = Shapes::StringShape.new(name: 'OpenIDConnectProviderUrlType')
|
265
|
+
OpenIdIdpCommunicationErrorException = Shapes::StructureShape.new(name: 'OpenIdIdpCommunicationErrorException')
|
265
266
|
OrganizationsDecisionDetail = Shapes::StructureShape.new(name: 'OrganizationsDecisionDetail')
|
266
267
|
PasswordPolicy = Shapes::StructureShape.new(name: 'PasswordPolicy')
|
267
268
|
PasswordPolicyViolationException = Shapes::StructureShape.new(name: 'PasswordPolicyViolationException')
|
@@ -444,6 +445,7 @@ module Aws::IAM
|
|
444
445
|
mfaDeviceListType = Shapes::ListShape.new(name: 'mfaDeviceListType')
|
445
446
|
minimumPasswordLengthType = Shapes::IntegerShape.new(name: 'minimumPasswordLengthType')
|
446
447
|
noSuchEntityMessage = Shapes::StringShape.new(name: 'noSuchEntityMessage')
|
448
|
+
openIdIdpCommunicationErrorExceptionMessage = Shapes::StringShape.new(name: 'openIdIdpCommunicationErrorExceptionMessage')
|
447
449
|
organizationsEntityPathType = Shapes::StringShape.new(name: 'organizationsEntityPathType')
|
448
450
|
organizationsPolicyIdType = Shapes::StringShape.new(name: 'organizationsPolicyIdType')
|
449
451
|
passwordPolicyViolationMessage = Shapes::StringShape.new(name: 'passwordPolicyViolationMessage')
|
@@ -628,7 +630,7 @@ module Aws::IAM
|
|
628
630
|
|
629
631
|
CreateOpenIDConnectProviderRequest.add_member(:url, Shapes::ShapeRef.new(shape: OpenIDConnectProviderUrlType, required: true, location_name: "Url"))
|
630
632
|
CreateOpenIDConnectProviderRequest.add_member(:client_id_list, Shapes::ShapeRef.new(shape: clientIDListType, location_name: "ClientIDList"))
|
631
|
-
CreateOpenIDConnectProviderRequest.add_member(:thumbprint_list, Shapes::ShapeRef.new(shape: thumbprintListType,
|
633
|
+
CreateOpenIDConnectProviderRequest.add_member(:thumbprint_list, Shapes::ShapeRef.new(shape: thumbprintListType, location_name: "ThumbprintList"))
|
632
634
|
CreateOpenIDConnectProviderRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, location_name: "Tags"))
|
633
635
|
CreateOpenIDConnectProviderRequest.struct_class = Types::CreateOpenIDConnectProviderRequest
|
634
636
|
|
@@ -1523,6 +1525,9 @@ module Aws::IAM
|
|
1523
1525
|
|
1524
1526
|
OpenIDConnectProviderListType.member = Shapes::ShapeRef.new(shape: OpenIDConnectProviderListEntry)
|
1525
1527
|
|
1528
|
+
OpenIdIdpCommunicationErrorException.add_member(:message, Shapes::ShapeRef.new(shape: openIdIdpCommunicationErrorExceptionMessage, location_name: "message"))
|
1529
|
+
OpenIdIdpCommunicationErrorException.struct_class = Types::OpenIdIdpCommunicationErrorException
|
1530
|
+
|
1526
1531
|
OrganizationsDecisionDetail.add_member(:allowed_by_organizations, Shapes::ShapeRef.new(shape: booleanType, location_name: "AllowedByOrganizations"))
|
1527
1532
|
OrganizationsDecisionDetail.struct_class = Types::OrganizationsDecisionDetail
|
1528
1533
|
|
@@ -2290,6 +2295,7 @@ module Aws::IAM
|
|
2290
2295
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2291
2296
|
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
2292
2297
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
2298
|
+
o.errors << Shapes::ShapeRef.new(shape: OpenIdIdpCommunicationErrorException)
|
2293
2299
|
end)
|
2294
2300
|
|
2295
2301
|
api.add_operation(:create_policy, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-iam/errors.rb
CHANGED
@@ -46,6 +46,7 @@ module Aws::IAM
|
|
46
46
|
# * {MalformedCertificateException}
|
47
47
|
# * {MalformedPolicyDocumentException}
|
48
48
|
# * {NoSuchEntityException}
|
49
|
+
# * {OpenIdIdpCommunicationErrorException}
|
49
50
|
# * {PasswordPolicyViolationException}
|
50
51
|
# * {PolicyEvaluationException}
|
51
52
|
# * {PolicyNotAttachableException}
|
@@ -346,6 +347,21 @@ module Aws::IAM
|
|
346
347
|
end
|
347
348
|
end
|
348
349
|
|
350
|
+
class OpenIdIdpCommunicationErrorException < ServiceError
|
351
|
+
|
352
|
+
# @param [Seahorse::Client::RequestContext] context
|
353
|
+
# @param [String] message
|
354
|
+
# @param [Aws::IAM::Types::OpenIdIdpCommunicationErrorException] data
|
355
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
356
|
+
super(context, message, data)
|
357
|
+
end
|
358
|
+
|
359
|
+
# @return [String]
|
360
|
+
def message
|
361
|
+
@message || @data[:message]
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
349
365
|
class PasswordPolicyViolationException < ServiceError
|
350
366
|
|
351
367
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -14,6 +14,7 @@ module Aws::IAM
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::IAM::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-iam/types.rb
CHANGED
@@ -877,14 +877,17 @@ module Aws::IAM
|
|
877
877
|
# thumbprints for an OIDC provider. This lets you maintain multiple
|
878
878
|
# thumbprints if the identity provider is rotating certificates.
|
879
879
|
#
|
880
|
+
# This parameter is optional. If it is not included, IAM will retrieve
|
881
|
+
# and use the top intermediate certificate authority (CA) thumbprint
|
882
|
+
# of the OpenID Connect identity provider server certificate.
|
883
|
+
#
|
880
884
|
# The server certificate thumbprint is the hex-encoded SHA-1 hash
|
881
885
|
# value of the X.509 certificate used by the domain where the OpenID
|
882
886
|
# Connect provider makes its keys available. It is always a
|
883
887
|
# 40-character string.
|
884
888
|
#
|
885
|
-
#
|
886
|
-
#
|
887
|
-
# `server.example.com` and the provider stores its keys at
|
889
|
+
# For example, assume that the OIDC provider is `server.example.com`
|
890
|
+
# and the provider stores its keys at
|
888
891
|
# https://keys.server.example.com/openid-connect. In that case, the
|
889
892
|
# thumbprint string would be the hex-encoded SHA-1 hash value of the
|
890
893
|
# certificate used by `https://keys.server.example.com.`
|
@@ -7573,6 +7576,20 @@ module Aws::IAM
|
|
7573
7576
|
include Aws::Structure
|
7574
7577
|
end
|
7575
7578
|
|
7579
|
+
# The request failed because IAM cannot connect to the OpenID Connect
|
7580
|
+
# identity provider URL.
|
7581
|
+
#
|
7582
|
+
# @!attribute [rw] message
|
7583
|
+
# @return [String]
|
7584
|
+
#
|
7585
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/OpenIdIdpCommunicationErrorException AWS API Documentation
|
7586
|
+
#
|
7587
|
+
class OpenIdIdpCommunicationErrorException < Struct.new(
|
7588
|
+
:message)
|
7589
|
+
SENSITIVE = []
|
7590
|
+
include Aws::Structure
|
7591
|
+
end
|
7592
|
+
|
7576
7593
|
# Contains information about the effect that Organizations has on a
|
7577
7594
|
# policy simulation.
|
7578
7595
|
#
|
@@ -9723,13 +9740,14 @@ module Aws::IAM
|
|
9723
9740
|
# scenario values and the resources that you must define to run the
|
9724
9741
|
# simulation.
|
9725
9742
|
#
|
9726
|
-
# Each of the EC2 scenarios requires that you specify instance,
|
9727
|
-
# and security group resources. If your scenario includes an
|
9728
|
-
# volume, then you must specify that volume as a resource. If the
|
9729
|
-
# scenario includes VPC, then you must supply the network
|
9730
|
-
# resource. If it includes an IP subnet, then you must
|
9731
|
-
# subnet resource. For more information on the EC2
|
9732
|
-
# see [Supported platforms][1] in the *Amazon EC2
|
9743
|
+
# Each of the Amazon EC2 scenarios requires that you specify instance,
|
9744
|
+
# image, and security group resources. If your scenario includes an
|
9745
|
+
# EBS volume, then you must specify that volume as a resource. If the
|
9746
|
+
# Amazon EC2 scenario includes VPC, then you must supply the network
|
9747
|
+
# interface resource. If it includes an IP subnet, then you must
|
9748
|
+
# specify the subnet resource. For more information on the Amazon EC2
|
9749
|
+
# scenario options, see [Supported platforms][1] in the *Amazon EC2
|
9750
|
+
# User Guide*.
|
9733
9751
|
#
|
9734
9752
|
# * **EC2-VPC-InstanceStore**
|
9735
9753
|
#
|
@@ -10030,13 +10048,14 @@ module Aws::IAM
|
|
10030
10048
|
# scenario values and the resources that you must define to run the
|
10031
10049
|
# simulation.
|
10032
10050
|
#
|
10033
|
-
# Each of the EC2 scenarios requires that you specify instance,
|
10034
|
-
# and security group resources. If your scenario includes an
|
10035
|
-
# volume, then you must specify that volume as a resource. If the
|
10036
|
-
# scenario includes VPC, then you must supply the network
|
10037
|
-
# resource. If it includes an IP subnet, then you must
|
10038
|
-
# subnet resource. For more information on the EC2
|
10039
|
-
# see [Supported platforms][1] in the *Amazon EC2
|
10051
|
+
# Each of the Amazon EC2 scenarios requires that you specify instance,
|
10052
|
+
# image, and security group resources. If your scenario includes an
|
10053
|
+
# EBS volume, then you must specify that volume as a resource. If the
|
10054
|
+
# Amazon EC2 scenario includes VPC, then you must supply the network
|
10055
|
+
# interface resource. If it includes an IP subnet, then you must
|
10056
|
+
# specify the subnet resource. For more information on the Amazon EC2
|
10057
|
+
# scenario options, see [Supported platforms][1] in the *Amazon EC2
|
10058
|
+
# User Guide*.
|
10040
10059
|
#
|
10041
10060
|
# * **EC2-VPC-InstanceStore**
|
10042
10061
|
#
|
@@ -11104,6 +11123,11 @@ module Aws::IAM
|
|
11104
11123
|
# URL. For more information, see [Using IAM roles][1] in the *IAM User
|
11105
11124
|
# Guide*.
|
11106
11125
|
#
|
11126
|
+
# <note markdown="1"> IAM role credentials provided by Amazon EC2 instances assigned to
|
11127
|
+
# the role are not subject to the specified maximum session duration.
|
11128
|
+
#
|
11129
|
+
# </note>
|
11130
|
+
#
|
11107
11131
|
#
|
11108
11132
|
#
|
11109
11133
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html
|
data/lib/aws-sdk-iam.rb
CHANGED
data/sig/access_key.rbs
ADDED
@@ -0,0 +1,62 @@
|
|
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 IAM
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html
|
11
|
+
class AccessKey
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#initialize-instance_method
|
13
|
+
def initialize: (String user_name, String id, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (user_name: String, id: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#user_name-instance_method
|
18
|
+
def user_name: () -> String
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#id-instance_method
|
21
|
+
def id: () -> String
|
22
|
+
alias access_key_id id
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#status-instance_method
|
25
|
+
def status: () -> ("Active" | "Inactive")
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#create_date-instance_method
|
28
|
+
def create_date: () -> ::Time
|
29
|
+
|
30
|
+
def client: () -> Client
|
31
|
+
|
32
|
+
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#data-instance_method
|
34
|
+
def data: () -> Types::AccessKeyMetadata
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#data_loaded?-instance_method
|
37
|
+
def data_loaded?: () -> bool
|
38
|
+
|
39
|
+
|
40
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#activate-instance_method
|
41
|
+
def activate: (
|
42
|
+
) -> ::Aws::EmptyStructure
|
43
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
44
|
+
|
45
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#deactivate-instance_method
|
46
|
+
def deactivate: (
|
47
|
+
) -> ::Aws::EmptyStructure
|
48
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
49
|
+
|
50
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#delete-instance_method
|
51
|
+
def delete: (
|
52
|
+
) -> ::Aws::EmptyStructure
|
53
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
54
|
+
|
55
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKey.html#user-instance_method
|
56
|
+
def user: () -> User
|
57
|
+
|
58
|
+
class Collection < ::Aws::Resources::Collection[AccessKey]
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,63 @@
|
|
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 IAM
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html
|
11
|
+
class AccessKeyPair
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#initialize-instance_method
|
13
|
+
def initialize: (String user_name, String id, String secret, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (user_name: String, id: String, secret: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#user_name-instance_method
|
18
|
+
def user_name: () -> String
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#id-instance_method
|
21
|
+
def id: () -> String
|
22
|
+
alias access_key_id id
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#secret-instance_method
|
25
|
+
def secret: () -> String
|
26
|
+
alias secret_access_key secret
|
27
|
+
|
28
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#status-instance_method
|
29
|
+
def status: () -> ("Active" | "Inactive")
|
30
|
+
|
31
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#create_date-instance_method
|
32
|
+
def create_date: () -> ::Time
|
33
|
+
|
34
|
+
def client: () -> Client
|
35
|
+
|
36
|
+
|
37
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#data-instance_method
|
38
|
+
def data: () -> Types::AccessKey
|
39
|
+
|
40
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#data_loaded?-instance_method
|
41
|
+
def data_loaded?: () -> bool
|
42
|
+
|
43
|
+
|
44
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#activate-instance_method
|
45
|
+
def activate: (
|
46
|
+
) -> ::Aws::EmptyStructure
|
47
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
48
|
+
|
49
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#deactivate-instance_method
|
50
|
+
def deactivate: (
|
51
|
+
) -> ::Aws::EmptyStructure
|
52
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
53
|
+
|
54
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccessKeyPair.html#delete-instance_method
|
55
|
+
def delete: (
|
56
|
+
) -> ::Aws::EmptyStructure
|
57
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
58
|
+
|
59
|
+
class Collection < ::Aws::Resources::Collection[AccessKeyPair]
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,80 @@
|
|
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 IAM
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html
|
11
|
+
class AccountPasswordPolicy
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#initialize-instance_method
|
13
|
+
def initialize: (Hash[Symbol, untyped] args) -> void
|
14
|
+
|
15
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#minimum_password_length-instance_method
|
16
|
+
def minimum_password_length: () -> ::Integer
|
17
|
+
|
18
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#require_symbols-instance_method
|
19
|
+
def require_symbols: () -> bool
|
20
|
+
|
21
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#require_numbers-instance_method
|
22
|
+
def require_numbers: () -> bool
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#require_uppercase_characters-instance_method
|
25
|
+
def require_uppercase_characters: () -> bool
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#require_lowercase_characters-instance_method
|
28
|
+
def require_lowercase_characters: () -> bool
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#allow_users_to_change_password-instance_method
|
31
|
+
def allow_users_to_change_password: () -> bool
|
32
|
+
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#expire_passwords-instance_method
|
34
|
+
def expire_passwords: () -> bool
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#max_password_age-instance_method
|
37
|
+
def max_password_age: () -> ::Integer
|
38
|
+
|
39
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#password_reuse_prevention-instance_method
|
40
|
+
def password_reuse_prevention: () -> ::Integer
|
41
|
+
|
42
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#hard_expiry-instance_method
|
43
|
+
def hard_expiry: () -> bool
|
44
|
+
|
45
|
+
def client: () -> Client
|
46
|
+
|
47
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#load-instance_method
|
48
|
+
def load: () -> self
|
49
|
+
alias reload load
|
50
|
+
|
51
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#data-instance_method
|
52
|
+
def data: () -> Types::PasswordPolicy
|
53
|
+
|
54
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#data_loaded?-instance_method
|
55
|
+
def data_loaded?: () -> bool
|
56
|
+
|
57
|
+
|
58
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#delete-instance_method
|
59
|
+
def delete: () -> ::Aws::EmptyStructure
|
60
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
61
|
+
|
62
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountPasswordPolicy.html#update-instance_method
|
63
|
+
def update: (
|
64
|
+
?minimum_password_length: ::Integer,
|
65
|
+
?require_symbols: bool,
|
66
|
+
?require_numbers: bool,
|
67
|
+
?require_uppercase_characters: bool,
|
68
|
+
?require_lowercase_characters: bool,
|
69
|
+
?allow_users_to_change_password: bool,
|
70
|
+
?max_password_age: ::Integer,
|
71
|
+
?password_reuse_prevention: ::Integer,
|
72
|
+
?hard_expiry: bool
|
73
|
+
) -> ::Aws::EmptyStructure
|
74
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
75
|
+
|
76
|
+
class Collection < ::Aws::Resources::Collection[AccountPasswordPolicy]
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
@@ -0,0 +1,35 @@
|
|
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 IAM
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountSummary.html
|
11
|
+
class AccountSummary
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountSummary.html#initialize-instance_method
|
13
|
+
def initialize: (Hash[Symbol, untyped] args) -> void
|
14
|
+
|
15
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountSummary.html#summary_map-instance_method
|
16
|
+
def summary_map: () -> ::Hash[("Users" | "UsersQuota" | "Groups" | "GroupsQuota" | "ServerCertificates" | "ServerCertificatesQuota" | "UserPolicySizeQuota" | "GroupPolicySizeQuota" | "GroupsPerUserQuota" | "SigningCertificatesPerUserQuota" | "AccessKeysPerUserQuota" | "MFADevices" | "MFADevicesInUse" | "AccountMFAEnabled" | "AccountAccessKeysPresent" | "AccountSigningCertificatesPresent" | "AttachedPoliciesPerGroupQuota" | "AttachedPoliciesPerRoleQuota" | "AttachedPoliciesPerUserQuota" | "Policies" | "PoliciesQuota" | "PolicySizeQuota" | "PolicyVersionsInUse" | "PolicyVersionsInUseQuota" | "VersionsPerPolicyQuota" | "GlobalEndpointTokenVersion"), ::Integer]
|
17
|
+
|
18
|
+
def client: () -> Client
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountSummary.html#load-instance_method
|
21
|
+
def load: () -> self
|
22
|
+
alias reload load
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountSummary.html#data-instance_method
|
25
|
+
def data: () -> Types::GetAccountSummaryResponse
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AccountSummary.html#data_loaded?-instance_method
|
28
|
+
def data_loaded?: () -> bool
|
29
|
+
|
30
|
+
|
31
|
+
class Collection < ::Aws::Resources::Collection[AccountSummary]
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,43 @@
|
|
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 IAM
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AssumeRolePolicy.html
|
11
|
+
class AssumeRolePolicy
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AssumeRolePolicy.html#initialize-instance_method
|
13
|
+
def initialize: (String role_name, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (role_name: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AssumeRolePolicy.html#role_name-instance_method
|
18
|
+
def role_name: () -> String
|
19
|
+
|
20
|
+
def client: () -> Client
|
21
|
+
|
22
|
+
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AssumeRolePolicy.html#data-instance_method
|
24
|
+
def data: () -> EmptyStructure
|
25
|
+
|
26
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AssumeRolePolicy.html#data_loaded?-instance_method
|
27
|
+
def data_loaded?: () -> bool
|
28
|
+
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AssumeRolePolicy.html#update-instance_method
|
31
|
+
def update: (
|
32
|
+
policy_document: ::String
|
33
|
+
) -> ::Aws::EmptyStructure
|
34
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/AssumeRolePolicy.html#role-instance_method
|
37
|
+
def role: () -> Role
|
38
|
+
|
39
|
+
class Collection < ::Aws::Resources::Collection[AssumeRolePolicy]
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|