@cdklabs/cdk-ecs-codedeploy 0.0.94 → 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.
Files changed (170) hide show
  1. package/.jsii +6 -6
  2. package/.projenrc.ts +1 -1
  3. package/lib/api-canary/index.js +1 -1
  4. package/lib/ecs-appspec/index.js +1 -1
  5. package/lib/ecs-deployment/index.js +1 -1
  6. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  7. package/node_modules/@aws-sdk/abort-controller/package.json +6 -3
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +23 -0
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +19 -0
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +13 -0
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +23 -0
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +23 -0
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +32 -0
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +10 -0
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +10 -0
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +26 -0
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +19 -0
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +124 -0
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +24 -0
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +131 -0
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteApplicationCommand.d.ts +12 -0
  22. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +13 -0
  23. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +18 -0
  24. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +16 -0
  25. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +1 -0
  26. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +7 -0
  27. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +10 -0
  28. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +19 -0
  29. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +11 -0
  30. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +14 -0
  31. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +23 -0
  32. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +23 -0
  33. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +26 -0
  34. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +10 -0
  35. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +32 -0
  36. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +4 -0
  37. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +4 -0
  38. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +13 -0
  39. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +35 -0
  40. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +29 -0
  41. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +34 -0
  42. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +10 -0
  43. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +10 -0
  44. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  45. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +27 -0
  46. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +19 -0
  47. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +34 -0
  48. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +23 -0
  49. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +20 -0
  50. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +20 -0
  51. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +27 -0
  52. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +27 -0
  53. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +13 -0
  54. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +125 -0
  55. package/node_modules/@aws-sdk/client-codedeploy/package.json +36 -41
  56. package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +16 -0
  57. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +16 -0
  58. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +16 -0
  59. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +13 -0
  60. package/node_modules/@aws-sdk/client-sso/package.json +32 -37
  61. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +42 -0
  62. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +16 -0
  63. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +22 -0
  64. package/node_modules/@aws-sdk/client-sso-oidc/package.json +32 -37
  65. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +27 -0
  66. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +37 -0
  67. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +44 -0
  68. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +6 -0
  69. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +1 -0
  70. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +1 -0
  71. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +23 -0
  72. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +8 -0
  73. package/node_modules/@aws-sdk/client-sts/package.json +35 -40
  74. package/node_modules/@aws-sdk/config-resolver/package.json +10 -7
  75. package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -4
  76. package/node_modules/@aws-sdk/credential-provider-imds/package.json +9 -6
  77. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -10
  78. package/node_modules/@aws-sdk/credential-provider-node/package.json +14 -11
  79. package/node_modules/@aws-sdk/credential-provider-process/package.json +8 -5
  80. package/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -7
  81. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -4
  82. package/node_modules/@aws-sdk/fetch-http-handler/package.json +10 -7
  83. package/node_modules/@aws-sdk/hash-node/package.json +8 -5
  84. package/node_modules/@aws-sdk/invalid-dependency/package.json +6 -3
  85. package/node_modules/@aws-sdk/is-array-buffer/package.json +5 -2
  86. package/node_modules/@aws-sdk/middleware-content-length/package.json +7 -4
  87. package/node_modules/@aws-sdk/middleware-endpoint/package.json +12 -9
  88. package/node_modules/@aws-sdk/middleware-host-header/package.json +7 -4
  89. package/node_modules/@aws-sdk/middleware-logger/package.json +6 -3
  90. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +7 -4
  91. package/node_modules/@aws-sdk/middleware-retry/package.json +11 -8
  92. package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +10 -7
  93. package/node_modules/@aws-sdk/middleware-serde/package.json +6 -3
  94. package/node_modules/@aws-sdk/middleware-signing/package.json +10 -7
  95. package/node_modules/@aws-sdk/middleware-stack/package.json +6 -3
  96. package/node_modules/@aws-sdk/middleware-user-agent/package.json +8 -5
  97. package/node_modules/@aws-sdk/node-config-provider/package.json +8 -5
  98. package/node_modules/@aws-sdk/node-http-handler/package.json +9 -6
  99. package/node_modules/@aws-sdk/property-provider/package.json +6 -3
  100. package/node_modules/@aws-sdk/protocol-http/dist-cjs/Field.js +1 -3
  101. package/node_modules/@aws-sdk/protocol-http/dist-es/Field.js +1 -3
  102. package/node_modules/@aws-sdk/protocol-http/package.json +6 -3
  103. package/node_modules/@aws-sdk/querystring-builder/package.json +7 -4
  104. package/node_modules/@aws-sdk/querystring-parser/package.json +6 -3
  105. package/node_modules/@aws-sdk/service-error-classification/package.json +6 -3
  106. package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +6 -3
  107. package/node_modules/@aws-sdk/signature-v4/package.json +13 -10
  108. package/node_modules/@aws-sdk/smithy-client/dist-types/NoOpLogger.d.ts +3 -0
  109. package/node_modules/@aws-sdk/smithy-client/dist-types/client.d.ts +9 -0
  110. package/node_modules/@aws-sdk/smithy-client/dist-types/command.d.ts +3 -0
  111. package/node_modules/@aws-sdk/smithy-client/dist-types/constants.d.ts +3 -0
  112. package/node_modules/@aws-sdk/smithy-client/dist-types/date-utils.d.ts +26 -16
  113. package/node_modules/@aws-sdk/smithy-client/dist-types/default-error-handler.d.ts +2 -2
  114. package/node_modules/@aws-sdk/smithy-client/dist-types/emitWarningIfUnsupportedVersion.d.ts +3 -1
  115. package/node_modules/@aws-sdk/smithy-client/dist-types/exceptions.d.ts +5 -0
  116. package/node_modules/@aws-sdk/smithy-client/dist-types/extended-encode-uri-component.d.ts +2 -0
  117. package/node_modules/@aws-sdk/smithy-client/dist-types/get-array-if-single-item.d.ts +2 -0
  118. package/node_modules/@aws-sdk/smithy-client/dist-types/get-value-from-text-node.d.ts +2 -0
  119. package/node_modules/@aws-sdk/smithy-client/dist-types/lazy-json.d.ts +5 -0
  120. package/node_modules/@aws-sdk/smithy-client/dist-types/object-mapping.d.ts +36 -4
  121. package/node_modules/@aws-sdk/smithy-client/dist-types/parse-utils.d.ts +73 -23
  122. package/node_modules/@aws-sdk/smithy-client/dist-types/resolve-path.d.ts +3 -0
  123. package/node_modules/@aws-sdk/smithy-client/dist-types/ser-utils.d.ts +3 -1
  124. package/node_modules/@aws-sdk/smithy-client/dist-types/split-every.d.ts +5 -3
  125. package/node_modules/@aws-sdk/smithy-client/package.json +7 -4
  126. package/node_modules/@aws-sdk/token-providers/package.json +9 -6
  127. package/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -1
  128. package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +1 -1
  129. package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +2 -2
  130. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +2 -2
  131. package/node_modules/@aws-sdk/types/dist-types/dns.d.ts +3 -3
  132. package/node_modules/@aws-sdk/types/dist-types/http.d.ts +6 -4
  133. package/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -1
  134. package/node_modules/@aws-sdk/types/dist-types/logger.d.ts +1 -1
  135. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +15 -15
  136. package/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -1
  137. package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +2 -2
  138. package/node_modules/@aws-sdk/types/dist-types/serde.d.ts +7 -7
  139. package/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -2
  140. package/node_modules/@aws-sdk/types/dist-types/signature.d.ts +4 -4
  141. package/node_modules/@aws-sdk/types/dist-types/token.d.ts +2 -2
  142. package/node_modules/@aws-sdk/types/dist-types/util.d.ts +4 -4
  143. package/node_modules/@aws-sdk/types/package.json +5 -2
  144. package/node_modules/@aws-sdk/url-parser/package.json +7 -4
  145. package/node_modules/@aws-sdk/util-base64/package.json +6 -3
  146. package/node_modules/@aws-sdk/util-body-length-browser/package.json +5 -2
  147. package/node_modules/@aws-sdk/util-body-length-node/package.json +5 -2
  148. package/node_modules/@aws-sdk/util-buffer-from/package.json +6 -3
  149. package/node_modules/@aws-sdk/util-config-provider/package.json +5 -2
  150. package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +8 -5
  151. package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +11 -8
  152. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -3
  153. package/node_modules/@aws-sdk/util-hex-encoding/package.json +5 -2
  154. package/node_modules/@aws-sdk/util-locate-window/package.json +5 -2
  155. package/node_modules/@aws-sdk/util-middleware/package.json +6 -3
  156. package/node_modules/@aws-sdk/util-retry/package.json +7 -4
  157. package/node_modules/@aws-sdk/util-uri-escape/package.json +5 -2
  158. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +7 -4
  159. package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -5
  160. package/node_modules/@aws-sdk/util-utf8/package.json +6 -3
  161. package/node_modules/@aws-sdk/util-waiter/dist-types/poller.d.ts +4 -4
  162. package/node_modules/@aws-sdk/util-waiter/dist-types/utils/sleep.d.ts +3 -0
  163. package/node_modules/@aws-sdk/util-waiter/dist-types/utils/validate.d.ts +3 -1
  164. package/node_modules/@aws-sdk/util-waiter/dist-types/waiter.d.ts +14 -3
  165. package/node_modules/@aws-sdk/util-waiter/package.json +7 -4
  166. package/package.json +14 -14
  167. package/node_modules/@aws-sdk/is-array-buffer/CHANGELOG.md +0 -663
  168. package/node_modules/@aws-sdk/util-body-length-browser/CHANGELOG.md +0 -681
  169. package/node_modules/@aws-sdk/util-hex-encoding/CHANGELOG.md +0 -676
  170. package/node_modules/@aws-sdk/util-uri-escape/CHANGELOG.md +0 -768
@@ -29,6 +29,22 @@ export interface ListAccountRolesCommandOutput extends ListAccountRolesResponse,
29
29
  * @see {@link ListAccountRolesCommandOutput} for command's `response` shape.
30
30
  * @see {@link SSOClientResolvedConfig | config} for SSOClient's `config` shape.
31
31
  *
32
+ * @throws {@link InvalidRequestException} (client fault)
33
+ * <p>Indicates that a problem occurred with the input to the request. For example, a required
34
+ * parameter might be missing or out of range.</p>
35
+ *
36
+ * @throws {@link ResourceNotFoundException} (client fault)
37
+ * <p>The specified resource doesn't exist.</p>
38
+ *
39
+ * @throws {@link TooManyRequestsException} (client fault)
40
+ * <p>Indicates that the request is being made too frequently and is more than what the server
41
+ * can handle.</p>
42
+ *
43
+ * @throws {@link UnauthorizedException} (client fault)
44
+ * <p>Indicates that the request is not authorized. This can happen due to an invalid access
45
+ * token in the request.</p>
46
+ *
47
+ *
32
48
  */
33
49
  export declare class ListAccountRolesCommand extends $Command<ListAccountRolesCommandInput, ListAccountRolesCommandOutput, SSOClientResolvedConfig> {
34
50
  readonly input: ListAccountRolesCommandInput;
@@ -31,6 +31,22 @@ export interface ListAccountsCommandOutput extends ListAccountsResponse, __Metad
31
31
  * @see {@link ListAccountsCommandOutput} for command's `response` shape.
32
32
  * @see {@link SSOClientResolvedConfig | config} for SSOClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidRequestException} (client fault)
35
+ * <p>Indicates that a problem occurred with the input to the request. For example, a required
36
+ * parameter might be missing or out of range.</p>
37
+ *
38
+ * @throws {@link ResourceNotFoundException} (client fault)
39
+ * <p>The specified resource doesn't exist.</p>
40
+ *
41
+ * @throws {@link TooManyRequestsException} (client fault)
42
+ * <p>Indicates that the request is being made too frequently and is more than what the server
43
+ * can handle.</p>
44
+ *
45
+ * @throws {@link UnauthorizedException} (client fault)
46
+ * <p>Indicates that the request is not authorized. This can happen due to an invalid access
47
+ * token in the request.</p>
48
+ *
49
+ *
34
50
  */
35
51
  export declare class ListAccountsCommand extends $Command<ListAccountsCommandInput, ListAccountsCommandOutput, SSOClientResolvedConfig> {
36
52
  readonly input: ListAccountsCommandInput;
@@ -44,6 +44,19 @@ export interface LogoutCommandOutput extends __MetadataBearer {
44
44
  * @see {@link LogoutCommandOutput} for command's `response` shape.
45
45
  * @see {@link SSOClientResolvedConfig | config} for SSOClient's `config` shape.
46
46
  *
47
+ * @throws {@link InvalidRequestException} (client fault)
48
+ * <p>Indicates that a problem occurred with the input to the request. For example, a required
49
+ * parameter might be missing or out of range.</p>
50
+ *
51
+ * @throws {@link TooManyRequestsException} (client fault)
52
+ * <p>Indicates that the request is being made too frequently and is more than what the server
53
+ * can handle.</p>
54
+ *
55
+ * @throws {@link UnauthorizedException} (client fault)
56
+ * <p>Indicates that the request is not authorized. This can happen due to an invalid access
57
+ * token in the request.</p>
58
+ *
59
+ *
47
60
  */
48
61
  export declare class LogoutCommand extends $Command<LogoutCommandInput, LogoutCommandOutput, SSOClientResolvedConfig> {
49
62
  readonly input: LogoutCommandInput;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.289.0",
4
+ "version": "3.292.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,52 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/config-resolver": "3.289.0",
24
- "@aws-sdk/fetch-http-handler": "3.289.0",
25
- "@aws-sdk/hash-node": "3.289.0",
26
- "@aws-sdk/invalid-dependency": "3.289.0",
27
- "@aws-sdk/middleware-content-length": "3.289.0",
28
- "@aws-sdk/middleware-endpoint": "3.289.0",
29
- "@aws-sdk/middleware-host-header": "3.289.0",
30
- "@aws-sdk/middleware-logger": "3.289.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.289.0",
32
- "@aws-sdk/middleware-retry": "3.289.0",
33
- "@aws-sdk/middleware-serde": "3.289.0",
34
- "@aws-sdk/middleware-stack": "3.289.0",
35
- "@aws-sdk/middleware-user-agent": "3.289.0",
36
- "@aws-sdk/node-config-provider": "3.289.0",
37
- "@aws-sdk/node-http-handler": "3.289.0",
38
- "@aws-sdk/protocol-http": "3.289.0",
39
- "@aws-sdk/smithy-client": "3.289.0",
40
- "@aws-sdk/types": "3.289.0",
41
- "@aws-sdk/url-parser": "3.289.0",
42
- "@aws-sdk/util-base64": "3.208.0",
43
- "@aws-sdk/util-body-length-browser": "3.188.0",
44
- "@aws-sdk/util-body-length-node": "3.208.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.289.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.289.0",
47
- "@aws-sdk/util-endpoints": "3.289.0",
48
- "@aws-sdk/util-retry": "3.289.0",
49
- "@aws-sdk/util-user-agent-browser": "3.289.0",
50
- "@aws-sdk/util-user-agent-node": "3.289.0",
51
- "@aws-sdk/util-utf8": "3.254.0",
23
+ "@aws-sdk/config-resolver": "3.292.0",
24
+ "@aws-sdk/fetch-http-handler": "3.292.0",
25
+ "@aws-sdk/hash-node": "3.292.0",
26
+ "@aws-sdk/invalid-dependency": "3.292.0",
27
+ "@aws-sdk/middleware-content-length": "3.292.0",
28
+ "@aws-sdk/middleware-endpoint": "3.292.0",
29
+ "@aws-sdk/middleware-host-header": "3.292.0",
30
+ "@aws-sdk/middleware-logger": "3.292.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.292.0",
32
+ "@aws-sdk/middleware-retry": "3.292.0",
33
+ "@aws-sdk/middleware-serde": "3.292.0",
34
+ "@aws-sdk/middleware-stack": "3.292.0",
35
+ "@aws-sdk/middleware-user-agent": "3.292.0",
36
+ "@aws-sdk/node-config-provider": "3.292.0",
37
+ "@aws-sdk/node-http-handler": "3.292.0",
38
+ "@aws-sdk/protocol-http": "3.292.0",
39
+ "@aws-sdk/smithy-client": "3.292.0",
40
+ "@aws-sdk/types": "3.292.0",
41
+ "@aws-sdk/url-parser": "3.292.0",
42
+ "@aws-sdk/util-base64": "3.292.0",
43
+ "@aws-sdk/util-body-length-browser": "3.292.0",
44
+ "@aws-sdk/util-body-length-node": "3.292.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.292.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.292.0",
47
+ "@aws-sdk/util-endpoints": "3.292.0",
48
+ "@aws-sdk/util-retry": "3.292.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.292.0",
50
+ "@aws-sdk/util-user-agent-node": "3.292.0",
51
+ "@aws-sdk/util-utf8": "3.292.0",
52
52
  "tslib": "^2.3.1"
53
53
  },
54
54
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.208.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.292.0",
56
56
  "@tsconfig/node14": "1.0.3",
57
57
  "@types/node": "^14.14.31",
58
58
  "concurrently": "7.0.0",
59
59
  "downlevel-dts": "0.10.1",
60
60
  "rimraf": "3.0.2",
61
- "typedoc": "0.19.2",
61
+ "typedoc": "0.23.23",
62
62
  "typescript": "~4.6.2"
63
63
  },
64
- "overrides": {
65
- "typedoc": {
66
- "typescript": "~4.6.2"
67
- }
68
- },
69
64
  "engines": {
70
65
  "node": ">=14.0.0"
71
66
  },
@@ -31,6 +31,48 @@ export interface CreateTokenCommandOutput extends CreateTokenResponse, __Metadat
31
31
  * @see {@link CreateTokenCommandOutput} for command's `response` shape.
32
32
  * @see {@link SSOOIDCClientResolvedConfig | config} for SSOOIDCClient's `config` shape.
33
33
  *
34
+ * @throws {@link AccessDeniedException} (client fault)
35
+ * <p>You do not have sufficient access to perform this action.</p>
36
+ *
37
+ * @throws {@link AuthorizationPendingException} (client fault)
38
+ * <p>Indicates that a request to authorize a client with an access user session token is
39
+ * pending.</p>
40
+ *
41
+ * @throws {@link ExpiredTokenException} (client fault)
42
+ * <p>Indicates that the token issued by the service is expired and is no longer valid.</p>
43
+ *
44
+ * @throws {@link InternalServerException} (server fault)
45
+ * <p>Indicates that an error from the service occurred while trying to process a
46
+ * request.</p>
47
+ *
48
+ * @throws {@link InvalidClientException} (client fault)
49
+ * <p>Indicates that the <code>clientId</code> or <code>clientSecret</code> in the request is
50
+ * invalid. For example, this can occur when a client sends an incorrect <code>clientId</code> or
51
+ * an expired <code>clientSecret</code>.</p>
52
+ *
53
+ * @throws {@link InvalidGrantException} (client fault)
54
+ * <p>Indicates that a request contains an invalid grant. This can occur if a client makes a
55
+ * <a>CreateToken</a> request with an invalid grant type.</p>
56
+ *
57
+ * @throws {@link InvalidRequestException} (client fault)
58
+ * <p>Indicates that something is wrong with the input to the request. For example, a required
59
+ * parameter might be missing or out of range.</p>
60
+ *
61
+ * @throws {@link InvalidScopeException} (client fault)
62
+ * <p>Indicates that the scope provided in the request is invalid.</p>
63
+ *
64
+ * @throws {@link SlowDownException} (client fault)
65
+ * <p>Indicates that the client is making the request too frequently and is more than the
66
+ * service can handle. </p>
67
+ *
68
+ * @throws {@link UnauthorizedClientException} (client fault)
69
+ * <p>Indicates that the client is not currently authorized to make the request. This can happen
70
+ * when a <code>clientId</code> is not issued for a public client.</p>
71
+ *
72
+ * @throws {@link UnsupportedGrantTypeException} (client fault)
73
+ * <p>Indicates that the grant type in the request is not supported by the service.</p>
74
+ *
75
+ *
34
76
  */
35
77
  export declare class CreateTokenCommand extends $Command<CreateTokenCommandInput, CreateTokenCommandOutput, SSOOIDCClientResolvedConfig> {
36
78
  readonly input: CreateTokenCommandInput;
@@ -30,6 +30,22 @@ export interface RegisterClientCommandOutput extends RegisterClientResponse, __M
30
30
  * @see {@link RegisterClientCommandOutput} for command's `response` shape.
31
31
  * @see {@link SSOOIDCClientResolvedConfig | config} for SSOOIDCClient's `config` shape.
32
32
  *
33
+ * @throws {@link InternalServerException} (server fault)
34
+ * <p>Indicates that an error from the service occurred while trying to process a
35
+ * request.</p>
36
+ *
37
+ * @throws {@link InvalidClientMetadataException} (client fault)
38
+ * <p>Indicates that the client information sent in the request during registration is
39
+ * invalid.</p>
40
+ *
41
+ * @throws {@link InvalidRequestException} (client fault)
42
+ * <p>Indicates that something is wrong with the input to the request. For example, a required
43
+ * parameter might be missing or out of range.</p>
44
+ *
45
+ * @throws {@link InvalidScopeException} (client fault)
46
+ * <p>Indicates that the scope provided in the request is invalid.</p>
47
+ *
48
+ *
33
49
  */
34
50
  export declare class RegisterClientCommand extends $Command<RegisterClientCommandInput, RegisterClientCommandOutput, SSOOIDCClientResolvedConfig> {
35
51
  readonly input: RegisterClientCommandInput;
@@ -30,6 +30,28 @@ export interface StartDeviceAuthorizationCommandOutput extends StartDeviceAuthor
30
30
  * @see {@link StartDeviceAuthorizationCommandOutput} for command's `response` shape.
31
31
  * @see {@link SSOOIDCClientResolvedConfig | config} for SSOOIDCClient's `config` shape.
32
32
  *
33
+ * @throws {@link InternalServerException} (server fault)
34
+ * <p>Indicates that an error from the service occurred while trying to process a
35
+ * request.</p>
36
+ *
37
+ * @throws {@link InvalidClientException} (client fault)
38
+ * <p>Indicates that the <code>clientId</code> or <code>clientSecret</code> in the request is
39
+ * invalid. For example, this can occur when a client sends an incorrect <code>clientId</code> or
40
+ * an expired <code>clientSecret</code>.</p>
41
+ *
42
+ * @throws {@link InvalidRequestException} (client fault)
43
+ * <p>Indicates that something is wrong with the input to the request. For example, a required
44
+ * parameter might be missing or out of range.</p>
45
+ *
46
+ * @throws {@link SlowDownException} (client fault)
47
+ * <p>Indicates that the client is making the request too frequently and is more than the
48
+ * service can handle. </p>
49
+ *
50
+ * @throws {@link UnauthorizedClientException} (client fault)
51
+ * <p>Indicates that the client is not currently authorized to make the request. This can happen
52
+ * when a <code>clientId</code> is not issued for a public client.</p>
53
+ *
54
+ *
33
55
  */
34
56
  export declare class StartDeviceAuthorizationCommand extends $Command<StartDeviceAuthorizationCommandInput, StartDeviceAuthorizationCommandOutput, SSOOIDCClientResolvedConfig> {
35
57
  readonly input: StartDeviceAuthorizationCommandInput;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso-oidc",
3
3
  "description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
4
- "version": "3.289.0",
4
+ "version": "3.292.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,52 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/config-resolver": "3.289.0",
24
- "@aws-sdk/fetch-http-handler": "3.289.0",
25
- "@aws-sdk/hash-node": "3.289.0",
26
- "@aws-sdk/invalid-dependency": "3.289.0",
27
- "@aws-sdk/middleware-content-length": "3.289.0",
28
- "@aws-sdk/middleware-endpoint": "3.289.0",
29
- "@aws-sdk/middleware-host-header": "3.289.0",
30
- "@aws-sdk/middleware-logger": "3.289.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.289.0",
32
- "@aws-sdk/middleware-retry": "3.289.0",
33
- "@aws-sdk/middleware-serde": "3.289.0",
34
- "@aws-sdk/middleware-stack": "3.289.0",
35
- "@aws-sdk/middleware-user-agent": "3.289.0",
36
- "@aws-sdk/node-config-provider": "3.289.0",
37
- "@aws-sdk/node-http-handler": "3.289.0",
38
- "@aws-sdk/protocol-http": "3.289.0",
39
- "@aws-sdk/smithy-client": "3.289.0",
40
- "@aws-sdk/types": "3.289.0",
41
- "@aws-sdk/url-parser": "3.289.0",
42
- "@aws-sdk/util-base64": "3.208.0",
43
- "@aws-sdk/util-body-length-browser": "3.188.0",
44
- "@aws-sdk/util-body-length-node": "3.208.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.289.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.289.0",
47
- "@aws-sdk/util-endpoints": "3.289.0",
48
- "@aws-sdk/util-retry": "3.289.0",
49
- "@aws-sdk/util-user-agent-browser": "3.289.0",
50
- "@aws-sdk/util-user-agent-node": "3.289.0",
51
- "@aws-sdk/util-utf8": "3.254.0",
23
+ "@aws-sdk/config-resolver": "3.292.0",
24
+ "@aws-sdk/fetch-http-handler": "3.292.0",
25
+ "@aws-sdk/hash-node": "3.292.0",
26
+ "@aws-sdk/invalid-dependency": "3.292.0",
27
+ "@aws-sdk/middleware-content-length": "3.292.0",
28
+ "@aws-sdk/middleware-endpoint": "3.292.0",
29
+ "@aws-sdk/middleware-host-header": "3.292.0",
30
+ "@aws-sdk/middleware-logger": "3.292.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.292.0",
32
+ "@aws-sdk/middleware-retry": "3.292.0",
33
+ "@aws-sdk/middleware-serde": "3.292.0",
34
+ "@aws-sdk/middleware-stack": "3.292.0",
35
+ "@aws-sdk/middleware-user-agent": "3.292.0",
36
+ "@aws-sdk/node-config-provider": "3.292.0",
37
+ "@aws-sdk/node-http-handler": "3.292.0",
38
+ "@aws-sdk/protocol-http": "3.292.0",
39
+ "@aws-sdk/smithy-client": "3.292.0",
40
+ "@aws-sdk/types": "3.292.0",
41
+ "@aws-sdk/url-parser": "3.292.0",
42
+ "@aws-sdk/util-base64": "3.292.0",
43
+ "@aws-sdk/util-body-length-browser": "3.292.0",
44
+ "@aws-sdk/util-body-length-node": "3.292.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.292.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.292.0",
47
+ "@aws-sdk/util-endpoints": "3.292.0",
48
+ "@aws-sdk/util-retry": "3.292.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.292.0",
50
+ "@aws-sdk/util-user-agent-node": "3.292.0",
51
+ "@aws-sdk/util-utf8": "3.292.0",
52
52
  "tslib": "^2.3.1"
53
53
  },
54
54
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.208.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.292.0",
56
56
  "@tsconfig/node14": "1.0.3",
57
57
  "@types/node": "^14.14.31",
58
58
  "concurrently": "7.0.0",
59
59
  "downlevel-dts": "0.10.1",
60
60
  "rimraf": "3.0.2",
61
- "typedoc": "0.19.2",
61
+ "typedoc": "0.23.23",
62
62
  "typescript": "~4.6.2"
63
63
  },
64
- "overrides": {
65
- "typedoc": {
66
- "typescript": "~4.6.2"
67
- }
68
- },
69
64
  "engines": {
70
65
  "node": ">=14.0.0"
71
66
  },
@@ -116,6 +116,33 @@ export interface AssumeRoleCommandOutput extends AssumeRoleResponse, __MetadataB
116
116
  * @see {@link AssumeRoleCommandOutput} for command's `response` shape.
117
117
  * @see {@link STSClientResolvedConfig | config} for STSClient's `config` shape.
118
118
  *
119
+ * @throws {@link ExpiredTokenException} (client fault)
120
+ * <p>The web identity token that was passed is expired or is not valid. Get a new identity
121
+ * token from the identity provider and then retry the request.</p>
122
+ *
123
+ * @throws {@link MalformedPolicyDocumentException} (client fault)
124
+ * <p>The request was rejected because the policy document was malformed. The error message
125
+ * describes the specific error.</p>
126
+ *
127
+ * @throws {@link PackedPolicyTooLargeException} (client fault)
128
+ * <p>The request was rejected because the total packed size of the session policies and
129
+ * session tags combined was too large. An Amazon Web Services conversion compresses the session policy
130
+ * document, session policy ARNs, and session tags into a packed binary format that has a
131
+ * separate limit. The error message indicates by percentage how close the policies and
132
+ * 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
133
+ * the <i>IAM User Guide</i>.</p>
134
+ * <p>You could receive this error even though you meet other defined session policy and
135
+ * 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
136
+ * Character Limits</a> in the <i>IAM User Guide</i>.</p>
137
+ *
138
+ * @throws {@link RegionDisabledException} (client fault)
139
+ * <p>STS is not activated in the requested region for the account that is being asked to
140
+ * generate credentials. The account administrator must use the IAM console to activate STS
141
+ * 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
142
+ * Deactivating Amazon Web Services STS in an Amazon Web Services Region</a> in the <i>IAM User
143
+ * Guide</i>.</p>
144
+ *
145
+ *
119
146
  * @example To assume a role
120
147
  * ```javascript
121
148
  * //
@@ -157,6 +157,43 @@ export interface AssumeRoleWithSAMLCommandOutput extends AssumeRoleWithSAMLRespo
157
157
  * @see {@link AssumeRoleWithSAMLCommandOutput} for command's `response` shape.
158
158
  * @see {@link STSClientResolvedConfig | config} for STSClient's `config` shape.
159
159
  *
160
+ * @throws {@link ExpiredTokenException} (client fault)
161
+ * <p>The web identity token that was passed is expired or is not valid. Get a new identity
162
+ * token from the identity provider and then retry the request.</p>
163
+ *
164
+ * @throws {@link IDPRejectedClaimException} (client fault)
165
+ * <p>The identity provider (IdP) reported that authentication failed. This might be because
166
+ * the claim is invalid.</p>
167
+ * <p>If this error is returned for the <code>AssumeRoleWithWebIdentity</code> operation, it
168
+ * can also mean that the claim has expired or has been explicitly revoked. </p>
169
+ *
170
+ * @throws {@link InvalidIdentityTokenException} (client fault)
171
+ * <p>The web identity token that was passed could not be validated by Amazon Web Services. Get a new
172
+ * identity token from the identity provider and then retry the request.</p>
173
+ *
174
+ * @throws {@link MalformedPolicyDocumentException} (client fault)
175
+ * <p>The request was rejected because the policy document was malformed. The error message
176
+ * describes the specific error.</p>
177
+ *
178
+ * @throws {@link PackedPolicyTooLargeException} (client fault)
179
+ * <p>The request was rejected because the total packed size of the session policies and
180
+ * session tags combined was too large. An Amazon Web Services conversion compresses the session policy
181
+ * document, session policy ARNs, and session tags into a packed binary format that has a
182
+ * separate limit. The error message indicates by percentage how close the policies and
183
+ * 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
184
+ * the <i>IAM User Guide</i>.</p>
185
+ * <p>You could receive this error even though you meet other defined session policy and
186
+ * 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
187
+ * Character Limits</a> in the <i>IAM User Guide</i>.</p>
188
+ *
189
+ * @throws {@link RegionDisabledException} (client fault)
190
+ * <p>STS is not activated in the requested region for the account that is being asked to
191
+ * generate credentials. The account administrator must use the IAM console to activate STS
192
+ * 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
193
+ * Deactivating Amazon Web Services STS in an Amazon Web Services Region</a> in the <i>IAM User
194
+ * Guide</i>.</p>
195
+ *
196
+ *
160
197
  * @example To assume a role using a SAML assertion
161
198
  * ```javascript
162
199
  * //
@@ -161,6 +161,50 @@ export interface AssumeRoleWithWebIdentityCommandOutput extends AssumeRoleWithWe
161
161
  * @see {@link AssumeRoleWithWebIdentityCommandOutput} for command's `response` shape.
162
162
  * @see {@link STSClientResolvedConfig | config} for STSClient's `config` shape.
163
163
  *
164
+ * @throws {@link ExpiredTokenException} (client fault)
165
+ * <p>The web identity token that was passed is expired or is not valid. Get a new identity
166
+ * token from the identity provider and then retry the request.</p>
167
+ *
168
+ * @throws {@link IDPCommunicationErrorException} (client fault)
169
+ * <p>The request could not be fulfilled because the identity provider (IDP) that
170
+ * was asked to verify the incoming identity token could not be reached. This is often a
171
+ * transient error caused by network conditions. Retry the request a limited number of
172
+ * times so that you don't exceed the request rate. If the error persists, the
173
+ * identity provider might be down or not responding.</p>
174
+ *
175
+ * @throws {@link IDPRejectedClaimException} (client fault)
176
+ * <p>The identity provider (IdP) reported that authentication failed. This might be because
177
+ * the claim is invalid.</p>
178
+ * <p>If this error is returned for the <code>AssumeRoleWithWebIdentity</code> operation, it
179
+ * can also mean that the claim has expired or has been explicitly revoked. </p>
180
+ *
181
+ * @throws {@link InvalidIdentityTokenException} (client fault)
182
+ * <p>The web identity token that was passed could not be validated by Amazon Web Services. Get a new
183
+ * identity token from the identity provider and then retry the request.</p>
184
+ *
185
+ * @throws {@link MalformedPolicyDocumentException} (client fault)
186
+ * <p>The request was rejected because the policy document was malformed. The error message
187
+ * describes the specific error.</p>
188
+ *
189
+ * @throws {@link PackedPolicyTooLargeException} (client fault)
190
+ * <p>The request was rejected because the total packed size of the session policies and
191
+ * session tags combined was too large. An Amazon Web Services conversion compresses the session policy
192
+ * document, session policy ARNs, and session tags into a packed binary format that has a
193
+ * separate limit. The error message indicates by percentage how close the policies and
194
+ * 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
195
+ * the <i>IAM User Guide</i>.</p>
196
+ * <p>You could receive this error even though you meet other defined session policy and
197
+ * 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
198
+ * Character Limits</a> in the <i>IAM User Guide</i>.</p>
199
+ *
200
+ * @throws {@link RegionDisabledException} (client fault)
201
+ * <p>STS is not activated in the requested region for the account that is being asked to
202
+ * generate credentials. The account administrator must use the IAM console to activate STS
203
+ * 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
204
+ * Deactivating Amazon Web Services STS in an Amazon Web Services Region</a> in the <i>IAM User
205
+ * Guide</i>.</p>
206
+ *
207
+ *
164
208
  * @example To assume a role as an OpenID Connect-federated user
165
209
  * ```javascript
166
210
  * //
@@ -64,6 +64,12 @@ export interface DecodeAuthorizationMessageCommandOutput extends DecodeAuthoriza
64
64
  * @see {@link DecodeAuthorizationMessageCommandOutput} for command's `response` shape.
65
65
  * @see {@link STSClientResolvedConfig | config} for STSClient's `config` shape.
66
66
  *
67
+ * @throws {@link InvalidAuthorizationMessageException} (client fault)
68
+ * <p>The error returned if the message passed to <code>DecodeAuthorizationMessage</code>
69
+ * was invalid. This can happen if the token contains invalid characters, such as
70
+ * linebreaks. </p>
71
+ *
72
+ *
67
73
  * @example To decode information about an authorization status of a request
68
74
  * ```javascript
69
75
  * //
@@ -46,6 +46,7 @@ export interface GetAccessKeyInfoCommandOutput extends GetAccessKeyInfoResponse,
46
46
  * @see {@link GetAccessKeyInfoCommandOutput} for command's `response` shape.
47
47
  * @see {@link STSClientResolvedConfig | config} for STSClient's `config` shape.
48
48
  *
49
+ *
49
50
  */
50
51
  export declare class GetAccessKeyInfoCommand extends $Command<GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput, STSClientResolvedConfig> {
51
52
  readonly input: GetAccessKeyInfoCommandInput;
@@ -38,6 +38,7 @@ export interface GetCallerIdentityCommandOutput extends GetCallerIdentityRespons
38
38
  * @see {@link GetCallerIdentityCommandOutput} for command's `response` shape.
39
39
  * @see {@link STSClientResolvedConfig | config} for STSClient's `config` shape.
40
40
  *
41
+ *
41
42
  * @example To get details about a calling IAM user
42
43
  * ```javascript
43
44
  * // This example shows a request and response made with the credentials for a user named Alice in the AWS account 123456789012.
@@ -115,6 +115,29 @@ export interface GetFederationTokenCommandOutput extends GetFederationTokenRespo
115
115
  * @see {@link GetFederationTokenCommandOutput} for command's `response` shape.
116
116
  * @see {@link STSClientResolvedConfig | config} for STSClient's `config` shape.
117
117
  *
118
+ * @throws {@link MalformedPolicyDocumentException} (client fault)
119
+ * <p>The request was rejected because the policy document was malformed. The error message
120
+ * describes the specific error.</p>
121
+ *
122
+ * @throws {@link PackedPolicyTooLargeException} (client fault)
123
+ * <p>The request was rejected because the total packed size of the session policies and
124
+ * session tags combined was too large. An Amazon Web Services conversion compresses the session policy
125
+ * document, session policy ARNs, and session tags into a packed binary format that has a
126
+ * separate limit. The error message indicates by percentage how close the policies and
127
+ * 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
128
+ * the <i>IAM User Guide</i>.</p>
129
+ * <p>You could receive this error even though you meet other defined session policy and
130
+ * 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
131
+ * Character Limits</a> in the <i>IAM User Guide</i>.</p>
132
+ *
133
+ * @throws {@link RegionDisabledException} (client fault)
134
+ * <p>STS is not activated in the requested region for the account that is being asked to
135
+ * generate credentials. The account administrator must use the IAM console to activate STS
136
+ * 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
137
+ * Deactivating Amazon Web Services STS in an Amazon Web Services Region</a> in the <i>IAM User
138
+ * Guide</i>.</p>
139
+ *
140
+ *
118
141
  * @example To get temporary credentials for a role by using GetFederationToken
119
142
  * ```javascript
120
143
  * //
@@ -87,6 +87,14 @@ export interface GetSessionTokenCommandOutput extends GetSessionTokenResponse, _
87
87
  * @see {@link GetSessionTokenCommandOutput} for command's `response` shape.
88
88
  * @see {@link STSClientResolvedConfig | config} for STSClient's `config` shape.
89
89
  *
90
+ * @throws {@link RegionDisabledException} (client fault)
91
+ * <p>STS is not activated in the requested region for the account that is being asked to
92
+ * generate credentials. The account administrator must use the IAM console to activate STS
93
+ * 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
94
+ * Deactivating Amazon Web Services STS in an Amazon Web Services Region</a> in the <i>IAM User
95
+ * Guide</i>.</p>
96
+ *
97
+ *
90
98
  * @example To get temporary credentials for an IAM user or an AWS account
91
99
  * ```javascript
92
100
  * //