@aws-sdk/client-sts 3.185.0 → 3.186.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-cjs/protocols/Aws_query.js +2 -2
  3. package/dist-cjs/xml-parser.js +18 -0
  4. package/dist-es/protocols/Aws_query.js +1 -1
  5. package/dist-es/xml-parser.js +15 -0
  6. package/dist-types/ts3.4/STS.d.ts +626 -140
  7. package/dist-types/ts3.4/STSClient.d.ts +156 -151
  8. package/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +124 -32
  9. package/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +166 -36
  10. package/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +170 -39
  11. package/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +70 -39
  12. package/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +52 -35
  13. package/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +44 -36
  14. package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +120 -36
  15. package/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +93 -35
  16. package/dist-types/ts3.4/commands/index.d.ts +8 -8
  17. package/dist-types/ts3.4/defaultRoleAssumers.d.ts +20 -22
  18. package/dist-types/ts3.4/defaultStsRoleAssumers.d.ts +35 -25
  19. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  20. package/dist-types/ts3.4/index.d.ts +6 -6
  21. package/dist-types/ts3.4/models/STSServiceException.d.ts +10 -7
  22. package/dist-types/ts3.4/models/index.d.ts +1 -1
  23. package/dist-types/ts3.4/models/models_0.d.ts +1146 -238
  24. package/dist-types/ts3.4/protocols/Aws_query.d.ts +26 -101
  25. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +40 -67
  26. package/dist-types/ts3.4/runtimeConfig.d.ts +40 -65
  27. package/dist-types/ts3.4/runtimeConfig.native.d.ts +39 -68
  28. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -10
  29. package/dist-types/ts3.4/xml-parser.d.ts +4 -0
  30. package/dist-types/xml-parser.d.ts +4 -0
  31. package/package.json +34 -34
@@ -1,238 +1,1146 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { STSServiceException as __BaseException } from "./STSServiceException";
3
- export interface AssumedRoleUser {
4
- AssumedRoleId: string | undefined;
5
- Arn: string | undefined;
6
- }
7
- export interface PolicyDescriptorType {
8
- arn?: string;
9
- }
10
- export interface Tag {
11
- Key: string | undefined;
12
- Value: string | undefined;
13
- }
14
- export interface AssumeRoleRequest {
15
- RoleArn: string | undefined;
16
- RoleSessionName: string | undefined;
17
- PolicyArns?: PolicyDescriptorType[];
18
- Policy?: string;
19
- DurationSeconds?: number;
20
- Tags?: Tag[];
21
- TransitiveTagKeys?: string[];
22
- ExternalId?: string;
23
- SerialNumber?: string;
24
- TokenCode?: string;
25
- SourceIdentity?: string;
26
- }
27
- export interface Credentials {
28
- AccessKeyId: string | undefined;
29
- SecretAccessKey: string | undefined;
30
- SessionToken: string | undefined;
31
- Expiration: Date | undefined;
32
- }
33
- export interface AssumeRoleResponse {
34
- Credentials?: Credentials;
35
- AssumedRoleUser?: AssumedRoleUser;
36
- PackedPolicySize?: number;
37
- SourceIdentity?: string;
38
- }
39
- export declare class ExpiredTokenException extends __BaseException {
40
- readonly name: "ExpiredTokenException";
41
- readonly $fault: "client";
42
- constructor(
43
- opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>
44
- );
45
- }
46
- export declare class MalformedPolicyDocumentException extends __BaseException {
47
- readonly name: "MalformedPolicyDocumentException";
48
- readonly $fault: "client";
49
- constructor(
50
- opts: __ExceptionOptionType<
51
- MalformedPolicyDocumentException,
52
- __BaseException
53
- >
54
- );
55
- }
56
- export declare class PackedPolicyTooLargeException extends __BaseException {
57
- readonly name: "PackedPolicyTooLargeException";
58
- readonly $fault: "client";
59
- constructor(
60
- opts: __ExceptionOptionType<PackedPolicyTooLargeException, __BaseException>
61
- );
62
- }
63
- export declare class RegionDisabledException extends __BaseException {
64
- readonly name: "RegionDisabledException";
65
- readonly $fault: "client";
66
- constructor(
67
- opts: __ExceptionOptionType<RegionDisabledException, __BaseException>
68
- );
69
- }
70
- export interface AssumeRoleWithSAMLRequest {
71
- RoleArn: string | undefined;
72
- PrincipalArn: string | undefined;
73
- SAMLAssertion: string | undefined;
74
- PolicyArns?: PolicyDescriptorType[];
75
- Policy?: string;
76
- DurationSeconds?: number;
77
- }
78
- export interface AssumeRoleWithSAMLResponse {
79
- Credentials?: Credentials;
80
- AssumedRoleUser?: AssumedRoleUser;
81
- PackedPolicySize?: number;
82
- Subject?: string;
83
- SubjectType?: string;
84
- Issuer?: string;
85
- Audience?: string;
86
- NameQualifier?: string;
87
- SourceIdentity?: string;
88
- }
89
- export declare class IDPRejectedClaimException extends __BaseException {
90
- readonly name: "IDPRejectedClaimException";
91
- readonly $fault: "client";
92
- constructor(
93
- opts: __ExceptionOptionType<IDPRejectedClaimException, __BaseException>
94
- );
95
- }
96
- export declare class InvalidIdentityTokenException extends __BaseException {
97
- readonly name: "InvalidIdentityTokenException";
98
- readonly $fault: "client";
99
- constructor(
100
- opts: __ExceptionOptionType<InvalidIdentityTokenException, __BaseException>
101
- );
102
- }
103
- export interface AssumeRoleWithWebIdentityRequest {
104
- RoleArn: string | undefined;
105
- RoleSessionName: string | undefined;
106
- WebIdentityToken: string | undefined;
107
- ProviderId?: string;
108
- PolicyArns?: PolicyDescriptorType[];
109
- Policy?: string;
110
- DurationSeconds?: number;
111
- }
112
- export interface AssumeRoleWithWebIdentityResponse {
113
- Credentials?: Credentials;
114
- SubjectFromWebIdentityToken?: string;
115
- AssumedRoleUser?: AssumedRoleUser;
116
- PackedPolicySize?: number;
117
- Provider?: string;
118
- Audience?: string;
119
- SourceIdentity?: string;
120
- }
121
- export declare class IDPCommunicationErrorException extends __BaseException {
122
- readonly name: "IDPCommunicationErrorException";
123
- readonly $fault: "client";
124
- constructor(
125
- opts: __ExceptionOptionType<IDPCommunicationErrorException, __BaseException>
126
- );
127
- }
128
- export interface DecodeAuthorizationMessageRequest {
129
- EncodedMessage: string | undefined;
130
- }
131
- export interface DecodeAuthorizationMessageResponse {
132
- DecodedMessage?: string;
133
- }
134
- export declare class InvalidAuthorizationMessageException extends __BaseException {
135
- readonly name: "InvalidAuthorizationMessageException";
136
- readonly $fault: "client";
137
- constructor(
138
- opts: __ExceptionOptionType<
139
- InvalidAuthorizationMessageException,
140
- __BaseException
141
- >
142
- );
143
- }
144
- export interface GetAccessKeyInfoRequest {
145
- AccessKeyId: string | undefined;
146
- }
147
- export interface GetAccessKeyInfoResponse {
148
- Account?: string;
149
- }
150
- export interface GetCallerIdentityRequest {}
151
- export interface GetCallerIdentityResponse {
152
- UserId?: string;
153
- Account?: string;
154
- Arn?: string;
155
- }
156
- export interface GetFederationTokenRequest {
157
- Name: string | undefined;
158
- Policy?: string;
159
- PolicyArns?: PolicyDescriptorType[];
160
- DurationSeconds?: number;
161
- Tags?: Tag[];
162
- }
163
- export interface FederatedUser {
164
- FederatedUserId: string | undefined;
165
- Arn: string | undefined;
166
- }
167
- export interface GetFederationTokenResponse {
168
- Credentials?: Credentials;
169
- FederatedUser?: FederatedUser;
170
- PackedPolicySize?: number;
171
- }
172
- export interface GetSessionTokenRequest {
173
- DurationSeconds?: number;
174
- SerialNumber?: string;
175
- TokenCode?: string;
176
- }
177
- export interface GetSessionTokenResponse {
178
- Credentials?: Credentials;
179
- }
180
- export declare const AssumedRoleUserFilterSensitiveLog: (
181
- obj: AssumedRoleUser
182
- ) => any;
183
- export declare const PolicyDescriptorTypeFilterSensitiveLog: (
184
- obj: PolicyDescriptorType
185
- ) => any;
186
- export declare const TagFilterSensitiveLog: (obj: Tag) => any;
187
- export declare const AssumeRoleRequestFilterSensitiveLog: (
188
- obj: AssumeRoleRequest
189
- ) => any;
190
- export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
191
- export declare const AssumeRoleResponseFilterSensitiveLog: (
192
- obj: AssumeRoleResponse
193
- ) => any;
194
- export declare const AssumeRoleWithSAMLRequestFilterSensitiveLog: (
195
- obj: AssumeRoleWithSAMLRequest
196
- ) => any;
197
- export declare const AssumeRoleWithSAMLResponseFilterSensitiveLog: (
198
- obj: AssumeRoleWithSAMLResponse
199
- ) => any;
200
- export declare const AssumeRoleWithWebIdentityRequestFilterSensitiveLog: (
201
- obj: AssumeRoleWithWebIdentityRequest
202
- ) => any;
203
- export declare const AssumeRoleWithWebIdentityResponseFilterSensitiveLog: (
204
- obj: AssumeRoleWithWebIdentityResponse
205
- ) => any;
206
- export declare const DecodeAuthorizationMessageRequestFilterSensitiveLog: (
207
- obj: DecodeAuthorizationMessageRequest
208
- ) => any;
209
- export declare const DecodeAuthorizationMessageResponseFilterSensitiveLog: (
210
- obj: DecodeAuthorizationMessageResponse
211
- ) => any;
212
- export declare const GetAccessKeyInfoRequestFilterSensitiveLog: (
213
- obj: GetAccessKeyInfoRequest
214
- ) => any;
215
- export declare const GetAccessKeyInfoResponseFilterSensitiveLog: (
216
- obj: GetAccessKeyInfoResponse
217
- ) => any;
218
- export declare const GetCallerIdentityRequestFilterSensitiveLog: (
219
- obj: GetCallerIdentityRequest
220
- ) => any;
221
- export declare const GetCallerIdentityResponseFilterSensitiveLog: (
222
- obj: GetCallerIdentityResponse
223
- ) => any;
224
- export declare const GetFederationTokenRequestFilterSensitiveLog: (
225
- obj: GetFederationTokenRequest
226
- ) => any;
227
- export declare const FederatedUserFilterSensitiveLog: (
228
- obj: FederatedUser
229
- ) => any;
230
- export declare const GetFederationTokenResponseFilterSensitiveLog: (
231
- obj: GetFederationTokenResponse
232
- ) => any;
233
- export declare const GetSessionTokenRequestFilterSensitiveLog: (
234
- obj: GetSessionTokenRequest
235
- ) => any;
236
- export declare const GetSessionTokenResponseFilterSensitiveLog: (
237
- obj: GetSessionTokenResponse
238
- ) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { STSServiceException as __BaseException } from "./STSServiceException";
3
+ /**
4
+ * <p>The identifiers for the temporary security credentials that the operation
5
+ * returns.</p>
6
+ */
7
+ export interface AssumedRoleUser {
8
+ /**
9
+ * <p>A unique identifier that contains the role ID and the role session name of the role that
10
+ * is being assumed. The role ID is generated by Amazon Web Services when the role is created.</p>
11
+ */
12
+ AssumedRoleId: string | undefined;
13
+ /**
14
+ * <p>The ARN of the temporary security credentials that are returned from the <a>AssumeRole</a> action. For more information about ARNs and how to use them in
15
+ * policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html">IAM Identifiers</a> in the
16
+ * <i>IAM User Guide</i>.</p>
17
+ */
18
+ Arn: string | undefined;
19
+ }
20
+ /**
21
+ * <p>A reference to the IAM managed policy that is passed as a session policy for a role
22
+ * session or a federated user session.</p>
23
+ */
24
+ export interface PolicyDescriptorType {
25
+ /**
26
+ * <p>The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy
27
+ * for the role. 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) and Amazon Web Services
28
+ * Service Namespaces</a> in the <i>Amazon Web Services General Reference</i>.</p>
29
+ */
30
+ arn?: string;
31
+ }
32
+ /**
33
+ * <p>You can pass custom key-value pair attributes when you assume a role or federate a user.
34
+ * These are called session tags. You can then use the session tags to control access to
35
+ * resources. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html">Tagging Amazon Web Services STS Sessions</a> in the
36
+ * <i>IAM User Guide</i>.</p>
37
+ */
38
+ export interface Tag {
39
+ /**
40
+ * <p>The key for a session tag.</p>
41
+ * <p>You can pass up to 50 session tags. The plain text session tag keys can’t exceed 128
42
+ * characters. For these and additional limits, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length">IAM
43
+ * and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
44
+ */
45
+ Key: string | undefined;
46
+ /**
47
+ * <p>The value for a session tag.</p>
48
+ * <p>You can pass up to 50 session tags. The plain text session tag values can’t exceed 256
49
+ * characters. For these and additional limits, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length">IAM
50
+ * and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
51
+ */
52
+ Value: string | undefined;
53
+ }
54
+ export interface AssumeRoleRequest {
55
+ /**
56
+ * <p>The Amazon Resource Name (ARN) of the role to assume.</p>
57
+ */
58
+ RoleArn: string | undefined;
59
+ /**
60
+ * <p>An identifier for the assumed role session.</p>
61
+ * <p>Use the role session name to uniquely identify a session when the same role is assumed
62
+ * by different principals or for different reasons. In cross-account scenarios, the role
63
+ * session name is visible to, and can be logged by the account that owns the role. The role
64
+ * session name is also used in the ARN of the assumed role principal. This means that
65
+ * subsequent cross-account API requests that use the temporary security credentials will
66
+ * expose the role session name to the external account in their CloudTrail logs.</p>
67
+ * <p>The regex used to validate this parameter is a string of characters
68
+ * consisting of upper- and lower-case alphanumeric characters with no spaces. You can
69
+ * also include underscores or any of the following characters: =,.@-</p>
70
+ */
71
+ RoleSessionName: string | undefined;
72
+ /**
73
+ * <p>The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as
74
+ * managed session policies. The policies must exist in the same account as the role.</p>
75
+ * <p>This parameter is optional. You can provide up to 10 managed policy ARNs. However, the
76
+ * plaintext that you use for both inline and managed session policies can't exceed 2,048
77
+ * characters. 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) and Amazon Web Services
78
+ * Service Namespaces</a> in the Amazon Web Services General Reference.</p>
79
+ *
80
+ * <note>
81
+ * <p>An Amazon Web Services conversion compresses the passed session policies and session tags into a
82
+ * packed binary format that has a separate limit. Your request can fail for this limit
83
+ * even if your plaintext meets the other requirements. The <code>PackedPolicySize</code>
84
+ * response element indicates by percentage how close the policies and tags for your
85
+ * request are to the upper size limit.
86
+ * </p>
87
+ * </note>
88
+ *
89
+ * <p>Passing policies to this operation returns new
90
+ * temporary credentials. The resulting session's permissions are the intersection of the
91
+ * role's identity-based policy and the session policies. You can use the role's temporary
92
+ * credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
93
+ * the role. You cannot use session policies to grant more permissions than those allowed
94
+ * by the identity-based policy of the role that is being assumed. For more information, see
95
+ * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">Session
96
+ * Policies</a> in the <i>IAM User Guide</i>.</p>
97
+ */
98
+ PolicyArns?: PolicyDescriptorType[];
99
+ /**
100
+ * <p>An IAM policy in JSON format that you want to use as an inline session policy.</p>
101
+ * <p>This parameter is optional. Passing policies to this operation returns new
102
+ * temporary credentials. The resulting session's permissions are the intersection of the
103
+ * role's identity-based policy and the session policies. You can use the role's temporary
104
+ * credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
105
+ * the role. You cannot use session policies to grant more permissions than those allowed
106
+ * by the identity-based policy of the role that is being assumed. For more information, see
107
+ * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">Session
108
+ * Policies</a> in the <i>IAM User Guide</i>.</p>
109
+ * <p>The plaintext that you use for both inline and managed session policies can't exceed
110
+ * 2,048 characters. The JSON policy characters can be any ASCII character from the space
111
+ * character to the end of the valid character list (\u0020 through \u00FF). It can also
112
+ * include the tab (\u0009), linefeed (\u000A), and carriage return (\u000D)
113
+ * characters.</p>
114
+ *
115
+ * <note>
116
+ * <p>An Amazon Web Services conversion compresses the passed session policies and session tags into a
117
+ * packed binary format that has a separate limit. Your request can fail for this limit
118
+ * even if your plaintext meets the other requirements. The <code>PackedPolicySize</code>
119
+ * response element indicates by percentage how close the policies and tags for your
120
+ * request are to the upper size limit.
121
+ * </p>
122
+ * </note>
123
+ */
124
+ Policy?: string;
125
+ /**
126
+ * <p>The duration, in seconds, of the role session. The value specified can range from 900
127
+ * seconds (15 minutes) up to the maximum session duration set for the role. The maximum
128
+ * session duration setting can have a value from 1 hour to 12 hours. If you specify a value
129
+ * higher than this setting or the administrator setting (whichever is lower), the operation
130
+ * fails. For example, if you specify a session duration of 12 hours, but your administrator
131
+ * set the maximum session duration to 6 hours, your operation fails. </p>
132
+ * <p>Role chaining limits your Amazon Web Services CLI or Amazon Web Services API role session to a maximum of one hour.
133
+ * When you use the <code>AssumeRole</code> API operation to assume a role, you can specify
134
+ * the duration of your role session with the <code>DurationSeconds</code> parameter. You can
135
+ * specify a parameter value of up to 43200 seconds (12 hours), depending on the maximum
136
+ * session duration setting for your role. However, if you assume a role using role chaining
137
+ * and provide a <code>DurationSeconds</code> parameter value greater than one hour, the
138
+ * operation fails. To learn how to view the maximum value for your role, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html#id_roles_use_view-role-max-session">View the
139
+ * Maximum Session Duration Setting for a Role</a> in the
140
+ * <i>IAM User Guide</i>.</p>
141
+ * <p>By default, the value is set to <code>3600</code> seconds. </p>
142
+ * <note>
143
+ * <p>The <code>DurationSeconds</code> parameter is separate from the duration of a console
144
+ * session that you might request using the returned credentials. The request to the
145
+ * federation endpoint for a console sign-in token takes a <code>SessionDuration</code>
146
+ * parameter that specifies the maximum length of the console session. For more
147
+ * information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html">Creating a URL
148
+ * that Enables Federated Users to Access the Amazon Web Services Management Console</a> in the
149
+ * <i>IAM User Guide</i>.</p>
150
+ * </note>
151
+ */
152
+ DurationSeconds?: number;
153
+ /**
154
+ * <p>A list of session tags that you want to pass. Each session tag consists of a key name
155
+ * 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
156
+ * Sessions</a> in the <i>IAM User Guide</i>.</p>
157
+ * <p>This parameter is optional. You can pass up to 50 session tags. The plaintext session
158
+ * tag keys can’t exceed 128 characters, and the values can’t exceed 256 characters. For these
159
+ * and additional limits, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length">IAM
160
+ * and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
161
+ *
162
+ * <note>
163
+ * <p>An Amazon Web Services conversion compresses the passed session policies and session tags into a
164
+ * packed binary format that has a separate limit. Your request can fail for this limit
165
+ * even if your plaintext meets the other requirements. The <code>PackedPolicySize</code>
166
+ * response element indicates by percentage how close the policies and tags for your
167
+ * request are to the upper size limit.
168
+ * </p>
169
+ * </note>
170
+ *
171
+ * <p>You can pass a session tag with the same key as a tag that is already attached to the
172
+ * role. When you do, session tags override a role tag with the same key. </p>
173
+ * <p>Tag key–value pairs are not case sensitive, but case is preserved. This means that you
174
+ * cannot have separate <code>Department</code> and <code>department</code> tag keys. Assume
175
+ * that the role has the <code>Department</code>=<code>Marketing</code> tag and you pass the
176
+ * <code>department</code>=<code>engineering</code> session tag. <code>Department</code>
177
+ * and <code>department</code> are not saved as separate tags, and the session tag passed in
178
+ * the request takes precedence over the role tag.</p>
179
+ * <p>Additionally, if you used temporary credentials to perform this operation, the new
180
+ * session inherits any transitive session tags from the calling session. If you pass a
181
+ * session tag with the same key as an inherited tag, the operation fails. To view the
182
+ * inherited tags for a session, see the CloudTrail logs. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_ctlogs">Viewing Session Tags in CloudTrail</a> in the
183
+ * <i>IAM User Guide</i>.</p>
184
+ */
185
+ Tags?: Tag[];
186
+ /**
187
+ * <p>A list of keys for session tags that you want to set as transitive. If you set a tag key
188
+ * as transitive, the corresponding key and value passes to subsequent sessions in a role
189
+ * chain. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_role-chaining">Chaining Roles
190
+ * with Session Tags</a> in the <i>IAM User Guide</i>.</p>
191
+ * <p>This parameter is optional. When you set session tags as transitive, the session policy
192
+ * and session tags packed binary limit is not affected.</p>
193
+ * <p>If you choose not to specify a transitive tag key, then no tags are passed from this
194
+ * session to any subsequent sessions.</p>
195
+ */
196
+ TransitiveTagKeys?: string[];
197
+ /**
198
+ * <p>A unique identifier that might be required when you assume a role in another account. If
199
+ * the administrator of the account to which the role belongs provided you with an external
200
+ * ID, then provide that value in the <code>ExternalId</code> parameter. This value can be any
201
+ * string, such as a passphrase or account number. A cross-account role is usually set up to
202
+ * trust everyone in an account. Therefore, the administrator of the trusting account might
203
+ * send an external ID to the administrator of the trusted account. That way, only someone
204
+ * with the ID can assume the role, rather than everyone in the account. For more information
205
+ * about the external ID, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html">How to Use an External ID
206
+ * When Granting Access to Your Amazon Web Services Resources to a Third Party</a> in the
207
+ * <i>IAM User Guide</i>.</p>
208
+ * <p>The regex used to validate this parameter is a string of
209
+ * characters consisting of upper- and lower-case alphanumeric characters with no spaces.
210
+ * You can also include underscores or any of the following characters: =,.@:/-</p>
211
+ */
212
+ ExternalId?: string;
213
+ /**
214
+ * <p>The identification number of the MFA device that is associated with the user who is
215
+ * making the <code>AssumeRole</code> call. Specify this value if the trust policy of the role
216
+ * being assumed includes a condition that requires MFA authentication. The value is either
217
+ * the serial number for a hardware device (such as <code>GAHT12345678</code>) or an Amazon
218
+ * Resource Name (ARN) for a virtual device (such as
219
+ * <code>arn:aws:iam::123456789012:mfa/user</code>).</p>
220
+ * <p>The regex used to validate this parameter is a string of characters
221
+ * consisting of upper- and lower-case alphanumeric characters with no spaces. You can
222
+ * also include underscores or any of the following characters: =,.@-</p>
223
+ */
224
+ SerialNumber?: string;
225
+ /**
226
+ * <p>The value provided by the MFA device, if the trust policy of the role being assumed
227
+ * requires MFA. (In other words, if the policy includes a condition that tests for MFA). If
228
+ * the role being assumed requires MFA and if the <code>TokenCode</code> value is missing or
229
+ * expired, the <code>AssumeRole</code> call returns an "access denied" error.</p>
230
+ * <p>The format for this parameter, as described by its regex pattern, is a sequence of six
231
+ * numeric digits.</p>
232
+ */
233
+ TokenCode?: string;
234
+ /**
235
+ * <p>The source identity specified by the principal that is calling the
236
+ * <code>AssumeRole</code> operation.</p>
237
+ * <p>You can require users to specify a source identity when they assume a role. You do this
238
+ * by using the <code>sts:SourceIdentity</code> condition key in a role trust policy. You can
239
+ * use source identity information in CloudTrail logs to determine who took actions with a role.
240
+ * You can use the <code>aws:SourceIdentity</code> condition key to further control access to
241
+ * Amazon Web Services resources based on the value of source identity. For more information about using
242
+ * source identity, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html">Monitor and control
243
+ * actions taken with assumed roles</a> in the
244
+ * <i>IAM User Guide</i>.</p>
245
+ * <p>The regex used to validate this parameter is a string of characters consisting of upper-
246
+ * and lower-case alphanumeric characters with no spaces. You can also include underscores or
247
+ * any of the following characters: =,.@-. You cannot use a value that begins with the text
248
+ * <code>aws:</code>. This prefix is reserved for Amazon Web Services internal use.</p>
249
+ */
250
+ SourceIdentity?: string;
251
+ }
252
+ /**
253
+ * <p>Amazon Web Services credentials for API authentication.</p>
254
+ */
255
+ export interface Credentials {
256
+ /**
257
+ * <p>The access key ID that identifies the temporary security credentials.</p>
258
+ */
259
+ AccessKeyId: string | undefined;
260
+ /**
261
+ * <p>The secret access key that can be used to sign requests.</p>
262
+ */
263
+ SecretAccessKey: string | undefined;
264
+ /**
265
+ * <p>The token that users must pass to the service API to use the temporary
266
+ * credentials.</p>
267
+ */
268
+ SessionToken: string | undefined;
269
+ /**
270
+ * <p>The date on which the current credentials expire.</p>
271
+ */
272
+ Expiration: Date | undefined;
273
+ }
274
+ /**
275
+ * <p>Contains the response to a successful <a>AssumeRole</a> request, including
276
+ * temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests. </p>
277
+ */
278
+ export interface AssumeRoleResponse {
279
+ /**
280
+ * <p>The temporary security credentials, which include an access key ID, a secret access key,
281
+ * and a security (or session) token.</p>
282
+ *
283
+ * <note>
284
+ * <p>The size of the security token that STS API operations return is not fixed. We
285
+ * strongly recommend that you make no assumptions about the maximum size.</p>
286
+ * </note>
287
+ */
288
+ Credentials?: Credentials;
289
+ /**
290
+ * <p>The Amazon Resource Name (ARN) and the assumed role ID, which are identifiers that you
291
+ * can use to refer to the resulting temporary security credentials. For example, you can
292
+ * reference these credentials as a principal in a resource-based policy by using the ARN or
293
+ * assumed role ID. The ARN and ID include the <code>RoleSessionName</code> that you specified
294
+ * when you called <code>AssumeRole</code>. </p>
295
+ */
296
+ AssumedRoleUser?: AssumedRoleUser;
297
+ /**
298
+ * <p>A percentage value that indicates the packed size of the session policies and session
299
+ * tags combined passed in the request. The request fails if the packed size is greater than 100 percent,
300
+ * which means the policies and tags exceeded the allowed space.</p>
301
+ */
302
+ PackedPolicySize?: number;
303
+ /**
304
+ * <p>The source identity specified by the principal that is calling the
305
+ * <code>AssumeRole</code> operation.</p>
306
+ * <p>You can require users to specify a source identity when they assume a role. You do this
307
+ * by using the <code>sts:SourceIdentity</code> condition key in a role trust policy. You can
308
+ * use source identity information in CloudTrail logs to determine who took actions with a role.
309
+ * You can use the <code>aws:SourceIdentity</code> condition key to further control access to
310
+ * Amazon Web Services resources based on the value of source identity. For more information about using
311
+ * source identity, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html">Monitor and control
312
+ * actions taken with assumed roles</a> in the
313
+ * <i>IAM User Guide</i>.</p>
314
+ * <p>The regex used to validate this parameter is a string of characters consisting of upper-
315
+ * and lower-case alphanumeric characters with no spaces. You can also include underscores or
316
+ * any of the following characters: =,.@-</p>
317
+ */
318
+ SourceIdentity?: string;
319
+ }
320
+ /**
321
+ * <p>The web identity token that was passed is expired or is not valid. Get a new identity
322
+ * token from the identity provider and then retry the request.</p>
323
+ */
324
+ export declare class ExpiredTokenException extends __BaseException {
325
+ readonly name: "ExpiredTokenException";
326
+ readonly $fault: "client";
327
+ /**
328
+ * @internal
329
+ */
330
+ constructor(opts: __ExceptionOptionType<ExpiredTokenException, __BaseException>);
331
+ }
332
+ /**
333
+ * <p>The request was rejected because the policy document was malformed. The error message
334
+ * describes the specific error.</p>
335
+ */
336
+ export declare class MalformedPolicyDocumentException extends __BaseException {
337
+ readonly name: "MalformedPolicyDocumentException";
338
+ readonly $fault: "client";
339
+ /**
340
+ * @internal
341
+ */
342
+ constructor(opts: __ExceptionOptionType<MalformedPolicyDocumentException, __BaseException>);
343
+ }
344
+ /**
345
+ * <p>The request was rejected because the total packed size of the session policies and
346
+ * session tags combined was too large. An Amazon Web Services conversion compresses the session policy
347
+ * document, session policy ARNs, and session tags into a packed binary format that has a
348
+ * separate limit. The error message indicates by percentage how close the policies and
349
+ * tags are to the upper size limit. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html">Passing Session Tags in STS</a> in
350
+ * the <i>IAM User Guide</i>.</p>
351
+ * <p>You could receive this error even though you meet other defined session policy and
352
+ * session tag limits. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length">IAM and STS Entity
353
+ * Character Limits</a> in the <i>IAM User Guide</i>.</p>
354
+ */
355
+ export declare class PackedPolicyTooLargeException extends __BaseException {
356
+ readonly name: "PackedPolicyTooLargeException";
357
+ readonly $fault: "client";
358
+ /**
359
+ * @internal
360
+ */
361
+ constructor(opts: __ExceptionOptionType<PackedPolicyTooLargeException, __BaseException>);
362
+ }
363
+ /**
364
+ * <p>STS is not activated in the requested region for the account that is being asked to
365
+ * generate credentials. The account administrator must use the IAM console to activate STS
366
+ * in that region. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html">Activating and
367
+ * Deactivating Amazon Web Services STS in an Amazon Web Services Region</a> in the <i>IAM User
368
+ * Guide</i>.</p>
369
+ */
370
+ export declare class RegionDisabledException extends __BaseException {
371
+ readonly name: "RegionDisabledException";
372
+ readonly $fault: "client";
373
+ /**
374
+ * @internal
375
+ */
376
+ constructor(opts: __ExceptionOptionType<RegionDisabledException, __BaseException>);
377
+ }
378
+ export interface AssumeRoleWithSAMLRequest {
379
+ /**
380
+ * <p>The Amazon Resource Name (ARN) of the role that the caller is assuming.</p>
381
+ */
382
+ RoleArn: string | undefined;
383
+ /**
384
+ * <p>The Amazon Resource Name (ARN) of the SAML provider in IAM that describes the
385
+ * IdP.</p>
386
+ */
387
+ PrincipalArn: string | undefined;
388
+ /**
389
+ * <p>The base64 encoded SAML authentication response provided by the IdP.</p>
390
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/create-role-saml-IdP-tasks.html">Configuring a Relying Party and
391
+ * Adding Claims</a> in the <i>IAM User Guide</i>. </p>
392
+ */
393
+ SAMLAssertion: string | undefined;
394
+ /**
395
+ * <p>The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as
396
+ * managed session policies. The policies must exist in the same account as the role.</p>
397
+ * <p>This parameter is optional. You can provide up to 10 managed policy ARNs. However, the
398
+ * plaintext that you use for both inline and managed session policies can't exceed 2,048
399
+ * characters. 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) and Amazon Web Services
400
+ * Service Namespaces</a> in the Amazon Web Services General Reference.</p>
401
+ *
402
+ * <note>
403
+ * <p>An Amazon Web Services conversion compresses the passed session policies and session tags into a
404
+ * packed binary format that has a separate limit. Your request can fail for this limit
405
+ * even if your plaintext meets the other requirements. The <code>PackedPolicySize</code>
406
+ * response element indicates by percentage how close the policies and tags for your
407
+ * request are to the upper size limit.
408
+ * </p>
409
+ * </note>
410
+ *
411
+ * <p>Passing policies to this operation returns new
412
+ * temporary credentials. The resulting session's permissions are the intersection of the
413
+ * role's identity-based policy and the session policies. You can use the role's temporary
414
+ * credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
415
+ * the role. You cannot use session policies to grant more permissions than those allowed
416
+ * by the identity-based policy of the role that is being assumed. For more information, see
417
+ * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">Session
418
+ * Policies</a> in the <i>IAM User Guide</i>.</p>
419
+ */
420
+ PolicyArns?: PolicyDescriptorType[];
421
+ /**
422
+ * <p>An IAM policy in JSON format that you want to use as an inline session policy.</p>
423
+ * <p>This parameter is optional. Passing policies to this operation returns new
424
+ * temporary credentials. The resulting session's permissions are the intersection of the
425
+ * role's identity-based policy and the session policies. You can use the role's temporary
426
+ * credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
427
+ * the role. You cannot use session policies to grant more permissions than those allowed
428
+ * by the identity-based policy of the role that is being assumed. For more information, see
429
+ * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">Session
430
+ * Policies</a> in the <i>IAM User Guide</i>. </p>
431
+ * <p>The plaintext that you use for both inline and managed session policies can't exceed
432
+ * 2,048 characters. The JSON policy characters can be any ASCII character from the space
433
+ * character to the end of the valid character list (\u0020 through \u00FF). It can also
434
+ * include the tab (\u0009), linefeed (\u000A), and carriage return (\u000D)
435
+ * characters.</p>
436
+ *
437
+ * <note>
438
+ * <p>An Amazon Web Services conversion compresses the passed session policies and session tags into a
439
+ * packed binary format that has a separate limit. Your request can fail for this limit
440
+ * even if your plaintext meets the other requirements. The <code>PackedPolicySize</code>
441
+ * response element indicates by percentage how close the policies and tags for your
442
+ * request are to the upper size limit.
443
+ * </p>
444
+ * </note>
445
+ */
446
+ Policy?: string;
447
+ /**
448
+ * <p>The duration, in seconds, of the role session. Your role session lasts for the duration
449
+ * that you specify for the <code>DurationSeconds</code> parameter, or until the time
450
+ * specified in the SAML authentication response's <code>SessionNotOnOrAfter</code> value,
451
+ * whichever is shorter. You can provide a <code>DurationSeconds</code> value from 900 seconds
452
+ * (15 minutes) up to the maximum session duration setting for the role. This setting can have
453
+ * a value from 1 hour to 12 hours. If you specify a value higher than this setting, the
454
+ * operation fails. For example, if you specify a session duration of 12 hours, but your
455
+ * administrator set the maximum session duration to 6 hours, your operation fails. To learn
456
+ * how to view the maximum value for your role, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html#id_roles_use_view-role-max-session">View the
457
+ * Maximum Session Duration Setting for a Role</a> in the
458
+ * <i>IAM User Guide</i>.</p>
459
+ * <p>By default, the value is set to <code>3600</code> seconds. </p>
460
+ * <note>
461
+ * <p>The <code>DurationSeconds</code> parameter is separate from the duration of a console
462
+ * session that you might request using the returned credentials. The request to the
463
+ * federation endpoint for a console sign-in token takes a <code>SessionDuration</code>
464
+ * parameter that specifies the maximum length of the console session. For more
465
+ * information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html">Creating a URL
466
+ * that Enables Federated Users to Access the Amazon Web Services Management Console</a> in the
467
+ * <i>IAM User Guide</i>.</p>
468
+ * </note>
469
+ */
470
+ DurationSeconds?: number;
471
+ }
472
+ /**
473
+ * <p>Contains the response to a successful <a>AssumeRoleWithSAML</a> request,
474
+ * including temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests. </p>
475
+ */
476
+ export interface AssumeRoleWithSAMLResponse {
477
+ /**
478
+ * <p>The temporary security credentials, which include an access key ID, a secret access key,
479
+ * and a security (or session) token.</p>
480
+ *
481
+ * <note>
482
+ * <p>The size of the security token that STS API operations return is not fixed. We
483
+ * strongly recommend that you make no assumptions about the maximum size.</p>
484
+ * </note>
485
+ */
486
+ Credentials?: Credentials;
487
+ /**
488
+ * <p>The identifiers for the temporary security credentials that the operation
489
+ * returns.</p>
490
+ */
491
+ AssumedRoleUser?: AssumedRoleUser;
492
+ /**
493
+ * <p>A percentage value that indicates the packed size of the session policies and session
494
+ * tags combined passed in the request. The request fails if the packed size is greater than 100 percent,
495
+ * which means the policies and tags exceeded the allowed space.</p>
496
+ */
497
+ PackedPolicySize?: number;
498
+ /**
499
+ * <p>The value of the <code>NameID</code> element in the <code>Subject</code> element of the
500
+ * SAML assertion.</p>
501
+ */
502
+ Subject?: string;
503
+ /**
504
+ * <p> The format of the name ID, as defined by the <code>Format</code> attribute in the
505
+ * <code>NameID</code> element of the SAML assertion. Typical examples of the format are
506
+ * <code>transient</code> or <code>persistent</code>. </p>
507
+ * <p> If the format includes the prefix
508
+ * <code>urn:oasis:names:tc:SAML:2.0:nameid-format</code>, that prefix is removed. For
509
+ * example, <code>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</code> is returned as
510
+ * <code>transient</code>. If the format includes any other prefix, the format is returned
511
+ * with no modifications.</p>
512
+ */
513
+ SubjectType?: string;
514
+ /**
515
+ * <p>The value of the <code>Issuer</code> element of the SAML assertion.</p>
516
+ */
517
+ Issuer?: string;
518
+ /**
519
+ * <p> The value of the <code>Recipient</code> attribute of the
520
+ * <code>SubjectConfirmationData</code> element of the SAML assertion. </p>
521
+ */
522
+ Audience?: string;
523
+ /**
524
+ * <p>A hash value based on the concatenation of the following:</p>
525
+ * <ul>
526
+ * <li>
527
+ * <p>The <code>Issuer</code> response value.</p>
528
+ * </li>
529
+ * <li>
530
+ * <p>The Amazon Web Services account ID.</p>
531
+ * </li>
532
+ * <li>
533
+ * <p>The friendly name (the last part of the ARN) of the SAML provider in IAM.</p>
534
+ * </li>
535
+ * </ul>
536
+ * <p>The combination of <code>NameQualifier</code> and <code>Subject</code> can be used to
537
+ * uniquely identify a federated user.</p>
538
+ * <p>The following pseudocode shows how the hash value is calculated:</p>
539
+ * <p>
540
+ * <code>BASE64 ( SHA1 ( "https://example.com/saml" + "123456789012" + "/MySAMLIdP" ) )</code>
541
+ * </p>
542
+ */
543
+ NameQualifier?: string;
544
+ /**
545
+ * <p>The value in the <code>SourceIdentity</code> attribute in the SAML assertion. </p>
546
+ * <p>You can require users to set a source identity value when they assume a role. You do
547
+ * this by using the <code>sts:SourceIdentity</code> condition key in a role trust policy.
548
+ * That way, actions that are taken with the role are associated with that user. After the
549
+ * source identity is set, the value cannot be changed. It is present in the request for all
550
+ * actions that are taken by the role and persists across <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts#iam-term-role-chaining">chained
551
+ * role</a> sessions. You can configure your SAML identity provider to use an attribute
552
+ * associated with your users, like user name or email, as the source identity when calling
553
+ * <code>AssumeRoleWithSAML</code>. You do this by adding an attribute to the SAML
554
+ * assertion. For more information about using source identity, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html">Monitor and control
555
+ * actions taken with assumed roles</a> in the
556
+ * <i>IAM User Guide</i>.</p>
557
+ * <p>The regex used to validate this parameter is a string of characters
558
+ * consisting of upper- and lower-case alphanumeric characters with no spaces. You can
559
+ * also include underscores or any of the following characters: =,.@-</p>
560
+ */
561
+ SourceIdentity?: string;
562
+ }
563
+ /**
564
+ * <p>The identity provider (IdP) reported that authentication failed. This might be because
565
+ * the claim is invalid.</p>
566
+ * <p>If this error is returned for the <code>AssumeRoleWithWebIdentity</code> operation, it
567
+ * can also mean that the claim has expired or has been explicitly revoked. </p>
568
+ */
569
+ export declare class IDPRejectedClaimException extends __BaseException {
570
+ readonly name: "IDPRejectedClaimException";
571
+ readonly $fault: "client";
572
+ /**
573
+ * @internal
574
+ */
575
+ constructor(opts: __ExceptionOptionType<IDPRejectedClaimException, __BaseException>);
576
+ }
577
+ /**
578
+ * <p>The web identity token that was passed could not be validated by Amazon Web Services. Get a new
579
+ * identity token from the identity provider and then retry the request.</p>
580
+ */
581
+ export declare class InvalidIdentityTokenException extends __BaseException {
582
+ readonly name: "InvalidIdentityTokenException";
583
+ readonly $fault: "client";
584
+ /**
585
+ * @internal
586
+ */
587
+ constructor(opts: __ExceptionOptionType<InvalidIdentityTokenException, __BaseException>);
588
+ }
589
+ export interface AssumeRoleWithWebIdentityRequest {
590
+ /**
591
+ * <p>The Amazon Resource Name (ARN) of the role that the caller is assuming.</p>
592
+ */
593
+ RoleArn: string | undefined;
594
+ /**
595
+ * <p>An identifier for the assumed role session. Typically, you pass the name or identifier
596
+ * that is associated with the user who is using your application. That way, the temporary
597
+ * security credentials that your application will use are associated with that user. This
598
+ * session name is included as part of the ARN and assumed role ID in the
599
+ * <code>AssumedRoleUser</code> response element.</p>
600
+ * <p>The regex used to validate this parameter is a string of characters
601
+ * consisting of upper- and lower-case alphanumeric characters with no spaces. You can
602
+ * also include underscores or any of the following characters: =,.@-</p>
603
+ */
604
+ RoleSessionName: string | undefined;
605
+ /**
606
+ * <p>The OAuth 2.0 access token or OpenID Connect ID token that is provided by the identity
607
+ * provider. Your application must get this token by authenticating the user who is using your
608
+ * application with a web identity provider before the application makes an
609
+ * <code>AssumeRoleWithWebIdentity</code> call. </p>
610
+ */
611
+ WebIdentityToken: string | undefined;
612
+ /**
613
+ * <p>The fully qualified host component of the domain name of the OAuth 2.0 identity
614
+ * provider. Do not specify this value for an OpenID Connect identity provider.</p>
615
+ * <p>Currently <code>www.amazon.com</code> and <code>graph.facebook.com</code> are the only
616
+ * supported identity providers for OAuth 2.0 access tokens. Do not include URL schemes and
617
+ * port numbers.</p>
618
+ * <p>Do not specify this value for OpenID Connect ID tokens.</p>
619
+ */
620
+ ProviderId?: string;
621
+ /**
622
+ * <p>The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as
623
+ * managed session policies. The policies must exist in the same account as the role.</p>
624
+ * <p>This parameter is optional. You can provide up to 10 managed policy ARNs. However, the
625
+ * plaintext that you use for both inline and managed session policies can't exceed 2,048
626
+ * characters. 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) and Amazon Web Services
627
+ * Service Namespaces</a> in the Amazon Web Services General Reference.</p>
628
+ *
629
+ * <note>
630
+ * <p>An Amazon Web Services conversion compresses the passed session policies and session tags into a
631
+ * packed binary format that has a separate limit. Your request can fail for this limit
632
+ * even if your plaintext meets the other requirements. The <code>PackedPolicySize</code>
633
+ * response element indicates by percentage how close the policies and tags for your
634
+ * request are to the upper size limit.
635
+ * </p>
636
+ * </note>
637
+ *
638
+ * <p>Passing policies to this operation returns new
639
+ * temporary credentials. The resulting session's permissions are the intersection of the
640
+ * role's identity-based policy and the session policies. You can use the role's temporary
641
+ * credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
642
+ * the role. You cannot use session policies to grant more permissions than those allowed
643
+ * by the identity-based policy of the role that is being assumed. For more information, see
644
+ * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">Session
645
+ * Policies</a> in the <i>IAM User Guide</i>.</p>
646
+ */
647
+ PolicyArns?: PolicyDescriptorType[];
648
+ /**
649
+ * <p>An IAM policy in JSON format that you want to use as an inline session policy.</p>
650
+ * <p>This parameter is optional. Passing policies to this operation returns new
651
+ * temporary credentials. The resulting session's permissions are the intersection of the
652
+ * role's identity-based policy and the session policies. You can use the role's temporary
653
+ * credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
654
+ * the role. You cannot use session policies to grant more permissions than those allowed
655
+ * by the identity-based policy of the role that is being assumed. For more information, see
656
+ * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">Session
657
+ * Policies</a> in the <i>IAM User Guide</i>.</p>
658
+ * <p>The plaintext that you use for both inline and managed session policies can't exceed
659
+ * 2,048 characters. The JSON policy characters can be any ASCII character from the space
660
+ * character to the end of the valid character list (\u0020 through \u00FF). It can also
661
+ * include the tab (\u0009), linefeed (\u000A), and carriage return (\u000D)
662
+ * characters.</p>
663
+ *
664
+ * <note>
665
+ * <p>An Amazon Web Services conversion compresses the passed session policies and session tags into a
666
+ * packed binary format that has a separate limit. Your request can fail for this limit
667
+ * even if your plaintext meets the other requirements. The <code>PackedPolicySize</code>
668
+ * response element indicates by percentage how close the policies and tags for your
669
+ * request are to the upper size limit.
670
+ * </p>
671
+ * </note>
672
+ */
673
+ Policy?: string;
674
+ /**
675
+ * <p>The duration, in seconds, of the role session. The value can range from 900 seconds (15
676
+ * minutes) up to the maximum session duration setting for the role. This setting can have a
677
+ * value from 1 hour to 12 hours. If you specify a value higher than this setting, the
678
+ * operation fails. For example, if you specify a session duration of 12 hours, but your
679
+ * administrator set the maximum session duration to 6 hours, your operation fails. To learn
680
+ * how to view the maximum value for your role, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html#id_roles_use_view-role-max-session">View the
681
+ * Maximum Session Duration Setting for a Role</a> in the
682
+ * <i>IAM User Guide</i>.</p>
683
+ * <p>By default, the value is set to <code>3600</code> seconds. </p>
684
+ * <note>
685
+ * <p>The <code>DurationSeconds</code> parameter is separate from the duration of a console
686
+ * session that you might request using the returned credentials. The request to the
687
+ * federation endpoint for a console sign-in token takes a <code>SessionDuration</code>
688
+ * parameter that specifies the maximum length of the console session. For more
689
+ * information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_enable-console-custom-url.html">Creating a URL
690
+ * that Enables Federated Users to Access the Amazon Web Services Management Console</a> in the
691
+ * <i>IAM User Guide</i>.</p>
692
+ * </note>
693
+ */
694
+ DurationSeconds?: number;
695
+ }
696
+ /**
697
+ * <p>Contains the response to a successful <a>AssumeRoleWithWebIdentity</a>
698
+ * request, including temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests. </p>
699
+ */
700
+ export interface AssumeRoleWithWebIdentityResponse {
701
+ /**
702
+ * <p>The temporary security credentials, which include an access key ID, a secret access key,
703
+ * and a security token.</p>
704
+ *
705
+ * <note>
706
+ * <p>The size of the security token that STS API operations return is not fixed. We
707
+ * strongly recommend that you make no assumptions about the maximum size.</p>
708
+ * </note>
709
+ */
710
+ Credentials?: Credentials;
711
+ /**
712
+ * <p>The unique user identifier that is returned by the identity provider. This identifier is
713
+ * associated with the <code>WebIdentityToken</code> that was submitted with the
714
+ * <code>AssumeRoleWithWebIdentity</code> call. The identifier is typically unique to the
715
+ * user and the application that acquired the <code>WebIdentityToken</code> (pairwise
716
+ * identifier). For OpenID Connect ID tokens, this field contains the value returned by the
717
+ * identity provider as the token's <code>sub</code> (Subject) claim. </p>
718
+ */
719
+ SubjectFromWebIdentityToken?: string;
720
+ /**
721
+ * <p>The Amazon Resource Name (ARN) and the assumed role ID, which are identifiers that you
722
+ * can use to refer to the resulting temporary security credentials. For example, you can
723
+ * reference these credentials as a principal in a resource-based policy by using the ARN or
724
+ * assumed role ID. The ARN and ID include the <code>RoleSessionName</code> that you specified
725
+ * when you called <code>AssumeRole</code>. </p>
726
+ */
727
+ AssumedRoleUser?: AssumedRoleUser;
728
+ /**
729
+ * <p>A percentage value that indicates the packed size of the session policies and session
730
+ * tags combined passed in the request. The request fails if the packed size is greater than 100 percent,
731
+ * which means the policies and tags exceeded the allowed space.</p>
732
+ */
733
+ PackedPolicySize?: number;
734
+ /**
735
+ * <p> The issuing authority of the web identity token presented. For OpenID Connect ID
736
+ * tokens, this contains the value of the <code>iss</code> field. For OAuth 2.0 access tokens,
737
+ * this contains the value of the <code>ProviderId</code> parameter that was passed in the
738
+ * <code>AssumeRoleWithWebIdentity</code> request.</p>
739
+ */
740
+ Provider?: string;
741
+ /**
742
+ * <p>The intended audience (also known as client ID) of the web identity token. This is
743
+ * traditionally the client identifier issued to the application that requested the web
744
+ * identity token.</p>
745
+ */
746
+ Audience?: string;
747
+ /**
748
+ * <p>The value of the source identity that is returned in the JSON web token (JWT) from the
749
+ * identity provider.</p>
750
+ * <p>You can require users to set a source identity value when they assume a role. You do
751
+ * this by using the <code>sts:SourceIdentity</code> condition key in a role trust policy.
752
+ * That way, actions that are taken with the role are associated with that user. After the
753
+ * source identity is set, the value cannot be changed. It is present in the request for all
754
+ * actions that are taken by the role and persists across <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts#iam-term-role-chaining">chained
755
+ * role</a> sessions. You can configure your identity provider to use an attribute
756
+ * associated with your users, like user name or email, as the source identity when calling
757
+ * <code>AssumeRoleWithWebIdentity</code>. You do this by adding a claim to the JSON web
758
+ * token. To learn more about OIDC tokens and claims, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-with-identity-providers.html">Using Tokens with User Pools</a> in the <i>Amazon Cognito Developer Guide</i>.
759
+ * For more information about using source identity, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_monitor.html">Monitor and control
760
+ * actions taken with assumed roles</a> in the
761
+ * <i>IAM User Guide</i>.</p>
762
+ * <p>The regex used to validate this parameter is a string of characters
763
+ * consisting of upper- and lower-case alphanumeric characters with no spaces. You can
764
+ * also include underscores or any of the following characters: =,.@-</p>
765
+ */
766
+ SourceIdentity?: string;
767
+ }
768
+ /**
769
+ * <p>The request could not be fulfilled because the identity provider (IDP) that
770
+ * was asked to verify the incoming identity token could not be reached. This is often a
771
+ * transient error caused by network conditions. Retry the request a limited number of
772
+ * times so that you don't exceed the request rate. If the error persists, the
773
+ * identity provider might be down or not responding.</p>
774
+ */
775
+ export declare class IDPCommunicationErrorException extends __BaseException {
776
+ readonly name: "IDPCommunicationErrorException";
777
+ readonly $fault: "client";
778
+ /**
779
+ * @internal
780
+ */
781
+ constructor(opts: __ExceptionOptionType<IDPCommunicationErrorException, __BaseException>);
782
+ }
783
+ export interface DecodeAuthorizationMessageRequest {
784
+ /**
785
+ * <p>The encoded message that was returned with the response.</p>
786
+ */
787
+ EncodedMessage: string | undefined;
788
+ }
789
+ /**
790
+ * <p>A document that contains additional information about the authorization status of a
791
+ * request from an encoded message that is returned in response to an Amazon Web Services request.</p>
792
+ */
793
+ export interface DecodeAuthorizationMessageResponse {
794
+ /**
795
+ * <p>The API returns a response with the decoded message.</p>
796
+ */
797
+ DecodedMessage?: string;
798
+ }
799
+ /**
800
+ * <p>The error returned if the message passed to <code>DecodeAuthorizationMessage</code>
801
+ * was invalid. This can happen if the token contains invalid characters, such as
802
+ * linebreaks. </p>
803
+ */
804
+ export declare class InvalidAuthorizationMessageException extends __BaseException {
805
+ readonly name: "InvalidAuthorizationMessageException";
806
+ readonly $fault: "client";
807
+ /**
808
+ * @internal
809
+ */
810
+ constructor(opts: __ExceptionOptionType<InvalidAuthorizationMessageException, __BaseException>);
811
+ }
812
+ export interface GetAccessKeyInfoRequest {
813
+ /**
814
+ * <p>The identifier of an access key.</p>
815
+ * <p>This parameter allows (through its regex pattern) a string of characters that can
816
+ * consist of any upper- or lowercase letter or digit.</p>
817
+ */
818
+ AccessKeyId: string | undefined;
819
+ }
820
+ export interface GetAccessKeyInfoResponse {
821
+ /**
822
+ * <p>The number used to identify the Amazon Web Services account.</p>
823
+ */
824
+ Account?: string;
825
+ }
826
+ export interface GetCallerIdentityRequest {
827
+ }
828
+ /**
829
+ * <p>Contains the response to a successful <a>GetCallerIdentity</a> request,
830
+ * including information about the entity making the request.</p>
831
+ */
832
+ export interface GetCallerIdentityResponse {
833
+ /**
834
+ * <p>The unique identifier of the calling entity. The exact value depends on the type of
835
+ * entity that is making the call. The values returned are those listed in the <b>aws:userid</b> column in the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_variables.html#principaltable">Principal
836
+ * table</a> found on the <b>Policy Variables</b> reference
837
+ * page in the <i>IAM User Guide</i>.</p>
838
+ */
839
+ UserId?: string;
840
+ /**
841
+ * <p>The Amazon Web Services account ID number of the account that owns or contains the calling
842
+ * entity.</p>
843
+ */
844
+ Account?: string;
845
+ /**
846
+ * <p>The Amazon Web Services ARN associated with the calling entity.</p>
847
+ */
848
+ Arn?: string;
849
+ }
850
+ export interface GetFederationTokenRequest {
851
+ /**
852
+ * <p>The name of the federated user. The name is used as an identifier for the temporary
853
+ * security credentials (such as <code>Bob</code>). For example, you can reference the
854
+ * federated user name in a resource-based policy, such as in an Amazon S3 bucket policy.</p>
855
+ * <p>The regex used to validate this parameter is a string of characters
856
+ * consisting of upper- and lower-case alphanumeric characters with no spaces. You can
857
+ * also include underscores or any of the following characters: =,.@-</p>
858
+ */
859
+ Name: string | undefined;
860
+ /**
861
+ * <p>An IAM policy in JSON format that you want to use as an inline session policy.</p>
862
+ * <p>You must pass an inline or managed <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">session policy</a> to
863
+ * this operation. You can pass a single JSON policy document to use as an inline session
864
+ * policy. You can also specify up to 10 managed policies to use as managed session
865
+ * policies.</p>
866
+ * <p>This parameter is optional. However, if you do not pass any session policies, then the
867
+ * resulting federated user session has no permissions.</p>
868
+ * <p>When you pass session policies, the session permissions are the intersection of the
869
+ * IAM user policies and the session policies that you pass. This gives you a way to further
870
+ * restrict the permissions for a federated user. You cannot use session policies to grant
871
+ * more permissions than those that are defined in the permissions policy of the IAM user.
872
+ * For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">Session Policies</a> in
873
+ * the <i>IAM User Guide</i>.</p>
874
+ * <p>The resulting credentials can be used to access a resource that has a resource-based
875
+ * policy. If that policy specifically references the federated user session in the
876
+ * <code>Principal</code> element of the policy, the session has the permissions allowed by
877
+ * the policy. These permissions are granted in addition to the permissions that are granted
878
+ * by the session policies.</p>
879
+ * <p>The plaintext that you use for both inline and managed session policies can't exceed
880
+ * 2,048 characters. The JSON policy characters can be any ASCII character from the space
881
+ * character to the end of the valid character list (\u0020 through \u00FF). It can also
882
+ * include the tab (\u0009), linefeed (\u000A), and carriage return (\u000D)
883
+ * characters.</p>
884
+ *
885
+ * <note>
886
+ * <p>An Amazon Web Services conversion compresses the passed session policies and session tags into a
887
+ * packed binary format that has a separate limit. Your request can fail for this limit
888
+ * even if your plaintext meets the other requirements. The <code>PackedPolicySize</code>
889
+ * response element indicates by percentage how close the policies and tags for your
890
+ * request are to the upper size limit.
891
+ * </p>
892
+ * </note>
893
+ */
894
+ Policy?: string;
895
+ /**
896
+ * <p>The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as a
897
+ * managed session policy. The policies must exist in the same account as the IAM user that
898
+ * is requesting federated access.</p>
899
+ * <p>You must pass an inline or managed <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">session policy</a> to
900
+ * this operation. You can pass a single JSON policy document to use as an inline session
901
+ * policy. You can also specify up to 10 managed policies to use as managed session policies.
902
+ * The plaintext that you use for both inline and managed session policies can't exceed 2,048
903
+ * characters. You can provide up to 10 managed policy ARNs. For more information about ARNs,
904
+ * see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
905
+ * Resource Names (ARNs) and Amazon Web Services Service Namespaces</a> in the
906
+ * Amazon Web Services General Reference.</p>
907
+ * <p>This parameter is optional. However, if you do not pass any session policies, then the
908
+ * resulting federated user session has no permissions.</p>
909
+ * <p>When you pass session policies, the session permissions are the intersection of the
910
+ * IAM user policies and the session policies that you pass. This gives you a way to further
911
+ * restrict the permissions for a federated user. You cannot use session policies to grant
912
+ * more permissions than those that are defined in the permissions policy of the IAM user.
913
+ * For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">Session Policies</a> in
914
+ * the <i>IAM User Guide</i>.</p>
915
+ * <p>The resulting credentials can be used to access a resource that has a resource-based
916
+ * policy. If that policy specifically references the federated user session in the
917
+ * <code>Principal</code> element of the policy, the session has the permissions allowed by
918
+ * the policy. These permissions are granted in addition to the permissions that are granted
919
+ * by the session policies.</p>
920
+ *
921
+ * <note>
922
+ * <p>An Amazon Web Services conversion compresses the passed session policies and session tags into a
923
+ * packed binary format that has a separate limit. Your request can fail for this limit
924
+ * even if your plaintext meets the other requirements. The <code>PackedPolicySize</code>
925
+ * response element indicates by percentage how close the policies and tags for your
926
+ * request are to the upper size limit.
927
+ * </p>
928
+ * </note>
929
+ */
930
+ PolicyArns?: PolicyDescriptorType[];
931
+ /**
932
+ * <p>The duration, in seconds, that the session should last. Acceptable durations for
933
+ * federation sessions range from 900 seconds (15 minutes) to 129,600 seconds (36 hours), with
934
+ * 43,200 seconds (12 hours) as the default. Sessions obtained using Amazon Web Services account root user
935
+ * credentials are restricted to a maximum of 3,600 seconds (one hour). If the specified
936
+ * duration is longer than one hour, the session obtained by using root user credentials
937
+ * defaults to one hour.</p>
938
+ */
939
+ DurationSeconds?: number;
940
+ /**
941
+ * <p>A list of session tags. Each session tag consists of a key name and an associated value.
942
+ * 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
943
+ * <i>IAM User Guide</i>.</p>
944
+ * <p>This parameter is optional. You can pass up to 50 session tags. The plaintext session
945
+ * tag keys can’t exceed 128 characters and the values can’t exceed 256 characters. For these
946
+ * and additional limits, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length">IAM
947
+ * and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
948
+ *
949
+ * <note>
950
+ * <p>An Amazon Web Services conversion compresses the passed session policies and session tags into a
951
+ * packed binary format that has a separate limit. Your request can fail for this limit
952
+ * even if your plaintext meets the other requirements. The <code>PackedPolicySize</code>
953
+ * response element indicates by percentage how close the policies and tags for your
954
+ * request are to the upper size limit.
955
+ * </p>
956
+ * </note>
957
+ *
958
+ * <p>You can pass a session tag with the same key as a tag that is already attached to the
959
+ * user you are federating. When you do, session tags override a user tag with the same key. </p>
960
+ * <p>Tag key–value pairs are not case sensitive, but case is preserved. This means that you
961
+ * cannot have separate <code>Department</code> and <code>department</code> tag keys. Assume
962
+ * that the role has the <code>Department</code>=<code>Marketing</code> tag and you pass the
963
+ * <code>department</code>=<code>engineering</code> session tag. <code>Department</code>
964
+ * and <code>department</code> are not saved as separate tags, and the session tag passed in
965
+ * the request takes precedence over the role tag.</p>
966
+ */
967
+ Tags?: Tag[];
968
+ }
969
+ /**
970
+ * <p>Identifiers for the federated user that is associated with the credentials.</p>
971
+ */
972
+ export interface FederatedUser {
973
+ /**
974
+ * <p>The string that identifies the federated user associated with the credentials, similar
975
+ * to the unique ID of an IAM user.</p>
976
+ */
977
+ FederatedUserId: string | undefined;
978
+ /**
979
+ * <p>The ARN that specifies the federated user that is associated with the credentials. For
980
+ * more information about ARNs and how to use them in policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html">IAM
981
+ * Identifiers</a> in the <i>IAM User Guide</i>. </p>
982
+ */
983
+ Arn: string | undefined;
984
+ }
985
+ /**
986
+ * <p>Contains the response to a successful <a>GetFederationToken</a> request,
987
+ * including temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests. </p>
988
+ */
989
+ export interface GetFederationTokenResponse {
990
+ /**
991
+ * <p>The temporary security credentials, which include an access key ID, a secret access key,
992
+ * and a security (or session) token.</p>
993
+ *
994
+ * <note>
995
+ * <p>The size of the security token that STS API operations return is not fixed. We
996
+ * strongly recommend that you make no assumptions about the maximum size.</p>
997
+ * </note>
998
+ */
999
+ Credentials?: Credentials;
1000
+ /**
1001
+ * <p>Identifiers for the federated user associated with the credentials (such as
1002
+ * <code>arn:aws:sts::123456789012:federated-user/Bob</code> or
1003
+ * <code>123456789012:Bob</code>). You can use the federated user's ARN in your
1004
+ * resource-based policies, such as an Amazon S3 bucket policy. </p>
1005
+ */
1006
+ FederatedUser?: FederatedUser;
1007
+ /**
1008
+ * <p>A percentage value that indicates the packed size of the session policies and session
1009
+ * tags combined passed in the request. The request fails if the packed size is greater than 100 percent,
1010
+ * which means the policies and tags exceeded the allowed space.</p>
1011
+ */
1012
+ PackedPolicySize?: number;
1013
+ }
1014
+ export interface GetSessionTokenRequest {
1015
+ /**
1016
+ * <p>The duration, in seconds, that the credentials should remain valid. Acceptable durations
1017
+ * for IAM user sessions range from 900 seconds (15 minutes) to 129,600 seconds (36 hours),
1018
+ * with 43,200 seconds (12 hours) as the default. Sessions for Amazon Web Services account owners are
1019
+ * restricted to a maximum of 3,600 seconds (one hour). If the duration is longer than one
1020
+ * hour, the session for Amazon Web Services account owners defaults to one hour.</p>
1021
+ */
1022
+ DurationSeconds?: number;
1023
+ /**
1024
+ * <p>The identification number of the MFA device that is associated with the IAM user who
1025
+ * is making the <code>GetSessionToken</code> call. Specify this value if the IAM user has a
1026
+ * policy that requires MFA authentication. The value is either the serial number for a
1027
+ * hardware device (such as <code>GAHT12345678</code>) or an Amazon Resource Name (ARN) for a
1028
+ * virtual device (such as <code>arn:aws:iam::123456789012:mfa/user</code>). You can find the
1029
+ * device for an IAM user by going to the Amazon Web Services Management Console and viewing the user's security
1030
+ * credentials. </p>
1031
+ * <p>The regex used to validate this parameter is a string of
1032
+ * characters consisting of upper- and lower-case alphanumeric characters with no spaces.
1033
+ * You can also include underscores or any of the following characters: =,.@:/-</p>
1034
+ */
1035
+ SerialNumber?: string;
1036
+ /**
1037
+ * <p>The value provided by the MFA device, if MFA is required. If any policy requires the
1038
+ * IAM user to submit an MFA code, specify this value. If MFA authentication is required,
1039
+ * the user must provide a code when requesting a set of temporary security credentials. A
1040
+ * user who fails to provide the code receives an "access denied" response when requesting
1041
+ * resources that require MFA authentication.</p>
1042
+ * <p>The format for this parameter, as described by its regex pattern, is a sequence of six
1043
+ * numeric digits.</p>
1044
+ */
1045
+ TokenCode?: string;
1046
+ }
1047
+ /**
1048
+ * <p>Contains the response to a successful <a>GetSessionToken</a> request,
1049
+ * including temporary Amazon Web Services credentials that can be used to make Amazon Web Services requests. </p>
1050
+ */
1051
+ export interface GetSessionTokenResponse {
1052
+ /**
1053
+ * <p>The temporary security credentials, which include an access key ID, a secret access key,
1054
+ * and a security (or session) token.</p>
1055
+ *
1056
+ * <note>
1057
+ * <p>The size of the security token that STS API operations return is not fixed. We
1058
+ * strongly recommend that you make no assumptions about the maximum size.</p>
1059
+ * </note>
1060
+ */
1061
+ Credentials?: Credentials;
1062
+ }
1063
+ /**
1064
+ * @internal
1065
+ */
1066
+ export declare const AssumedRoleUserFilterSensitiveLog: (obj: AssumedRoleUser) => any;
1067
+ /**
1068
+ * @internal
1069
+ */
1070
+ export declare const PolicyDescriptorTypeFilterSensitiveLog: (obj: PolicyDescriptorType) => any;
1071
+ /**
1072
+ * @internal
1073
+ */
1074
+ export declare const TagFilterSensitiveLog: (obj: Tag) => any;
1075
+ /**
1076
+ * @internal
1077
+ */
1078
+ export declare const AssumeRoleRequestFilterSensitiveLog: (obj: AssumeRoleRequest) => any;
1079
+ /**
1080
+ * @internal
1081
+ */
1082
+ export declare const CredentialsFilterSensitiveLog: (obj: Credentials) => any;
1083
+ /**
1084
+ * @internal
1085
+ */
1086
+ export declare const AssumeRoleResponseFilterSensitiveLog: (obj: AssumeRoleResponse) => any;
1087
+ /**
1088
+ * @internal
1089
+ */
1090
+ export declare const AssumeRoleWithSAMLRequestFilterSensitiveLog: (obj: AssumeRoleWithSAMLRequest) => any;
1091
+ /**
1092
+ * @internal
1093
+ */
1094
+ export declare const AssumeRoleWithSAMLResponseFilterSensitiveLog: (obj: AssumeRoleWithSAMLResponse) => any;
1095
+ /**
1096
+ * @internal
1097
+ */
1098
+ export declare const AssumeRoleWithWebIdentityRequestFilterSensitiveLog: (obj: AssumeRoleWithWebIdentityRequest) => any;
1099
+ /**
1100
+ * @internal
1101
+ */
1102
+ export declare const AssumeRoleWithWebIdentityResponseFilterSensitiveLog: (obj: AssumeRoleWithWebIdentityResponse) => any;
1103
+ /**
1104
+ * @internal
1105
+ */
1106
+ export declare const DecodeAuthorizationMessageRequestFilterSensitiveLog: (obj: DecodeAuthorizationMessageRequest) => any;
1107
+ /**
1108
+ * @internal
1109
+ */
1110
+ export declare const DecodeAuthorizationMessageResponseFilterSensitiveLog: (obj: DecodeAuthorizationMessageResponse) => any;
1111
+ /**
1112
+ * @internal
1113
+ */
1114
+ export declare const GetAccessKeyInfoRequestFilterSensitiveLog: (obj: GetAccessKeyInfoRequest) => any;
1115
+ /**
1116
+ * @internal
1117
+ */
1118
+ export declare const GetAccessKeyInfoResponseFilterSensitiveLog: (obj: GetAccessKeyInfoResponse) => any;
1119
+ /**
1120
+ * @internal
1121
+ */
1122
+ export declare const GetCallerIdentityRequestFilterSensitiveLog: (obj: GetCallerIdentityRequest) => any;
1123
+ /**
1124
+ * @internal
1125
+ */
1126
+ export declare const GetCallerIdentityResponseFilterSensitiveLog: (obj: GetCallerIdentityResponse) => any;
1127
+ /**
1128
+ * @internal
1129
+ */
1130
+ export declare const GetFederationTokenRequestFilterSensitiveLog: (obj: GetFederationTokenRequest) => any;
1131
+ /**
1132
+ * @internal
1133
+ */
1134
+ export declare const FederatedUserFilterSensitiveLog: (obj: FederatedUser) => any;
1135
+ /**
1136
+ * @internal
1137
+ */
1138
+ export declare const GetFederationTokenResponseFilterSensitiveLog: (obj: GetFederationTokenResponse) => any;
1139
+ /**
1140
+ * @internal
1141
+ */
1142
+ export declare const GetSessionTokenRequestFilterSensitiveLog: (obj: GetSessionTokenRequest) => any;
1143
+ /**
1144
+ * @internal
1145
+ */
1146
+ export declare const GetSessionTokenResponseFilterSensitiveLog: (obj: GetSessionTokenResponse) => any;