@cdk8s/awscdk-resolver 0.0.197 → 0.0.198
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/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +760 -760
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +81 -81
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +764 -760
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_1.d.ts +81 -81
- package/node_modules/@aws-sdk/client-cloudformation/package.json +7 -7
- package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +18 -18
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +18 -18
- package/node_modules/@aws-sdk/client-sso/package.json +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +74 -74
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +74 -74
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +6 -6
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +56 -56
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +56 -56
- package/node_modules/@aws-sdk/client-sts/package.json +6 -6
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/package.json +4 -4
@@ -32,7 +32,7 @@ export interface PolicyDescriptorType {
|
|
32
32
|
* Service Namespaces</a> in the <i>Amazon Web Services General Reference</i>.</p>
|
33
33
|
* @public
|
34
34
|
*/
|
35
|
-
arn?: string;
|
35
|
+
arn?: string | undefined;
|
36
36
|
}
|
37
37
|
/**
|
38
38
|
* <p>Contains information about the provided context. This includes the signed and encrypted
|
@@ -45,13 +45,13 @@ export interface ProvidedContext {
|
|
45
45
|
* <p>The context provider ARN from which the trusted context assertion was generated.</p>
|
46
46
|
* @public
|
47
47
|
*/
|
48
|
-
ProviderArn?: string;
|
48
|
+
ProviderArn?: string | undefined;
|
49
49
|
/**
|
50
50
|
* <p>The signed and encrypted trusted context assertion generated by the context provider.
|
51
51
|
* The trusted context assertion is signed and encrypted by Amazon Web Services STS.</p>
|
52
52
|
* @public
|
53
53
|
*/
|
54
|
-
ContextAssertion?: string;
|
54
|
+
ContextAssertion?: string | undefined;
|
55
55
|
}
|
56
56
|
/**
|
57
57
|
* <p>You can pass custom key-value pair attributes when you assume a role or federate a user.
|
@@ -125,7 +125,7 @@ export interface AssumeRoleRequest {
|
|
125
125
|
* Policies</a> in the <i>IAM User Guide</i>.</p>
|
126
126
|
* @public
|
127
127
|
*/
|
128
|
-
PolicyArns?: PolicyDescriptorType[];
|
128
|
+
PolicyArns?: PolicyDescriptorType[] | undefined;
|
129
129
|
/**
|
130
130
|
* <p>An IAM policy in JSON format that you want to use as an inline session policy.</p>
|
131
131
|
* <p>This parameter is optional. Passing policies to this operation returns new
|
@@ -150,7 +150,7 @@ export interface AssumeRoleRequest {
|
|
150
150
|
* </note>
|
151
151
|
* @public
|
152
152
|
*/
|
153
|
-
Policy?: string;
|
153
|
+
Policy?: string | undefined;
|
154
154
|
/**
|
155
155
|
* <p>The duration, in seconds, of the role session. The value specified can range from 900
|
156
156
|
* seconds (15 minutes) up to the maximum session duration set for the role. The maximum
|
@@ -179,7 +179,7 @@ export interface AssumeRoleRequest {
|
|
179
179
|
* </note>
|
180
180
|
* @public
|
181
181
|
*/
|
182
|
-
DurationSeconds?: number;
|
182
|
+
DurationSeconds?: number | undefined;
|
183
183
|
/**
|
184
184
|
* <p>A list of session tags that you want to pass. Each session tag consists of a key name
|
185
185
|
* and an associated value. For more information about session tags, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html">Tagging Amazon Web Services STS
|
@@ -210,7 +210,7 @@ export interface AssumeRoleRequest {
|
|
210
210
|
* <i>IAM User Guide</i>.</p>
|
211
211
|
* @public
|
212
212
|
*/
|
213
|
-
Tags?: Tag[];
|
213
|
+
Tags?: Tag[] | undefined;
|
214
214
|
/**
|
215
215
|
* <p>A list of keys for session tags that you want to set as transitive. If you set a tag key
|
216
216
|
* as transitive, the corresponding key and value passes to subsequent sessions in a role
|
@@ -222,7 +222,7 @@ export interface AssumeRoleRequest {
|
|
222
222
|
* session to any subsequent sessions.</p>
|
223
223
|
* @public
|
224
224
|
*/
|
225
|
-
TransitiveTagKeys?: string[];
|
225
|
+
TransitiveTagKeys?: string[] | undefined;
|
226
226
|
/**
|
227
227
|
* <p>A unique identifier that might be required when you assume a role in another account. If
|
228
228
|
* the administrator of the account to which the role belongs provided you with an external
|
@@ -239,7 +239,7 @@ export interface AssumeRoleRequest {
|
|
239
239
|
* You can also include underscores or any of the following characters: =,.@:/-</p>
|
240
240
|
* @public
|
241
241
|
*/
|
242
|
-
ExternalId?: string;
|
242
|
+
ExternalId?: string | undefined;
|
243
243
|
/**
|
244
244
|
* <p>The identification number of the MFA device that is associated with the user who is
|
245
245
|
* making the <code>AssumeRole</code> call. Specify this value if the trust policy of the role
|
@@ -252,7 +252,7 @@ export interface AssumeRoleRequest {
|
|
252
252
|
* also include underscores or any of the following characters: =,.@-</p>
|
253
253
|
* @public
|
254
254
|
*/
|
255
|
-
SerialNumber?: string;
|
255
|
+
SerialNumber?: string | undefined;
|
256
256
|
/**
|
257
257
|
* <p>The value provided by the MFA device, if the trust policy of the role being assumed
|
258
258
|
* requires MFA. (In other words, if the policy includes a condition that tests for MFA). If
|
@@ -262,7 +262,7 @@ export interface AssumeRoleRequest {
|
|
262
262
|
* numeric digits.</p>
|
263
263
|
* @public
|
264
264
|
*/
|
265
|
-
TokenCode?: string;
|
265
|
+
TokenCode?: string | undefined;
|
266
266
|
/**
|
267
267
|
* <p>The source identity specified by the principal that is calling the
|
268
268
|
* <code>AssumeRole</code> operation.</p>
|
@@ -280,7 +280,7 @@ export interface AssumeRoleRequest {
|
|
280
280
|
* <code>aws:</code>. This prefix is reserved for Amazon Web Services internal use.</p>
|
281
281
|
* @public
|
282
282
|
*/
|
283
|
-
SourceIdentity?: string;
|
283
|
+
SourceIdentity?: string | undefined;
|
284
284
|
/**
|
285
285
|
* <p>A list of previously acquired trusted context assertions in the format of a JSON array.
|
286
286
|
* The trusted context assertion is signed and encrypted by Amazon Web Services STS.</p>
|
@@ -292,7 +292,7 @@ export interface AssumeRoleRequest {
|
|
292
292
|
* </p>
|
293
293
|
* @public
|
294
294
|
*/
|
295
|
-
ProvidedContexts?: ProvidedContext[];
|
295
|
+
ProvidedContexts?: ProvidedContext[] | undefined;
|
296
296
|
}
|
297
297
|
/**
|
298
298
|
* <p>Amazon Web Services credentials for API authentication.</p>
|
@@ -336,7 +336,7 @@ export interface AssumeRoleResponse {
|
|
336
336
|
* </note>
|
337
337
|
* @public
|
338
338
|
*/
|
339
|
-
Credentials?: Credentials;
|
339
|
+
Credentials?: Credentials | undefined;
|
340
340
|
/**
|
341
341
|
* <p>The Amazon Resource Name (ARN) and the assumed role ID, which are identifiers that you
|
342
342
|
* can use to refer to the resulting temporary security credentials. For example, you can
|
@@ -345,14 +345,14 @@ export interface AssumeRoleResponse {
|
|
345
345
|
* when you called <code>AssumeRole</code>. </p>
|
346
346
|
* @public
|
347
347
|
*/
|
348
|
-
AssumedRoleUser?: AssumedRoleUser;
|
348
|
+
AssumedRoleUser?: AssumedRoleUser | undefined;
|
349
349
|
/**
|
350
350
|
* <p>A percentage value that indicates the packed size of the session policies and session
|
351
351
|
* tags combined passed in the request. The request fails if the packed size is greater than 100 percent,
|
352
352
|
* which means the policies and tags exceeded the allowed space.</p>
|
353
353
|
* @public
|
354
354
|
*/
|
355
|
-
PackedPolicySize?: number;
|
355
|
+
PackedPolicySize?: number | undefined;
|
356
356
|
/**
|
357
357
|
* <p>The source identity specified by the principal that is calling the
|
358
358
|
* <code>AssumeRole</code> operation.</p>
|
@@ -369,7 +369,7 @@ export interface AssumeRoleResponse {
|
|
369
369
|
* any of the following characters: =,.@-</p>
|
370
370
|
* @public
|
371
371
|
*/
|
372
|
-
SourceIdentity?: string;
|
372
|
+
SourceIdentity?: string | undefined;
|
373
373
|
}
|
374
374
|
/**
|
375
375
|
* <p>The web identity token that was passed is expired or is not valid. Get a new identity
|
@@ -479,7 +479,7 @@ export interface AssumeRoleWithSAMLRequest {
|
|
479
479
|
* Policies</a> in the <i>IAM User Guide</i>.</p>
|
480
480
|
* @public
|
481
481
|
*/
|
482
|
-
PolicyArns?: PolicyDescriptorType[];
|
482
|
+
PolicyArns?: PolicyDescriptorType[] | undefined;
|
483
483
|
/**
|
484
484
|
* <p>An IAM policy in JSON format that you want to use as an inline session policy.</p>
|
485
485
|
* <p>This parameter is optional. Passing policies to this operation returns new
|
@@ -504,7 +504,7 @@ export interface AssumeRoleWithSAMLRequest {
|
|
504
504
|
* </note>
|
505
505
|
* @public
|
506
506
|
*/
|
507
|
-
Policy?: string;
|
507
|
+
Policy?: string | undefined;
|
508
508
|
/**
|
509
509
|
* <p>The duration, in seconds, of the role session. Your role session lasts for the duration
|
510
510
|
* that you specify for the <code>DurationSeconds</code> parameter, or until the time
|
@@ -529,7 +529,7 @@ export interface AssumeRoleWithSAMLRequest {
|
|
529
529
|
* </note>
|
530
530
|
* @public
|
531
531
|
*/
|
532
|
-
DurationSeconds?: number;
|
532
|
+
DurationSeconds?: number | undefined;
|
533
533
|
}
|
534
534
|
/**
|
535
535
|
* <p>Contains the response to a successful <a>AssumeRoleWithSAML</a> request,
|
@@ -546,26 +546,26 @@ export interface AssumeRoleWithSAMLResponse {
|
|
546
546
|
* </note>
|
547
547
|
* @public
|
548
548
|
*/
|
549
|
-
Credentials?: Credentials;
|
549
|
+
Credentials?: Credentials | undefined;
|
550
550
|
/**
|
551
551
|
* <p>The identifiers for the temporary security credentials that the operation
|
552
552
|
* returns.</p>
|
553
553
|
* @public
|
554
554
|
*/
|
555
|
-
AssumedRoleUser?: AssumedRoleUser;
|
555
|
+
AssumedRoleUser?: AssumedRoleUser | undefined;
|
556
556
|
/**
|
557
557
|
* <p>A percentage value that indicates the packed size of the session policies and session
|
558
558
|
* tags combined passed in the request. The request fails if the packed size is greater than 100 percent,
|
559
559
|
* which means the policies and tags exceeded the allowed space.</p>
|
560
560
|
* @public
|
561
561
|
*/
|
562
|
-
PackedPolicySize?: number;
|
562
|
+
PackedPolicySize?: number | undefined;
|
563
563
|
/**
|
564
564
|
* <p>The value of the <code>NameID</code> element in the <code>Subject</code> element of the
|
565
565
|
* SAML assertion.</p>
|
566
566
|
* @public
|
567
567
|
*/
|
568
|
-
Subject?: string;
|
568
|
+
Subject?: string | undefined;
|
569
569
|
/**
|
570
570
|
* <p> The format of the name ID, as defined by the <code>Format</code> attribute in the
|
571
571
|
* <code>NameID</code> element of the SAML assertion. Typical examples of the format are
|
@@ -577,18 +577,18 @@ export interface AssumeRoleWithSAMLResponse {
|
|
577
577
|
* with no modifications.</p>
|
578
578
|
* @public
|
579
579
|
*/
|
580
|
-
SubjectType?: string;
|
580
|
+
SubjectType?: string | undefined;
|
581
581
|
/**
|
582
582
|
* <p>The value of the <code>Issuer</code> element of the SAML assertion.</p>
|
583
583
|
* @public
|
584
584
|
*/
|
585
|
-
Issuer?: string;
|
585
|
+
Issuer?: string | undefined;
|
586
586
|
/**
|
587
587
|
* <p> The value of the <code>Recipient</code> attribute of the
|
588
588
|
* <code>SubjectConfirmationData</code> element of the SAML assertion. </p>
|
589
589
|
* @public
|
590
590
|
*/
|
591
|
-
Audience?: string;
|
591
|
+
Audience?: string | undefined;
|
592
592
|
/**
|
593
593
|
* <p>A hash value based on the concatenation of the following:</p>
|
594
594
|
* <ul>
|
@@ -610,7 +610,7 @@ export interface AssumeRoleWithSAMLResponse {
|
|
610
610
|
* </p>
|
611
611
|
* @public
|
612
612
|
*/
|
613
|
-
NameQualifier?: string;
|
613
|
+
NameQualifier?: string | undefined;
|
614
614
|
/**
|
615
615
|
* <p>The value in the <code>SourceIdentity</code> attribute in the SAML assertion. </p>
|
616
616
|
* <p>You can require users to set a source identity value when they assume a role. You do
|
@@ -629,7 +629,7 @@ export interface AssumeRoleWithSAMLResponse {
|
|
629
629
|
* also include underscores or any of the following characters: =,.@-</p>
|
630
630
|
* @public
|
631
631
|
*/
|
632
|
-
SourceIdentity?: string;
|
632
|
+
SourceIdentity?: string | undefined;
|
633
633
|
}
|
634
634
|
/**
|
635
635
|
* <p>The identity provider (IdP) reported that authentication failed. This might be because
|
@@ -698,7 +698,7 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
698
698
|
* <p>Do not specify this value for OpenID Connect ID tokens.</p>
|
699
699
|
* @public
|
700
700
|
*/
|
701
|
-
ProviderId?: string;
|
701
|
+
ProviderId?: string | undefined;
|
702
702
|
/**
|
703
703
|
* <p>The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as
|
704
704
|
* managed session policies. The policies must exist in the same account as the role.</p>
|
@@ -723,7 +723,7 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
723
723
|
* Policies</a> in the <i>IAM User Guide</i>.</p>
|
724
724
|
* @public
|
725
725
|
*/
|
726
|
-
PolicyArns?: PolicyDescriptorType[];
|
726
|
+
PolicyArns?: PolicyDescriptorType[] | undefined;
|
727
727
|
/**
|
728
728
|
* <p>An IAM policy in JSON format that you want to use as an inline session policy.</p>
|
729
729
|
* <p>This parameter is optional. Passing policies to this operation returns new
|
@@ -748,7 +748,7 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
748
748
|
* </note>
|
749
749
|
* @public
|
750
750
|
*/
|
751
|
-
Policy?: string;
|
751
|
+
Policy?: string | undefined;
|
752
752
|
/**
|
753
753
|
* <p>The duration, in seconds, of the role session. The value can range from 900 seconds (15
|
754
754
|
* minutes) up to the maximum session duration setting for the role. This setting can have a
|
@@ -770,7 +770,7 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
770
770
|
* </note>
|
771
771
|
* @public
|
772
772
|
*/
|
773
|
-
DurationSeconds?: number;
|
773
|
+
DurationSeconds?: number | undefined;
|
774
774
|
}
|
775
775
|
/**
|
776
776
|
* <p>Contains the response to a successful <a>AssumeRoleWithWebIdentity</a>
|
@@ -787,7 +787,7 @@ export interface AssumeRoleWithWebIdentityResponse {
|
|
787
787
|
* </note>
|
788
788
|
* @public
|
789
789
|
*/
|
790
|
-
Credentials?: Credentials;
|
790
|
+
Credentials?: Credentials | undefined;
|
791
791
|
/**
|
792
792
|
* <p>The unique user identifier that is returned by the identity provider. This identifier is
|
793
793
|
* associated with the <code>WebIdentityToken</code> that was submitted with the
|
@@ -797,7 +797,7 @@ export interface AssumeRoleWithWebIdentityResponse {
|
|
797
797
|
* identity provider as the token's <code>sub</code> (Subject) claim. </p>
|
798
798
|
* @public
|
799
799
|
*/
|
800
|
-
SubjectFromWebIdentityToken?: string;
|
800
|
+
SubjectFromWebIdentityToken?: string | undefined;
|
801
801
|
/**
|
802
802
|
* <p>The Amazon Resource Name (ARN) and the assumed role ID, which are identifiers that you
|
803
803
|
* can use to refer to the resulting temporary security credentials. For example, you can
|
@@ -806,14 +806,14 @@ export interface AssumeRoleWithWebIdentityResponse {
|
|
806
806
|
* when you called <code>AssumeRole</code>. </p>
|
807
807
|
* @public
|
808
808
|
*/
|
809
|
-
AssumedRoleUser?: AssumedRoleUser;
|
809
|
+
AssumedRoleUser?: AssumedRoleUser | undefined;
|
810
810
|
/**
|
811
811
|
* <p>A percentage value that indicates the packed size of the session policies and session
|
812
812
|
* tags combined passed in the request. The request fails if the packed size is greater than 100 percent,
|
813
813
|
* which means the policies and tags exceeded the allowed space.</p>
|
814
814
|
* @public
|
815
815
|
*/
|
816
|
-
PackedPolicySize?: number;
|
816
|
+
PackedPolicySize?: number | undefined;
|
817
817
|
/**
|
818
818
|
* <p> The issuing authority of the web identity token presented. For OpenID Connect ID
|
819
819
|
* tokens, this contains the value of the <code>iss</code> field. For OAuth 2.0 access tokens,
|
@@ -821,14 +821,14 @@ export interface AssumeRoleWithWebIdentityResponse {
|
|
821
821
|
* <code>AssumeRoleWithWebIdentity</code> request.</p>
|
822
822
|
* @public
|
823
823
|
*/
|
824
|
-
Provider?: string;
|
824
|
+
Provider?: string | undefined;
|
825
825
|
/**
|
826
826
|
* <p>The intended audience (also known as client ID) of the web identity token. This is
|
827
827
|
* traditionally the client identifier issued to the application that requested the web
|
828
828
|
* identity token.</p>
|
829
829
|
* @public
|
830
830
|
*/
|
831
|
-
Audience?: string;
|
831
|
+
Audience?: string | undefined;
|
832
832
|
/**
|
833
833
|
* <p>The value of the source identity that is returned in the JSON web token (JWT) from the
|
834
834
|
* identity provider.</p>
|
@@ -849,7 +849,7 @@ export interface AssumeRoleWithWebIdentityResponse {
|
|
849
849
|
* also include underscores or any of the following characters: =,.@-</p>
|
850
850
|
* @public
|
851
851
|
*/
|
852
|
-
SourceIdentity?: string;
|
852
|
+
SourceIdentity?: string | undefined;
|
853
853
|
}
|
854
854
|
/**
|
855
855
|
* <p>The request could not be fulfilled because the identity provider (IDP) that
|
@@ -887,7 +887,7 @@ export interface DecodeAuthorizationMessageResponse {
|
|
887
887
|
* <p>The API returns a response with the decoded message.</p>
|
888
888
|
* @public
|
889
889
|
*/
|
890
|
-
DecodedMessage?: string;
|
890
|
+
DecodedMessage?: string | undefined;
|
891
891
|
}
|
892
892
|
/**
|
893
893
|
* <p>The error returned if the message passed to <code>DecodeAuthorizationMessage</code>
|
@@ -923,7 +923,7 @@ export interface GetAccessKeyInfoResponse {
|
|
923
923
|
* <p>The number used to identify the Amazon Web Services account.</p>
|
924
924
|
* @public
|
925
925
|
*/
|
926
|
-
Account?: string;
|
926
|
+
Account?: string | undefined;
|
927
927
|
}
|
928
928
|
/**
|
929
929
|
* @public
|
@@ -943,18 +943,18 @@ export interface GetCallerIdentityResponse {
|
|
943
943
|
* page in the <i>IAM User Guide</i>.</p>
|
944
944
|
* @public
|
945
945
|
*/
|
946
|
-
UserId?: string;
|
946
|
+
UserId?: string | undefined;
|
947
947
|
/**
|
948
948
|
* <p>The Amazon Web Services account ID number of the account that owns or contains the calling
|
949
949
|
* entity.</p>
|
950
950
|
* @public
|
951
951
|
*/
|
952
|
-
Account?: string;
|
952
|
+
Account?: string | undefined;
|
953
953
|
/**
|
954
954
|
* <p>The Amazon Web Services ARN associated with the calling entity.</p>
|
955
955
|
* @public
|
956
956
|
*/
|
957
|
-
Arn?: string;
|
957
|
+
Arn?: string | undefined;
|
958
958
|
}
|
959
959
|
/**
|
960
960
|
* @public
|
@@ -1003,7 +1003,7 @@ export interface GetFederationTokenRequest {
|
|
1003
1003
|
* </note>
|
1004
1004
|
* @public
|
1005
1005
|
*/
|
1006
|
-
Policy?: string;
|
1006
|
+
Policy?: string | undefined;
|
1007
1007
|
/**
|
1008
1008
|
* <p>The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as a
|
1009
1009
|
* managed session policy. The policies must exist in the same account as the IAM user that is requesting federated access.</p>
|
@@ -1036,7 +1036,7 @@ export interface GetFederationTokenRequest {
|
|
1036
1036
|
* </note>
|
1037
1037
|
* @public
|
1038
1038
|
*/
|
1039
|
-
PolicyArns?: PolicyDescriptorType[];
|
1039
|
+
PolicyArns?: PolicyDescriptorType[] | undefined;
|
1040
1040
|
/**
|
1041
1041
|
* <p>The duration, in seconds, that the session should last. Acceptable durations for
|
1042
1042
|
* federation sessions range from 900 seconds (15 minutes) to 129,600 seconds (36 hours), with
|
@@ -1046,7 +1046,7 @@ export interface GetFederationTokenRequest {
|
|
1046
1046
|
* credentials defaults to one hour.</p>
|
1047
1047
|
* @public
|
1048
1048
|
*/
|
1049
|
-
DurationSeconds?: number;
|
1049
|
+
DurationSeconds?: number | undefined;
|
1050
1050
|
/**
|
1051
1051
|
* <p>A list of session tags. Each session tag consists of a key name and an associated value.
|
1052
1052
|
* For more information about session tags, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html">Passing Session Tags in STS</a> in the
|
@@ -1072,7 +1072,7 @@ export interface GetFederationTokenRequest {
|
|
1072
1072
|
* the request takes precedence over the role tag.</p>
|
1073
1073
|
* @public
|
1074
1074
|
*/
|
1075
|
-
Tags?: Tag[];
|
1075
|
+
Tags?: Tag[] | undefined;
|
1076
1076
|
}
|
1077
1077
|
/**
|
1078
1078
|
* <p>Identifiers for the federated user that is associated with the credentials.</p>
|
@@ -1108,7 +1108,7 @@ export interface GetFederationTokenResponse {
|
|
1108
1108
|
* </note>
|
1109
1109
|
* @public
|
1110
1110
|
*/
|
1111
|
-
Credentials?: Credentials;
|
1111
|
+
Credentials?: Credentials | undefined;
|
1112
1112
|
/**
|
1113
1113
|
* <p>Identifiers for the federated user associated with the credentials (such as
|
1114
1114
|
* <code>arn:aws:sts::123456789012:federated-user/Bob</code> or
|
@@ -1116,14 +1116,14 @@ export interface GetFederationTokenResponse {
|
|
1116
1116
|
* resource-based policies, such as an Amazon S3 bucket policy. </p>
|
1117
1117
|
* @public
|
1118
1118
|
*/
|
1119
|
-
FederatedUser?: FederatedUser;
|
1119
|
+
FederatedUser?: FederatedUser | undefined;
|
1120
1120
|
/**
|
1121
1121
|
* <p>A percentage value that indicates the packed size of the session policies and session
|
1122
1122
|
* tags combined passed in the request. The request fails if the packed size is greater than 100 percent,
|
1123
1123
|
* which means the policies and tags exceeded the allowed space.</p>
|
1124
1124
|
* @public
|
1125
1125
|
*/
|
1126
|
-
PackedPolicySize?: number;
|
1126
|
+
PackedPolicySize?: number | undefined;
|
1127
1127
|
}
|
1128
1128
|
/**
|
1129
1129
|
* @public
|
@@ -1137,7 +1137,7 @@ export interface GetSessionTokenRequest {
|
|
1137
1137
|
* than one hour, the session for Amazon Web Services account owners defaults to one hour.</p>
|
1138
1138
|
* @public
|
1139
1139
|
*/
|
1140
|
-
DurationSeconds?: number;
|
1140
|
+
DurationSeconds?: number | undefined;
|
1141
1141
|
/**
|
1142
1142
|
* <p>The identification number of the MFA device that is associated with the IAM user who is making the <code>GetSessionToken</code> call. Specify this value
|
1143
1143
|
* if the IAM user has a policy that requires MFA authentication. The value is
|
@@ -1149,7 +1149,7 @@ export interface GetSessionTokenRequest {
|
|
1149
1149
|
* You can also include underscores or any of the following characters: =,.@:/-</p>
|
1150
1150
|
* @public
|
1151
1151
|
*/
|
1152
|
-
SerialNumber?: string;
|
1152
|
+
SerialNumber?: string | undefined;
|
1153
1153
|
/**
|
1154
1154
|
* <p>The value provided by the MFA device, if MFA is required. If any policy requires the
|
1155
1155
|
* IAM user to submit an MFA code, specify this value. If MFA authentication
|
@@ -1160,7 +1160,7 @@ export interface GetSessionTokenRequest {
|
|
1160
1160
|
* numeric digits.</p>
|
1161
1161
|
* @public
|
1162
1162
|
*/
|
1163
|
-
TokenCode?: string;
|
1163
|
+
TokenCode?: string | undefined;
|
1164
1164
|
}
|
1165
1165
|
/**
|
1166
1166
|
* <p>Contains the response to a successful <a>GetSessionToken</a> request,
|
@@ -1177,7 +1177,7 @@ export interface GetSessionTokenResponse {
|
|
1177
1177
|
* </note>
|
1178
1178
|
* @public
|
1179
1179
|
*/
|
1180
|
-
Credentials?: Credentials;
|
1180
|
+
Credentials?: Credentials | undefined;
|
1181
1181
|
}
|
1182
1182
|
/**
|
1183
1183
|
* @internal
|
@@ -5,11 +5,11 @@ export interface AssumedRoleUser {
|
|
5
5
|
Arn: string | undefined;
|
6
6
|
}
|
7
7
|
export interface PolicyDescriptorType {
|
8
|
-
arn?: string;
|
8
|
+
arn?: string | undefined;
|
9
9
|
}
|
10
10
|
export interface ProvidedContext {
|
11
|
-
ProviderArn?: string;
|
12
|
-
ContextAssertion?: string;
|
11
|
+
ProviderArn?: string | undefined;
|
12
|
+
ContextAssertion?: string | undefined;
|
13
13
|
}
|
14
14
|
export interface Tag {
|
15
15
|
Key: string | undefined;
|
@@ -18,16 +18,16 @@ export interface Tag {
|
|
18
18
|
export interface AssumeRoleRequest {
|
19
19
|
RoleArn: string | undefined;
|
20
20
|
RoleSessionName: string | undefined;
|
21
|
-
PolicyArns?: PolicyDescriptorType[];
|
22
|
-
Policy?: string;
|
23
|
-
DurationSeconds?: number;
|
24
|
-
Tags?: Tag[];
|
25
|
-
TransitiveTagKeys?: string[];
|
26
|
-
ExternalId?: string;
|
27
|
-
SerialNumber?: string;
|
28
|
-
TokenCode?: string;
|
29
|
-
SourceIdentity?: string;
|
30
|
-
ProvidedContexts?: ProvidedContext[];
|
21
|
+
PolicyArns?: PolicyDescriptorType[] | undefined;
|
22
|
+
Policy?: string | undefined;
|
23
|
+
DurationSeconds?: number | undefined;
|
24
|
+
Tags?: Tag[] | undefined;
|
25
|
+
TransitiveTagKeys?: string[] | undefined;
|
26
|
+
ExternalId?: string | undefined;
|
27
|
+
SerialNumber?: string | undefined;
|
28
|
+
TokenCode?: string | undefined;
|
29
|
+
SourceIdentity?: string | undefined;
|
30
|
+
ProvidedContexts?: ProvidedContext[] | undefined;
|
31
31
|
}
|
32
32
|
export interface Credentials {
|
33
33
|
AccessKeyId: string | undefined;
|
@@ -36,10 +36,10 @@ export interface Credentials {
|
|
36
36
|
Expiration: Date | undefined;
|
37
37
|
}
|
38
38
|
export interface AssumeRoleResponse {
|
39
|
-
Credentials?: Credentials;
|
40
|
-
AssumedRoleUser?: AssumedRoleUser;
|
41
|
-
PackedPolicySize?: number;
|
42
|
-
SourceIdentity?: string;
|
39
|
+
Credentials?: Credentials | undefined;
|
40
|
+
AssumedRoleUser?: AssumedRoleUser | undefined;
|
41
|
+
PackedPolicySize?: number | undefined;
|
42
|
+
SourceIdentity?: string | undefined;
|
43
43
|
}
|
44
44
|
export declare class ExpiredTokenException extends __BaseException {
|
45
45
|
readonly name: "ExpiredTokenException";
|
@@ -76,20 +76,20 @@ export interface AssumeRoleWithSAMLRequest {
|
|
76
76
|
RoleArn: string | undefined;
|
77
77
|
PrincipalArn: string | undefined;
|
78
78
|
SAMLAssertion: string | undefined;
|
79
|
-
PolicyArns?: PolicyDescriptorType[];
|
80
|
-
Policy?: string;
|
81
|
-
DurationSeconds?: number;
|
79
|
+
PolicyArns?: PolicyDescriptorType[] | undefined;
|
80
|
+
Policy?: string | undefined;
|
81
|
+
DurationSeconds?: number | undefined;
|
82
82
|
}
|
83
83
|
export interface AssumeRoleWithSAMLResponse {
|
84
|
-
Credentials?: Credentials;
|
85
|
-
AssumedRoleUser?: AssumedRoleUser;
|
86
|
-
PackedPolicySize?: number;
|
87
|
-
Subject?: string;
|
88
|
-
SubjectType?: string;
|
89
|
-
Issuer?: string;
|
90
|
-
Audience?: string;
|
91
|
-
NameQualifier?: string;
|
92
|
-
SourceIdentity?: string;
|
84
|
+
Credentials?: Credentials | undefined;
|
85
|
+
AssumedRoleUser?: AssumedRoleUser | undefined;
|
86
|
+
PackedPolicySize?: number | undefined;
|
87
|
+
Subject?: string | undefined;
|
88
|
+
SubjectType?: string | undefined;
|
89
|
+
Issuer?: string | undefined;
|
90
|
+
Audience?: string | undefined;
|
91
|
+
NameQualifier?: string | undefined;
|
92
|
+
SourceIdentity?: string | undefined;
|
93
93
|
}
|
94
94
|
export declare class IDPRejectedClaimException extends __BaseException {
|
95
95
|
readonly name: "IDPRejectedClaimException";
|
@@ -109,19 +109,19 @@ export interface AssumeRoleWithWebIdentityRequest {
|
|
109
109
|
RoleArn: string | undefined;
|
110
110
|
RoleSessionName: string | undefined;
|
111
111
|
WebIdentityToken: string | undefined;
|
112
|
-
ProviderId?: string;
|
113
|
-
PolicyArns?: PolicyDescriptorType[];
|
114
|
-
Policy?: string;
|
115
|
-
DurationSeconds?: number;
|
112
|
+
ProviderId?: string | undefined;
|
113
|
+
PolicyArns?: PolicyDescriptorType[] | undefined;
|
114
|
+
Policy?: string | undefined;
|
115
|
+
DurationSeconds?: number | undefined;
|
116
116
|
}
|
117
117
|
export interface AssumeRoleWithWebIdentityResponse {
|
118
|
-
Credentials?: Credentials;
|
119
|
-
SubjectFromWebIdentityToken?: string;
|
120
|
-
AssumedRoleUser?: AssumedRoleUser;
|
121
|
-
PackedPolicySize?: number;
|
122
|
-
Provider?: string;
|
123
|
-
Audience?: string;
|
124
|
-
SourceIdentity?: string;
|
118
|
+
Credentials?: Credentials | undefined;
|
119
|
+
SubjectFromWebIdentityToken?: string | undefined;
|
120
|
+
AssumedRoleUser?: AssumedRoleUser | undefined;
|
121
|
+
PackedPolicySize?: number | undefined;
|
122
|
+
Provider?: string | undefined;
|
123
|
+
Audience?: string | undefined;
|
124
|
+
SourceIdentity?: string | undefined;
|
125
125
|
}
|
126
126
|
export declare class IDPCommunicationErrorException extends __BaseException {
|
127
127
|
readonly name: "IDPCommunicationErrorException";
|
@@ -134,7 +134,7 @@ export interface DecodeAuthorizationMessageRequest {
|
|
134
134
|
EncodedMessage: string | undefined;
|
135
135
|
}
|
136
136
|
export interface DecodeAuthorizationMessageResponse {
|
137
|
-
DecodedMessage?: string;
|
137
|
+
DecodedMessage?: string | undefined;
|
138
138
|
}
|
139
139
|
export declare class InvalidAuthorizationMessageException extends __BaseException {
|
140
140
|
readonly name: "InvalidAuthorizationMessageException";
|
@@ -150,37 +150,37 @@ export interface GetAccessKeyInfoRequest {
|
|
150
150
|
AccessKeyId: string | undefined;
|
151
151
|
}
|
152
152
|
export interface GetAccessKeyInfoResponse {
|
153
|
-
Account?: string;
|
153
|
+
Account?: string | undefined;
|
154
154
|
}
|
155
155
|
export interface GetCallerIdentityRequest {}
|
156
156
|
export interface GetCallerIdentityResponse {
|
157
|
-
UserId?: string;
|
158
|
-
Account?: string;
|
159
|
-
Arn?: string;
|
157
|
+
UserId?: string | undefined;
|
158
|
+
Account?: string | undefined;
|
159
|
+
Arn?: string | undefined;
|
160
160
|
}
|
161
161
|
export interface GetFederationTokenRequest {
|
162
162
|
Name: string | undefined;
|
163
|
-
Policy?: string;
|
164
|
-
PolicyArns?: PolicyDescriptorType[];
|
165
|
-
DurationSeconds?: number;
|
166
|
-
Tags?: Tag[];
|
163
|
+
Policy?: string | undefined;
|
164
|
+
PolicyArns?: PolicyDescriptorType[] | undefined;
|
165
|
+
DurationSeconds?: number | undefined;
|
166
|
+
Tags?: Tag[] | undefined;
|
167
167
|
}
|
168
168
|
export interface FederatedUser {
|
169
169
|
FederatedUserId: string | undefined;
|
170
170
|
Arn: string | undefined;
|
171
171
|
}
|
172
172
|
export interface GetFederationTokenResponse {
|
173
|
-
Credentials?: Credentials;
|
174
|
-
FederatedUser?: FederatedUser;
|
175
|
-
PackedPolicySize?: number;
|
173
|
+
Credentials?: Credentials | undefined;
|
174
|
+
FederatedUser?: FederatedUser | undefined;
|
175
|
+
PackedPolicySize?: number | undefined;
|
176
176
|
}
|
177
177
|
export interface GetSessionTokenRequest {
|
178
|
-
DurationSeconds?: number;
|
179
|
-
SerialNumber?: string;
|
180
|
-
TokenCode?: string;
|
178
|
+
DurationSeconds?: number | undefined;
|
179
|
+
SerialNumber?: string | undefined;
|
180
|
+
TokenCode?: string | undefined;
|
181
181
|
}
|
182
182
|
export interface GetSessionTokenResponse {
|
183
|
-
Credentials?: Credentials;
|
183
|
+
Credentials?: Credentials | undefined;
|
184
184
|
}
|
185
185
|
export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
|
186
186
|
export declare const AssumeRoleResponseFilterSensitiveLog: (
|