aws-sdk-iam 1.166.0 → 1.168.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 +757 -15
- data/lib/aws-sdk-iam/client_api.rb +81 -0
- data/lib/aws-sdk-iam/login_profile.rb +53 -0
- data/lib/aws-sdk-iam/resource.rb +43 -0
- data/lib/aws-sdk-iam/role.rb +12 -0
- data/lib/aws-sdk-iam/saml_provider.rb +103 -0
- data/lib/aws-sdk-iam/types.rb +558 -11
- data/lib/aws-sdk-iam/user.rb +11 -0
- data/lib/aws-sdk-iam.rb +1 -1
- data/sig/client.rbs +37 -6
- data/sig/login_profile.rbs +8 -2
- data/sig/params.rbs +25 -0
- data/sig/resource.rbs +14 -1
- data/sig/role.rbs +3 -0
- data/sig/saml_provider.rbs +27 -1
- data/sig/types.rbs +54 -0
- data/sig/user.rbs +2 -1
- metadata +4 -3
data/lib/aws-sdk-iam/types.rb
CHANGED
|
@@ -718,6 +718,112 @@ module Aws::IAM
|
|
|
718
718
|
include Aws::Structure
|
|
719
719
|
end
|
|
720
720
|
|
|
721
|
+
# Contains the trusted identity propagation context provider
|
|
722
|
+
# configuration for a SAML or OpenID Connect (OIDC) identity provider.
|
|
723
|
+
# The context provider defines how the subject is derived and how keys
|
|
724
|
+
# from the external identity provider's assertion or token are mapped
|
|
725
|
+
# into trusted context keys.
|
|
726
|
+
#
|
|
727
|
+
# This data type is used as a request parameter in the
|
|
728
|
+
# [CreateOpenIDConnectProvider][1], [UpdateOpenIDConnectProvider][2],
|
|
729
|
+
# [CreateSAMLProvider][3], and [UpdateSAMLProvider][4] operations, and
|
|
730
|
+
# as a response element in the [GetOpenIDConnectProvider][5] and
|
|
731
|
+
# [GetSAMLProvider][6] operations.
|
|
732
|
+
#
|
|
733
|
+
#
|
|
734
|
+
#
|
|
735
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html
|
|
736
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateOpenIDConnectProvider.html
|
|
737
|
+
# [3]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateSAMLProvider.html
|
|
738
|
+
# [4]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateSAMLProvider.html
|
|
739
|
+
# [5]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOpenIDConnectProvider.html
|
|
740
|
+
# [6]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetSAMLProvider.html
|
|
741
|
+
#
|
|
742
|
+
# @!attribute [rw] key_definition_list
|
|
743
|
+
# A list of source-to-target key mappings that define how keys from
|
|
744
|
+
# the external identity provider's assertion or token are mapped into
|
|
745
|
+
# trusted context keys. You can specify from 0 to 10 mappings.
|
|
746
|
+
# @return [Array<Types::ContextProviderKeyDefinition>]
|
|
747
|
+
#
|
|
748
|
+
# @!attribute [rw] subject_source_key
|
|
749
|
+
# The source key that is used to derive the subject for the injected
|
|
750
|
+
# trusted context. This value identifies the claim or attribute in the
|
|
751
|
+
# external identity provider's assertion or token that supplies the
|
|
752
|
+
# subject.
|
|
753
|
+
#
|
|
754
|
+
# The key can contain only ASCII letters (A-Z, a-z), numbers (0-9),
|
|
755
|
+
# single spaces, and the following characters: `_ . : / = + - @ #`. It
|
|
756
|
+
# can't start or end with a space or contain two spaces in a row.
|
|
757
|
+
# @return [String]
|
|
758
|
+
#
|
|
759
|
+
# @!attribute [rw] subject_type_value
|
|
760
|
+
# A static value for the subject type, such as `user` or `workload`.
|
|
761
|
+
#
|
|
762
|
+
# This parameter is optional and is mutually exclusive with
|
|
763
|
+
# `SubjectTypeSourceKey`. Specify either `SubjectTypeValue` or
|
|
764
|
+
# `SubjectTypeSourceKey`, but not both.
|
|
765
|
+
# @return [String]
|
|
766
|
+
#
|
|
767
|
+
# @!attribute [rw] subject_type_source_key
|
|
768
|
+
# The source key that supplies the subject type from the external
|
|
769
|
+
# identity provider's assertion or token.
|
|
770
|
+
#
|
|
771
|
+
# The key can contain only ASCII letters (A-Z, a-z), numbers (0-9),
|
|
772
|
+
# single spaces, and the following characters: `_ . : / = + - @ #`. It
|
|
773
|
+
# can't start or end with a space or contain two spaces in a row.
|
|
774
|
+
#
|
|
775
|
+
# This parameter is mutually exclusive with `SubjectTypeValue`.
|
|
776
|
+
# Specify either `SubjectTypeSourceKey` or `SubjectTypeValue`, but not
|
|
777
|
+
# both.
|
|
778
|
+
# @return [String]
|
|
779
|
+
#
|
|
780
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ContextProvider AWS API Documentation
|
|
781
|
+
#
|
|
782
|
+
class ContextProvider < Struct.new(
|
|
783
|
+
:key_definition_list,
|
|
784
|
+
:subject_source_key,
|
|
785
|
+
:subject_type_value,
|
|
786
|
+
:subject_type_source_key)
|
|
787
|
+
SENSITIVE = []
|
|
788
|
+
include Aws::Structure
|
|
789
|
+
end
|
|
790
|
+
|
|
791
|
+
# Defines a single mapping from a source key in the external identity
|
|
792
|
+
# provider's assertion or token to a target trusted context key.
|
|
793
|
+
#
|
|
794
|
+
# This data type is used as a member of the [ContextProvider][1] data
|
|
795
|
+
# type.
|
|
796
|
+
#
|
|
797
|
+
#
|
|
798
|
+
#
|
|
799
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html
|
|
800
|
+
#
|
|
801
|
+
# @!attribute [rw] source_key
|
|
802
|
+
# The key in the external identity provider's assertion or token to
|
|
803
|
+
# read the value from.
|
|
804
|
+
#
|
|
805
|
+
# The key can contain only ASCII letters (A-Z, a-z), numbers (0-9),
|
|
806
|
+
# single spaces, and the following characters: `_ . : / = + - @ #`. It
|
|
807
|
+
# can't start or end with a space or contain two spaces in a row.
|
|
808
|
+
# @return [String]
|
|
809
|
+
#
|
|
810
|
+
# @!attribute [rw] target_key
|
|
811
|
+
# The trusted context key to map the source value into.
|
|
812
|
+
#
|
|
813
|
+
# The key can contain only ASCII letters (A-Z, a-z), numbers (0-9),
|
|
814
|
+
# single spaces, and the following characters: `_ . : / = + - @ #`. It
|
|
815
|
+
# can't start or end with a space or contain two spaces in a row.
|
|
816
|
+
# @return [String]
|
|
817
|
+
#
|
|
818
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ContextProviderKeyDefinition AWS API Documentation
|
|
819
|
+
#
|
|
820
|
+
class ContextProviderKeyDefinition < Struct.new(
|
|
821
|
+
:source_key,
|
|
822
|
+
:target_key)
|
|
823
|
+
SENSITIVE = []
|
|
824
|
+
include Aws::Structure
|
|
825
|
+
end
|
|
826
|
+
|
|
721
827
|
# @!attribute [rw] user_name
|
|
722
828
|
# The name of the IAM user that the new key will belong to.
|
|
723
829
|
#
|
|
@@ -1087,12 +1193,25 @@ module Aws::IAM
|
|
|
1087
1193
|
# sign-in.
|
|
1088
1194
|
# @return [Boolean]
|
|
1089
1195
|
#
|
|
1196
|
+
# @!attribute [rw] max_signin_session_duration
|
|
1197
|
+
# The maximum duration (in seconds) of an Amazon Web Services Sign-In
|
|
1198
|
+
# session for this IAM user. This setting can have a value from 1 hour
|
|
1199
|
+
# (3600 seconds) to 90 days (7776000 seconds), inclusive. If you do
|
|
1200
|
+
# not specify a value, the setting remains unset and the existing
|
|
1201
|
+
# sign-in session behavior applies.
|
|
1202
|
+
#
|
|
1203
|
+
# <note markdown="1"> This setting is not supported for the root user.
|
|
1204
|
+
#
|
|
1205
|
+
# </note>
|
|
1206
|
+
# @return [Integer]
|
|
1207
|
+
#
|
|
1090
1208
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateLoginProfileRequest AWS API Documentation
|
|
1091
1209
|
#
|
|
1092
1210
|
class CreateLoginProfileRequest < Struct.new(
|
|
1093
1211
|
:user_name,
|
|
1094
1212
|
:password,
|
|
1095
|
-
:password_reset_required
|
|
1213
|
+
:password_reset_required,
|
|
1214
|
+
:max_signin_session_duration)
|
|
1096
1215
|
SENSITIVE = [:password]
|
|
1097
1216
|
include Aws::Structure
|
|
1098
1217
|
end
|
|
@@ -1199,13 +1318,41 @@ module Aws::IAM
|
|
|
1199
1318
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html
|
|
1200
1319
|
# @return [Array<Types::Tag>]
|
|
1201
1320
|
#
|
|
1321
|
+
# @!attribute [rw] context_provider
|
|
1322
|
+
# The trusted identity propagation context provider configuration to
|
|
1323
|
+
# associate with the OpenID Connect (OIDC) provider. The context
|
|
1324
|
+
# provider defines how the subject is derived and how keys from the
|
|
1325
|
+
# provider's token are mapped into trusted context keys. Specifying a
|
|
1326
|
+
# context provider enables trusted identity propagation for the
|
|
1327
|
+
# provider. For more information, see [ContextProvider][1].
|
|
1328
|
+
#
|
|
1329
|
+
#
|
|
1330
|
+
#
|
|
1331
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html
|
|
1332
|
+
# @return [Types::ContextProvider]
|
|
1333
|
+
#
|
|
1334
|
+
# @!attribute [rw] identity_center_instance_arn
|
|
1335
|
+
# The Amazon Resource Name (ARN) of the IAM Identity Center instance
|
|
1336
|
+
# to associate with the OpenID Connect (OIDC) provider. If you specify
|
|
1337
|
+
# this parameter, you must also specify `ContextProvider`.
|
|
1338
|
+
#
|
|
1339
|
+
# For the format, see [InstanceMetadata][1] in the *IAM Identity
|
|
1340
|
+
# Center API Reference*.
|
|
1341
|
+
#
|
|
1342
|
+
#
|
|
1343
|
+
#
|
|
1344
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html
|
|
1345
|
+
# @return [String]
|
|
1346
|
+
#
|
|
1202
1347
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateOpenIDConnectProviderRequest AWS API Documentation
|
|
1203
1348
|
#
|
|
1204
1349
|
class CreateOpenIDConnectProviderRequest < Struct.new(
|
|
1205
1350
|
:url,
|
|
1206
1351
|
:client_id_list,
|
|
1207
1352
|
:thumbprint_list,
|
|
1208
|
-
:tags
|
|
1353
|
+
:tags,
|
|
1354
|
+
:context_provider,
|
|
1355
|
+
:identity_center_instance_arn)
|
|
1209
1356
|
SENSITIVE = []
|
|
1210
1357
|
include Aws::Structure
|
|
1211
1358
|
end
|
|
@@ -1559,6 +1706,16 @@ module Aws::IAM
|
|
|
1559
1706
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html
|
|
1560
1707
|
# @return [Integer]
|
|
1561
1708
|
#
|
|
1709
|
+
# @!attribute [rw] max_signin_session_duration
|
|
1710
|
+
# The maximum duration (in seconds) of an Amazon Web Services Sign-In
|
|
1711
|
+
# session for users who sign in with this role. This setting can have
|
|
1712
|
+
# a value from 1 hour (3600 seconds) to 90 days (7776000 seconds),
|
|
1713
|
+
# inclusive. If you do not specify a value, the setting remains unset
|
|
1714
|
+
# and the existing sign-in session behavior applies.
|
|
1715
|
+
#
|
|
1716
|
+
# This setting is independent of `MaxSessionDuration`.
|
|
1717
|
+
# @return [Integer]
|
|
1718
|
+
#
|
|
1562
1719
|
# @!attribute [rw] permissions_boundary
|
|
1563
1720
|
# The ARN of the managed policy that is used to set the permissions
|
|
1564
1721
|
# boundary for the role.
|
|
@@ -1604,6 +1761,7 @@ module Aws::IAM
|
|
|
1604
1761
|
:assume_role_policy_document,
|
|
1605
1762
|
:description,
|
|
1606
1763
|
:max_session_duration,
|
|
1764
|
+
:max_signin_session_duration,
|
|
1607
1765
|
:permissions_boundary,
|
|
1608
1766
|
:tags)
|
|
1609
1767
|
SENSITIVE = []
|
|
@@ -1684,6 +1842,32 @@ module Aws::IAM
|
|
|
1684
1842
|
# encryption algorithm to decrypt SAML assertions.
|
|
1685
1843
|
# @return [String]
|
|
1686
1844
|
#
|
|
1845
|
+
# @!attribute [rw] context_provider
|
|
1846
|
+
# The trusted identity propagation context provider configuration to
|
|
1847
|
+
# associate with the SAML provider. The context provider defines how
|
|
1848
|
+
# the subject is derived and how keys from the provider's SAML
|
|
1849
|
+
# assertion are mapped into trusted context keys. Specifying a context
|
|
1850
|
+
# provider enables trusted identity propagation for the provider. For
|
|
1851
|
+
# more information, see [ContextProvider][1].
|
|
1852
|
+
#
|
|
1853
|
+
#
|
|
1854
|
+
#
|
|
1855
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html
|
|
1856
|
+
# @return [Types::ContextProvider]
|
|
1857
|
+
#
|
|
1858
|
+
# @!attribute [rw] identity_center_instance_arn
|
|
1859
|
+
# The Amazon Resource Name (ARN) of the IAM Identity Center instance
|
|
1860
|
+
# to associate with the SAML provider. If you specify this parameter,
|
|
1861
|
+
# you must also specify `ContextProvider`.
|
|
1862
|
+
#
|
|
1863
|
+
# For the format, see [InstanceMetadata][1] in the *IAM Identity
|
|
1864
|
+
# Center API Reference*.
|
|
1865
|
+
#
|
|
1866
|
+
#
|
|
1867
|
+
#
|
|
1868
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html
|
|
1869
|
+
# @return [String]
|
|
1870
|
+
#
|
|
1687
1871
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateSAMLProviderRequest AWS API Documentation
|
|
1688
1872
|
#
|
|
1689
1873
|
class CreateSAMLProviderRequest < Struct.new(
|
|
@@ -1691,7 +1875,9 @@ module Aws::IAM
|
|
|
1691
1875
|
:name,
|
|
1692
1876
|
:tags,
|
|
1693
1877
|
:assertion_encryption_mode,
|
|
1694
|
-
:add_private_key
|
|
1878
|
+
:add_private_key,
|
|
1879
|
+
:context_provider,
|
|
1880
|
+
:identity_center_instance_arn)
|
|
1695
1881
|
SENSITIVE = [:add_private_key]
|
|
1696
1882
|
include Aws::Structure
|
|
1697
1883
|
end
|
|
@@ -4516,6 +4702,49 @@ module Aws::IAM
|
|
|
4516
4702
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html
|
|
4517
4703
|
# @return [Array<Types::Tag>]
|
|
4518
4704
|
#
|
|
4705
|
+
# @!attribute [rw] context_provider
|
|
4706
|
+
# The trusted identity propagation context provider configuration
|
|
4707
|
+
# associated with the IAM OIDC provider resource object. For more
|
|
4708
|
+
# information, see [ContextProvider][1].
|
|
4709
|
+
#
|
|
4710
|
+
# This element is returned only when a trusted identity propagation
|
|
4711
|
+
# context provider is configured for the OIDC provider.
|
|
4712
|
+
#
|
|
4713
|
+
#
|
|
4714
|
+
#
|
|
4715
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html
|
|
4716
|
+
# @return [Types::ContextProvider]
|
|
4717
|
+
#
|
|
4718
|
+
# @!attribute [rw] identity_center_instance_arn
|
|
4719
|
+
# The Amazon Resource Name (ARN) of the IAM Identity Center instance
|
|
4720
|
+
# associated with the IAM OIDC provider resource object.
|
|
4721
|
+
#
|
|
4722
|
+
# For the format, see [InstanceMetadata][1] in the *IAM Identity
|
|
4723
|
+
# Center API Reference*.
|
|
4724
|
+
#
|
|
4725
|
+
# This element is returned only when an IAM Identity Center instance
|
|
4726
|
+
# is associated with the OIDC provider.
|
|
4727
|
+
#
|
|
4728
|
+
#
|
|
4729
|
+
#
|
|
4730
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html
|
|
4731
|
+
# @return [String]
|
|
4732
|
+
#
|
|
4733
|
+
# @!attribute [rw] identity_store_arn
|
|
4734
|
+
# The Amazon Resource Name (ARN) of the identity store that is
|
|
4735
|
+
# resolved from the associated IAM Identity Center instance.
|
|
4736
|
+
#
|
|
4737
|
+
# For the format, see [InstanceMetadata][1] in the *IAM Identity
|
|
4738
|
+
# Center API Reference*.
|
|
4739
|
+
#
|
|
4740
|
+
# This element is returned only when an IAM Identity Center instance
|
|
4741
|
+
# is associated with the OIDC provider.
|
|
4742
|
+
#
|
|
4743
|
+
#
|
|
4744
|
+
#
|
|
4745
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html
|
|
4746
|
+
# @return [String]
|
|
4747
|
+
#
|
|
4519
4748
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOpenIDConnectProviderResponse AWS API Documentation
|
|
4520
4749
|
#
|
|
4521
4750
|
class GetOpenIDConnectProviderResponse < Struct.new(
|
|
@@ -4523,7 +4752,10 @@ module Aws::IAM
|
|
|
4523
4752
|
:client_id_list,
|
|
4524
4753
|
:thumbprint_list,
|
|
4525
4754
|
:create_date,
|
|
4526
|
-
:tags
|
|
4755
|
+
:tags,
|
|
4756
|
+
:context_provider,
|
|
4757
|
+
:identity_center_instance_arn,
|
|
4758
|
+
:identity_store_arn)
|
|
4527
4759
|
SENSITIVE = []
|
|
4528
4760
|
include Aws::Structure
|
|
4529
4761
|
end
|
|
@@ -4958,6 +5190,29 @@ module Aws::IAM
|
|
|
4958
5190
|
# identity provider.
|
|
4959
5191
|
# @return [String]
|
|
4960
5192
|
#
|
|
5193
|
+
# @!attribute [rw] context_provider
|
|
5194
|
+
# The trusted identity propagation context provider configuration
|
|
5195
|
+
# associated with the SAML provider. For more information, see
|
|
5196
|
+
# [ContextProvider][1].
|
|
5197
|
+
#
|
|
5198
|
+
# This element is returned only when a trusted identity propagation
|
|
5199
|
+
# context provider is configured for the SAML provider.
|
|
5200
|
+
#
|
|
5201
|
+
#
|
|
5202
|
+
#
|
|
5203
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html
|
|
5204
|
+
# @return [Types::ContextProvider]
|
|
5205
|
+
#
|
|
5206
|
+
# @!attribute [rw] saml_key_hashes
|
|
5207
|
+
# The key hashes associated with the SAML provider, grouped by
|
|
5208
|
+
# identity provider issuer. For more information, see
|
|
5209
|
+
# [SAMLKeyHashEntry][1].
|
|
5210
|
+
#
|
|
5211
|
+
#
|
|
5212
|
+
#
|
|
5213
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_SAMLKeyHashEntry.html
|
|
5214
|
+
# @return [Array<Types::SAMLKeyHashEntry>]
|
|
5215
|
+
#
|
|
4961
5216
|
# @!attribute [rw] create_date
|
|
4962
5217
|
# The date and time when the SAML provider was created.
|
|
4963
5218
|
# @return [Time]
|
|
@@ -4985,16 +5240,50 @@ module Aws::IAM
|
|
|
4985
5240
|
# The private key metadata for the SAML provider.
|
|
4986
5241
|
# @return [Array<Types::SAMLPrivateKey>]
|
|
4987
5242
|
#
|
|
5243
|
+
# @!attribute [rw] identity_center_instance_arn
|
|
5244
|
+
# The Amazon Resource Name (ARN) of the IAM Identity Center instance
|
|
5245
|
+
# associated with the SAML provider.
|
|
5246
|
+
#
|
|
5247
|
+
# For the format, see [InstanceMetadata][1] in the *IAM Identity
|
|
5248
|
+
# Center API Reference*.
|
|
5249
|
+
#
|
|
5250
|
+
# This element is returned only when an IAM Identity Center instance
|
|
5251
|
+
# is associated with the SAML provider.
|
|
5252
|
+
#
|
|
5253
|
+
#
|
|
5254
|
+
#
|
|
5255
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html
|
|
5256
|
+
# @return [String]
|
|
5257
|
+
#
|
|
5258
|
+
# @!attribute [rw] identity_store_arn
|
|
5259
|
+
# The Amazon Resource Name (ARN) of the identity store that is
|
|
5260
|
+
# resolved from the associated IAM Identity Center instance.
|
|
5261
|
+
#
|
|
5262
|
+
# For the format, see [InstanceMetadata][1] in the *IAM Identity
|
|
5263
|
+
# Center API Reference*.
|
|
5264
|
+
#
|
|
5265
|
+
# This element is returned only when an IAM Identity Center instance
|
|
5266
|
+
# is associated with the SAML provider.
|
|
5267
|
+
#
|
|
5268
|
+
#
|
|
5269
|
+
#
|
|
5270
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html
|
|
5271
|
+
# @return [String]
|
|
5272
|
+
#
|
|
4988
5273
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSAMLProviderResponse AWS API Documentation
|
|
4989
5274
|
#
|
|
4990
5275
|
class GetSAMLProviderResponse < Struct.new(
|
|
4991
5276
|
:saml_provider_uuid,
|
|
4992
5277
|
:saml_metadata_document,
|
|
5278
|
+
:context_provider,
|
|
5279
|
+
:saml_key_hashes,
|
|
4993
5280
|
:create_date,
|
|
4994
5281
|
:valid_until,
|
|
4995
5282
|
:tags,
|
|
4996
5283
|
:assertion_encryption_mode,
|
|
4997
|
-
:private_key_list
|
|
5284
|
+
:private_key_list,
|
|
5285
|
+
:identity_center_instance_arn,
|
|
5286
|
+
:identity_store_arn)
|
|
4998
5287
|
SENSITIVE = []
|
|
4999
5288
|
include Aws::Structure
|
|
5000
5289
|
end
|
|
@@ -8770,12 +9059,22 @@ module Aws::IAM
|
|
|
8770
9059
|
# sign-in.
|
|
8771
9060
|
# @return [Boolean]
|
|
8772
9061
|
#
|
|
9062
|
+
# @!attribute [rw] max_signin_session_duration
|
|
9063
|
+
# The maximum duration (in seconds) of an Amazon Web Services Sign-In
|
|
9064
|
+
# session for the user.
|
|
9065
|
+
#
|
|
9066
|
+
# This member is omitted when the setting is unset. In that case, no
|
|
9067
|
+
# default value is returned and the existing sign-in session behavior
|
|
9068
|
+
# applies.
|
|
9069
|
+
# @return [Integer]
|
|
9070
|
+
#
|
|
8773
9071
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/LoginProfile AWS API Documentation
|
|
8774
9072
|
#
|
|
8775
9073
|
class LoginProfile < Struct.new(
|
|
8776
9074
|
:user_name,
|
|
8777
9075
|
:create_date,
|
|
8778
|
-
:password_reset_required
|
|
9076
|
+
:password_reset_required,
|
|
9077
|
+
:max_signin_session_duration)
|
|
8779
9078
|
SENSITIVE = []
|
|
8780
9079
|
include Aws::Structure
|
|
8781
9080
|
end
|
|
@@ -9020,10 +9319,17 @@ module Aws::IAM
|
|
|
9020
9319
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
|
9021
9320
|
# @return [String]
|
|
9022
9321
|
#
|
|
9322
|
+
# @!attribute [rw] is_trusted_identity_propagation_enabled
|
|
9323
|
+
# Specifies whether trusted identity propagation is enabled for the
|
|
9324
|
+
# OpenID Connect (OIDC) provider. This is `true` when an IAM Identity
|
|
9325
|
+
# Center instance is associated with the provider.
|
|
9326
|
+
# @return [Boolean]
|
|
9327
|
+
#
|
|
9023
9328
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/OpenIDConnectProviderListEntry AWS API Documentation
|
|
9024
9329
|
#
|
|
9025
9330
|
class OpenIDConnectProviderListEntry < Struct.new(
|
|
9026
|
-
:arn
|
|
9331
|
+
:arn,
|
|
9332
|
+
:is_trusted_identity_propagation_enabled)
|
|
9027
9333
|
SENSITIVE = []
|
|
9028
9334
|
include Aws::Structure
|
|
9029
9335
|
end
|
|
@@ -10500,6 +10806,16 @@ module Aws::IAM
|
|
|
10500
10806
|
# `duration-seconds` CLI parameter.
|
|
10501
10807
|
# @return [Integer]
|
|
10502
10808
|
#
|
|
10809
|
+
# @!attribute [rw] max_signin_session_duration
|
|
10810
|
+
# The maximum duration (in seconds) of an Amazon Web Services Sign-In
|
|
10811
|
+
# session for users who sign in with this role. This value is
|
|
10812
|
+
# independent of `MaxSessionDuration`.
|
|
10813
|
+
#
|
|
10814
|
+
# This member is omitted when the setting is unset. In that case, no
|
|
10815
|
+
# default value is returned and the existing sign-in session behavior
|
|
10816
|
+
# applies.
|
|
10817
|
+
# @return [Integer]
|
|
10818
|
+
#
|
|
10503
10819
|
# @!attribute [rw] permissions_boundary
|
|
10504
10820
|
# The ARN of the policy used to set the permissions boundary for the
|
|
10505
10821
|
# role.
|
|
@@ -10557,6 +10873,7 @@ module Aws::IAM
|
|
|
10557
10873
|
:assume_role_policy_document,
|
|
10558
10874
|
:description,
|
|
10559
10875
|
:max_session_duration,
|
|
10876
|
+
:max_signin_session_duration,
|
|
10560
10877
|
:permissions_boundary,
|
|
10561
10878
|
:tags,
|
|
10562
10879
|
:role_last_used,
|
|
@@ -10977,6 +11294,34 @@ module Aws::IAM
|
|
|
10977
11294
|
include Aws::Structure
|
|
10978
11295
|
end
|
|
10979
11296
|
|
|
11297
|
+
# Contains the key hashes that are associated with a SAML identity
|
|
11298
|
+
# provider issuer.
|
|
11299
|
+
#
|
|
11300
|
+
# This data type is used as a response element in the
|
|
11301
|
+
# [GetSAMLProvider][1] operation.
|
|
11302
|
+
#
|
|
11303
|
+
#
|
|
11304
|
+
#
|
|
11305
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetSAMLProvider.html
|
|
11306
|
+
#
|
|
11307
|
+
# @!attribute [rw] issuer_url
|
|
11308
|
+
# The issuer URL of the SAML identity provider that the key hashes are
|
|
11309
|
+
# associated with.
|
|
11310
|
+
# @return [String]
|
|
11311
|
+
#
|
|
11312
|
+
# @!attribute [rw] key_hashes
|
|
11313
|
+
# The list of key hashes for the SAML identity provider issuer.
|
|
11314
|
+
# @return [Array<String>]
|
|
11315
|
+
#
|
|
11316
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SAMLKeyHashEntry AWS API Documentation
|
|
11317
|
+
#
|
|
11318
|
+
class SAMLKeyHashEntry < Struct.new(
|
|
11319
|
+
:issuer_url,
|
|
11320
|
+
:key_hashes)
|
|
11321
|
+
SENSITIVE = []
|
|
11322
|
+
include Aws::Structure
|
|
11323
|
+
end
|
|
11324
|
+
|
|
10980
11325
|
# Contains the private keys for the SAML provider.
|
|
10981
11326
|
#
|
|
10982
11327
|
# This data type is used as a response element in the
|
|
@@ -11022,12 +11367,19 @@ module Aws::IAM
|
|
|
11022
11367
|
# The date and time when the SAML provider was created.
|
|
11023
11368
|
# @return [Time]
|
|
11024
11369
|
#
|
|
11370
|
+
# @!attribute [rw] is_trusted_identity_propagation_enabled
|
|
11371
|
+
# Specifies whether trusted identity propagation is enabled for the
|
|
11372
|
+
# SAML provider. This is `true` when an IAM Identity Center instance
|
|
11373
|
+
# is associated with the provider.
|
|
11374
|
+
# @return [Boolean]
|
|
11375
|
+
#
|
|
11025
11376
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SAMLProviderListEntry AWS API Documentation
|
|
11026
11377
|
#
|
|
11027
11378
|
class SAMLProviderListEntry < Struct.new(
|
|
11028
11379
|
:arn,
|
|
11029
11380
|
:valid_until,
|
|
11030
|
-
:create_date
|
|
11381
|
+
:create_date,
|
|
11382
|
+
:is_trusted_identity_propagation_enabled)
|
|
11031
11383
|
SENSITIVE = []
|
|
11032
11384
|
include Aws::Structure
|
|
11033
11385
|
end
|
|
@@ -13224,16 +13576,131 @@ module Aws::IAM
|
|
|
13224
13576
|
# specified IAM user to set a new password on next sign-in.
|
|
13225
13577
|
# @return [Boolean]
|
|
13226
13578
|
#
|
|
13579
|
+
# @!attribute [rw] max_signin_session_duration
|
|
13580
|
+
# The maximum duration (in seconds) of an Amazon Web Services Sign-In
|
|
13581
|
+
# session for the specified IAM user. This setting can have a value
|
|
13582
|
+
# from 1 hour (3600 seconds) to 90 days (7776000 seconds), inclusive,
|
|
13583
|
+
# and replaces any value currently configured for the user.
|
|
13584
|
+
#
|
|
13585
|
+
# If you omit both this parameter and `ResetMaxSigninSessionDuration`,
|
|
13586
|
+
# the current setting is unchanged. You cannot specify this parameter
|
|
13587
|
+
# and set `ResetMaxSigninSessionDuration` to `true` in the same
|
|
13588
|
+
# request. If you update only the sign-in session duration, the
|
|
13589
|
+
# user's password and `PasswordResetRequired` setting do not change.
|
|
13590
|
+
#
|
|
13591
|
+
# Changes to this setting apply to new sign-in sessions. Sessions that
|
|
13592
|
+
# are already established are not affected.
|
|
13593
|
+
#
|
|
13594
|
+
# <note markdown="1"> This setting is not supported for the root user.
|
|
13595
|
+
#
|
|
13596
|
+
# </note>
|
|
13597
|
+
# @return [Integer]
|
|
13598
|
+
#
|
|
13599
|
+
# @!attribute [rw] reset_max_signin_session_duration
|
|
13600
|
+
# Specifies whether to clear the maximum sign-in session duration for
|
|
13601
|
+
# the specified IAM user. Set this value to `true` to return the
|
|
13602
|
+
# setting to its unset state, so that the existing sign-in session
|
|
13603
|
+
# behavior applies. When the setting is unset, the user's
|
|
13604
|
+
# `MaxSigninSessionDuration` is omitted from responses.
|
|
13605
|
+
#
|
|
13606
|
+
# If you set this value to `false` or omit it, the current setting is
|
|
13607
|
+
# not cleared. You cannot set this value to `true` and specify
|
|
13608
|
+
# `MaxSigninSessionDuration` in the same request. Clearing a setting
|
|
13609
|
+
# that is already unset has no effect.
|
|
13610
|
+
# @return [Boolean]
|
|
13611
|
+
#
|
|
13227
13612
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateLoginProfileRequest AWS API Documentation
|
|
13228
13613
|
#
|
|
13229
13614
|
class UpdateLoginProfileRequest < Struct.new(
|
|
13230
13615
|
:user_name,
|
|
13231
13616
|
:password,
|
|
13232
|
-
:password_reset_required
|
|
13617
|
+
:password_reset_required,
|
|
13618
|
+
:max_signin_session_duration,
|
|
13619
|
+
:reset_max_signin_session_duration)
|
|
13233
13620
|
SENSITIVE = [:password]
|
|
13234
13621
|
include Aws::Structure
|
|
13235
13622
|
end
|
|
13236
13623
|
|
|
13624
|
+
# @!attribute [rw] open_id_connect_provider_arn
|
|
13625
|
+
# The Amazon Resource Name (ARN) of the IAM OIDC provider resource
|
|
13626
|
+
# object to update. You can get a list of OIDC provider resource ARNs
|
|
13627
|
+
# by using the [ListOpenIDConnectProviders][1] operation.
|
|
13628
|
+
#
|
|
13629
|
+
# For more information about ARNs, see [Amazon Resource Names
|
|
13630
|
+
# (ARNs)][2] in the *Amazon Web Services General Reference*.
|
|
13631
|
+
#
|
|
13632
|
+
#
|
|
13633
|
+
#
|
|
13634
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html
|
|
13635
|
+
# [2]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
|
13636
|
+
# @return [String]
|
|
13637
|
+
#
|
|
13638
|
+
# @!attribute [rw] context_provider
|
|
13639
|
+
# The trusted identity propagation context provider configuration to
|
|
13640
|
+
# set on the OIDC provider. This configuration defines the subject
|
|
13641
|
+
# mapping and the source-to-target key mappings that are used when
|
|
13642
|
+
# trusted context is injected. For more information, see
|
|
13643
|
+
# [ContextProvider][1].
|
|
13644
|
+
#
|
|
13645
|
+
# To remove the existing context provider instead of replacing it, use
|
|
13646
|
+
# `RemoveContextProvider`. Do not specify both `ContextProvider` and
|
|
13647
|
+
# `RemoveContextProvider` in the same request.
|
|
13648
|
+
#
|
|
13649
|
+
#
|
|
13650
|
+
#
|
|
13651
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html
|
|
13652
|
+
# @return [Types::ContextProvider]
|
|
13653
|
+
#
|
|
13654
|
+
# @!attribute [rw] identity_center_instance_arn
|
|
13655
|
+
# The Amazon Resource Name (ARN) of the IAM Identity Center instance
|
|
13656
|
+
# to associate with the OIDC provider.
|
|
13657
|
+
#
|
|
13658
|
+
# For the format, see [InstanceMetadata][1] in the *IAM Identity
|
|
13659
|
+
# Center API Reference*.
|
|
13660
|
+
#
|
|
13661
|
+
# To disassociate the currently associated instance instead of
|
|
13662
|
+
# changing it, use `RemoveIdentityCenterInstance`. Do not specify both
|
|
13663
|
+
# `IdentityCenterInstanceArn` and `RemoveIdentityCenterInstance` in
|
|
13664
|
+
# the same request.
|
|
13665
|
+
#
|
|
13666
|
+
#
|
|
13667
|
+
#
|
|
13668
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html
|
|
13669
|
+
# @return [String]
|
|
13670
|
+
#
|
|
13671
|
+
# @!attribute [rw] remove_context_provider
|
|
13672
|
+
# Specifies whether to remove the existing context provider
|
|
13673
|
+
# configuration from the OIDC provider. Set this value to `true` to
|
|
13674
|
+
# remove the context provider.
|
|
13675
|
+
#
|
|
13676
|
+
# This parameter is mutually exclusive with `ContextProvider`. In a
|
|
13677
|
+
# single request, specify either a new `ContextProvider` value or
|
|
13678
|
+
# `RemoveContextProvider`, but not both.
|
|
13679
|
+
# @return [Boolean]
|
|
13680
|
+
#
|
|
13681
|
+
# @!attribute [rw] remove_identity_center_instance
|
|
13682
|
+
# Specifies whether to disassociate the IAM Identity Center instance
|
|
13683
|
+
# from the OIDC provider. Set this value to `true` to remove the
|
|
13684
|
+
# association.
|
|
13685
|
+
#
|
|
13686
|
+
# This parameter is mutually exclusive with
|
|
13687
|
+
# `IdentityCenterInstanceArn`. In a single request, specify either a
|
|
13688
|
+
# new `IdentityCenterInstanceArn` value or
|
|
13689
|
+
# `RemoveIdentityCenterInstance`, but not both.
|
|
13690
|
+
# @return [Boolean]
|
|
13691
|
+
#
|
|
13692
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateOpenIDConnectProviderRequest AWS API Documentation
|
|
13693
|
+
#
|
|
13694
|
+
class UpdateOpenIDConnectProviderRequest < Struct.new(
|
|
13695
|
+
:open_id_connect_provider_arn,
|
|
13696
|
+
:context_provider,
|
|
13697
|
+
:identity_center_instance_arn,
|
|
13698
|
+
:remove_context_provider,
|
|
13699
|
+
:remove_identity_center_instance)
|
|
13700
|
+
SENSITIVE = []
|
|
13701
|
+
include Aws::Structure
|
|
13702
|
+
end
|
|
13703
|
+
|
|
13237
13704
|
# @!attribute [rw] open_id_connect_provider_arn
|
|
13238
13705
|
# The Amazon Resource Name (ARN) of the IAM OIDC provider resource
|
|
13239
13706
|
# object for which you want to update the thumbprint. You can get a
|
|
@@ -13333,12 +13800,51 @@ module Aws::IAM
|
|
|
13333
13800
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html
|
|
13334
13801
|
# @return [Integer]
|
|
13335
13802
|
#
|
|
13803
|
+
# @!attribute [rw] max_signin_session_duration
|
|
13804
|
+
# The maximum duration (in seconds) of an Amazon Web Services Sign-In
|
|
13805
|
+
# session for users who sign in with the specified role. This setting
|
|
13806
|
+
# can have a value from 1 hour (3600 seconds) to 90 days (7776000
|
|
13807
|
+
# seconds), inclusive, and replaces any value currently configured for
|
|
13808
|
+
# the role. This setting is independent of `MaxSessionDuration`.
|
|
13809
|
+
#
|
|
13810
|
+
# If you omit both this parameter and `ResetMaxSigninSessionDuration`,
|
|
13811
|
+
# the current setting is unchanged. You cannot specify this parameter
|
|
13812
|
+
# and set `ResetMaxSigninSessionDuration` to `true` in the same
|
|
13813
|
+
# request.
|
|
13814
|
+
#
|
|
13815
|
+
# Changes to this setting apply to new sign-in sessions. Sessions that
|
|
13816
|
+
# are already established are not affected.
|
|
13817
|
+
#
|
|
13818
|
+
# <note markdown="1"> You cannot set this value on a service-linked role.
|
|
13819
|
+
#
|
|
13820
|
+
# </note>
|
|
13821
|
+
# @return [Integer]
|
|
13822
|
+
#
|
|
13823
|
+
# @!attribute [rw] reset_max_signin_session_duration
|
|
13824
|
+
# Specifies whether to clear the role's maximum sign-in session
|
|
13825
|
+
# duration. Set this value to `true` to return the setting to its
|
|
13826
|
+
# unset state, so that the existing sign-in session behavior applies.
|
|
13827
|
+
# When the setting is unset, the role's `MaxSigninSessionDuration` is
|
|
13828
|
+
# omitted from responses.
|
|
13829
|
+
#
|
|
13830
|
+
# If you set this value to `false` or omit it, the current setting is
|
|
13831
|
+
# not cleared. You cannot set this value to `true` and specify
|
|
13832
|
+
# `MaxSigninSessionDuration` in the same request. Clearing a setting
|
|
13833
|
+
# that is already unset has no effect.
|
|
13834
|
+
#
|
|
13835
|
+
# <note markdown="1"> You cannot reset this value on a service-linked role.
|
|
13836
|
+
#
|
|
13837
|
+
# </note>
|
|
13838
|
+
# @return [Boolean]
|
|
13839
|
+
#
|
|
13336
13840
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRoleRequest AWS API Documentation
|
|
13337
13841
|
#
|
|
13338
13842
|
class UpdateRoleRequest < Struct.new(
|
|
13339
13843
|
:role_name,
|
|
13340
13844
|
:description,
|
|
13341
|
-
:max_session_duration
|
|
13845
|
+
:max_session_duration,
|
|
13846
|
+
:max_signin_session_duration,
|
|
13847
|
+
:reset_max_signin_session_duration)
|
|
13342
13848
|
SENSITIVE = []
|
|
13343
13849
|
include Aws::Structure
|
|
13344
13850
|
end
|
|
@@ -13381,6 +13887,43 @@ module Aws::IAM
|
|
|
13381
13887
|
# The Key ID of the private key to remove.
|
|
13382
13888
|
# @return [String]
|
|
13383
13889
|
#
|
|
13890
|
+
# @!attribute [rw] context_provider
|
|
13891
|
+
# The trusted identity propagation context provider configuration to
|
|
13892
|
+
# associate with the SAML provider. This replaces the existing context
|
|
13893
|
+
# provider configuration. For more information, see
|
|
13894
|
+
# [ContextProvider][1].
|
|
13895
|
+
#
|
|
13896
|
+
#
|
|
13897
|
+
#
|
|
13898
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html
|
|
13899
|
+
# @return [Types::ContextProvider]
|
|
13900
|
+
#
|
|
13901
|
+
# @!attribute [rw] identity_center_instance_arn
|
|
13902
|
+
# The Amazon Resource Name (ARN) of the IAM Identity Center instance
|
|
13903
|
+
# to associate with the SAML provider.
|
|
13904
|
+
#
|
|
13905
|
+
# For the format, see [InstanceMetadata][1] in the *IAM Identity
|
|
13906
|
+
# Center API Reference*.
|
|
13907
|
+
#
|
|
13908
|
+
#
|
|
13909
|
+
#
|
|
13910
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html
|
|
13911
|
+
# @return [String]
|
|
13912
|
+
#
|
|
13913
|
+
# @!attribute [rw] remove_context_provider
|
|
13914
|
+
# Specifies whether to remove the existing trusted identity
|
|
13915
|
+
# propagation context provider configuration from the SAML provider.
|
|
13916
|
+
# When set to `true`, the context provider is removed. This parameter
|
|
13917
|
+
# is mutually exclusive with `ContextProvider`.
|
|
13918
|
+
# @return [Boolean]
|
|
13919
|
+
#
|
|
13920
|
+
# @!attribute [rw] remove_identity_center_instance
|
|
13921
|
+
# Specifies whether to disassociate the IAM Identity Center instance
|
|
13922
|
+
# from the SAML provider. When set to `true`, the instance is
|
|
13923
|
+
# disassociated. This parameter is mutually exclusive with
|
|
13924
|
+
# `IdentityCenterInstanceArn`.
|
|
13925
|
+
# @return [Boolean]
|
|
13926
|
+
#
|
|
13384
13927
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSAMLProviderRequest AWS API Documentation
|
|
13385
13928
|
#
|
|
13386
13929
|
class UpdateSAMLProviderRequest < Struct.new(
|
|
@@ -13388,7 +13931,11 @@ module Aws::IAM
|
|
|
13388
13931
|
:saml_provider_arn,
|
|
13389
13932
|
:assertion_encryption_mode,
|
|
13390
13933
|
:add_private_key,
|
|
13391
|
-
:remove_private_key
|
|
13934
|
+
:remove_private_key,
|
|
13935
|
+
:context_provider,
|
|
13936
|
+
:identity_center_instance_arn,
|
|
13937
|
+
:remove_context_provider,
|
|
13938
|
+
:remove_identity_center_instance)
|
|
13392
13939
|
SENSITIVE = [:add_private_key]
|
|
13393
13940
|
include Aws::Structure
|
|
13394
13941
|
end
|