@aws-sdk/client-iam 3.1172.0 → 3.1174.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 (36) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +88 -28
  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 +78 -27
  7. package/dist-types/IAM.d.ts +7 -0
  8. package/dist-types/IAMClient.d.ts +3 -2
  9. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +61 -2
  10. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +59 -0
  11. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +7 -3
  12. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +4 -0
  13. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +48 -0
  14. package/dist-types/commands/GetSAMLProviderCommand.d.ts +60 -0
  15. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +23 -0
  16. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +27 -0
  17. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
  18. package/dist-types/commands/TagPolicyCommand.d.ts +1 -1
  19. package/dist-types/commands/TagRoleCommand.d.ts +1 -1
  20. package/dist-types/commands/UpdateOpenIDConnectProviderCommand.d.ts +158 -0
  21. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +70 -0
  22. package/dist-types/commands/index.d.ts +1 -0
  23. package/dist-types/models/models_0.d.ts +194 -53
  24. package/dist-types/models/models_1.d.ts +134 -1
  25. package/dist-types/schemas/schemas_0.d.ts +5 -0
  26. package/dist-types/ts3.4/IAM.d.ts +17 -0
  27. package/dist-types/ts3.4/IAMClient.d.ts +6 -0
  28. package/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +1 -1
  30. package/dist-types/ts3.4/commands/TagRoleCommand.d.ts +1 -1
  31. package/dist-types/ts3.4/commands/UpdateOpenIDConnectProviderCommand.d.ts +38 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  33. package/dist-types/ts3.4/models/models_0.d.ts +27 -12
  34. package/dist-types/ts3.4/models/models_1.d.ts +31 -1
  35. package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
  36. package/package.json +1 -1
@@ -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 {
@@ -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 {
@@ -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 {
@@ -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
  */
@@ -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
+ }
@@ -27,6 +27,21 @@ declare const UpdateSAMLProviderCommand_base: {
27
27
  * <p>Updates the metadata document, SAML encryption settings, and private keys for an
28
28
  * existing SAML provider. To rotate private keys, add your new private key and then remove
29
29
  * the old key in a separate request.</p>
30
+ * <p>You can also use this operation to set, change, or remove the trusted identity
31
+ * propagation context provider, and to associate or disassociate an IAM Identity Center
32
+ * instance with the provider. To remove a configuration rather than replace it, use the
33
+ * <code>RemoveContextProvider</code> and <code>RemoveIdentityCenterInstance</code>
34
+ * parameters. For each configuration, provide either the new value or the corresponding
35
+ * <code>Remove</code> flag in a single request, but not both.</p>
36
+ * <p>A single request can change either the context provider or the provider metadata, but
37
+ * not both. Provider metadata includes the SAML metadata document, assertion encryption
38
+ * mode, private keys, and IAM Identity Center association. To change both, make separate
39
+ * <code>UpdateSAMLProvider</code> requests. To remove the context provider, first
40
+ * remove the IAM Identity Center association in a separate request.</p>
41
+ * <p>To control who can configure trusted identity propagation on a SAML provider, use the
42
+ * <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
43
+ * policies. The <code>Request</code> keys contain the values in the request. The
44
+ * <code>Resource</code> keys contain the values stored on the provider.</p>
30
45
  * @example
31
46
  * Use a bare-bones client and the command you need to make an API call.
32
47
  * ```javascript
@@ -41,6 +56,20 @@ declare const UpdateSAMLProviderCommand_base: {
41
56
  * AssertionEncryptionMode: "Required" || "Allowed",
42
57
  * AddPrivateKey: "STRING_VALUE",
43
58
  * RemovePrivateKey: "STRING_VALUE",
59
+ * ContextProvider: { // ContextProvider
60
+ * KeyDefinitionList: [ // keyDefinitionListType
61
+ * { // ContextProviderKeyDefinition
62
+ * SourceKey: "STRING_VALUE", // required
63
+ * TargetKey: "STRING_VALUE",
64
+ * },
65
+ * ],
66
+ * SubjectSourceKey: "STRING_VALUE", // required
67
+ * SubjectTypeValue: "STRING_VALUE",
68
+ * SubjectTypeSourceKey: "STRING_VALUE",
69
+ * },
70
+ * IdentityCenterInstanceArn: "STRING_VALUE",
71
+ * RemoveContextProvider: true || false,
72
+ * RemoveIdentityCenterInstance: true || false,
44
73
  * };
45
74
  * const command = new UpdateSAMLProviderCommand(input);
46
75
  * const response = await client.send(command);
@@ -80,6 +109,47 @@ declare const UpdateSAMLProviderCommand_base: {
80
109
  * <p>Base exception class for all service exceptions from IAM service.</p>
81
110
  *
82
111
  *
112
+ * @example To set the context provider for a SAML provider
113
+ * ```javascript
114
+ * // The following example sets a trusted identity propagation context provider on an existing SAML provider. The context provider uses the email attribute as the subject and maps the department attribute to a trusted context key.
115
+ * const input = {
116
+ * ContextProvider: {
117
+ * KeyDefinitionList: [
118
+ * {
119
+ * SourceKey: "department",
120
+ * TargetKey: "department"
121
+ * }
122
+ * ],
123
+ * SubjectSourceKey: "email",
124
+ * SubjectTypeValue: "user"
125
+ * },
126
+ * SAMLProviderArn: "arn:aws:iam::123456789012:saml-provider/MyUniversity"
127
+ * };
128
+ * const command = new UpdateSAMLProviderCommand(input);
129
+ * const response = await client.send(command);
130
+ * /* response is
131
+ * {
132
+ * SAMLProviderArn: "arn:aws:iam::123456789012:saml-provider/MyUniversity"
133
+ * }
134
+ * *\/
135
+ * ```
136
+ *
137
+ * @example To associate an IAM Identity Center instance with a SAML provider
138
+ * ```javascript
139
+ * // The following example associates an IAM Identity Center instance with an existing SAML provider.
140
+ * const input = {
141
+ * IdentityCenterInstanceArn: "arn:aws:sso:::instance/ssoins-1234567890abcdef",
142
+ * SAMLProviderArn: "arn:aws:iam::123456789012:saml-provider/MyUniversity"
143
+ * };
144
+ * const command = new UpdateSAMLProviderCommand(input);
145
+ * const response = await client.send(command);
146
+ * /* response is
147
+ * {
148
+ * SAMLProviderArn: "arn:aws:iam::123456789012:saml-provider/MyUniversity"
149
+ * }
150
+ * *\/
151
+ * ```
152
+ *
83
153
  * @public
84
154
  */
85
155
  export declare class UpdateSAMLProviderCommand extends UpdateSAMLProviderCommand_base {
@@ -166,6 +166,7 @@ export * from "./UpdateAssumeRolePolicyCommand";
166
166
  export * from "./UpdateDelegationRequestCommand";
167
167
  export * from "./UpdateGroupCommand";
168
168
  export * from "./UpdateLoginProfileCommand";
169
+ export * from "./UpdateOpenIDConnectProviderCommand";
169
170
  export * from "./UpdateOpenIDConnectProviderThumbprintCommand";
170
171
  export * from "./UpdateRoleCommand";
171
172
  export * from "./UpdateRoleDescriptionCommand";