aws-sdk-iam 1.167.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.
@@ -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
  #
@@ -1212,13 +1318,41 @@ module Aws::IAM
1212
1318
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html
1213
1319
  # @return [Array<Types::Tag>]
1214
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
+ #
1215
1347
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateOpenIDConnectProviderRequest AWS API Documentation
1216
1348
  #
1217
1349
  class CreateOpenIDConnectProviderRequest < Struct.new(
1218
1350
  :url,
1219
1351
  :client_id_list,
1220
1352
  :thumbprint_list,
1221
- :tags)
1353
+ :tags,
1354
+ :context_provider,
1355
+ :identity_center_instance_arn)
1222
1356
  SENSITIVE = []
1223
1357
  include Aws::Structure
1224
1358
  end
@@ -1708,6 +1842,32 @@ module Aws::IAM
1708
1842
  # encryption algorithm to decrypt SAML assertions.
1709
1843
  # @return [String]
1710
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
+ #
1711
1871
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateSAMLProviderRequest AWS API Documentation
1712
1872
  #
1713
1873
  class CreateSAMLProviderRequest < Struct.new(
@@ -1715,7 +1875,9 @@ module Aws::IAM
1715
1875
  :name,
1716
1876
  :tags,
1717
1877
  :assertion_encryption_mode,
1718
- :add_private_key)
1878
+ :add_private_key,
1879
+ :context_provider,
1880
+ :identity_center_instance_arn)
1719
1881
  SENSITIVE = [:add_private_key]
1720
1882
  include Aws::Structure
1721
1883
  end
@@ -4540,6 +4702,49 @@ module Aws::IAM
4540
4702
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html
4541
4703
  # @return [Array<Types::Tag>]
4542
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
+ #
4543
4748
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOpenIDConnectProviderResponse AWS API Documentation
4544
4749
  #
4545
4750
  class GetOpenIDConnectProviderResponse < Struct.new(
@@ -4547,7 +4752,10 @@ module Aws::IAM
4547
4752
  :client_id_list,
4548
4753
  :thumbprint_list,
4549
4754
  :create_date,
4550
- :tags)
4755
+ :tags,
4756
+ :context_provider,
4757
+ :identity_center_instance_arn,
4758
+ :identity_store_arn)
4551
4759
  SENSITIVE = []
4552
4760
  include Aws::Structure
4553
4761
  end
@@ -4982,6 +5190,29 @@ module Aws::IAM
4982
5190
  # identity provider.
4983
5191
  # @return [String]
4984
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
+ #
4985
5216
  # @!attribute [rw] create_date
4986
5217
  # The date and time when the SAML provider was created.
4987
5218
  # @return [Time]
@@ -5009,16 +5240,50 @@ module Aws::IAM
5009
5240
  # The private key metadata for the SAML provider.
5010
5241
  # @return [Array<Types::SAMLPrivateKey>]
5011
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
+ #
5012
5273
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSAMLProviderResponse AWS API Documentation
5013
5274
  #
5014
5275
  class GetSAMLProviderResponse < Struct.new(
5015
5276
  :saml_provider_uuid,
5016
5277
  :saml_metadata_document,
5278
+ :context_provider,
5279
+ :saml_key_hashes,
5017
5280
  :create_date,
5018
5281
  :valid_until,
5019
5282
  :tags,
5020
5283
  :assertion_encryption_mode,
5021
- :private_key_list)
5284
+ :private_key_list,
5285
+ :identity_center_instance_arn,
5286
+ :identity_store_arn)
5022
5287
  SENSITIVE = []
5023
5288
  include Aws::Structure
5024
5289
  end
@@ -9054,10 +9319,17 @@ module Aws::IAM
9054
9319
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
9055
9320
  # @return [String]
9056
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
+ #
9057
9328
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/OpenIDConnectProviderListEntry AWS API Documentation
9058
9329
  #
9059
9330
  class OpenIDConnectProviderListEntry < Struct.new(
9060
- :arn)
9331
+ :arn,
9332
+ :is_trusted_identity_propagation_enabled)
9061
9333
  SENSITIVE = []
9062
9334
  include Aws::Structure
9063
9335
  end
@@ -11022,6 +11294,34 @@ module Aws::IAM
11022
11294
  include Aws::Structure
11023
11295
  end
11024
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
+
11025
11325
  # Contains the private keys for the SAML provider.
11026
11326
  #
11027
11327
  # This data type is used as a response element in the
@@ -11067,12 +11367,19 @@ module Aws::IAM
11067
11367
  # The date and time when the SAML provider was created.
11068
11368
  # @return [Time]
11069
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
+ #
11070
11376
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SAMLProviderListEntry AWS API Documentation
11071
11377
  #
11072
11378
  class SAMLProviderListEntry < Struct.new(
11073
11379
  :arn,
11074
11380
  :valid_until,
11075
- :create_date)
11381
+ :create_date,
11382
+ :is_trusted_identity_propagation_enabled)
11076
11383
  SENSITIVE = []
11077
11384
  include Aws::Structure
11078
11385
  end
@@ -13314,6 +13621,86 @@ module Aws::IAM
13314
13621
  include Aws::Structure
13315
13622
  end
13316
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
+
13317
13704
  # @!attribute [rw] open_id_connect_provider_arn
13318
13705
  # The Amazon Resource Name (ARN) of the IAM OIDC provider resource
13319
13706
  # object for which you want to update the thumbprint. You can get a
@@ -13500,6 +13887,43 @@ module Aws::IAM
13500
13887
  # The Key ID of the private key to remove.
13501
13888
  # @return [String]
13502
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
+ #
13503
13927
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSAMLProviderRequest AWS API Documentation
13504
13928
  #
13505
13929
  class UpdateSAMLProviderRequest < Struct.new(
@@ -13507,7 +13931,11 @@ module Aws::IAM
13507
13931
  :saml_provider_arn,
13508
13932
  :assertion_encryption_mode,
13509
13933
  :add_private_key,
13510
- :remove_private_key)
13934
+ :remove_private_key,
13935
+ :context_provider,
13936
+ :identity_center_instance_arn,
13937
+ :remove_context_provider,
13938
+ :remove_identity_center_instance)
13511
13939
  SENSITIVE = [:add_private_key]
13512
13940
  include Aws::Structure
13513
13941
  end
data/lib/aws-sdk-iam.rb CHANGED
@@ -76,7 +76,7 @@ module Aws::IAM
76
76
  autoload :UserPolicy, 'aws-sdk-iam/user_policy'
77
77
  autoload :VirtualMfaDevice, 'aws-sdk-iam/virtual_mfa_device'
78
78
 
79
- GEM_VERSION = '1.167.0'
79
+ GEM_VERSION = '1.168.0'
80
80
 
81
81
  end
82
82
 
data/sig/client.rbs CHANGED
@@ -254,7 +254,9 @@ module Aws
254
254
  key: ::String,
255
255
  value: ::String
256
256
  }
257
- ]
257
+ ],
258
+ ?context_provider: Params::context_provider,
259
+ ?identity_center_instance_arn: ::String
258
260
  ) -> _CreateOpenIDConnectProviderResponseSuccess
259
261
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateOpenIDConnectProviderResponseSuccess
260
262
 
@@ -327,7 +329,9 @@ module Aws
327
329
  }
328
330
  ],
329
331
  ?assertion_encryption_mode: ("Required" | "Allowed"),
330
- ?add_private_key: ::String
332
+ ?add_private_key: ::String,
333
+ ?context_provider: Params::context_provider,
334
+ ?identity_center_instance_arn: ::String
331
335
  ) -> _CreateSAMLProviderResponseSuccess
332
336
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSAMLProviderResponseSuccess
333
337
 
@@ -837,6 +841,9 @@ module Aws
837
841
  def thumbprint_list: () -> ::Array[::String]
838
842
  def create_date: () -> ::Time
839
843
  def tags: () -> ::Array[Types::Tag]
844
+ def context_provider: () -> Types::ContextProvider
845
+ def identity_center_instance_arn: () -> ::String
846
+ def identity_store_arn: () -> ::String
840
847
  end
841
848
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#get_open_id_connect_provider-instance_method
842
849
  def get_open_id_connect_provider: (
@@ -933,11 +940,15 @@ module Aws
933
940
  include ::Seahorse::Client::_ResponseSuccess[Types::GetSAMLProviderResponse]
934
941
  def saml_provider_uuid: () -> ::String
935
942
  def saml_metadata_document: () -> ::String
943
+ def context_provider: () -> Types::ContextProvider
944
+ def saml_key_hashes: () -> ::Array[Types::SAMLKeyHashEntry]
936
945
  def create_date: () -> ::Time
937
946
  def valid_until: () -> ::Time
938
947
  def tags: () -> ::Array[Types::Tag]
939
948
  def assertion_encryption_mode: () -> ("Required" | "Allowed")
940
949
  def private_key_list: () -> ::Array[Types::SAMLPrivateKey]
950
+ def identity_center_instance_arn: () -> ::String
951
+ def identity_store_arn: () -> ::String
941
952
  end
942
953
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#get_saml_provider-instance_method
943
954
  def get_saml_provider: (
@@ -1932,6 +1943,16 @@ module Aws
1932
1943
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1933
1944
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1934
1945
 
1946
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#update_open_id_connect_provider-instance_method
1947
+ def update_open_id_connect_provider: (
1948
+ open_id_connect_provider_arn: ::String,
1949
+ ?context_provider: Params::context_provider,
1950
+ ?identity_center_instance_arn: ::String,
1951
+ ?remove_context_provider: bool,
1952
+ ?remove_identity_center_instance: bool
1953
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1954
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1955
+
1935
1956
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#update_open_id_connect_provider_thumbprint-instance_method
1936
1957
  def update_open_id_connect_provider_thumbprint: (
1937
1958
  open_id_connect_provider_arn: ::String,
@@ -1973,7 +1994,11 @@ module Aws
1973
1994
  saml_provider_arn: ::String,
1974
1995
  ?assertion_encryption_mode: ("Required" | "Allowed"),
1975
1996
  ?add_private_key: ::String,
1976
- ?remove_private_key: ::String
1997
+ ?remove_private_key: ::String,
1998
+ ?context_provider: Params::context_provider,
1999
+ ?identity_center_instance_arn: ::String,
2000
+ ?remove_context_provider: bool,
2001
+ ?remove_identity_center_instance: bool
1977
2002
  ) -> _UpdateSAMLProviderResponseSuccess
1978
2003
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSAMLProviderResponseSuccess
1979
2004
 
data/sig/params.rbs ADDED
@@ -0,0 +1,25 @@
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
+ module Params
11
+ type context_provider = {
12
+ key_definition_list: Array[
13
+ {
14
+ source_key: ::String,
15
+ target_key: ::String?
16
+ }
17
+ ]?,
18
+ subject_source_key: ::String,
19
+ subject_type_value: ::String?,
20
+ subject_type_source_key: ::String?
21
+ }
22
+
23
+ end
24
+ end
25
+ end