@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.
- package/README.md +7 -0
- package/dist-cjs/index.js +102 -40
- package/dist-es/IAM.js +2 -0
- package/dist-es/commands/UpdateOpenIDConnectProviderCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +92 -39
- package/dist-types/IAM.d.ts +7 -0
- package/dist-types/IAMClient.d.ts +3 -2
- package/dist-types/commands/AcquireRoleCommand.d.ts +1 -0
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +1 -0
- package/dist-types/commands/CreateLoginProfileCommand.d.ts +2 -0
- package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +61 -2
- package/dist-types/commands/CreateRoleCommand.d.ts +2 -0
- package/dist-types/commands/CreateSAMLProviderCommand.d.ts +59 -0
- package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +1 -0
- package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +7 -3
- package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +4 -0
- package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +1 -0
- package/dist-types/commands/GetInstanceProfileCommand.d.ts +1 -0
- package/dist-types/commands/GetLoginProfileCommand.d.ts +1 -0
- package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +48 -0
- package/dist-types/commands/GetRoleCommand.d.ts +1 -0
- package/dist-types/commands/GetSAMLProviderCommand.d.ts +60 -0
- package/dist-types/commands/ListInstanceProfilesCommand.d.ts +1 -0
- package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -0
- package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +23 -0
- package/dist-types/commands/ListRolesCommand.d.ts +1 -0
- package/dist-types/commands/ListSAMLProvidersCommand.d.ts +27 -0
- package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
- package/dist-types/commands/TagPolicyCommand.d.ts +1 -1
- package/dist-types/commands/TagRoleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLoginProfileCommand.d.ts +8 -1
- package/dist-types/commands/UpdateOpenIDConnectProviderCommand.d.ts +158 -0
- package/dist-types/commands/UpdateRoleCommand.d.ts +9 -1
- package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +70 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +229 -53
- package/dist-types/models/models_1.d.ts +195 -1
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/IAM.d.ts +17 -0
- package/dist-types/ts3.4/IAMClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/TagOpenIDConnectProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagRoleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOpenIDConnectProviderCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -12
- package/dist-types/ts3.4/models/models_1.d.ts +35 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +1 -1
|
@@ -24,7 +24,9 @@ declare const UpdateRoleCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Updates the description
|
|
27
|
+
* <p>Updates the description, maximum session duration, or maximum sign-in session duration
|
|
28
|
+
* of a role. You cannot change the maximum sign-in session duration of a service-linked
|
|
29
|
+
* role.</p>
|
|
28
30
|
* @example
|
|
29
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
32
|
* ```javascript
|
|
@@ -37,6 +39,8 @@ declare const UpdateRoleCommand_base: {
|
|
|
37
39
|
* RoleName: "STRING_VALUE", // required
|
|
38
40
|
* Description: "STRING_VALUE",
|
|
39
41
|
* MaxSessionDuration: Number("int"),
|
|
42
|
+
* MaxSigninSessionDuration: Number("int"),
|
|
43
|
+
* ResetMaxSigninSessionDuration: true || false,
|
|
40
44
|
* };
|
|
41
45
|
* const command = new UpdateRoleCommand(input);
|
|
42
46
|
* const response = await client.send(command);
|
|
@@ -50,6 +54,10 @@ declare const UpdateRoleCommand_base: {
|
|
|
50
54
|
* @see {@link UpdateRoleCommandOutput} for command's `response` shape.
|
|
51
55
|
* @see {@link IAMClientResolvedConfig | config} for IAMClient's `config` shape.
|
|
52
56
|
*
|
|
57
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
58
|
+
* <p>The request was rejected because an invalid or out-of-range value was supplied for an
|
|
59
|
+
* input parameter.</p>
|
|
60
|
+
*
|
|
53
61
|
* @throws {@link NoSuchEntityException} (client fault)
|
|
54
62
|
* <p>The request was rejected because it referenced a resource entity that does not exist. The
|
|
55
63
|
* error message describes the resource.</p>
|
|
@@ -51,6 +51,7 @@ declare const UpdateRoleDescriptionCommand_base: {
|
|
|
51
51
|
* // AssumeRolePolicyDocument: "STRING_VALUE",
|
|
52
52
|
* // Description: "STRING_VALUE",
|
|
53
53
|
* // MaxSessionDuration: Number("int"),
|
|
54
|
+
* // MaxSigninSessionDuration: Number("int"),
|
|
54
55
|
* // PermissionsBoundary: { // AttachedPermissionsBoundary
|
|
55
56
|
* // PermissionsBoundaryType: "PermissionsBoundaryPolicy",
|
|
56
57
|
* // PermissionsBoundaryArn: "STRING_VALUE",
|
|
@@ -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";
|
|
@@ -379,6 +379,14 @@ export interface Role {
|
|
|
379
379
|
* @public
|
|
380
380
|
*/
|
|
381
381
|
MaxSessionDuration?: number | undefined;
|
|
382
|
+
/**
|
|
383
|
+
* <p>The maximum duration (in seconds) of an Amazon Web Services Sign-In session for users who sign in
|
|
384
|
+
* with this role. This value is independent of <code>MaxSessionDuration</code>.</p>
|
|
385
|
+
* <p>This member is omitted when the setting is unset. In that case, no default value is
|
|
386
|
+
* returned and the existing sign-in session behavior applies.</p>
|
|
387
|
+
* @public
|
|
388
|
+
*/
|
|
389
|
+
MaxSigninSessionDuration?: number | undefined;
|
|
382
390
|
/**
|
|
383
391
|
* <p>The ARN of the policy used to set the permissions boundary for the role.</p>
|
|
384
392
|
* <p>For more information about permissions boundaries, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html">Permissions boundaries for IAM
|
|
@@ -985,6 +993,17 @@ export interface CreateLoginProfileRequest {
|
|
|
985
993
|
* @public
|
|
986
994
|
*/
|
|
987
995
|
PasswordResetRequired?: boolean | undefined;
|
|
996
|
+
/**
|
|
997
|
+
* <p>The maximum duration (in seconds) of an Amazon Web Services Sign-In session for this IAM user.
|
|
998
|
+
* This setting can have a value from 1 hour (3600 seconds) to 90 days (7776000 seconds),
|
|
999
|
+
* inclusive. If you do not specify a value, the setting remains unset and the existing
|
|
1000
|
+
* sign-in session behavior applies.</p>
|
|
1001
|
+
* <note>
|
|
1002
|
+
* <p>This setting is not supported for the root user.</p>
|
|
1003
|
+
* </note>
|
|
1004
|
+
* @public
|
|
1005
|
+
*/
|
|
1006
|
+
MaxSigninSessionDuration?: number | undefined;
|
|
988
1007
|
}
|
|
989
1008
|
/**
|
|
990
1009
|
* <p>Contains the user name and password create date for a user.</p>
|
|
@@ -1008,6 +1027,13 @@ export interface LoginProfile {
|
|
|
1008
1027
|
* @public
|
|
1009
1028
|
*/
|
|
1010
1029
|
PasswordResetRequired?: boolean | undefined;
|
|
1030
|
+
/**
|
|
1031
|
+
* <p>The maximum duration (in seconds) of an Amazon Web Services Sign-In session for the user.</p>
|
|
1032
|
+
* <p>This member is omitted when the setting is unset. In that case, no default value is
|
|
1033
|
+
* returned and the existing sign-in session behavior applies.</p>
|
|
1034
|
+
* @public
|
|
1035
|
+
*/
|
|
1036
|
+
MaxSigninSessionDuration?: number | undefined;
|
|
1011
1037
|
}
|
|
1012
1038
|
/**
|
|
1013
1039
|
* <p>Contains the response to a successful <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateLoginProfile.html">CreateLoginProfile</a>
|
|
@@ -1021,6 +1047,81 @@ export interface CreateLoginProfileResponse {
|
|
|
1021
1047
|
*/
|
|
1022
1048
|
LoginProfile: LoginProfile | undefined;
|
|
1023
1049
|
}
|
|
1050
|
+
/**
|
|
1051
|
+
* <p>Defines a single mapping from a source key in the external identity provider's assertion
|
|
1052
|
+
* or token to a target trusted context key.</p>
|
|
1053
|
+
* <p>This data type is used as a member of the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html">ContextProvider</a> data
|
|
1054
|
+
* type.</p>
|
|
1055
|
+
* @public
|
|
1056
|
+
*/
|
|
1057
|
+
export interface ContextProviderKeyDefinition {
|
|
1058
|
+
/**
|
|
1059
|
+
* <p>The key in the external identity provider's assertion or token to read the value
|
|
1060
|
+
* from.</p>
|
|
1061
|
+
* <p>The key can contain only ASCII letters (A-Z, a-z), numbers (0-9), single spaces, and the
|
|
1062
|
+
* following characters: <code>_ . : / = + - @ #</code>. It can't start or end with a space
|
|
1063
|
+
* or contain two spaces in a row.</p>
|
|
1064
|
+
* @public
|
|
1065
|
+
*/
|
|
1066
|
+
SourceKey: string | undefined;
|
|
1067
|
+
/**
|
|
1068
|
+
* <p>The trusted context key to map the source value into.</p>
|
|
1069
|
+
* <p>The key can contain only ASCII letters (A-Z, a-z), numbers (0-9), single spaces, and the
|
|
1070
|
+
* following characters: <code>_ . : / = + - @ #</code>. It can't start or end with a space
|
|
1071
|
+
* or contain two spaces in a row.</p>
|
|
1072
|
+
* @public
|
|
1073
|
+
*/
|
|
1074
|
+
TargetKey?: string | undefined;
|
|
1075
|
+
}
|
|
1076
|
+
/**
|
|
1077
|
+
* <p>Contains the trusted identity propagation context provider configuration for a SAML or
|
|
1078
|
+
* OpenID Connect (OIDC) identity provider. The context provider defines how the subject is
|
|
1079
|
+
* derived and how keys from the external identity provider's assertion or token are mapped
|
|
1080
|
+
* into trusted context keys.</p>
|
|
1081
|
+
* <p>This data type is used as a request parameter in the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html">CreateOpenIDConnectProvider</a>, <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateOpenIDConnectProvider.html">UpdateOpenIDConnectProvider</a>, <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateSAMLProvider.html">CreateSAMLProvider</a>,
|
|
1082
|
+
* and <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateSAMLProvider.html">UpdateSAMLProvider</a> operations, and as a response element in the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetOpenIDConnectProvider.html">GetOpenIDConnectProvider</a> and <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetSAMLProvider.html">GetSAMLProvider</a>
|
|
1083
|
+
* operations.</p>
|
|
1084
|
+
* @public
|
|
1085
|
+
*/
|
|
1086
|
+
export interface ContextProvider {
|
|
1087
|
+
/**
|
|
1088
|
+
* <p>A list of source-to-target key mappings that define how keys from the external identity
|
|
1089
|
+
* provider's assertion or token are mapped into trusted context keys. You can specify from 0
|
|
1090
|
+
* to 10 mappings.</p>
|
|
1091
|
+
* @public
|
|
1092
|
+
*/
|
|
1093
|
+
KeyDefinitionList?: ContextProviderKeyDefinition[] | undefined;
|
|
1094
|
+
/**
|
|
1095
|
+
* <p>The source key that is used to derive the subject for the injected trusted context. This
|
|
1096
|
+
* value identifies the claim or attribute in the external identity provider's assertion or
|
|
1097
|
+
* token that supplies the subject.</p>
|
|
1098
|
+
* <p>The key can contain only ASCII letters (A-Z, a-z), numbers (0-9), single spaces, and the
|
|
1099
|
+
* following characters: <code>_ . : / = + - @ #</code>. It can't start or end with a space
|
|
1100
|
+
* or contain two spaces in a row.</p>
|
|
1101
|
+
* @public
|
|
1102
|
+
*/
|
|
1103
|
+
SubjectSourceKey: string | undefined;
|
|
1104
|
+
/**
|
|
1105
|
+
* <p>A static value for the subject type, such as <code>user</code> or
|
|
1106
|
+
* <code>workload</code>.</p>
|
|
1107
|
+
* <p>This parameter is optional and is mutually exclusive with
|
|
1108
|
+
* <code>SubjectTypeSourceKey</code>. Specify either <code>SubjectTypeValue</code> or
|
|
1109
|
+
* <code>SubjectTypeSourceKey</code>, but not both.</p>
|
|
1110
|
+
* @public
|
|
1111
|
+
*/
|
|
1112
|
+
SubjectTypeValue?: string | undefined;
|
|
1113
|
+
/**
|
|
1114
|
+
* <p>The source key that supplies the subject type from the external identity provider's
|
|
1115
|
+
* assertion or token.</p>
|
|
1116
|
+
* <p>The key can contain only ASCII letters (A-Z, a-z), numbers (0-9), single spaces, and the
|
|
1117
|
+
* following characters: <code>_ . : / = + - @ #</code>. It can't start or end with a space
|
|
1118
|
+
* or contain two spaces in a row.</p>
|
|
1119
|
+
* <p>This parameter is mutually exclusive with <code>SubjectTypeValue</code>. Specify either
|
|
1120
|
+
* <code>SubjectTypeSourceKey</code> or <code>SubjectTypeValue</code>, but not both.</p>
|
|
1121
|
+
* @public
|
|
1122
|
+
*/
|
|
1123
|
+
SubjectTypeSourceKey?: string | undefined;
|
|
1124
|
+
}
|
|
1024
1125
|
/**
|
|
1025
1126
|
* @public
|
|
1026
1127
|
*/
|
|
@@ -1090,6 +1191,23 @@ export interface CreateOpenIDConnectProviderRequest {
|
|
|
1090
1191
|
* @public
|
|
1091
1192
|
*/
|
|
1092
1193
|
Tags?: Tag[] | undefined;
|
|
1194
|
+
/**
|
|
1195
|
+
* <p>The trusted identity propagation context provider configuration to associate with the
|
|
1196
|
+
* OpenID Connect (OIDC) provider. The context provider defines how the subject is derived
|
|
1197
|
+
* and how keys from the provider's token are mapped into trusted context keys. Specifying a
|
|
1198
|
+
* context provider enables trusted identity propagation for the provider. For more
|
|
1199
|
+
* information, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html">ContextProvider</a>.</p>
|
|
1200
|
+
* @public
|
|
1201
|
+
*/
|
|
1202
|
+
ContextProvider?: ContextProvider | undefined;
|
|
1203
|
+
/**
|
|
1204
|
+
* <p>The Amazon Resource Name (ARN) of the IAM Identity Center instance to associate with
|
|
1205
|
+
* the OpenID Connect (OIDC) provider. If you specify this parameter, you must also specify
|
|
1206
|
+
* <code>ContextProvider</code>.</p>
|
|
1207
|
+
* <p>For the format, see <a href="https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html">InstanceMetadata</a> in the <i>IAM Identity Center API Reference</i>.</p>
|
|
1208
|
+
* @public
|
|
1209
|
+
*/
|
|
1210
|
+
IdentityCenterInstanceArn?: string | undefined;
|
|
1093
1211
|
}
|
|
1094
1212
|
/**
|
|
1095
1213
|
* <p>Contains the response to a successful <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateOpenIDConnectProvider.html">CreateOpenIDConnectProvider</a> request. </p>
|
|
@@ -1463,6 +1581,15 @@ export interface CreateRoleRequest {
|
|
|
1463
1581
|
* @public
|
|
1464
1582
|
*/
|
|
1465
1583
|
MaxSessionDuration?: number | undefined;
|
|
1584
|
+
/**
|
|
1585
|
+
* <p>The maximum duration (in seconds) of an Amazon Web Services Sign-In session for users who sign in
|
|
1586
|
+
* with this role. This setting can have a value from 1 hour (3600 seconds) to 90 days
|
|
1587
|
+
* (7776000 seconds), inclusive. If you do not specify a value, the setting remains unset
|
|
1588
|
+
* and the existing sign-in session behavior applies.</p>
|
|
1589
|
+
* <p>This setting is independent of <code>MaxSessionDuration</code>.</p>
|
|
1590
|
+
* @public
|
|
1591
|
+
*/
|
|
1592
|
+
MaxSigninSessionDuration?: number | undefined;
|
|
1466
1593
|
/**
|
|
1467
1594
|
* <p>The ARN of the managed policy that is used to set the permissions boundary for the
|
|
1468
1595
|
* role.</p>
|
|
@@ -1545,6 +1672,23 @@ export interface CreateSAMLProviderRequest {
|
|
|
1545
1672
|
* @public
|
|
1546
1673
|
*/
|
|
1547
1674
|
AddPrivateKey?: string | undefined;
|
|
1675
|
+
/**
|
|
1676
|
+
* <p>The trusted identity propagation context provider configuration to associate with the
|
|
1677
|
+
* SAML provider. The context provider defines how the subject is derived and how keys from
|
|
1678
|
+
* the provider's SAML assertion are mapped into trusted context keys. Specifying a context
|
|
1679
|
+
* provider enables trusted identity propagation for the provider. For more information,
|
|
1680
|
+
* see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html">ContextProvider</a>.</p>
|
|
1681
|
+
* @public
|
|
1682
|
+
*/
|
|
1683
|
+
ContextProvider?: ContextProvider | undefined;
|
|
1684
|
+
/**
|
|
1685
|
+
* <p>The Amazon Resource Name (ARN) of the IAM Identity Center instance to associate with
|
|
1686
|
+
* the SAML provider. If you specify this parameter, you must also specify
|
|
1687
|
+
* <code>ContextProvider</code>.</p>
|
|
1688
|
+
* <p>For the format, see <a href="https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html">InstanceMetadata</a> in the <i>IAM Identity Center API Reference</i>.</p>
|
|
1689
|
+
* @public
|
|
1690
|
+
*/
|
|
1691
|
+
IdentityCenterInstanceArn?: string | undefined;
|
|
1548
1692
|
}
|
|
1549
1693
|
/**
|
|
1550
1694
|
* <p>Contains the response to a successful <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateSAMLProvider.html">CreateSAMLProvider</a>
|
|
@@ -3726,6 +3870,29 @@ export interface GetOpenIDConnectProviderResponse {
|
|
|
3726
3870
|
* @public
|
|
3727
3871
|
*/
|
|
3728
3872
|
Tags?: Tag[] | undefined;
|
|
3873
|
+
/**
|
|
3874
|
+
* <p>The trusted identity propagation context provider configuration associated with the IAM
|
|
3875
|
+
* OIDC provider resource object. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html">ContextProvider</a>.</p>
|
|
3876
|
+
* <p>This element is returned only when a trusted identity propagation context provider is configured for the OIDC provider.</p>
|
|
3877
|
+
* @public
|
|
3878
|
+
*/
|
|
3879
|
+
ContextProvider?: ContextProvider | undefined;
|
|
3880
|
+
/**
|
|
3881
|
+
* <p>The Amazon Resource Name (ARN) of the IAM Identity Center instance associated with
|
|
3882
|
+
* the IAM OIDC provider resource object.</p>
|
|
3883
|
+
* <p>For the format, see <a href="https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html">InstanceMetadata</a> in the <i>IAM Identity Center API Reference</i>.</p>
|
|
3884
|
+
* <p>This element is returned only when an IAM Identity Center instance is associated with the OIDC provider.</p>
|
|
3885
|
+
* @public
|
|
3886
|
+
*/
|
|
3887
|
+
IdentityCenterInstanceArn?: string | undefined;
|
|
3888
|
+
/**
|
|
3889
|
+
* <p>The Amazon Resource Name (ARN) of the identity store that is resolved from the
|
|
3890
|
+
* associated IAM Identity Center instance.</p>
|
|
3891
|
+
* <p>For the format, see <a href="https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html">InstanceMetadata</a> in the <i>IAM Identity Center API Reference</i>.</p>
|
|
3892
|
+
* <p>This element is returned only when an IAM Identity Center instance is associated with the OIDC provider.</p>
|
|
3893
|
+
* @public
|
|
3894
|
+
*/
|
|
3895
|
+
IdentityStoreArn?: string | undefined;
|
|
3729
3896
|
}
|
|
3730
3897
|
/**
|
|
3731
3898
|
* @public
|
|
@@ -4264,6 +4431,25 @@ export interface SAMLPrivateKey {
|
|
|
4264
4431
|
*/
|
|
4265
4432
|
Timestamp?: Date | undefined;
|
|
4266
4433
|
}
|
|
4434
|
+
/**
|
|
4435
|
+
* <p>Contains the key hashes that are associated with a SAML identity provider issuer.</p>
|
|
4436
|
+
* <p>This data type is used as a response element in the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetSAMLProvider.html">GetSAMLProvider</a>
|
|
4437
|
+
* operation.</p>
|
|
4438
|
+
* @public
|
|
4439
|
+
*/
|
|
4440
|
+
export interface SAMLKeyHashEntry {
|
|
4441
|
+
/**
|
|
4442
|
+
* <p>The issuer URL of the SAML identity provider that the key hashes are associated
|
|
4443
|
+
* with.</p>
|
|
4444
|
+
* @public
|
|
4445
|
+
*/
|
|
4446
|
+
IssuerURL?: string | undefined;
|
|
4447
|
+
/**
|
|
4448
|
+
* <p>The list of key hashes for the SAML identity provider issuer.</p>
|
|
4449
|
+
* @public
|
|
4450
|
+
*/
|
|
4451
|
+
KeyHashes?: string[] | undefined;
|
|
4452
|
+
}
|
|
4267
4453
|
/**
|
|
4268
4454
|
* <p>Contains the response to a successful <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetSAMLProvider.html">GetSAMLProvider</a> request.
|
|
4269
4455
|
* </p>
|
|
@@ -4280,6 +4466,19 @@ export interface GetSAMLProviderResponse {
|
|
|
4280
4466
|
* @public
|
|
4281
4467
|
*/
|
|
4282
4468
|
SAMLMetadataDocument?: string | undefined;
|
|
4469
|
+
/**
|
|
4470
|
+
* <p>The trusted identity propagation context provider configuration associated with the SAML
|
|
4471
|
+
* provider. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html">ContextProvider</a>.</p>
|
|
4472
|
+
* <p>This element is returned only when a trusted identity propagation context provider is configured for the SAML provider.</p>
|
|
4473
|
+
* @public
|
|
4474
|
+
*/
|
|
4475
|
+
ContextProvider?: ContextProvider | undefined;
|
|
4476
|
+
/**
|
|
4477
|
+
* <p>The key hashes associated with the SAML provider, grouped by identity provider issuer.
|
|
4478
|
+
* For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_SAMLKeyHashEntry.html">SAMLKeyHashEntry</a>.</p>
|
|
4479
|
+
* @public
|
|
4480
|
+
*/
|
|
4481
|
+
SAMLKeyHashes?: SAMLKeyHashEntry[] | undefined;
|
|
4283
4482
|
/**
|
|
4284
4483
|
* <p>The date and time when the SAML provider was created.</p>
|
|
4285
4484
|
* @public
|
|
@@ -4307,6 +4506,22 @@ export interface GetSAMLProviderResponse {
|
|
|
4307
4506
|
* @public
|
|
4308
4507
|
*/
|
|
4309
4508
|
PrivateKeyList?: SAMLPrivateKey[] | undefined;
|
|
4509
|
+
/**
|
|
4510
|
+
* <p>The Amazon Resource Name (ARN) of the IAM Identity Center instance associated with
|
|
4511
|
+
* the SAML provider.</p>
|
|
4512
|
+
* <p>For the format, see <a href="https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html">InstanceMetadata</a> in the <i>IAM Identity Center API Reference</i>.</p>
|
|
4513
|
+
* <p>This element is returned only when an IAM Identity Center instance is associated with the SAML provider.</p>
|
|
4514
|
+
* @public
|
|
4515
|
+
*/
|
|
4516
|
+
IdentityCenterInstanceArn?: string | undefined;
|
|
4517
|
+
/**
|
|
4518
|
+
* <p>The Amazon Resource Name (ARN) of the identity store that is resolved from the
|
|
4519
|
+
* associated IAM Identity Center instance.</p>
|
|
4520
|
+
* <p>For the format, see <a href="https://docs.aws.amazon.com/singlesignon/latest/APIReference/API_InstanceMetadata.html">InstanceMetadata</a> in the <i>IAM Identity Center API Reference</i>.</p>
|
|
4521
|
+
* <p>This element is returned only when an IAM Identity Center instance is associated with the SAML provider.</p>
|
|
4522
|
+
* @public
|
|
4523
|
+
*/
|
|
4524
|
+
IdentityStoreArn?: string | undefined;
|
|
4310
4525
|
}
|
|
4311
4526
|
/**
|
|
4312
4527
|
* @public
|
|
@@ -6063,6 +6278,13 @@ export interface OpenIDConnectProviderListEntry {
|
|
|
6063
6278
|
* @public
|
|
6064
6279
|
*/
|
|
6065
6280
|
Arn?: string | undefined;
|
|
6281
|
+
/**
|
|
6282
|
+
* <p>Specifies whether trusted identity propagation is enabled for the OpenID Connect (OIDC)
|
|
6283
|
+
* provider. This is <code>true</code> when an IAM Identity Center instance is associated
|
|
6284
|
+
* with the provider.</p>
|
|
6285
|
+
* @public
|
|
6286
|
+
*/
|
|
6287
|
+
IsTrustedIdentityPropagationEnabled?: boolean | undefined;
|
|
6066
6288
|
}
|
|
6067
6289
|
/**
|
|
6068
6290
|
* <p>Contains the response to a successful <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html">ListOpenIDConnectProviders</a> request. </p>
|
|
@@ -6707,6 +6929,13 @@ export interface SAMLProviderListEntry {
|
|
|
6707
6929
|
* @public
|
|
6708
6930
|
*/
|
|
6709
6931
|
CreateDate?: Date | undefined;
|
|
6932
|
+
/**
|
|
6933
|
+
* <p>Specifies whether trusted identity propagation is enabled for the SAML provider. This is
|
|
6934
|
+
* <code>true</code> when an IAM Identity Center instance is associated with the
|
|
6935
|
+
* provider.</p>
|
|
6936
|
+
* @public
|
|
6937
|
+
*/
|
|
6938
|
+
IsTrustedIdentityPropagationEnabled?: boolean | undefined;
|
|
6710
6939
|
}
|
|
6711
6940
|
/**
|
|
6712
6941
|
* <p>Contains the response to a successful <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListSAMLProviders.html">ListSAMLProviders</a> request.
|
|
@@ -8773,56 +9002,3 @@ export interface TagMFADeviceRequest {
|
|
|
8773
9002
|
*/
|
|
8774
9003
|
Tags: Tag[] | undefined;
|
|
8775
9004
|
}
|
|
8776
|
-
/**
|
|
8777
|
-
* @public
|
|
8778
|
-
*/
|
|
8779
|
-
export interface TagOpenIDConnectProviderRequest {
|
|
8780
|
-
/**
|
|
8781
|
-
* <p>The ARN of the OIDC identity provider in IAM to which you want to add tags.</p>
|
|
8782
|
-
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
8783
|
-
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
8784
|
-
* @public
|
|
8785
|
-
*/
|
|
8786
|
-
OpenIDConnectProviderArn: string | undefined;
|
|
8787
|
-
/**
|
|
8788
|
-
* <p>The list of tags that you want to attach to the OIDC identity provider in IAM.
|
|
8789
|
-
* Each tag consists of a key name and an associated value.</p>
|
|
8790
|
-
* @public
|
|
8791
|
-
*/
|
|
8792
|
-
Tags: Tag[] | undefined;
|
|
8793
|
-
}
|
|
8794
|
-
/**
|
|
8795
|
-
* @public
|
|
8796
|
-
*/
|
|
8797
|
-
export interface TagPolicyRequest {
|
|
8798
|
-
/**
|
|
8799
|
-
* <p>The ARN of the IAM customer managed policy to which you want to add tags.</p>
|
|
8800
|
-
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
8801
|
-
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
8802
|
-
* @public
|
|
8803
|
-
*/
|
|
8804
|
-
PolicyArn: string | undefined;
|
|
8805
|
-
/**
|
|
8806
|
-
* <p>The list of tags that you want to attach to the IAM customer managed policy.
|
|
8807
|
-
* Each tag consists of a key name and an associated value.</p>
|
|
8808
|
-
* @public
|
|
8809
|
-
*/
|
|
8810
|
-
Tags: Tag[] | undefined;
|
|
8811
|
-
}
|
|
8812
|
-
/**
|
|
8813
|
-
* @public
|
|
8814
|
-
*/
|
|
8815
|
-
export interface TagRoleRequest {
|
|
8816
|
-
/**
|
|
8817
|
-
* <p>The name of the IAM role to which you want to add tags.</p>
|
|
8818
|
-
* <p>This parameter accepts (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters that consist of upper and lowercase alphanumeric
|
|
8819
|
-
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
8820
|
-
* @public
|
|
8821
|
-
*/
|
|
8822
|
-
RoleName: string | undefined;
|
|
8823
|
-
/**
|
|
8824
|
-
* <p>The list of tags that you want to attach to the IAM role. Each tag consists of a key name and an associated value.</p>
|
|
8825
|
-
* @public
|
|
8826
|
-
*/
|
|
8827
|
-
Tags: Tag[] | undefined;
|
|
8828
|
-
}
|