@aws-sdk/client-sts 3.30.0 → 3.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/cjs/STSClient.js +12 -12
  3. package/dist/cjs/STSClient.js.map +1 -1
  4. package/dist/cjs/commands/AssumeRoleCommand.js +4 -4
  5. package/dist/cjs/commands/AssumeRoleCommand.js.map +1 -1
  6. package/dist/cjs/commands/AssumeRoleWithSAMLCommand.js +3 -3
  7. package/dist/cjs/commands/AssumeRoleWithSAMLCommand.js.map +1 -1
  8. package/dist/cjs/commands/AssumeRoleWithWebIdentityCommand.js +3 -3
  9. package/dist/cjs/commands/AssumeRoleWithWebIdentityCommand.js.map +1 -1
  10. package/dist/cjs/commands/DecodeAuthorizationMessageCommand.js +4 -4
  11. package/dist/cjs/commands/DecodeAuthorizationMessageCommand.js.map +1 -1
  12. package/dist/cjs/commands/GetAccessKeyInfoCommand.js +4 -4
  13. package/dist/cjs/commands/GetAccessKeyInfoCommand.js.map +1 -1
  14. package/dist/cjs/commands/GetCallerIdentityCommand.js +4 -4
  15. package/dist/cjs/commands/GetCallerIdentityCommand.js.map +1 -1
  16. package/dist/cjs/commands/GetFederationTokenCommand.js +4 -4
  17. package/dist/cjs/commands/GetFederationTokenCommand.js.map +1 -1
  18. package/dist/cjs/commands/GetSessionTokenCommand.js +4 -4
  19. package/dist/cjs/commands/GetSessionTokenCommand.js.map +1 -1
  20. package/dist/cjs/defaultRoleAssumers.js +4 -4
  21. package/dist/cjs/defaultRoleAssumers.js.map +1 -1
  22. package/dist/cjs/defaultRoleAssumers.spec.js +3 -3
  23. package/dist/cjs/defaultRoleAssumers.spec.js.map +1 -1
  24. package/dist/cjs/defaultStsRoleAssumers.js +2 -2
  25. package/dist/cjs/defaultStsRoleAssumers.js.map +1 -1
  26. package/dist/cjs/endpoints.js +1 -1
  27. package/dist/cjs/endpoints.js.map +1 -1
  28. package/dist/cjs/index.js +12 -12
  29. package/dist/cjs/index.js.map +1 -1
  30. package/dist/cjs/models/index.js +1 -1
  31. package/dist/cjs/models/index.js.map +1 -1
  32. package/dist/cjs/package.json +39 -39
  33. package/dist/cjs/protocols/Aws_query.js +40 -40
  34. package/dist/cjs/protocols/Aws_query.js.map +1 -1
  35. package/dist/cjs/runtimeConfig.browser.js +4 -4
  36. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  37. package/dist/cjs/runtimeConfig.js +8 -8
  38. package/dist/cjs/runtimeConfig.js.map +1 -1
  39. package/dist/cjs/runtimeConfig.native.js +1 -1
  40. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  41. package/dist/es/STS.js +1 -8
  42. package/dist/es/STS.js.map +1 -1
  43. package/dist/es/STSClient.js +1 -13
  44. package/dist/es/STSClient.js.map +1 -1
  45. package/dist/es/commands/AssumeRoleCommand.js +2 -110
  46. package/dist/es/commands/AssumeRoleCommand.js.map +1 -1
  47. package/dist/es/commands/AssumeRoleWithSAMLCommand.js +2 -158
  48. package/dist/es/commands/AssumeRoleWithSAMLCommand.js.map +1 -1
  49. package/dist/es/commands/AssumeRoleWithWebIdentityCommand.js +2 -162
  50. package/dist/es/commands/AssumeRoleWithWebIdentityCommand.js.map +1 -1
  51. package/dist/es/commands/DecodeAuthorizationMessageCommand.js +2 -62
  52. package/dist/es/commands/DecodeAuthorizationMessageCommand.js.map +1 -1
  53. package/dist/es/commands/GetAccessKeyInfoCommand.js +2 -44
  54. package/dist/es/commands/GetAccessKeyInfoCommand.js.map +1 -1
  55. package/dist/es/commands/GetCallerIdentityCommand.js +2 -36
  56. package/dist/es/commands/GetCallerIdentityCommand.js.map +1 -1
  57. package/dist/es/commands/GetFederationTokenCommand.js +2 -165
  58. package/dist/es/commands/GetFederationTokenCommand.js.map +1 -1
  59. package/dist/es/commands/GetSessionTokenCommand.js +2 -78
  60. package/dist/es/commands/GetSessionTokenCommand.js.map +1 -1
  61. package/dist/es/defaultRoleAssumers.js +0 -16
  62. package/dist/es/defaultRoleAssumers.js.map +1 -1
  63. package/dist/es/defaultRoleAssumers.spec.js +9 -14
  64. package/dist/es/defaultRoleAssumers.spec.js.map +1 -1
  65. package/dist/es/defaultStsRoleAssumers.js +10 -31
  66. package/dist/es/defaultStsRoleAssumers.js.map +1 -1
  67. package/dist/es/endpoints.js +1 -1
  68. package/dist/es/endpoints.js.map +1 -1
  69. package/dist/es/models/models_0.js +0 -87
  70. package/dist/es/models/models_0.js.map +1 -1
  71. package/dist/es/package.json +39 -39
  72. package/dist/es/protocols/Aws_query.js +154 -156
  73. package/dist/es/protocols/Aws_query.js.map +1 -1
  74. package/dist/es/runtimeConfig.browser.js +0 -3
  75. package/dist/es/runtimeConfig.browser.js.map +1 -1
  76. package/dist/es/runtimeConfig.js +0 -3
  77. package/dist/es/runtimeConfig.js.map +1 -1
  78. package/dist/es/runtimeConfig.native.js +0 -3
  79. package/dist/es/runtimeConfig.native.js.map +1 -1
  80. package/dist/es/runtimeConfig.shared.js +0 -3
  81. package/dist/es/runtimeConfig.shared.js.map +1 -1
  82. package/dist/types/runtimeConfig.browser.d.ts +1 -0
  83. package/dist/types/runtimeConfig.d.ts +1 -0
  84. package/dist/types/runtimeConfig.native.d.ts +1 -0
  85. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  86. package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
  87. package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
  88. package/package.json +39 -39
  89. package/protocols/Aws_query.ts +3 -1
  90. package/tsconfig.es.json +0 -2
  91. package/tsconfig.json +3 -5
  92. package/tsconfig.types.json +8 -0
@@ -3,173 +3,13 @@ import { AssumeRoleWithWebIdentityRequest, AssumeRoleWithWebIdentityResponse } f
3
3
  import { deserializeAws_queryAssumeRoleWithWebIdentityCommand, serializeAws_queryAssumeRoleWithWebIdentityCommand, } from "../protocols/Aws_query";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Returns a set of temporary security credentials for users who have been authenticated in
8
- * a mobile or web application with a web identity provider. Example providers include Amazon Cognito,
9
- * Login with Amazon, Facebook, Google, or any OpenID Connect-compatible identity
10
- * provider.</p>
11
- * <note>
12
- * <p>For mobile applications, we recommend that you use Amazon Cognito. You can use Amazon Cognito with the
13
- * <a href="http://aws.amazon.com/sdkforios/">Amazon Web Services SDK for iOS Developer Guide</a> and the <a href="http://aws.amazon.com/sdkforandroid/">Amazon Web Services SDK for Android Developer Guide</a> to uniquely
14
- * identify a user. You can also supply the user with a consistent identity throughout the
15
- * lifetime of an application.</p>
16
- * <p>To learn more about Amazon Cognito, see <a href="https://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/cognito-auth.html#d0e840">Amazon Cognito Overview</a> in
17
- * <i>Amazon Web Services SDK for Android Developer Guide</i> and <a href="https://docs.aws.amazon.com/mobile/sdkforios/developerguide/cognito-auth.html#d0e664">Amazon Cognito Overview</a> in the
18
- * <i>Amazon Web Services SDK for iOS Developer Guide</i>.</p>
19
- * </note>
20
- * <p>Calling <code>AssumeRoleWithWebIdentity</code> does not require the use of Amazon Web Services
21
- * security credentials. Therefore, you can distribute an application (for example, on mobile
22
- * devices) that requests temporary security credentials without including long-term Amazon Web Services
23
- * credentials in the application. You also don't need to deploy server-based proxy services
24
- * that use long-term Amazon Web Services credentials. Instead, the identity of the caller is validated by
25
- * using a token from the web identity provider. For a comparison of
26
- * <code>AssumeRoleWithWebIdentity</code> with the other API operations that produce
27
- * temporary credentials, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html">Requesting Temporary Security
28
- * Credentials</a> and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#stsapi_comparison">Comparing the
29
- * STS API operations</a> in the <i>IAM User Guide</i>.</p>
30
- * <p>The temporary security credentials returned by this API consist of an access key ID, a
31
- * secret access key, and a security token. Applications can use these temporary security
32
- * credentials to sign calls to Amazon Web Services service API operations.</p>
33
- * <p>
34
- * <b>Session Duration</b>
35
- * </p>
36
- * <p>By default, the temporary security credentials created by
37
- * <code>AssumeRoleWithWebIdentity</code> last for one hour. However, you can use the
38
- * optional <code>DurationSeconds</code> parameter to specify the duration of your session.
39
- * You can provide a value from 900 seconds (15 minutes) up to the maximum session duration
40
- * setting for the role. This setting can have a value from 1 hour to 12 hours. To learn how
41
- * 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
42
- * Maximum Session Duration Setting for a Role</a> in the
43
- * <i>IAM User Guide</i>. The maximum session duration limit applies when
44
- * you use the <code>AssumeRole*</code> API operations or the <code>assume-role*</code> CLI
45
- * commands. However the limit does not apply when you use those operations to create a
46
- * console URL. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html">Using IAM Roles</a> in the
47
- * <i>IAM User Guide</i>. </p>
48
- * <p>
49
- * <b>Permissions</b>
50
- * </p>
51
- * <p>The temporary security credentials created by <code>AssumeRoleWithWebIdentity</code> can
52
- * be used to make API calls to any Amazon Web Services service with the following exception: you cannot
53
- * call the STS <code>GetFederationToken</code> or <code>GetSessionToken</code> API
54
- * operations.</p>
55
- * <p>(Optional) You can pass inline or managed <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">session policies</a> to
56
- * this operation. You can pass a single JSON policy document to use as an inline session
57
- * policy. You can also specify up to 10 managed policies to use as managed session policies.
58
- * The plaintext that you use for both inline and managed session policies can't exceed 2,048
59
- * characters. Passing policies to this operation returns new
60
- * temporary credentials. The resulting session's permissions are the intersection of the
61
- * role's identity-based policy and the session policies. You can use the role's temporary
62
- * credentials in subsequent Amazon Web Services API calls to access resources in the account that owns
63
- * the role. You cannot use session policies to grant more permissions than those allowed
64
- * by the identity-based policy of the role that is being assumed. For more information, see
65
- * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">Session
66
- * Policies</a> in the <i>IAM User Guide</i>.</p>
67
- * <p>
68
- * <b>Tags</b>
69
- * </p>
70
- * <p>(Optional) You can configure your IdP to pass attributes into your web identity token as
71
- * session tags. Each session tag consists of a key name and an associated value. For more
72
- * 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
73
- * <i>IAM User Guide</i>.</p>
74
- * <p>You can pass up to 50 session tags. The plaintext session tag keys can’t exceed 128
75
- * characters and the values can’t exceed 256 characters. For these and additional limits, see
76
- * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-limits.html#reference_iam-limits-entity-length">IAM
77
- * and STS Character Limits</a> in the <i>IAM User Guide</i>.</p>
78
- *
79
- * <note>
80
- * <p>An Amazon Web Services conversion compresses the passed session policies and session tags into a
81
- * packed binary format that has a separate limit. Your request can fail for this limit
82
- * even if your plaintext meets the other requirements. The <code>PackedPolicySize</code>
83
- * response element indicates by percentage how close the policies and tags for your
84
- * request are to the upper size limit.
85
- * </p>
86
- * </note>
87
- * <p>You can pass a session tag with the same key as a tag that is
88
- * attached to the role. When you do, the session tag overrides the role tag with the same
89
- * key.</p>
90
- * <p>An administrator must grant you the permissions necessary to pass session tags. The
91
- * administrator can also create granular permissions to allow you to pass only specific
92
- * session tags. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_attribute-based-access-control.html">Tutorial: Using Tags
93
- * for Attribute-Based Access Control</a> in the
94
- * <i>IAM User Guide</i>.</p>
95
- * <p>You can set the session tags as transitive. Transitive tags persist during role
96
- * chaining. 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
97
- * with Session Tags</a> in the <i>IAM User Guide</i>.</p>
98
- * <p>
99
- * <b>Identities</b>
100
- * </p>
101
- * <p>Before your application can call <code>AssumeRoleWithWebIdentity</code>, you must have
102
- * an identity token from a supported identity provider and create a role that the application
103
- * can assume. The role that your application assumes must trust the identity provider that is
104
- * associated with the identity token. In other words, the identity provider must be specified
105
- * in the role's trust policy. </p>
106
- * <important>
107
- * <p>Calling <code>AssumeRoleWithWebIdentity</code> can result in an entry in your
108
- * CloudTrail logs. The entry includes the <a href="http://openid.net/specs/openid-connect-core-1_0.html#Claims">Subject</a> of
109
- * the provided web identity token. We recommend that you avoid using any personally
110
- * identifiable information (PII) in this field. For example, you could instead use a GUID
111
- * or a pairwise identifier, as <a href="http://openid.net/specs/openid-connect-core-1_0.html#SubjectIDTypes">suggested
112
- * in the OIDC specification</a>.</p>
113
- * </important>
114
- * <p>For more information about how to use web identity federation and the
115
- * <code>AssumeRoleWithWebIdentity</code> API, see the following resources: </p>
116
- * <ul>
117
- * <li>
118
- * <p>
119
- * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_oidc_manual.html">Using Web Identity Federation API Operations for Mobile Apps</a> and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_assumerolewithwebidentity">Federation Through a Web-based Identity Provider</a>. </p>
120
- * </li>
121
- * <li>
122
- * <p>
123
- * <a href="https://aws.amazon.com/blogs/aws/the-aws-web-identity-federation-playground/"> Web Identity Federation Playground</a>. Walk through the process of
124
- * authenticating through Login with Amazon, Facebook, or Google, getting temporary
125
- * security credentials, and then using those credentials to make a request to Amazon Web Services.
126
- * </p>
127
- * </li>
128
- * <li>
129
- * <p>
130
- * <a href="http://aws.amazon.com/sdkforios/">Amazon Web Services SDK for iOS Developer Guide</a> and <a href="http://aws.amazon.com/sdkforandroid/">Amazon Web Services SDK for Android Developer Guide</a>. These toolkits
131
- * contain sample apps that show how to invoke the identity providers. The toolkits then
132
- * show how to use the information from these providers to get and use temporary
133
- * security credentials. </p>
134
- * </li>
135
- * <li>
136
- * <p>
137
- * <a href="http://aws.amazon.com/articles/web-identity-federation-with-mobile-applications">Web Identity
138
- * Federation with Mobile Applications</a>. This article discusses web identity
139
- * federation and shows an example of how to use web identity federation to get access
140
- * to content in Amazon S3. </p>
141
- * </li>
142
- * </ul>
143
- * @example
144
- * Use a bare-bones client and the command you need to make an API call.
145
- * ```javascript
146
- * import { STSClient, AssumeRoleWithWebIdentityCommand } from "@aws-sdk/client-sts"; // ES Modules import
147
- * // const { STSClient, AssumeRoleWithWebIdentityCommand } = require("@aws-sdk/client-sts"); // CommonJS import
148
- * const client = new STSClient(config);
149
- * const command = new AssumeRoleWithWebIdentityCommand(input);
150
- * const response = await client.send(command);
151
- * ```
152
- *
153
- * @see {@link AssumeRoleWithWebIdentityCommandInput} for command's `input` shape.
154
- * @see {@link AssumeRoleWithWebIdentityCommandOutput} for command's `response` shape.
155
- * @see {@link STSClientResolvedConfig | config} for command's `input` shape.
156
- *
157
- */
158
- var AssumeRoleWithWebIdentityCommand = /** @class */ (function (_super) {
6
+ var AssumeRoleWithWebIdentityCommand = (function (_super) {
159
7
  __extends(AssumeRoleWithWebIdentityCommand, _super);
160
- // Start section: command_properties
161
- // End section: command_properties
162
8
  function AssumeRoleWithWebIdentityCommand(input) {
163
- var _this =
164
- // Start section: command_constructor
165
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
166
10
  _this.input = input;
167
11
  return _this;
168
- // End section: command_constructor
169
12
  }
170
- /**
171
- * @internal
172
- */
173
13
  AssumeRoleWithWebIdentityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
174
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
175
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"AssumeRoleWithWebIdentityCommand.js","sourceRoot":"","sources":["../../../commands/AssumeRoleWithWebIdentityCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAA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M,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gCAAgC,CAAC,kBAAkB;YAC5E,wBAAwB,EAAE,iCAAiC,CAAC,kBAAkB;SAC/E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oDAAS,GAAjB,UAAkB,KAA4C,EAAE,OAAuB;QACrF,OAAO,kDAAkD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEO,sDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,oDAAoD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAIH,uCAAC;AAAD,CAAC,AAzDD,CAAsD,QAAQ,GAyD7D"}
@@ -4,73 +4,13 @@ import { deserializeAws_queryDecodeAuthorizationMessageCommand, serializeAws_que
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
6
6
  import { Command as $Command } from "@aws-sdk/smithy-client";
7
- /**
8
- * <p>Decodes additional information about the authorization status of a request from an
9
- * encoded message returned in response to an Amazon Web Services request.</p>
10
- * <p>For example, if a user is not authorized to perform an operation that he or she has
11
- * requested, the request returns a <code>Client.UnauthorizedOperation</code> response (an
12
- * HTTP 403 response). Some Amazon Web Services operations additionally return an encoded message that can
13
- * provide details about this authorization failure. </p>
14
- * <note>
15
- * <p>Only certain Amazon Web Services operations return an encoded authorization message. The
16
- * documentation for an individual operation indicates whether that operation returns an
17
- * encoded message in addition to returning an HTTP code.</p>
18
- * </note>
19
- * <p>The message is encoded because the details of the authorization status can constitute
20
- * privileged information that the user who requested the operation should not see. To decode
21
- * an authorization status message, a user must be granted permissions via an IAM policy to
22
- * request the <code>DecodeAuthorizationMessage</code>
23
- * (<code>sts:DecodeAuthorizationMessage</code>) action. </p>
24
- * <p>The decoded message includes the following type of information:</p>
25
- * <ul>
26
- * <li>
27
- * <p>Whether the request was denied due to an explicit deny or due to the absence of an
28
- * explicit allow. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-denyallow">Determining Whether a Request is Allowed or Denied</a> in the
29
- * <i>IAM User Guide</i>. </p>
30
- * </li>
31
- * <li>
32
- * <p>The principal who made the request.</p>
33
- * </li>
34
- * <li>
35
- * <p>The requested action.</p>
36
- * </li>
37
- * <li>
38
- * <p>The requested resource.</p>
39
- * </li>
40
- * <li>
41
- * <p>The values of condition keys in the context of the user's request.</p>
42
- * </li>
43
- * </ul>
44
- * @example
45
- * Use a bare-bones client and the command you need to make an API call.
46
- * ```javascript
47
- * import { STSClient, DecodeAuthorizationMessageCommand } from "@aws-sdk/client-sts"; // ES Modules import
48
- * // const { STSClient, DecodeAuthorizationMessageCommand } = require("@aws-sdk/client-sts"); // CommonJS import
49
- * const client = new STSClient(config);
50
- * const command = new DecodeAuthorizationMessageCommand(input);
51
- * const response = await client.send(command);
52
- * ```
53
- *
54
- * @see {@link DecodeAuthorizationMessageCommandInput} for command's `input` shape.
55
- * @see {@link DecodeAuthorizationMessageCommandOutput} for command's `response` shape.
56
- * @see {@link STSClientResolvedConfig | config} for command's `input` shape.
57
- *
58
- */
59
- var DecodeAuthorizationMessageCommand = /** @class */ (function (_super) {
7
+ var DecodeAuthorizationMessageCommand = (function (_super) {
60
8
  __extends(DecodeAuthorizationMessageCommand, _super);
61
- // Start section: command_properties
62
- // End section: command_properties
63
9
  function DecodeAuthorizationMessageCommand(input) {
64
- var _this =
65
- // Start section: command_constructor
66
- _super.call(this) || this;
10
+ var _this = _super.call(this) || this;
67
11
  _this.input = input;
68
12
  return _this;
69
- // End section: command_constructor
70
13
  }
71
- /**
72
- * @internal
73
- */
74
14
  DecodeAuthorizationMessageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
75
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
76
16
  this.middlewareStack.use(getAwsAuthPlugin(configuration));
@@ -1 +1 @@
1
- {"version":3,"file":"DecodeAuthorizationMessageCommand.js","sourceRoot":"","sources":["../../../commands/DecodeAuthorizationMessageCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH;IAAuD,qDAItD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,2CAAqB,KAA6C;QAAlE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwC;;QAGhE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,6DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAC1F,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC;QAE1D,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,mCAAmC,CAAC;QACxD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,iCAAiC,CAAC,kBAAkB;YAC7E,wBAAwB,EAAE,kCAAkC,CAAC,kBAAkB;SAChF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,qDAAS,GAAjB,UAAkB,KAA6C,EAAE,OAAuB;QACtF,OAAO,mDAAmD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAEO,uDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,qDAAqD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAIH,wCAAC;AAAD,CAAC,AA1DD,CAAuD,QAAQ,GA0D9D"}
1
+ {"version":3,"file":"DecodeAuthorizationMessageCommand.js","sourceRoot":"","sources":["../../../commands/DecodeAuthorizationMessageCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAkE7D;IAAuD,qDAItD;I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A1DD,CAAuD,QAAQ,GA0D9D"}
@@ -4,55 +4,13 @@ import { deserializeAws_queryGetAccessKeyInfoCommand, serializeAws_queryGetAcces
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
6
6
  import { Command as $Command } from "@aws-sdk/smithy-client";
7
- /**
8
- * <p>Returns the account identifier for the specified access key ID.</p>
9
- * <p>Access keys consist of two parts: an access key ID (for example,
10
- * <code>AKIAIOSFODNN7EXAMPLE</code>) and a secret access key (for example,
11
- * <code>wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY</code>). For more information about
12
- * access keys, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html">Managing Access Keys for IAM
13
- * Users</a> in the <i>IAM User Guide</i>.</p>
14
- * <p>When you pass an access key ID to this operation, it returns the ID of the Amazon Web Services
15
- * account to which the keys belong. Access key IDs beginning with <code>AKIA</code> are
16
- * long-term credentials for an IAM user or the Amazon Web Services account root user. Access key IDs
17
- * beginning with <code>ASIA</code> are temporary credentials that are created using STS
18
- * operations. If the account in the response belongs to you, you can sign in as the root
19
- * user and review your root user access keys. Then, you can pull a <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_getting-report.html">credentials report</a> to learn which IAM user owns the keys. To learn who
20
- * requested the temporary credentials for an <code>ASIA</code> access key, view the STS
21
- * events in your <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration.html">CloudTrail logs</a> in the
22
- * <i>IAM User Guide</i>.</p>
23
- * <p>This operation does not indicate the state of the access key. The key might be active,
24
- * inactive, or deleted. Active keys might not have permissions to perform an operation.
25
- * Providing a deleted access key might return an error that the key doesn't exist.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { STSClient, GetAccessKeyInfoCommand } from "@aws-sdk/client-sts"; // ES Modules import
30
- * // const { STSClient, GetAccessKeyInfoCommand } = require("@aws-sdk/client-sts"); // CommonJS import
31
- * const client = new STSClient(config);
32
- * const command = new GetAccessKeyInfoCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetAccessKeyInfoCommandInput} for command's `input` shape.
37
- * @see {@link GetAccessKeyInfoCommandOutput} for command's `response` shape.
38
- * @see {@link STSClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- var GetAccessKeyInfoCommand = /** @class */ (function (_super) {
7
+ var GetAccessKeyInfoCommand = (function (_super) {
42
8
  __extends(GetAccessKeyInfoCommand, _super);
43
- // Start section: command_properties
44
- // End section: command_properties
45
9
  function GetAccessKeyInfoCommand(input) {
46
- var _this =
47
- // Start section: command_constructor
48
- _super.call(this) || this;
10
+ var _this = _super.call(this) || this;
49
11
  _this.input = input;
50
12
  return _this;
51
- // End section: command_constructor
52
13
  }
53
- /**
54
- * @internal
55
- */
56
14
  GetAccessKeyInfoCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
57
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
58
16
  this.middlewareStack.use(getAwsAuthPlugin(configuration));
@@ -1 +1 @@
1
- {"version":3,"file":"GetAccessKeyInfoCommand.js","sourceRoot":"","sources":["../../../commands/GetAccessKeyInfoCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,2CAA2C,EAC3C,yCAAyC,GAC1C,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH;IAA6C,2CAI5C;IACC,oCAAoC;IACpC,kCAAkC;IAEl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AC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,2CAAS,GAAjB,UAAkB,KAAmC,EAAE,OAAuB;QAC5E,OAAO,yCAAyC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,2CAA2C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAIH,8BAAC;AAAD,CAAC,AAvDD,CAA6C,QAAQ,GAuDpD"}
@@ -4,47 +4,13 @@ import { deserializeAws_queryGetCallerIdentityCommand, serializeAws_queryGetCall
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
6
6
  import { Command as $Command } from "@aws-sdk/smithy-client";
7
- /**
8
- * <p>Returns details about the IAM user or role whose credentials are used to call the
9
- * operation.</p>
10
- * <note>
11
- * <p>No permissions are required to perform this operation. If an administrator adds a
12
- * policy to your IAM user or role that explicitly denies access to the
13
- * <code>sts:GetCallerIdentity</code> action, you can still perform this operation.
14
- * Permissions are not required because the same information is returned when an IAM
15
- * user or role is denied access. To view an example response, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/troubleshoot_general.html#troubleshoot_general_access-denied-delete-mfa">I Am Not Authorized to Perform: iam:DeleteVirtualMFADevice</a> in the
16
- * <i>IAM User Guide</i>.</p>
17
- * </note>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { STSClient, GetCallerIdentityCommand } from "@aws-sdk/client-sts"; // ES Modules import
22
- * // const { STSClient, GetCallerIdentityCommand } = require("@aws-sdk/client-sts"); // CommonJS import
23
- * const client = new STSClient(config);
24
- * const command = new GetCallerIdentityCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link GetCallerIdentityCommandInput} for command's `input` shape.
29
- * @see {@link GetCallerIdentityCommandOutput} for command's `response` shape.
30
- * @see {@link STSClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
- var GetCallerIdentityCommand = /** @class */ (function (_super) {
7
+ var GetCallerIdentityCommand = (function (_super) {
34
8
  __extends(GetCallerIdentityCommand, _super);
35
- // Start section: command_properties
36
- // End section: command_properties
37
9
  function GetCallerIdentityCommand(input) {
38
- var _this =
39
- // Start section: command_constructor
40
- _super.call(this) || this;
10
+ var _this = _super.call(this) || this;
41
11
  _this.input = input;
42
12
  return _this;
43
- // End section: command_constructor
44
13
  }
45
- /**
46
- * @internal
47
- */
48
14
  GetCallerIdentityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
49
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
50
16
  this.middlewareStack.use(getAwsAuthPlugin(configuration));
@@ -1 +1 @@
1
- {"version":3,"file":"GetCallerIdentityCommand.js","sourceRoot":"","sources":["../../../commands/GetCallerIdentityCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH;IAA8C,4CAI7C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,kCAAqB,KAAoC;QAAzD;QACE,qCAAqC;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mB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,4CAAS,GAAjB,UAAkB,KAAoC,EAAE,OAAuB;QAC7E,OAAO,0CAA0C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAEO,8CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,4CAA4C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAIH,+BAAC;AAAD,CAAC,AAvDD,CAA8C,QAAQ,GAuDrD"}
@@ -4,176 +4,13 @@ import { deserializeAws_queryGetFederationTokenCommand, serializeAws_queryGetFed
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { getAwsAuthPlugin } from "@aws-sdk/middleware-signing";
6
6
  import { Command as $Command } from "@aws-sdk/smithy-client";
7
- /**
8
- * <p>Returns a set of temporary security credentials (consisting of an access key ID, a
9
- * secret access key, and a security token) for a federated user. A typical use is in a proxy
10
- * application that gets temporary security credentials on behalf of distributed applications
11
- * inside a corporate network. You must call the <code>GetFederationToken</code> operation
12
- * using the long-term security credentials of an IAM user. As a result, this call is
13
- * appropriate in contexts where those credentials can be safely stored, usually in a
14
- * server-based application. For a comparison of <code>GetFederationToken</code> with the
15
- * other API operations that produce temporary credentials, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html">Requesting Temporary Security
16
- * Credentials</a> and <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#stsapi_comparison">Comparing the
17
- * STS API operations</a> in the <i>IAM User Guide</i>.</p>
18
- * <note>
19
- * <p>You can create a mobile-based or browser-based app that can authenticate users using
20
- * a web identity provider like Login with Amazon, Facebook, Google, or an OpenID
21
- * Connect-compatible identity provider. In this case, we recommend that you use <a href="http://aws.amazon.com/cognito/">Amazon Cognito</a> or
22
- * <code>AssumeRoleWithWebIdentity</code>. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_assumerolewithwebidentity">Federation Through a Web-based Identity Provider</a> in the
23
- * <i>IAM User Guide</i>.</p>
24
- * </note>
25
- * <p>You can also call <code>GetFederationToken</code> using the security credentials of an
26
- * Amazon Web Services account root user, but we do not recommend it. Instead, we recommend that you create
27
- * an IAM user for the purpose of the proxy application. Then attach a policy to the IAM
28
- * user that limits federated users to only the actions and resources that they need to
29
- * access. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html">IAM Best Practices</a> in the
30
- * <i>IAM User Guide</i>. </p>
31
- * <p>
32
- * <b>Session duration</b>
33
- * </p>
34
- * <p>The temporary credentials are valid for the specified duration, from 900 seconds (15
35
- * minutes) up to a maximum of 129,600 seconds (36 hours). The default session duration is
36
- * 43,200 seconds (12 hours). Temporary credentials that are obtained by using Amazon Web Services account
37
- * root user credentials have a maximum duration of 3,600 seconds (1 hour).</p>
38
- * <p>
39
- * <b>Permissions</b>
40
- * </p>
41
- * <p>You can use the temporary credentials created by <code>GetFederationToken</code> in any
42
- * Amazon Web Services service except the following:</p>
43
- * <ul>
44
- * <li>
45
- * <p>You cannot call any IAM operations using the CLI or the Amazon Web Services API. </p>
46
- * </li>
47
- * <li>
48
- * <p>You cannot call any STS operations except <code>GetCallerIdentity</code>.</p>
49
- * </li>
50
- * </ul>
51
- * <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
52
- * this operation. You can pass a single JSON policy document to use as an inline session
53
- * policy. You can also specify up to 10 managed policies to use as managed session policies.
54
- * The plaintext that you use for both inline and managed session policies can't exceed 2,048
55
- * characters.</p>
56
- * <p>Though the session policy parameters are optional, if you do not pass a policy, then the
57
- * resulting federated user session has no permissions. When you pass session policies, the
58
- * session permissions are the intersection of the IAM user policies and the session
59
- * policies that you pass. This gives you a way to further restrict the permissions for a
60
- * federated user. You cannot use session policies to grant more permissions than those that
61
- * are defined in the permissions policy of the IAM user. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">Session
62
- * Policies</a> in the <i>IAM User Guide</i>. For information about
63
- * using <code>GetFederationToken</code> to create temporary security credentials, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_getfederationtoken">GetFederationToken—Federation Through a Custom Identity Broker</a>. </p>
64
- * <p>You can use the credentials to access a resource that has a resource-based policy. If
65
- * that policy specifically references the federated user session in the
66
- * <code>Principal</code> element of the policy, the session has the permissions allowed by
67
- * the policy. These permissions are granted in addition to the permissions granted by the
68
- * session policies.</p>
69
- * <p>
70
- * <b>Tags</b>
71
- * </p>
72
- * <p>(Optional) You can pass tag key-value pairs to your session. These are called session
73
- * tags. 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
74
- * <i>IAM User Guide</i>.</p>
75
- * <note>
76
- * <p>You can create a mobile-based or browser-based app that can authenticate users
77
- * using a web identity provider like Login with Amazon, Facebook, Google, or an OpenID
78
- * Connect-compatible identity provider. In this case, we recommend that you use <a href="http://aws.amazon.com/cognito/">Amazon Cognito</a> or
79
- * <code>AssumeRoleWithWebIdentity</code>. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_assumerolewithwebidentity">Federation Through a Web-based Identity Provider</a> in the
80
- * <i>IAM User Guide</i>.</p>
81
- * </note>
82
- * <p>You can also call <code>GetFederationToken</code> using the security credentials of an
83
- * Amazon Web Services account root user, but we do not recommend it. Instead, we recommend that you
84
- * create an IAM user for the purpose of the proxy application. Then attach a policy to
85
- * the IAM user that limits federated users to only the actions and resources that they
86
- * need to access. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html">IAM Best Practices</a> in the
87
- * <i>IAM User Guide</i>. </p>
88
- * <p>
89
- * <b>Session duration</b>
90
- * </p>
91
- * <p>The temporary credentials are valid for the specified duration, from 900 seconds (15
92
- * minutes) up to a maximum of 129,600 seconds (36 hours). The default session duration is
93
- * 43,200 seconds (12 hours). Temporary credentials that are obtained by using Amazon Web Services
94
- * account root user credentials have a maximum duration of 3,600 seconds (1 hour).</p>
95
- * <p>
96
- * <b>Permissions</b>
97
- * </p>
98
- * <p>You can use the temporary credentials created by <code>GetFederationToken</code> in
99
- * any Amazon Web Services service except the following:</p>
100
- * <ul>
101
- * <li>
102
- * <p>You cannot call any IAM operations using the CLI or the Amazon Web Services API.
103
- * </p>
104
- * </li>
105
- * <li>
106
- * <p>You cannot call any STS operations except
107
- * <code>GetCallerIdentity</code>.</p>
108
- * </li>
109
- * </ul>
110
- * <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
111
- * this operation. You can pass a single JSON policy document to use as an inline session
112
- * policy. You can also specify up to 10 managed policies to use as managed session
113
- * policies. The plain text that you use for both inline and managed session policies can't
114
- * exceed 2,048 characters.</p>
115
- * <p>Though the session policy parameters are optional, if you do not pass a policy, then
116
- * the resulting federated user session has no permissions. When you pass session policies,
117
- * the session permissions are the intersection of the IAM user policies and the session
118
- * policies that you pass. This gives you a way to further restrict the permissions for a
119
- * federated user. You cannot use session policies to grant more permissions than those
120
- * that are defined in the permissions policy of the IAM user. For more information, see
121
- * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session">Session Policies</a>
122
- * in the <i>IAM User Guide</i>. For information about using
123
- * <code>GetFederationToken</code> to create temporary security credentials, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_getfederationtoken">GetFederationToken—Federation Through a Custom Identity Broker</a>. </p>
124
- * <p>You can use the credentials to access a resource that has a resource-based policy. If
125
- * that policy specifically references the federated user session in the
126
- * <code>Principal</code> element of the policy, the session has the permissions
127
- * allowed by the policy. These permissions are granted in addition to the permissions
128
- * granted by the session policies.</p>
129
- * <p>
130
- * <b>Tags</b>
131
- * </p>
132
- * <p>(Optional) You can pass tag key-value pairs to your session. These are called session
133
- * tags. 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
134
- * the <i>IAM User Guide</i>.</p>
135
- * <p>An administrator must grant you the permissions necessary to pass session tags. The
136
- * administrator can also create granular permissions to allow you to pass only specific
137
- * session tags. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_attribute-based-access-control.html">Tutorial: Using
138
- * Tags for Attribute-Based Access Control</a> in the
139
- * <i>IAM User Guide</i>.</p>
140
- * <p>Tag key–value pairs are not case sensitive, but case is preserved. This means that you
141
- * cannot have separate <code>Department</code> and <code>department</code> tag keys.
142
- * Assume that the user that you are federating has the
143
- * <code>Department</code>=<code>Marketing</code> tag and you pass the
144
- * <code>department</code>=<code>engineering</code> session tag.
145
- * <code>Department</code> and <code>department</code> are not saved as separate tags,
146
- * and the session tag passed in the request takes precedence over the user tag.</p>
147
- * @example
148
- * Use a bare-bones client and the command you need to make an API call.
149
- * ```javascript
150
- * import { STSClient, GetFederationTokenCommand } from "@aws-sdk/client-sts"; // ES Modules import
151
- * // const { STSClient, GetFederationTokenCommand } = require("@aws-sdk/client-sts"); // CommonJS import
152
- * const client = new STSClient(config);
153
- * const command = new GetFederationTokenCommand(input);
154
- * const response = await client.send(command);
155
- * ```
156
- *
157
- * @see {@link GetFederationTokenCommandInput} for command's `input` shape.
158
- * @see {@link GetFederationTokenCommandOutput} for command's `response` shape.
159
- * @see {@link STSClientResolvedConfig | config} for command's `input` shape.
160
- *
161
- */
162
- var GetFederationTokenCommand = /** @class */ (function (_super) {
7
+ var GetFederationTokenCommand = (function (_super) {
163
8
  __extends(GetFederationTokenCommand, _super);
164
- // Start section: command_properties
165
- // End section: command_properties
166
9
  function GetFederationTokenCommand(input) {
167
- var _this =
168
- // Start section: command_constructor
169
- _super.call(this) || this;
10
+ var _this = _super.call(this) || this;
170
11
  _this.input = input;
171
12
  return _this;
172
- // End section: command_constructor
173
13
  }
174
- /**
175
- * @internal
176
- */
177
14
  GetFederationTokenCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
178
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
179
16
  this.middlewareStack.use(getAwsAuthPlugin(configuration));
@@ -1 +1 @@
1
- {"version":3,"file":"GetFederationTokenCommand.js","sourceRoot":"","sources":["../../../commands/GetFederationTokenCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0JG;AACH;IAA+C,6CAI9C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,mCAAqB,KAAqC;QAA1D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAgC;;QAGxD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,qDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa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