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