@aws-sdk/client-iam 3.1172.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 +88 -28
- 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 +78 -27
- package/dist-types/IAM.d.ts +7 -0
- package/dist-types/IAMClient.d.ts +3 -2
- package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +61 -2
- package/dist-types/commands/CreateSAMLProviderCommand.d.ts +59 -0
- package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +7 -3
- package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +4 -0
- package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +48 -0
- package/dist-types/commands/GetSAMLProviderCommand.d.ts +60 -0
- package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +23 -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/UpdateOpenIDConnectProviderCommand.d.ts +158 -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 +194 -53
- package/dist-types/models/models_1.d.ts +134 -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 +27 -12
- package/dist-types/ts3.4/models/models_1.d.ts +31 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +1 -1
|
@@ -1047,6 +1047,81 @@ export interface CreateLoginProfileResponse {
|
|
|
1047
1047
|
*/
|
|
1048
1048
|
LoginProfile: LoginProfile | undefined;
|
|
1049
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
|
+
}
|
|
1050
1125
|
/**
|
|
1051
1126
|
* @public
|
|
1052
1127
|
*/
|
|
@@ -1116,6 +1191,23 @@ export interface CreateOpenIDConnectProviderRequest {
|
|
|
1116
1191
|
* @public
|
|
1117
1192
|
*/
|
|
1118
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;
|
|
1119
1211
|
}
|
|
1120
1212
|
/**
|
|
1121
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>
|
|
@@ -1580,6 +1672,23 @@ export interface CreateSAMLProviderRequest {
|
|
|
1580
1672
|
* @public
|
|
1581
1673
|
*/
|
|
1582
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;
|
|
1583
1692
|
}
|
|
1584
1693
|
/**
|
|
1585
1694
|
* <p>Contains the response to a successful <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateSAMLProvider.html">CreateSAMLProvider</a>
|
|
@@ -3761,6 +3870,29 @@ export interface GetOpenIDConnectProviderResponse {
|
|
|
3761
3870
|
* @public
|
|
3762
3871
|
*/
|
|
3763
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;
|
|
3764
3896
|
}
|
|
3765
3897
|
/**
|
|
3766
3898
|
* @public
|
|
@@ -4299,6 +4431,25 @@ export interface SAMLPrivateKey {
|
|
|
4299
4431
|
*/
|
|
4300
4432
|
Timestamp?: Date | undefined;
|
|
4301
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
|
+
}
|
|
4302
4453
|
/**
|
|
4303
4454
|
* <p>Contains the response to a successful <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_GetSAMLProvider.html">GetSAMLProvider</a> request.
|
|
4304
4455
|
* </p>
|
|
@@ -4315,6 +4466,19 @@ export interface GetSAMLProviderResponse {
|
|
|
4315
4466
|
* @public
|
|
4316
4467
|
*/
|
|
4317
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;
|
|
4318
4482
|
/**
|
|
4319
4483
|
* <p>The date and time when the SAML provider was created.</p>
|
|
4320
4484
|
* @public
|
|
@@ -4342,6 +4506,22 @@ export interface GetSAMLProviderResponse {
|
|
|
4342
4506
|
* @public
|
|
4343
4507
|
*/
|
|
4344
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;
|
|
4345
4525
|
}
|
|
4346
4526
|
/**
|
|
4347
4527
|
* @public
|
|
@@ -6098,6 +6278,13 @@ export interface OpenIDConnectProviderListEntry {
|
|
|
6098
6278
|
* @public
|
|
6099
6279
|
*/
|
|
6100
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;
|
|
6101
6288
|
}
|
|
6102
6289
|
/**
|
|
6103
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>
|
|
@@ -6742,6 +6929,13 @@ export interface SAMLProviderListEntry {
|
|
|
6742
6929
|
* @public
|
|
6743
6930
|
*/
|
|
6744
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;
|
|
6745
6939
|
}
|
|
6746
6940
|
/**
|
|
6747
6941
|
* <p>Contains the response to a successful <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListSAMLProviders.html">ListSAMLProviders</a> request.
|
|
@@ -8808,56 +9002,3 @@ export interface TagMFADeviceRequest {
|
|
|
8808
9002
|
*/
|
|
8809
9003
|
Tags: Tag[] | undefined;
|
|
8810
9004
|
}
|
|
8811
|
-
/**
|
|
8812
|
-
* @public
|
|
8813
|
-
*/
|
|
8814
|
-
export interface TagOpenIDConnectProviderRequest {
|
|
8815
|
-
/**
|
|
8816
|
-
* <p>The ARN of the OIDC identity provider in IAM to which you want to add tags.</p>
|
|
8817
|
-
* <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
|
|
8818
|
-
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
8819
|
-
* @public
|
|
8820
|
-
*/
|
|
8821
|
-
OpenIDConnectProviderArn: string | undefined;
|
|
8822
|
-
/**
|
|
8823
|
-
* <p>The list of tags that you want to attach to the OIDC identity provider in IAM.
|
|
8824
|
-
* Each tag consists of a key name and an associated value.</p>
|
|
8825
|
-
* @public
|
|
8826
|
-
*/
|
|
8827
|
-
Tags: Tag[] | undefined;
|
|
8828
|
-
}
|
|
8829
|
-
/**
|
|
8830
|
-
* @public
|
|
8831
|
-
*/
|
|
8832
|
-
export interface TagPolicyRequest {
|
|
8833
|
-
/**
|
|
8834
|
-
* <p>The ARN of the IAM customer managed policy to which you want to add tags.</p>
|
|
8835
|
-
* <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
|
|
8836
|
-
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
8837
|
-
* @public
|
|
8838
|
-
*/
|
|
8839
|
-
PolicyArn: string | undefined;
|
|
8840
|
-
/**
|
|
8841
|
-
* <p>The list of tags that you want to attach to the IAM customer managed policy.
|
|
8842
|
-
* Each tag consists of a key name and an associated value.</p>
|
|
8843
|
-
* @public
|
|
8844
|
-
*/
|
|
8845
|
-
Tags: Tag[] | undefined;
|
|
8846
|
-
}
|
|
8847
|
-
/**
|
|
8848
|
-
* @public
|
|
8849
|
-
*/
|
|
8850
|
-
export interface TagRoleRequest {
|
|
8851
|
-
/**
|
|
8852
|
-
* <p>The name of the IAM role to which you want to add tags.</p>
|
|
8853
|
-
* <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
|
|
8854
|
-
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
8855
|
-
* @public
|
|
8856
|
-
*/
|
|
8857
|
-
RoleName: string | undefined;
|
|
8858
|
-
/**
|
|
8859
|
-
* <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>
|
|
8860
|
-
* @public
|
|
8861
|
-
*/
|
|
8862
|
-
Tags: Tag[] | undefined;
|
|
8863
|
-
}
|
|
@@ -1,5 +1,58 @@
|
|
|
1
1
|
import type { AssertionEncryptionModeType, StatusType } from "./enums";
|
|
2
|
-
import type { Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, Tag } from "./models_0";
|
|
2
|
+
import type { ContextProvider, Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, Tag } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface TagOpenIDConnectProviderRequest {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The ARN of the OIDC identity provider in IAM to which you want to add tags.</p>
|
|
9
|
+
* <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
|
|
10
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
OpenIDConnectProviderArn: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The list of tags that you want to attach to the OIDC identity provider in IAM.
|
|
16
|
+
* Each tag consists of a key name and an associated value.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
Tags: Tag[] | undefined;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export interface TagPolicyRequest {
|
|
25
|
+
/**
|
|
26
|
+
* <p>The ARN of the IAM customer managed policy to which you want to add tags.</p>
|
|
27
|
+
* <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
|
|
28
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
PolicyArn: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The list of tags that you want to attach to the IAM customer managed policy.
|
|
34
|
+
* Each tag consists of a key name and an associated value.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
Tags: Tag[] | undefined;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export interface TagRoleRequest {
|
|
43
|
+
/**
|
|
44
|
+
* <p>The name of the IAM role to which you want to add tags.</p>
|
|
45
|
+
* <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
|
|
46
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
RoleName: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* <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>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
Tags: Tag[] | undefined;
|
|
55
|
+
}
|
|
3
56
|
/**
|
|
4
57
|
* @public
|
|
5
58
|
*/
|
|
@@ -473,6 +526,57 @@ export interface UpdateLoginProfileRequest {
|
|
|
473
526
|
*/
|
|
474
527
|
ResetMaxSigninSessionDuration?: boolean | undefined;
|
|
475
528
|
}
|
|
529
|
+
/**
|
|
530
|
+
* @public
|
|
531
|
+
*/
|
|
532
|
+
export interface UpdateOpenIDConnectProviderRequest {
|
|
533
|
+
/**
|
|
534
|
+
* <p>The Amazon Resource Name (ARN) of the IAM OIDC provider resource object to update.
|
|
535
|
+
* You can get a list of OIDC provider resource ARNs by using the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListOpenIDConnectProviders.html">ListOpenIDConnectProviders</a> operation.</p>
|
|
536
|
+
* <p>For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
|
537
|
+
* @public
|
|
538
|
+
*/
|
|
539
|
+
OpenIDConnectProviderArn: string | undefined;
|
|
540
|
+
/**
|
|
541
|
+
* <p>The trusted identity propagation context provider configuration to set on the OIDC
|
|
542
|
+
* provider. This configuration defines the subject mapping and the source-to-target key
|
|
543
|
+
* mappings that are used when trusted context is injected. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html">ContextProvider</a>.</p>
|
|
544
|
+
* <p>To remove the existing context provider instead of replacing it, use
|
|
545
|
+
* <code>RemoveContextProvider</code>. Do not specify both <code>ContextProvider</code>
|
|
546
|
+
* and <code>RemoveContextProvider</code> in the same request.</p>
|
|
547
|
+
* @public
|
|
548
|
+
*/
|
|
549
|
+
ContextProvider?: ContextProvider | undefined;
|
|
550
|
+
/**
|
|
551
|
+
* <p>The Amazon Resource Name (ARN) of the IAM Identity Center instance to associate with
|
|
552
|
+
* the OIDC provider.</p>
|
|
553
|
+
* <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>
|
|
554
|
+
* <p>To disassociate the currently associated instance instead of changing it, use
|
|
555
|
+
* <code>RemoveIdentityCenterInstance</code>. Do not specify both
|
|
556
|
+
* <code>IdentityCenterInstanceArn</code> and
|
|
557
|
+
* <code>RemoveIdentityCenterInstance</code> in the same request.</p>
|
|
558
|
+
* @public
|
|
559
|
+
*/
|
|
560
|
+
IdentityCenterInstanceArn?: string | undefined;
|
|
561
|
+
/**
|
|
562
|
+
* <p>Specifies whether to remove the existing context provider configuration from the OIDC
|
|
563
|
+
* provider. Set this value to <code>true</code> to remove the context provider.</p>
|
|
564
|
+
* <p>This parameter is mutually exclusive with <code>ContextProvider</code>. In a single
|
|
565
|
+
* request, specify either a new <code>ContextProvider</code> value or
|
|
566
|
+
* <code>RemoveContextProvider</code>, but not both.</p>
|
|
567
|
+
* @public
|
|
568
|
+
*/
|
|
569
|
+
RemoveContextProvider?: boolean | undefined;
|
|
570
|
+
/**
|
|
571
|
+
* <p>Specifies whether to disassociate the IAM Identity Center instance from the OIDC
|
|
572
|
+
* provider. Set this value to <code>true</code> to remove the association.</p>
|
|
573
|
+
* <p>This parameter is mutually exclusive with <code>IdentityCenterInstanceArn</code>. In a
|
|
574
|
+
* single request, specify either a new <code>IdentityCenterInstanceArn</code> value or
|
|
575
|
+
* <code>RemoveIdentityCenterInstance</code>, but not both.</p>
|
|
576
|
+
* @public
|
|
577
|
+
*/
|
|
578
|
+
RemoveIdentityCenterInstance?: boolean | undefined;
|
|
579
|
+
}
|
|
476
580
|
/**
|
|
477
581
|
* @public
|
|
478
582
|
*/
|
|
@@ -626,6 +730,35 @@ export interface UpdateSAMLProviderRequest {
|
|
|
626
730
|
* @public
|
|
627
731
|
*/
|
|
628
732
|
RemovePrivateKey?: string | undefined;
|
|
733
|
+
/**
|
|
734
|
+
* <p>The trusted identity propagation context provider configuration to associate with the
|
|
735
|
+
* SAML provider. This replaces the existing context provider configuration. For more
|
|
736
|
+
* information, see <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_ContextProvider.html">ContextProvider</a>.</p>
|
|
737
|
+
* @public
|
|
738
|
+
*/
|
|
739
|
+
ContextProvider?: ContextProvider | undefined;
|
|
740
|
+
/**
|
|
741
|
+
* <p>The Amazon Resource Name (ARN) of the IAM Identity Center instance to associate with
|
|
742
|
+
* the SAML provider.</p>
|
|
743
|
+
* <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>
|
|
744
|
+
* @public
|
|
745
|
+
*/
|
|
746
|
+
IdentityCenterInstanceArn?: string | undefined;
|
|
747
|
+
/**
|
|
748
|
+
* <p>Specifies whether to remove the existing trusted identity propagation context provider
|
|
749
|
+
* configuration from the SAML provider. When set to <code>true</code>, the context
|
|
750
|
+
* provider is removed. This parameter is mutually exclusive with
|
|
751
|
+
* <code>ContextProvider</code>.</p>
|
|
752
|
+
* @public
|
|
753
|
+
*/
|
|
754
|
+
RemoveContextProvider?: boolean | undefined;
|
|
755
|
+
/**
|
|
756
|
+
* <p>Specifies whether to disassociate the IAM Identity Center instance from the SAML
|
|
757
|
+
* provider. When set to <code>true</code>, the instance is disassociated. This parameter
|
|
758
|
+
* is mutually exclusive with <code>IdentityCenterInstanceArn</code>.</p>
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
RemoveIdentityCenterInstance?: boolean | undefined;
|
|
629
762
|
}
|
|
630
763
|
/**
|
|
631
764
|
* <p>Contains the response to a successful <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateSAMLProvider.html">UpdateSAMLProvider</a>
|
|
@@ -63,6 +63,8 @@ export declare var AttachRolePolicyRequest$: StaticStructureSchema;
|
|
|
63
63
|
export declare var AttachUserPolicyRequest$: StaticStructureSchema;
|
|
64
64
|
export declare var ChangePasswordRequest$: StaticStructureSchema;
|
|
65
65
|
export declare var ContextEntry$: StaticStructureSchema;
|
|
66
|
+
export declare var ContextProvider$: StaticStructureSchema;
|
|
67
|
+
export declare var ContextProviderKeyDefinition$: StaticStructureSchema;
|
|
66
68
|
export declare var CreateAccessKeyRequest$: StaticStructureSchema;
|
|
67
69
|
export declare var CreateAccessKeyResponse$: StaticStructureSchema;
|
|
68
70
|
export declare var CreateAccountAliasRequest$: StaticStructureSchema;
|
|
@@ -315,6 +317,7 @@ export declare var RoleDetail$: StaticStructureSchema;
|
|
|
315
317
|
export declare var RoleLastUsed$: StaticStructureSchema;
|
|
316
318
|
export declare var RoleTemplateVersion$: StaticStructureSchema;
|
|
317
319
|
export declare var RoleUsageType$: StaticStructureSchema;
|
|
320
|
+
export declare var SAMLKeyHashEntry$: StaticStructureSchema;
|
|
318
321
|
export declare var SAMLPrivateKey$: StaticStructureSchema;
|
|
319
322
|
export declare var SAMLProviderListEntry$: StaticStructureSchema;
|
|
320
323
|
export declare var SendDelegationTokenRequest$: StaticStructureSchema;
|
|
@@ -358,6 +361,7 @@ export declare var UpdateAssumeRolePolicyRequest$: StaticStructureSchema;
|
|
|
358
361
|
export declare var UpdateDelegationRequestRequest$: StaticStructureSchema;
|
|
359
362
|
export declare var UpdateGroupRequest$: StaticStructureSchema;
|
|
360
363
|
export declare var UpdateLoginProfileRequest$: StaticStructureSchema;
|
|
364
|
+
export declare var UpdateOpenIDConnectProviderRequest$: StaticStructureSchema;
|
|
361
365
|
export declare var UpdateOpenIDConnectProviderThumbprintRequest$: StaticStructureSchema;
|
|
362
366
|
export declare var UpdateRoleDescriptionRequest$: StaticStructureSchema;
|
|
363
367
|
export declare var UpdateRoleDescriptionResponse$: StaticStructureSchema;
|
|
@@ -548,6 +552,7 @@ export declare var UpdateAssumeRolePolicy$: StaticOperationSchema;
|
|
|
548
552
|
export declare var UpdateDelegationRequest$: StaticOperationSchema;
|
|
549
553
|
export declare var UpdateGroup$: StaticOperationSchema;
|
|
550
554
|
export declare var UpdateLoginProfile$: StaticOperationSchema;
|
|
555
|
+
export declare var UpdateOpenIDConnectProvider$: StaticOperationSchema;
|
|
551
556
|
export declare var UpdateOpenIDConnectProviderThumbprint$: StaticOperationSchema;
|
|
552
557
|
export declare var UpdateRole$: StaticOperationSchema;
|
|
553
558
|
export declare var UpdateRoleDescription$: StaticOperationSchema;
|
|
@@ -615,6 +615,10 @@ import {
|
|
|
615
615
|
UpdateLoginProfileCommandInput,
|
|
616
616
|
UpdateLoginProfileCommandOutput,
|
|
617
617
|
} from "./commands/UpdateLoginProfileCommand";
|
|
618
|
+
import {
|
|
619
|
+
UpdateOpenIDConnectProviderCommandInput,
|
|
620
|
+
UpdateOpenIDConnectProviderCommandOutput,
|
|
621
|
+
} from "./commands/UpdateOpenIDConnectProviderCommand";
|
|
618
622
|
import {
|
|
619
623
|
UpdateOpenIDConnectProviderThumbprintCommandInput,
|
|
620
624
|
UpdateOpenIDConnectProviderThumbprintCommandOutput,
|
|
@@ -2853,6 +2857,19 @@ export interface IAM {
|
|
|
2853
2857
|
options: IAMRequestOptions,
|
|
2854
2858
|
cb: (err: any, data?: UpdateLoginProfileCommandOutput) => void,
|
|
2855
2859
|
): void;
|
|
2860
|
+
updateOpenIDConnectProvider(
|
|
2861
|
+
args: UpdateOpenIDConnectProviderCommandInput,
|
|
2862
|
+
options?: IAMRequestOptions,
|
|
2863
|
+
): Promise<UpdateOpenIDConnectProviderCommandOutput>;
|
|
2864
|
+
updateOpenIDConnectProvider(
|
|
2865
|
+
args: UpdateOpenIDConnectProviderCommandInput,
|
|
2866
|
+
cb: (err: any, data?: UpdateOpenIDConnectProviderCommandOutput) => void,
|
|
2867
|
+
): void;
|
|
2868
|
+
updateOpenIDConnectProvider(
|
|
2869
|
+
args: UpdateOpenIDConnectProviderCommandInput,
|
|
2870
|
+
options: IAMRequestOptions,
|
|
2871
|
+
cb: (err: any, data?: UpdateOpenIDConnectProviderCommandOutput) => void,
|
|
2872
|
+
): void;
|
|
2856
2873
|
updateOpenIDConnectProviderThumbprint(
|
|
2857
2874
|
args: UpdateOpenIDConnectProviderThumbprintCommandInput,
|
|
2858
2875
|
options?: IAMRequestOptions,
|
|
@@ -642,6 +642,10 @@ import {
|
|
|
642
642
|
UpdateLoginProfileCommandInput,
|
|
643
643
|
UpdateLoginProfileCommandOutput,
|
|
644
644
|
} from "./commands/UpdateLoginProfileCommand";
|
|
645
|
+
import {
|
|
646
|
+
UpdateOpenIDConnectProviderCommandInput,
|
|
647
|
+
UpdateOpenIDConnectProviderCommandOutput,
|
|
648
|
+
} from "./commands/UpdateOpenIDConnectProviderCommand";
|
|
645
649
|
import {
|
|
646
650
|
UpdateOpenIDConnectProviderThumbprintCommandInput,
|
|
647
651
|
UpdateOpenIDConnectProviderThumbprintCommandOutput,
|
|
@@ -860,6 +864,7 @@ export type ServiceInputTypes =
|
|
|
860
864
|
| UpdateDelegationRequestCommandInput
|
|
861
865
|
| UpdateGroupCommandInput
|
|
862
866
|
| UpdateLoginProfileCommandInput
|
|
867
|
+
| UpdateOpenIDConnectProviderCommandInput
|
|
863
868
|
| UpdateOpenIDConnectProviderThumbprintCommandInput
|
|
864
869
|
| UpdateRoleCommandInput
|
|
865
870
|
| UpdateRoleDescriptionCommandInput
|
|
@@ -1041,6 +1046,7 @@ export type ServiceOutputTypes =
|
|
|
1041
1046
|
| UpdateDelegationRequestCommandOutput
|
|
1042
1047
|
| UpdateGroupCommandOutput
|
|
1043
1048
|
| UpdateLoginProfileCommandOutput
|
|
1049
|
+
| UpdateOpenIDConnectProviderCommandOutput
|
|
1044
1050
|
| UpdateOpenIDConnectProviderThumbprintCommandOutput
|
|
1045
1051
|
| UpdateRoleCommandOutput
|
|
1046
1052
|
| UpdateRoleDescriptionCommandOutput
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { TagOpenIDConnectProviderRequest } from "../models/
|
|
2
|
+
import { TagOpenIDConnectProviderRequest } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface TagOpenIDConnectProviderCommandInput extends TagOpenIDConnectProviderRequest {}
|
|
5
5
|
export interface TagOpenIDConnectProviderCommandOutput extends __MetadataBearer {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { TagPolicyRequest } from "../models/
|
|
2
|
+
import { TagPolicyRequest } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface TagPolicyCommandInput extends TagPolicyRequest {}
|
|
5
5
|
export interface TagPolicyCommandOutput extends __MetadataBearer {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { TagRoleRequest } from "../models/
|
|
2
|
+
import { TagRoleRequest } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface TagRoleCommandInput extends TagRoleRequest {}
|
|
5
5
|
export interface TagRoleCommandOutput extends __MetadataBearer {}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { UpdateOpenIDConnectProviderRequest } from "../models/models_1";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface UpdateOpenIDConnectProviderCommandInput extends UpdateOpenIDConnectProviderRequest {}
|
|
5
|
+
export interface UpdateOpenIDConnectProviderCommandOutput extends __MetadataBearer {}
|
|
6
|
+
declare const UpdateOpenIDConnectProviderCommand_base: {
|
|
7
|
+
new (
|
|
8
|
+
input: UpdateOpenIDConnectProviderCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
|
+
UpdateOpenIDConnectProviderCommandInput,
|
|
11
|
+
UpdateOpenIDConnectProviderCommandOutput,
|
|
12
|
+
import("..").IAMClientResolvedConfig,
|
|
13
|
+
import("..").ServiceInputTypes,
|
|
14
|
+
import("..").ServiceOutputTypes
|
|
15
|
+
>;
|
|
16
|
+
new (
|
|
17
|
+
input: UpdateOpenIDConnectProviderCommandInput,
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
UpdateOpenIDConnectProviderCommandInput,
|
|
20
|
+
UpdateOpenIDConnectProviderCommandOutput,
|
|
21
|
+
import("..").IAMClientResolvedConfig,
|
|
22
|
+
import("..").ServiceInputTypes,
|
|
23
|
+
import("..").ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
export declare class UpdateOpenIDConnectProviderCommand extends UpdateOpenIDConnectProviderCommand_base {
|
|
28
|
+
protected static __types: {
|
|
29
|
+
api: {
|
|
30
|
+
input: UpdateOpenIDConnectProviderRequest;
|
|
31
|
+
output: {};
|
|
32
|
+
};
|
|
33
|
+
sdk: {
|
|
34
|
+
input: UpdateOpenIDConnectProviderCommandInput;
|
|
35
|
+
output: UpdateOpenIDConnectProviderCommandOutput;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -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";
|