@aws-sdk/client-iam 3.1171.0 → 3.1173.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.
Files changed (51) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +102 -40
  3. package/dist-es/IAM.js +2 -0
  4. package/dist-es/commands/UpdateOpenIDConnectProviderCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/schemas/schemas_0.js +92 -39
  7. package/dist-types/IAM.d.ts +7 -0
  8. package/dist-types/IAMClient.d.ts +3 -2
  9. package/dist-types/commands/AcquireRoleCommand.d.ts +1 -0
  10. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +1 -0
  11. package/dist-types/commands/CreateLoginProfileCommand.d.ts +2 -0
  12. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +61 -2
  13. package/dist-types/commands/CreateRoleCommand.d.ts +2 -0
  14. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +59 -0
  15. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +1 -0
  16. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +7 -3
  17. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +4 -0
  18. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +1 -0
  19. package/dist-types/commands/GetInstanceProfileCommand.d.ts +1 -0
  20. package/dist-types/commands/GetLoginProfileCommand.d.ts +1 -0
  21. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +48 -0
  22. package/dist-types/commands/GetRoleCommand.d.ts +1 -0
  23. package/dist-types/commands/GetSAMLProviderCommand.d.ts +60 -0
  24. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +1 -0
  25. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -0
  26. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +23 -0
  27. package/dist-types/commands/ListRolesCommand.d.ts +1 -0
  28. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +27 -0
  29. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
  30. package/dist-types/commands/TagPolicyCommand.d.ts +1 -1
  31. package/dist-types/commands/TagRoleCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +8 -1
  33. package/dist-types/commands/UpdateOpenIDConnectProviderCommand.d.ts +158 -0
  34. package/dist-types/commands/UpdateRoleCommand.d.ts +9 -1
  35. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -0
  36. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +70 -0
  37. package/dist-types/commands/index.d.ts +1 -0
  38. package/dist-types/models/models_0.d.ts +229 -53
  39. package/dist-types/models/models_1.d.ts +195 -1
  40. package/dist-types/schemas/schemas_0.d.ts +5 -0
  41. package/dist-types/ts3.4/IAM.d.ts +17 -0
  42. package/dist-types/ts3.4/IAMClient.d.ts +6 -0
  43. package/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/TagRoleCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/UpdateOpenIDConnectProviderCommand.d.ts +38 -0
  47. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +31 -12
  49. package/dist-types/ts3.4/models/models_1.d.ts +35 -1
  50. package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
  51. package/package.json +1 -1
@@ -42,6 +42,10 @@ declare const CreateSAMLProviderCommand_base: {
42
42
  * <p> For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-saml.html">Enabling SAML 2.0
43
43
  * federated users to access the Amazon Web Services Management Console</a> and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html">About SAML 2.0-based
44
44
  * federation</a> in the <i>IAM User Guide</i>.</p>
45
+ * <p>To control who can configure trusted identity propagation on a SAML provider, use the
46
+ * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_iam-condition-keys.html#ck_EnableIdentityPropagation">iam:EnableIdentityPropagation</a>, <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_iam-condition-keys.html#ck_EnableIdentityCenterAssociation">iam:EnableIdentityCenterAssociation</a>, <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_iam-condition-keys.html#ck_RequestIdentityProviderIssuers">iam:RequestIdentityProviderIssuers</a>, <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_iam-condition-keys.html#ck_ResourceIdentityProviderIssuers">iam:ResourceIdentityProviderIssuers</a>, <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_iam-condition-keys.html#ck_RequestIdentityCenterInstanceArn">iam:RequestIdentityCenterInstanceArn</a>, and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_iam-condition-keys.html#ck_ResourceIdentityCenterInstanceArn">iam:ResourceIdentityCenterInstanceArn</a> condition keys in IAM
47
+ * policies. The <code>Request</code> keys contain the values in the request. The
48
+ * <code>Resource</code> keys contain the values stored on the provider.</p>
45
49
  * @example
46
50
  * Use a bare-bones client and the command you need to make an API call.
47
51
  * ```javascript
@@ -61,6 +65,18 @@ declare const CreateSAMLProviderCommand_base: {
61
65
  * ],
62
66
  * AssertionEncryptionMode: "Required" || "Allowed",
63
67
  * AddPrivateKey: "STRING_VALUE",
68
+ * ContextProvider: { // ContextProvider
69
+ * KeyDefinitionList: [ // keyDefinitionListType
70
+ * { // ContextProviderKeyDefinition
71
+ * SourceKey: "STRING_VALUE", // required
72
+ * TargetKey: "STRING_VALUE",
73
+ * },
74
+ * ],
75
+ * SubjectSourceKey: "STRING_VALUE", // required
76
+ * SubjectTypeValue: "STRING_VALUE",
77
+ * SubjectTypeSourceKey: "STRING_VALUE",
78
+ * },
79
+ * IdentityCenterInstanceArn: "STRING_VALUE",
64
80
  * };
65
81
  * const command = new CreateSAMLProviderCommand(input);
66
82
  * const response = await client.send(command);
@@ -106,6 +122,49 @@ declare const CreateSAMLProviderCommand_base: {
106
122
  * <p>Base exception class for all service exceptions from IAM service.</p>
107
123
  *
108
124
  *
125
+ * @example To create a SAML provider
126
+ * ```javascript
127
+ * // The following example creates a SAML provider named MyUniversity from a SAML metadata document.
128
+ * const input = {
129
+ * Name: "MyUniversity",
130
+ * SAMLMetadataDocument: `<?xml version="1.0" encoding="UTF-8"?><md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" entityID="https://idp.example.com/saml"><md:IDPSSODescriptor WantAuthnRequestsSigned="false" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"><md:KeyDescriptor use="signing"><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:X509Data><ds:X509Certificate>MIIDdzCCAl+gAwIBAgIEbySuqTANBgkqhkiG9w0BAQsFADBsMRAwDgYDVQQGEwdVbmtub3duMRAwDgYDVQQIEwdVbmtub3duMRAwDgYDVQQHEwdVbmtub3duMRAwDgYDVQQKEwdVbmtub3duMRAwDgYDVQQLEwdVbmtub3duMRAwDgYDVQQDEwdFWEFNUExFMB4XDTI2MTEwMTAwMDAwMFoXDTM2MTEwMTAwMDAwMFowbDEQMA4GA1UEBhMHVW5rbm93bjEQMA4GA1UECBMHVW5rbm93bjEQMA4GA1UEBxMHVW5rbm93bjEQMA4GA1UEChMHVW5rbm93bjEQMA4GA1UECxMHVW5rbm93bjEQMA4GA1UEAxMHRVhBTVBMRTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAEXAMPLE</ds:X509Certificate></ds:X509Data></ds:KeyInfo></md:KeyDescriptor><md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</md:NameIDFormat><md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://idp.example.com/saml/sso"/></md:IDPSSODescriptor></md:EntityDescriptor>`
131
+ * };
132
+ * const command = new CreateSAMLProviderCommand(input);
133
+ * const response = await client.send(command);
134
+ * /* response is
135
+ * {
136
+ * SAMLProviderArn: "arn:aws:iam::123456789012:saml-provider/MyUniversity"
137
+ * }
138
+ * *\/
139
+ * ```
140
+ *
141
+ * @example To create a SAML provider with trusted identity propagation
142
+ * ```javascript
143
+ * // The following example creates a SAML provider with a context provider that uses the email attribute as the subject and maps the department attribute to a trusted context key. It also associates an IAM Identity Center instance with the provider.
144
+ * const input = {
145
+ * ContextProvider: {
146
+ * KeyDefinitionList: [
147
+ * {
148
+ * SourceKey: "department",
149
+ * TargetKey: "department"
150
+ * }
151
+ * ],
152
+ * SubjectSourceKey: "email",
153
+ * SubjectTypeValue: "user"
154
+ * },
155
+ * IdentityCenterInstanceArn: "arn:aws:sso:::instance/ssoins-1234567890abcdef",
156
+ * Name: "MyUniversity",
157
+ * SAMLMetadataDocument: `<?xml version="1.0" encoding="UTF-8"?><md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" entityID="https://idp.example.com/saml"><md:IDPSSODescriptor WantAuthnRequestsSigned="false" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"><md:KeyDescriptor use="signing"><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:X509Data><ds:X509Certificate>MIIDdzCCAl+gAwIBAgIEbySuqTANBgkqhkiG9w0BAQsFADBsMRAwDgYDVQQGEwdVbmtub3duMRAwDgYDVQQIEwdVbmtub3duMRAwDgYDVQQHEwdVbmtub3duMRAwDgYDVQQKEwdVbmtub3duMRAwDgYDVQQLEwdVbmtub3duMRAwDgYDVQQDEwdFWEFNUExFMB4XDTI2MTEwMTAwMDAwMFoXDTM2MTEwMTAwMDAwMFowbDEQMA4GA1UEBhMHVW5rbm93bjEQMA4GA1UECBMHVW5rbm93bjEQMA4GA1UEBxMHVW5rbm93bjEQMA4GA1UEChMHVW5rbm93bjEQMA4GA1UECxMHVW5rbm93bjEQMA4GA1UEAxMHRVhBTVBMRTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAEXAMPLE</ds:X509Certificate></ds:X509Data></ds:KeyInfo></md:KeyDescriptor><md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</md:NameIDFormat><md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://idp.example.com/saml/sso"/></md:IDPSSODescriptor></md:EntityDescriptor>`
158
+ * };
159
+ * const command = new CreateSAMLProviderCommand(input);
160
+ * const response = await client.send(command);
161
+ * /* response is
162
+ * {
163
+ * SAMLProviderArn: "arn:aws:iam::123456789012:saml-provider/MyUniversity"
164
+ * }
165
+ * *\/
166
+ * ```
167
+ *
109
168
  * @public
110
169
  */
111
170
  export declare class CreateSAMLProviderCommand extends CreateSAMLProviderCommand_base {
@@ -58,6 +58,7 @@ declare const CreateServiceLinkedRoleCommand_base: {
58
58
  * // AssumeRolePolicyDocument: "STRING_VALUE",
59
59
  * // Description: "STRING_VALUE",
60
60
  * // MaxSessionDuration: Number("int"),
61
+ * // MaxSigninSessionDuration: Number("int"),
61
62
  * // PermissionsBoundary: { // AttachedPermissionsBoundary
62
63
  * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
63
64
  * // PermissionsBoundaryArn: "STRING_VALUE",
@@ -24,12 +24,12 @@ declare const DeleteOpenIDConnectProviderCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Deletes an OpenID Connect identity provider (IdP) resource object in IAM.</p>
27
+ * <p>Deletes an OpenID Connect identity provider (IdP) resource object in IAM. Deleting the
28
+ * provider also deletes its trusted identity propagation context provider and removes any
29
+ * IAM Identity Center instance association.</p>
28
30
  * <p>Deleting an IAM OIDC provider resource does not update any roles that reference the
29
31
  * provider as a principal in their trust policies. Any attempt to assume a role that
30
32
  * references a deleted provider fails.</p>
31
- * <p>This operation is idempotent; it does not fail or return an error if you call the
32
- * operation for a provider that does not exist.</p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -53,6 +53,10 @@ declare const DeleteOpenIDConnectProviderCommand_base: {
53
53
  * @see {@link DeleteOpenIDConnectProviderCommandOutput} for command's `response` shape.
54
54
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
55
55
  *
56
+ * @throws {@link ConcurrentModificationException} (client fault)
57
+ * <p>The request was rejected because multiple requests to change this object were submitted
58
+ * simultaneously. Wait a few minutes and submit your request again.</p>
59
+ *
56
60
  * @throws {@link InvalidInputException} (client fault)
57
61
  * <p>The request was rejected because an invalid or out-of-range value was supplied for an
58
62
  * input parameter.</p>
@@ -54,6 +54,10 @@ declare const DeleteSAMLProviderCommand_base: {
54
54
  * @see {@link DeleteSAMLProviderCommandOutput} for command's `response` shape.
55
55
  * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
56
56
  *
57
+ * @throws {@link ConcurrentModificationException} (client fault)
58
+ * <p>The request was rejected because multiple requests to change this object were submitted
59
+ * simultaneously. Wait a few minutes and submit your request again.</p>
60
+ *
57
61
  * @throws {@link InvalidInputException} (client fault)
58
62
  * <p>The request was rejected because an invalid or out-of-range value was supplied for an
59
63
  * input parameter.</p>
@@ -137,6 +137,7 @@ declare const GetAccountAuthorizationDetailsCommand_base: {
137
137
  * // AssumeRolePolicyDocument: "STRING_VALUE",
138
138
  * // Description: "STRING_VALUE",
139
139
  * // MaxSessionDuration: Number("int"),
140
+ * // MaxSigninSessionDuration: Number("int"),
140
141
  * // PermissionsBoundary: {
141
142
  * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
142
143
  * // PermissionsBoundaryArn: "STRING_VALUE",
@@ -58,6 +58,7 @@ declare const GetInstanceProfileCommand_base: {
58
58
  * // AssumeRolePolicyDocument: "STRING_VALUE",
59
59
  * // Description: "STRING_VALUE",
60
60
  * // MaxSessionDuration: Number("int"),
61
+ * // MaxSigninSessionDuration: Number("int"),
61
62
  * // PermissionsBoundary: { // AttachedPermissionsBoundary
62
63
  * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
63
64
  * // PermissionsBoundaryArn: "STRING_VALUE",
@@ -52,6 +52,7 @@ declare const GetLoginProfileCommand_base: {
52
52
  * // UserName: "STRING_VALUE", // required
53
53
  * // CreateDate: new Date("TIMESTAMP"), // required
54
54
  * // PasswordResetRequired: true || false,
55
+ * // MaxSigninSessionDuration: Number("int"),
55
56
  * // },
56
57
  * // };
57
58
  *
@@ -54,6 +54,19 @@ declare const GetOpenIDConnectProviderCommand_base: {
54
54
  * // Value: "STRING_VALUE", // required
55
55
  * // },
56
56
  * // ],
57
+ * // ContextProvider: { // ContextProvider
58
+ * // KeyDefinitionList: [ // keyDefinitionListType
59
+ * // { // ContextProviderKeyDefinition
60
+ * // SourceKey: "STRING_VALUE", // required
61
+ * // TargetKey: "STRING_VALUE",
62
+ * // },
63
+ * // ],
64
+ * // SubjectSourceKey: "STRING_VALUE", // required
65
+ * // SubjectTypeValue: "STRING_VALUE",
66
+ * // SubjectTypeSourceKey: "STRING_VALUE",
67
+ * // },
68
+ * // IdentityCenterInstanceArn: "STRING_VALUE",
69
+ * // IdentityStoreArn: "STRING_VALUE",
57
70
  * // };
58
71
  *
59
72
  * ```
@@ -80,6 +93,41 @@ declare const GetOpenIDConnectProviderCommand_base: {
80
93
  * <p>Base exception class for all service exceptions from IAM service.</p>
81
94
  *
82
95
  *
96
+ * @example To get information about an OIDC provider
97
+ * ```javascript
98
+ * // The following example returns the configuration of an OIDC provider, including its trusted identity propagation context provider and the associated IAM Identity Center instance.
99
+ * const input = {
100
+ * OpenIDConnectProviderArn: "arn:aws:iam::123456789012:oidc-provider/server.example.com"
101
+ * };
102
+ * const command = new GetOpenIDConnectProviderCommand(input);
103
+ * const response = await client.send(command);
104
+ * /* response is
105
+ * {
106
+ * ClientIDList: [
107
+ * "my-application-id"
108
+ * ],
109
+ * ContextProvider: {
110
+ * KeyDefinitionList: [
111
+ * {
112
+ * SourceKey: "department",
113
+ * TargetKey: "department"
114
+ * }
115
+ * ],
116
+ * SubjectSourceKey: "sub",
117
+ * SubjectTypeValue: "user"
118
+ * },
119
+ * CreateDate: "2026-11-01T17:22:18Z",
120
+ * IdentityCenterInstanceArn: "arn:aws:sso:::instance/ssoins-1234567890abcdef",
121
+ * IdentityStoreArn: "arn:aws:identitystore::123456789012:identitystore/d-1234567890",
122
+ * Tags: [],
123
+ * ThumbprintList: [
124
+ * "3768084dfb3d2b68b7897bf5f565da8efEXAMPLE"
125
+ * ],
126
+ * Url: "server.example.com"
127
+ * }
128
+ * *\/
129
+ * ```
130
+ *
83
131
  * @public
84
132
  */
85
133
  export declare class GetOpenIDConnectProviderCommand extends GetOpenIDConnectProviderCommand_base {
@@ -59,6 +59,7 @@ declare const GetRoleCommand_base: {
59
59
  * // AssumeRolePolicyDocument: "STRING_VALUE",
60
60
  * // Description: "STRING_VALUE",
61
61
  * // MaxSessionDuration: Number("int"),
62
+ * // MaxSigninSessionDuration: Number("int"),
62
63
  * // PermissionsBoundary: { // AttachedPermissionsBoundary
63
64
  * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
64
65
  * // PermissionsBoundaryArn: "STRING_VALUE",
@@ -45,6 +45,25 @@ declare const GetSAMLProviderCommand_base: {
45
45
  * // { // GetSAMLProviderResponse
46
46
  * // SAMLProviderUUID: "STRING_VALUE",
47
47
  * // SAMLMetadataDocument: "STRING_VALUE",
48
+ * // ContextProvider: { // ContextProvider
49
+ * // KeyDefinitionList: [ // keyDefinitionListType
50
+ * // { // ContextProviderKeyDefinition
51
+ * // SourceKey: "STRING_VALUE", // required
52
+ * // TargetKey: "STRING_VALUE",
53
+ * // },
54
+ * // ],
55
+ * // SubjectSourceKey: "STRING_VALUE", // required
56
+ * // SubjectTypeValue: "STRING_VALUE",
57
+ * // SubjectTypeSourceKey: "STRING_VALUE",
58
+ * // },
59
+ * // SAMLKeyHashes: [ // SAMLKeyHashListType
60
+ * // { // SAMLKeyHashEntry
61
+ * // IssuerURL: "STRING_VALUE",
62
+ * // KeyHashes: [ // KeyHashListType
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // },
66
+ * // ],
48
67
  * // CreateDate: new Date("TIMESTAMP"),
49
68
  * // ValidUntil: new Date("TIMESTAMP"),
50
69
  * // Tags: [ // tagListType
@@ -60,6 +79,8 @@ declare const GetSAMLProviderCommand_base: {
60
79
  * // Timestamp: new Date("TIMESTAMP"),
61
80
  * // },
62
81
  * // ],
82
+ * // IdentityCenterInstanceArn: "STRING_VALUE",
83
+ * // IdentityStoreArn: "STRING_VALUE",
63
84
  * // };
64
85
  *
65
86
  * ```
@@ -86,6 +107,45 @@ declare const GetSAMLProviderCommand_base: {
86
107
  * <p>Base exception class for all service exceptions from IAM service.</p>
87
108
  *
88
109
  *
110
+ * @example To get information about a SAML provider
111
+ * ```javascript
112
+ * // The following example returns the configuration of a SAML provider, including its trusted identity propagation context provider, the issuer key hashes, and the associated IAM Identity Center instance.
113
+ * const input = {
114
+ * SAMLProviderArn: "arn:aws:iam::123456789012:saml-provider/MyUniversity"
115
+ * };
116
+ * const command = new GetSAMLProviderCommand(input);
117
+ * const response = await client.send(command);
118
+ * /* response is
119
+ * {
120
+ * AssertionEncryptionMode: "Allowed",
121
+ * ContextProvider: {
122
+ * KeyDefinitionList: [
123
+ * {
124
+ * SourceKey: "department",
125
+ * TargetKey: "department"
126
+ * }
127
+ * ],
128
+ * SubjectSourceKey: "email",
129
+ * SubjectTypeValue: "user"
130
+ * },
131
+ * CreateDate: "2026-11-01T17:22:18Z",
132
+ * IdentityCenterInstanceArn: "arn:aws:sso:::instance/ssoins-1234567890abcdef",
133
+ * IdentityStoreArn: "arn:aws:identitystore::123456789012:identitystore/d-1234567890",
134
+ * SAMLKeyHashes: [
135
+ * {
136
+ * IssuerURL: "https://idp.example.com/saml",
137
+ * KeyHashes: [
138
+ * "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8EXAMPLE"
139
+ * ]
140
+ * }
141
+ * ],
142
+ * SAMLProviderUUID: "SAMLPROVIDERUUIDEXAMPLE",
143
+ * Tags: [],
144
+ * ValidUntil: "2036-11-01T17:22:18Z"
145
+ * }
146
+ * *\/
147
+ * ```
148
+ *
89
149
  * @public
90
150
  */
91
151
  export declare class GetSAMLProviderCommand extends GetSAMLProviderCommand_base {
@@ -68,6 +68,7 @@ declare const ListInstanceProfilesCommand_base: {
68
68
  * // AssumeRolePolicyDocument: "STRING_VALUE",
69
69
  * // Description: "STRING_VALUE",
70
70
  * // MaxSessionDuration: Number("int"),
71
+ * // MaxSigninSessionDuration: Number("int"),
71
72
  * // PermissionsBoundary: { // AttachedPermissionsBoundary
72
73
  * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
73
74
  * // PermissionsBoundaryArn: "STRING_VALUE",
@@ -63,6 +63,7 @@ declare const ListInstanceProfilesForRoleCommand_base: {
63
63
  * // AssumeRolePolicyDocument: "STRING_VALUE",
64
64
  * // Description: "STRING_VALUE",
65
65
  * // MaxSessionDuration: Number("int"),
66
+ * // MaxSigninSessionDuration: Number("int"),
66
67
  * // PermissionsBoundary: { // AttachedPermissionsBoundary
67
68
  * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
68
69
  * // PermissionsBoundaryArn: "STRING_VALUE",
@@ -45,6 +45,7 @@ declare const ListOpenIDConnectProvidersCommand_base: {
45
45
  * // OpenIDConnectProviderList: [ // OpenIDConnectProviderListType
46
46
  * // { // OpenIDConnectProviderListEntry
47
47
  * // Arn: "STRING_VALUE",
48
+ * // IsTrustedIdentityPropagationEnabled: true || false,
48
49
  * // },
49
50
  * // ],
50
51
  * // };
@@ -65,6 +66,28 @@ declare const ListOpenIDConnectProvidersCommand_base: {
65
66
  * <p>Base exception class for all service exceptions from IAM service.</p>
66
67
  *
67
68
  *
69
+ * @example To list the OIDC providers in an account
70
+ * ```javascript
71
+ * // The following example lists the OIDC providers in the current account and shows whether trusted identity propagation is enabled for each provider.
72
+ * const input = { /* empty *\/ };
73
+ * const command = new ListOpenIDConnectProvidersCommand(input);
74
+ * const response = await client.send(command);
75
+ * /* response is
76
+ * {
77
+ * OpenIDConnectProviderList: [
78
+ * {
79
+ * Arn: "arn:aws:iam::123456789012:oidc-provider/server.example.com",
80
+ * IsTrustedIdentityPropagationEnabled: true
81
+ * },
82
+ * {
83
+ * Arn: "arn:aws:iam::123456789012:oidc-provider/server.example.org",
84
+ * IsTrustedIdentityPropagationEnabled: false
85
+ * }
86
+ * ]
87
+ * }
88
+ * *\/
89
+ * ```
90
+ *
68
91
  * @public
69
92
  */
70
93
  export declare class ListOpenIDConnectProvidersCommand extends ListOpenIDConnectProvidersCommand_base {
@@ -71,6 +71,7 @@ declare const ListRolesCommand_base: {
71
71
  * // AssumeRolePolicyDocument: "STRING_VALUE",
72
72
  * // Description: "STRING_VALUE",
73
73
  * // MaxSessionDuration: Number("int"),
74
+ * // MaxSigninSessionDuration: Number("int"),
74
75
  * // PermissionsBoundary: { // AttachedPermissionsBoundary
75
76
  * // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
76
77
  * // PermissionsBoundaryArn: "STRING_VALUE",
@@ -47,6 +47,7 @@ declare const ListSAMLProvidersCommand_base: {
47
47
  * // Arn: "STRING_VALUE",
48
48
  * // ValidUntil: new Date("TIMESTAMP"),
49
49
  * // CreateDate: new Date("TIMESTAMP"),
50
+ * // IsTrustedIdentityPropagationEnabled: true || false,
50
51
  * // },
51
52
  * // ],
52
53
  * // };
@@ -67,6 +68,32 @@ declare const ListSAMLProvidersCommand_base: {
67
68
  * <p>Base exception class for all service exceptions from IAM service.</p>
68
69
  *
69
70
  *
71
+ * @example To list the SAML providers in an account
72
+ * ```javascript
73
+ * // The following example lists the SAML providers in the current account and shows whether trusted identity propagation is enabled for each provider.
74
+ * const input = { /* empty *\/ };
75
+ * const command = new ListSAMLProvidersCommand(input);
76
+ * const response = await client.send(command);
77
+ * /* response is
78
+ * {
79
+ * SAMLProviderList: [
80
+ * {
81
+ * Arn: "arn:aws:iam::123456789012:saml-provider/MyUniversity",
82
+ * CreateDate: "2026-11-01T17:22:18Z",
83
+ * IsTrustedIdentityPropagationEnabled: true,
84
+ * ValidUntil: "2036-11-01T17:22:18Z"
85
+ * },
86
+ * {
87
+ * Arn: "arn:aws:iam::123456789012:saml-provider/MyCompany",
88
+ * CreateDate: "2020-03-11T13:11:02Z",
89
+ * IsTrustedIdentityPropagationEnabled: false,
90
+ * ValidUntil: "2030-03-11T13:11:02Z"
91
+ * }
92
+ * ]
93
+ * }
94
+ * *\/
95
+ * ```
96
+ *
70
97
  * @public
71
98
  */
72
99
  export declare class ListSAMLProvidersCommand extends ListSAMLProvidersCommand_base {
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { TagOpenIDConnectProviderRequest } from "../models/models_0";
2
+ import type { TagOpenIDConnectProviderRequest } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { TagPolicyRequest } from "../models/models_0";
2
+ import type { TagPolicyRequest } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { TagRoleRequest } from "../models/models_0";
2
+ import type { TagRoleRequest } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -24,7 +24,8 @@ declare const UpdateLoginProfileCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Changes the password for the specified IAM user. You can use the CLI, the Amazon Web Services
27
+ * <p>Changes the password or the maximum sign-in session duration for the specified
28
+ * IAM user. You can use the CLI, the Amazon Web Services
28
29
  * API, or the <b>Users</b> page in the IAM console to change
29
30
  * the password for any IAM user. Use <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ChangePassword.html">ChangePassword</a> to
30
31
  * change your own password in the <b>My Security Credentials</b>
@@ -43,6 +44,8 @@ declare const UpdateLoginProfileCommand_base: {
43
44
  * UserName: "STRING_VALUE", // required
44
45
  * Password: "STRING_VALUE",
45
46
  * PasswordResetRequired: true || false,
47
+ * MaxSigninSessionDuration: Number("int"),
48
+ * ResetMaxSigninSessionDuration: true || false,
46
49
  * };
47
50
  * const command = new UpdateLoginProfileCommand(input);
48
51
  * const response = await client.send(command);
@@ -62,6 +65,10 @@ declare const UpdateLoginProfileCommand_base: {
62
65
  * is likely to succeed if you try again after waiting several minutes. The error message
63
66
  * describes the entity.</p>
64
67
  *
68
+ * @throws {@link InvalidInputException} (client fault)
69
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
70
+ * input parameter.</p>
71
+ *
65
72
  * @throws {@link LimitExceededException} (client fault)
66
73
  * <p>The request was rejected because it attempted to create resources beyond the current
67
74
  * Amazon Web Services account limits. The error message describes the limit exceeded.</p>
@@ -0,0 +1,158 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateOpenIDConnectProviderRequest } from "../models/models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateOpenIDConnectProviderCommand}.
11
+ */
12
+ export interface UpdateOpenIDConnectProviderCommandInput extends UpdateOpenIDConnectProviderRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateOpenIDConnectProviderCommand}.
18
+ */
19
+ export interface UpdateOpenIDConnectProviderCommandOutput extends __MetadataBearer {
20
+ }
21
+ declare const UpdateOpenIDConnectProviderCommand_base: {
22
+ new (input: UpdateOpenIDConnectProviderCommandInput): import("@smithy/core/client").CommandImpl<UpdateOpenIDConnectProviderCommandInput, UpdateOpenIDConnectProviderCommandOutput, import("..").IAMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateOpenIDConnectProviderCommandInput): import("@smithy/core/client").CommandImpl<UpdateOpenIDConnectProviderCommandInput, UpdateOpenIDConnectProviderCommandOutput, import("..").IAMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Updates the configuration of an existing IAM OpenID Connect (OIDC) identity provider
28
+ * resource object. Use this operation to set, change, or remove the trusted identity
29
+ * propagation context provider, and to associate or disassociate an IAM Identity Center
30
+ * instance with the provider.</p>
31
+ * <note>
32
+ * <p>This operation does not update the OIDC provider's server certificate thumbprints.
33
+ * Thumbprints are managed only by the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateOpenIDConnectProviderThumbprint.html">UpdateOpenIDConnectProviderThumbprint</a> operation. To change a provider's
34
+ * thumbprints, call that operation instead.</p>
35
+ * </note>
36
+ * <p>To remove a configuration rather than replace it, use the
37
+ * <code>RemoveContextProvider</code> and <code>RemoveIdentityCenterInstance</code>
38
+ * parameters. For each configuration, provide either the new value or the corresponding
39
+ * <code>Remove</code> flag in a single request, but not both. For example, specifying
40
+ * both <code>ContextProvider</code> and <code>RemoveContextProvider</code> in the same
41
+ * request is not allowed.</p>
42
+ * <p>A single request can change either the context provider or the IAM Identity Center
43
+ * association, but not both. To change both, make separate
44
+ * <code>UpdateOpenIDConnectProvider</code> requests. To remove the context provider,
45
+ * first remove the IAM Identity Center association in a separate request.</p>
46
+ * <p>To control who can configure trusted identity propagation on an OIDC provider, use the
47
+ * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_iam-condition-keys.html#ck_EnableIdentityPropagation">iam:EnableIdentityPropagation</a>, <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_iam-condition-keys.html#ck_EnableIdentityCenterAssociation">iam:EnableIdentityCenterAssociation</a>, <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_iam-condition-keys.html#ck_ResourceIdentityProviderIssuers">iam:ResourceIdentityProviderIssuers</a>, <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_iam-condition-keys.html#ck_RequestIdentityCenterInstanceArn">iam:RequestIdentityCenterInstanceArn</a>, and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_iam-condition-keys.html#ck_ResourceIdentityCenterInstanceArn">iam:ResourceIdentityCenterInstanceArn</a> condition keys in IAM
48
+ * policies. The <code>Request</code> keys contain the values in the request. The
49
+ * <code>Resource</code> keys contain the values stored on the provider.</p>
50
+ * @example
51
+ * Use a bare-bones client and the command you need to make an API call.
52
+ * ```javascript
53
+ * import { IAMClient, UpdateOpenIDConnectProviderCommand } from "@aws-sdk/client-iam"; // ES Modules import
54
+ * // const { IAMClient, UpdateOpenIDConnectProviderCommand } = require("@aws-sdk/client-iam"); // CommonJS import
55
+ * // import type { IAMClientConfig } from "@aws-sdk/client-iam";
56
+ * const config = {}; // type is IAMClientConfig
57
+ * const client = new IAMClient(config);
58
+ * const input = { // UpdateOpenIDConnectProviderRequest
59
+ * OpenIDConnectProviderArn: "STRING_VALUE", // required
60
+ * ContextProvider: { // ContextProvider
61
+ * KeyDefinitionList: [ // keyDefinitionListType
62
+ * { // ContextProviderKeyDefinition
63
+ * SourceKey: "STRING_VALUE", // required
64
+ * TargetKey: "STRING_VALUE",
65
+ * },
66
+ * ],
67
+ * SubjectSourceKey: "STRING_VALUE", // required
68
+ * SubjectTypeValue: "STRING_VALUE",
69
+ * SubjectTypeSourceKey: "STRING_VALUE",
70
+ * },
71
+ * IdentityCenterInstanceArn: "STRING_VALUE",
72
+ * RemoveContextProvider: true || false,
73
+ * RemoveIdentityCenterInstance: true || false,
74
+ * };
75
+ * const command = new UpdateOpenIDConnectProviderCommand(input);
76
+ * const response = await client.send(command);
77
+ * // {};
78
+ *
79
+ * ```
80
+ *
81
+ * @param UpdateOpenIDConnectProviderCommandInput - {@link UpdateOpenIDConnectProviderCommandInput}
82
+ * @returns {@link UpdateOpenIDConnectProviderCommandOutput}
83
+ * @see {@link UpdateOpenIDConnectProviderCommandInput} for command's `input` shape.
84
+ * @see {@link UpdateOpenIDConnectProviderCommandOutput} for command's `response` shape.
85
+ * @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
86
+ *
87
+ * @throws {@link ConcurrentModificationException} (client fault)
88
+ * <p>The request was rejected because multiple requests to change this object were submitted
89
+ * simultaneously. Wait a few minutes and submit your request again.</p>
90
+ *
91
+ * @throws {@link InvalidInputException} (client fault)
92
+ * <p>The request was rejected because an invalid or out-of-range value was supplied for an
93
+ * input parameter.</p>
94
+ *
95
+ * @throws {@link NoSuchEntityException} (client fault)
96
+ * <p>The request was rejected because it referenced a resource entity that does not exist. The
97
+ * error message describes the resource.</p>
98
+ *
99
+ * @throws {@link ServiceFailureException} (server fault)
100
+ * <p>The request processing has failed because of an unknown error, exception or
101
+ * failure.</p>
102
+ *
103
+ * @throws {@link IAMServiceException}
104
+ * <p>Base exception class for all service exceptions from IAM service.</p>
105
+ *
106
+ *
107
+ * @example To set the context provider for an OIDC provider
108
+ * ```javascript
109
+ * // The following example sets a trusted identity propagation context provider on an existing OIDC provider. The context provider uses the sub claim as the subject and maps the department claim to a trusted context key.
110
+ * const input = {
111
+ * ContextProvider: {
112
+ * KeyDefinitionList: [
113
+ * {
114
+ * SourceKey: "department",
115
+ * TargetKey: "department"
116
+ * }
117
+ * ],
118
+ * SubjectSourceKey: "sub",
119
+ * SubjectTypeValue: "user"
120
+ * },
121
+ * OpenIDConnectProviderArn: "arn:aws:iam::123456789012:oidc-provider/server.example.com"
122
+ * };
123
+ * const command = new UpdateOpenIDConnectProviderCommand(input);
124
+ * const response = await client.send(command);
125
+ * /* response is
126
+ * { /* empty *\/ }
127
+ * *\/
128
+ * ```
129
+ *
130
+ * @example To associate an IAM Identity Center instance with an OIDC provider
131
+ * ```javascript
132
+ * // The following example associates an IAM Identity Center instance with an existing OIDC provider.
133
+ * const input = {
134
+ * IdentityCenterInstanceArn: "arn:aws:sso:::instance/ssoins-1234567890abcdef",
135
+ * OpenIDConnectProviderArn: "arn:aws:iam::123456789012:oidc-provider/server.example.com"
136
+ * };
137
+ * const command = new UpdateOpenIDConnectProviderCommand(input);
138
+ * const response = await client.send(command);
139
+ * /* response is
140
+ * { /* empty *\/ }
141
+ * *\/
142
+ * ```
143
+ *
144
+ * @public
145
+ */
146
+ export declare class UpdateOpenIDConnectProviderCommand extends UpdateOpenIDConnectProviderCommand_base {
147
+ /** @internal type navigation helper, not in runtime. */
148
+ protected static __types: {
149
+ api: {
150
+ input: UpdateOpenIDConnectProviderRequest;
151
+ output: {};
152
+ };
153
+ sdk: {
154
+ input: UpdateOpenIDConnectProviderCommandInput;
155
+ output: UpdateOpenIDConnectProviderCommandOutput;
156
+ };
157
+ };
158
+ }