@cdklabs/cdk-ecs-codedeploy 0.0.321 → 0.0.323

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 (202) hide show
  1. package/.jsii +3 -3
  2. package/.jsii.tabl.json +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/client-codedeploy/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +11 -0
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +11 -0
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +11 -0
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +11 -0
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +11 -0
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +11 -0
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +11 -0
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +11 -0
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +11 -0
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +11 -0
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +11 -0
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +11 -0
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +11 -0
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteApplicationCommand.d.ts +11 -0
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +11 -0
  22. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +11 -0
  23. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +11 -0
  24. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +11 -0
  25. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +11 -0
  26. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +11 -0
  27. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +11 -0
  28. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +11 -0
  29. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +11 -0
  30. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +11 -0
  31. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +11 -0
  32. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +11 -0
  33. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +11 -0
  34. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +11 -0
  35. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +11 -0
  36. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +11 -0
  37. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +11 -0
  38. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +11 -0
  39. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +11 -0
  40. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +11 -0
  41. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +11 -0
  42. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +11 -0
  43. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  44. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +11 -0
  45. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +11 -0
  46. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +11 -0
  47. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +11 -0
  48. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +11 -0
  49. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +11 -0
  50. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +11 -0
  51. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +11 -0
  52. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +11 -0
  53. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +11 -0
  54. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/AddTagsToOnPremisesInstancesCommand.d.ts +12 -1
  55. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetApplicationRevisionsCommand.d.ts +12 -1
  56. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +12 -1
  57. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentGroupsCommand.d.ts +12 -1
  58. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +12 -1
  59. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +12 -1
  60. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +12 -1
  61. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +12 -1
  62. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ContinueDeploymentCommand.d.ts +12 -1
  63. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +12 -1
  64. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +12 -1
  65. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentConfigCommand.d.ts +12 -1
  66. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentGroupCommand.d.ts +12 -1
  67. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +12 -1
  68. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +12 -1
  69. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteDeploymentGroupCommand.d.ts +12 -1
  70. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteGitHubAccountTokenCommand.d.ts +12 -1
  71. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteResourcesByExternalIdCommand.d.ts +12 -1
  72. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeregisterOnPremisesInstanceCommand.d.ts +12 -1
  73. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +12 -1
  74. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetApplicationRevisionCommand.d.ts +12 -1
  75. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +12 -1
  76. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentConfigCommand.d.ts +12 -1
  77. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentGroupCommand.d.ts +12 -1
  78. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentInstanceCommand.d.ts +12 -1
  79. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentTargetCommand.d.ts +12 -1
  80. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetOnPremisesInstanceCommand.d.ts +12 -1
  81. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListApplicationRevisionsCommand.d.ts +12 -1
  82. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +12 -1
  83. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentConfigsCommand.d.ts +12 -1
  84. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +12 -1
  85. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +12 -1
  86. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentTargetsCommand.d.ts +12 -1
  87. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +12 -1
  88. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListGitHubAccountTokenNamesCommand.d.ts +12 -1
  89. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +12 -1
  90. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +12 -1
  91. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +12 -1
  92. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +12 -1
  93. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +12 -1
  94. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +12 -1
  95. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +12 -1
  96. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +12 -1
  97. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/TagResourceCommand.d.ts +12 -1
  98. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +12 -1
  99. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +12 -1
  100. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UpdateDeploymentGroupCommand.d.ts +12 -1
  101. package/node_modules/@aws-sdk/client-codedeploy/package.json +36 -36
  102. package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +11 -0
  103. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +11 -0
  104. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +11 -0
  105. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +11 -0
  106. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +12 -1
  107. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +12 -1
  108. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +12 -1
  109. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +12 -1
  110. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  111. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +11 -0
  112. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +11 -0
  113. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +11 -0
  114. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +11 -0
  115. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +12 -1
  116. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +12 -1
  117. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +12 -1
  118. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +12 -1
  119. package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
  120. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +11 -0
  121. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +11 -0
  122. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +11 -0
  123. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +11 -0
  124. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +11 -0
  125. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +11 -0
  126. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +11 -0
  127. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +11 -0
  128. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +12 -1
  129. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +12 -1
  130. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +12 -1
  131. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +12 -1
  132. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +12 -1
  133. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +12 -1
  134. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +12 -1
  135. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +12 -1
  136. package/node_modules/@aws-sdk/client-sts/package.json +34 -34
  137. package/node_modules/@aws-sdk/core/package.json +10 -10
  138. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  139. package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
  140. package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +29 -30
  141. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +24 -22
  142. package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +2 -2
  143. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +1 -1
  144. package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts +2 -1
  145. package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
  146. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  147. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  148. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  149. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
  150. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  151. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  152. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  153. package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
  154. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  155. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  156. package/node_modules/@aws-sdk/types/package.json +2 -2
  157. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  158. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  159. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
  160. package/node_modules/@smithy/abort-controller/package.json +2 -2
  161. package/node_modules/@smithy/config-resolver/package.json +4 -4
  162. package/node_modules/@smithy/core/package.json +8 -8
  163. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  164. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  165. package/node_modules/@smithy/hash-node/package.json +2 -2
  166. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  167. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  168. package/node_modules/@smithy/middleware-endpoint/package.json +7 -7
  169. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  170. package/node_modules/@smithy/middleware-serde/package.json +2 -2
  171. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  172. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  173. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  174. package/node_modules/@smithy/property-provider/package.json +2 -2
  175. package/node_modules/@smithy/protocol-http/package.json +2 -2
  176. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  177. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  178. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  179. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  180. package/node_modules/@smithy/signature-v4/package.json +4 -4
  181. package/node_modules/@smithy/smithy-client/package.json +6 -6
  182. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +7 -0
  183. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +7 -0
  184. package/node_modules/@smithy/types/package.json +1 -1
  185. package/node_modules/@smithy/url-parser/package.json +3 -3
  186. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  187. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  188. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  189. package/node_modules/@smithy/util-middleware/package.json +2 -2
  190. package/node_modules/@smithy/util-retry/package.json +3 -3
  191. package/node_modules/@smithy/util-stream/package.json +4 -4
  192. package/node_modules/@smithy/util-waiter/package.json +3 -3
  193. package/package.json +4 -4
  194. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.js +0 -20
  195. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.js +0 -20
  196. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +0 -5
  197. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +0 -5
  198. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +0 -4
  199. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +0 -4
  200. package/node_modules/@aws-sdk/core/dist-types/tsdoc-metadata.json +0 -11
  201. package/node_modules/@aws-sdk/middleware-user-agent/dist-types/tsdoc-metadata.json +0 -11
  202. package/node_modules/@aws-sdk/region-config-resolver/dist-types/tsdoc-metadata.json +0 -11
@@ -114,4 +114,15 @@ declare const GetCallerIdentityCommand_base: {
114
114
  *
115
115
  */
116
116
  export declare class GetCallerIdentityCommand extends GetCallerIdentityCommand_base {
117
+ /** @internal type navigation helper, not in runtime. */
118
+ protected static __types: {
119
+ api: {
120
+ input: {};
121
+ output: GetCallerIdentityResponse;
122
+ };
123
+ sdk: {
124
+ input: GetCallerIdentityCommandInput;
125
+ output: GetCallerIdentityCommandOutput;
126
+ };
127
+ };
117
128
  }
@@ -228,4 +228,15 @@ declare const GetFederationTokenCommand_base: {
228
228
  *
229
229
  */
230
230
  export declare class GetFederationTokenCommand extends GetFederationTokenCommand_base {
231
+ /** @internal type navigation helper, not in runtime. */
232
+ protected static __types: {
233
+ api: {
234
+ input: GetFederationTokenRequest;
235
+ output: GetFederationTokenResponse;
236
+ };
237
+ sdk: {
238
+ input: GetFederationTokenCommandInput;
239
+ output: GetFederationTokenCommandOutput;
240
+ };
241
+ };
231
242
  }
@@ -152,4 +152,15 @@ declare const GetSessionTokenCommand_base: {
152
152
  *
153
153
  */
154
154
  export declare class GetSessionTokenCommand extends GetSessionTokenCommand_base {
155
+ /** @internal type navigation helper, not in runtime. */
156
+ protected static __types: {
157
+ api: {
158
+ input: GetSessionTokenRequest;
159
+ output: GetSessionTokenResponse;
160
+ };
161
+ sdk: {
162
+ input: GetSessionTokenCommandInput;
163
+ output: GetSessionTokenCommandOutput;
164
+ };
165
+ };
155
166
  }
@@ -33,4 +33,15 @@ declare const AssumeRoleCommand_base: {
33
33
  >;
34
34
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
35
  };
36
- export declare class AssumeRoleCommand extends AssumeRoleCommand_base {}
36
+ export declare class AssumeRoleCommand extends AssumeRoleCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: AssumeRoleRequest;
40
+ output: AssumeRoleResponse;
41
+ };
42
+ sdk: {
43
+ input: AssumeRoleCommandInput;
44
+ output: AssumeRoleCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -37,4 +37,15 @@ declare const AssumeRoleWithSAMLCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class AssumeRoleWithSAMLCommand extends AssumeRoleWithSAMLCommand_base {}
40
+ export declare class AssumeRoleWithSAMLCommand extends AssumeRoleWithSAMLCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: AssumeRoleWithSAMLRequest;
44
+ output: AssumeRoleWithSAMLResponse;
45
+ };
46
+ sdk: {
47
+ input: AssumeRoleWithSAMLCommandInput;
48
+ output: AssumeRoleWithSAMLCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -37,4 +37,15 @@ declare const AssumeRoleWithWebIdentityCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class AssumeRoleWithWebIdentityCommand extends AssumeRoleWithWebIdentityCommand_base {}
40
+ export declare class AssumeRoleWithWebIdentityCommand extends AssumeRoleWithWebIdentityCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: AssumeRoleWithWebIdentityRequest;
44
+ output: AssumeRoleWithWebIdentityResponse;
45
+ };
46
+ sdk: {
47
+ input: AssumeRoleWithWebIdentityCommandInput;
48
+ output: AssumeRoleWithWebIdentityCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -37,4 +37,15 @@ declare const DecodeAuthorizationMessageCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class DecodeAuthorizationMessageCommand extends DecodeAuthorizationMessageCommand_base {}
40
+ export declare class DecodeAuthorizationMessageCommand extends DecodeAuthorizationMessageCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DecodeAuthorizationMessageRequest;
44
+ output: DecodeAuthorizationMessageResponse;
45
+ };
46
+ sdk: {
47
+ input: DecodeAuthorizationMessageCommandInput;
48
+ output: DecodeAuthorizationMessageCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -36,4 +36,15 @@ declare const GetAccessKeyInfoCommand_base: {
36
36
  >;
37
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
38
  };
39
- export declare class GetAccessKeyInfoCommand extends GetAccessKeyInfoCommand_base {}
39
+ export declare class GetAccessKeyInfoCommand extends GetAccessKeyInfoCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: GetAccessKeyInfoRequest;
43
+ output: GetAccessKeyInfoResponse;
44
+ };
45
+ sdk: {
46
+ input: GetAccessKeyInfoCommandInput;
47
+ output: GetAccessKeyInfoCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -37,4 +37,15 @@ declare const GetCallerIdentityCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class GetCallerIdentityCommand extends GetCallerIdentityCommand_base {}
40
+ export declare class GetCallerIdentityCommand extends GetCallerIdentityCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: {};
44
+ output: GetCallerIdentityResponse;
45
+ };
46
+ sdk: {
47
+ input: GetCallerIdentityCommandInput;
48
+ output: GetCallerIdentityCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -37,4 +37,15 @@ declare const GetFederationTokenCommand_base: {
37
37
  >;
38
38
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
39
  };
40
- export declare class GetFederationTokenCommand extends GetFederationTokenCommand_base {}
40
+ export declare class GetFederationTokenCommand extends GetFederationTokenCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetFederationTokenRequest;
44
+ output: GetFederationTokenResponse;
45
+ };
46
+ sdk: {
47
+ input: GetFederationTokenCommandInput;
48
+ output: GetFederationTokenCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -36,4 +36,15 @@ declare const GetSessionTokenCommand_base: {
36
36
  >;
37
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
38
  };
39
- export declare class GetSessionTokenCommand extends GetSessionTokenCommand_base {}
39
+ export declare class GetSessionTokenCommand extends GetSessionTokenCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: GetSessionTokenRequest;
43
+ output: GetSessionTokenResponse;
44
+ };
45
+ sdk: {
46
+ input: GetSessionTokenCommandInput;
47
+ output: GetSessionTokenCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sts",
3
3
  "description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
4
- "version": "3.650.0",
4
+ "version": "3.654.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sts",
@@ -22,42 +22,42 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/client-sso-oidc": "3.650.0",
26
- "@aws-sdk/core": "3.649.0",
27
- "@aws-sdk/credential-provider-node": "3.650.0",
28
- "@aws-sdk/middleware-host-header": "3.649.0",
29
- "@aws-sdk/middleware-logger": "3.649.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.649.0",
31
- "@aws-sdk/middleware-user-agent": "3.649.0",
32
- "@aws-sdk/region-config-resolver": "3.649.0",
33
- "@aws-sdk/types": "3.649.0",
34
- "@aws-sdk/util-endpoints": "3.649.0",
35
- "@aws-sdk/util-user-agent-browser": "3.649.0",
36
- "@aws-sdk/util-user-agent-node": "3.649.0",
37
- "@smithy/config-resolver": "^3.0.6",
38
- "@smithy/core": "^2.4.1",
39
- "@smithy/fetch-http-handler": "^3.2.5",
40
- "@smithy/hash-node": "^3.0.4",
41
- "@smithy/invalid-dependency": "^3.0.4",
42
- "@smithy/middleware-content-length": "^3.0.6",
43
- "@smithy/middleware-endpoint": "^3.1.1",
44
- "@smithy/middleware-retry": "^3.0.16",
45
- "@smithy/middleware-serde": "^3.0.4",
46
- "@smithy/middleware-stack": "^3.0.4",
47
- "@smithy/node-config-provider": "^3.1.5",
48
- "@smithy/node-http-handler": "^3.2.0",
49
- "@smithy/protocol-http": "^4.1.1",
50
- "@smithy/smithy-client": "^3.3.0",
51
- "@smithy/types": "^3.4.0",
52
- "@smithy/url-parser": "^3.0.4",
25
+ "@aws-sdk/client-sso-oidc": "3.654.0",
26
+ "@aws-sdk/core": "3.654.0",
27
+ "@aws-sdk/credential-provider-node": "3.654.0",
28
+ "@aws-sdk/middleware-host-header": "3.654.0",
29
+ "@aws-sdk/middleware-logger": "3.654.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.654.0",
31
+ "@aws-sdk/middleware-user-agent": "3.654.0",
32
+ "@aws-sdk/region-config-resolver": "3.654.0",
33
+ "@aws-sdk/types": "3.654.0",
34
+ "@aws-sdk/util-endpoints": "3.654.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.654.0",
36
+ "@aws-sdk/util-user-agent-node": "3.654.0",
37
+ "@smithy/config-resolver": "^3.0.8",
38
+ "@smithy/core": "^2.4.3",
39
+ "@smithy/fetch-http-handler": "^3.2.7",
40
+ "@smithy/hash-node": "^3.0.6",
41
+ "@smithy/invalid-dependency": "^3.0.6",
42
+ "@smithy/middleware-content-length": "^3.0.8",
43
+ "@smithy/middleware-endpoint": "^3.1.3",
44
+ "@smithy/middleware-retry": "^3.0.18",
45
+ "@smithy/middleware-serde": "^3.0.6",
46
+ "@smithy/middleware-stack": "^3.0.6",
47
+ "@smithy/node-config-provider": "^3.1.7",
48
+ "@smithy/node-http-handler": "^3.2.2",
49
+ "@smithy/protocol-http": "^4.1.3",
50
+ "@smithy/smithy-client": "^3.3.2",
51
+ "@smithy/types": "^3.4.2",
52
+ "@smithy/url-parser": "^3.0.6",
53
53
  "@smithy/util-base64": "^3.0.0",
54
54
  "@smithy/util-body-length-browser": "^3.0.0",
55
55
  "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.16",
57
- "@smithy/util-defaults-mode-node": "^3.0.16",
58
- "@smithy/util-endpoints": "^2.1.0",
59
- "@smithy/util-middleware": "^3.0.4",
60
- "@smithy/util-retry": "^3.0.4",
56
+ "@smithy/util-defaults-mode-browser": "^3.0.18",
57
+ "@smithy/util-defaults-mode-node": "^3.0.18",
58
+ "@smithy/util-endpoints": "^2.1.2",
59
+ "@smithy/util-middleware": "^3.0.6",
60
+ "@smithy/util-retry": "^3.0.6",
61
61
  "@smithy/util-utf8": "^3.0.0",
62
62
  "tslib": "^2.6.2"
63
63
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.649.0",
4
- "description": "Core functions & classes shared by multiple AWS SDK clients",
3
+ "version": "3.654.0",
4
+ "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline core",
@@ -75,14 +75,14 @@
75
75
  },
76
76
  "license": "Apache-2.0",
77
77
  "dependencies": {
78
- "@smithy/core": "^2.4.1",
79
- "@smithy/node-config-provider": "^3.1.5",
80
- "@smithy/property-provider": "^3.1.4",
81
- "@smithy/protocol-http": "^4.1.1",
82
- "@smithy/signature-v4": "^4.1.1",
83
- "@smithy/smithy-client": "^3.3.0",
84
- "@smithy/types": "^3.4.0",
85
- "@smithy/util-middleware": "^3.0.4",
78
+ "@smithy/core": "^2.4.3",
79
+ "@smithy/node-config-provider": "^3.1.7",
80
+ "@smithy/property-provider": "^3.1.6",
81
+ "@smithy/protocol-http": "^4.1.3",
82
+ "@smithy/signature-v4": "^4.1.3",
83
+ "@smithy/smithy-client": "^3.3.2",
84
+ "@smithy/types": "^3.4.2",
85
+ "@smithy/util-middleware": "^3.0.6",
86
86
  "fast-xml-parser": "4.4.1",
87
87
  "tslib": "^2.6.2"
88
88
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.649.0",
3
+ "version": "3.654.0",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,9 +24,9 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "3.649.0",
28
- "@smithy/property-provider": "^3.1.4",
29
- "@smithy/types": "^3.4.0",
27
+ "@aws-sdk/types": "3.654.0",
28
+ "@smithy/property-provider": "^3.1.6",
29
+ "@smithy/types": "^3.4.2",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.649.0",
3
+ "version": "3.654.0",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -26,14 +26,14 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/types": "3.649.0",
30
- "@smithy/fetch-http-handler": "^3.2.5",
31
- "@smithy/node-http-handler": "^3.2.0",
32
- "@smithy/property-provider": "^3.1.4",
33
- "@smithy/protocol-http": "^4.1.1",
34
- "@smithy/smithy-client": "^3.3.0",
35
- "@smithy/types": "^3.4.0",
36
- "@smithy/util-stream": "^3.1.4",
29
+ "@aws-sdk/types": "3.654.0",
30
+ "@smithy/fetch-http-handler": "^3.2.7",
31
+ "@smithy/node-http-handler": "^3.2.2",
32
+ "@smithy/property-provider": "^3.1.6",
33
+ "@smithy/protocol-http": "^4.1.3",
34
+ "@smithy/smithy-client": "^3.3.2",
35
+ "@smithy/types": "^3.4.2",
36
+ "@smithy/util-stream": "^3.1.6",
37
37
  "tslib": "^2.6.2"
38
38
  },
39
39
  "devDependencies": {
@@ -123,42 +123,41 @@ var resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, pr
123
123
  );
124
124
  const sourceCredsProvider = source_profile ? resolveProfileData(
125
125
  source_profile,
126
- {
127
- ...profiles,
128
- [source_profile]: {
129
- ...profiles[source_profile],
130
- // This assigns the role_arn of the "root" profile
131
- // to the credential_source profile so this recursive call knows
132
- // what role to assume.
133
- role_arn: data.role_arn ?? profiles[source_profile].role_arn
134
- }
135
- },
126
+ profiles,
136
127
  options,
137
128
  {
138
129
  ...visitedProfiles,
139
130
  [source_profile]: true
140
- }
131
+ },
132
+ isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {})
141
133
  ) : (await resolveCredentialSource(data.credential_source, profileName, options.logger)(options))();
142
- const params = {
143
- RoleArn: data.role_arn,
144
- RoleSessionName: data.role_session_name || `aws-sdk-js-${Date.now()}`,
145
- ExternalId: data.external_id,
146
- DurationSeconds: parseInt(data.duration_seconds || "3600", 10)
147
- };
148
- const { mfa_serial } = data;
149
- if (mfa_serial) {
150
- if (!options.mfaCodeProvider) {
151
- throw new import_property_provider.CredentialsProviderError(
152
- `Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`,
153
- { logger: options.logger, tryNextLink: false }
154
- );
134
+ if (isCredentialSourceWithoutRoleArn(data)) {
135
+ return sourceCredsProvider;
136
+ } else {
137
+ const params = {
138
+ RoleArn: data.role_arn,
139
+ RoleSessionName: data.role_session_name || `aws-sdk-js-${Date.now()}`,
140
+ ExternalId: data.external_id,
141
+ DurationSeconds: parseInt(data.duration_seconds || "3600", 10)
142
+ };
143
+ const { mfa_serial } = data;
144
+ if (mfa_serial) {
145
+ if (!options.mfaCodeProvider) {
146
+ throw new import_property_provider.CredentialsProviderError(
147
+ `Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`,
148
+ { logger: options.logger, tryNextLink: false }
149
+ );
150
+ }
151
+ params.SerialNumber = mfa_serial;
152
+ params.TokenCode = await options.mfaCodeProvider(mfa_serial);
155
153
  }
156
- params.SerialNumber = mfa_serial;
157
- params.TokenCode = await options.mfaCodeProvider(mfa_serial);
154
+ const sourceCreds = await sourceCredsProvider;
155
+ return options.roleAssumer(sourceCreds, params);
158
156
  }
159
- const sourceCreds = await sourceCredsProvider;
160
- return options.roleAssumer(sourceCreds, params);
161
157
  }, "resolveAssumeRoleCredentials");
158
+ var isCredentialSourceWithoutRoleArn = /* @__PURE__ */ __name((section) => {
159
+ return !section.role_arn && !!section.credential_source;
160
+ }, "isCredentialSourceWithoutRoleArn");
162
161
 
163
162
  // src/resolveProcessCredentials.ts
164
163
  var isProcessProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string", "isProcessProfile");
@@ -207,12 +206,12 @@ var resolveWebIdentityCredentials = /* @__PURE__ */ __name(async (profile, optio
207
206
  ), "resolveWebIdentityCredentials");
208
207
 
209
208
  // src/resolveProfileData.ts
210
- var resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}) => {
209
+ var resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
211
210
  const data = profiles[profileName];
212
211
  if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
213
212
  return resolveStaticCredentials(data, options);
214
213
  }
215
- if (isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
214
+ if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
216
215
  return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles);
217
216
  }
218
217
  if (isStaticCredsProfile(data)) {
@@ -44,31 +44,33 @@ export const resolveAssumeRoleCredentials = async (profileName, profiles, option
44
44
  }
45
45
  options.logger?.debug(`@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}`);
46
46
  const sourceCredsProvider = source_profile
47
- ? resolveProfileData(source_profile, {
48
- ...profiles,
49
- [source_profile]: {
50
- ...profiles[source_profile],
51
- role_arn: data.role_arn ?? profiles[source_profile].role_arn,
52
- },
53
- }, options, {
47
+ ? resolveProfileData(source_profile, profiles, options, {
54
48
  ...visitedProfiles,
55
49
  [source_profile]: true,
56
- })
50
+ }, isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {}))
57
51
  : (await resolveCredentialSource(data.credential_source, profileName, options.logger)(options))();
58
- const params = {
59
- RoleArn: data.role_arn,
60
- RoleSessionName: data.role_session_name || `aws-sdk-js-${Date.now()}`,
61
- ExternalId: data.external_id,
62
- DurationSeconds: parseInt(data.duration_seconds || "3600", 10),
63
- };
64
- const { mfa_serial } = data;
65
- if (mfa_serial) {
66
- if (!options.mfaCodeProvider) {
67
- throw new CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false });
52
+ if (isCredentialSourceWithoutRoleArn(data)) {
53
+ return sourceCredsProvider;
54
+ }
55
+ else {
56
+ const params = {
57
+ RoleArn: data.role_arn,
58
+ RoleSessionName: data.role_session_name || `aws-sdk-js-${Date.now()}`,
59
+ ExternalId: data.external_id,
60
+ DurationSeconds: parseInt(data.duration_seconds || "3600", 10),
61
+ };
62
+ const { mfa_serial } = data;
63
+ if (mfa_serial) {
64
+ if (!options.mfaCodeProvider) {
65
+ throw new CredentialsProviderError(`Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, { logger: options.logger, tryNextLink: false });
66
+ }
67
+ params.SerialNumber = mfa_serial;
68
+ params.TokenCode = await options.mfaCodeProvider(mfa_serial);
68
69
  }
69
- params.SerialNumber = mfa_serial;
70
- params.TokenCode = await options.mfaCodeProvider(mfa_serial);
70
+ const sourceCreds = await sourceCredsProvider;
71
+ return options.roleAssumer(sourceCreds, params);
71
72
  }
72
- const sourceCreds = await sourceCredsProvider;
73
- return options.roleAssumer(sourceCreds, params);
73
+ };
74
+ const isCredentialSourceWithoutRoleArn = (section) => {
75
+ return !section.role_arn && !!section.credential_source;
74
76
  };
@@ -4,12 +4,12 @@ import { isProcessProfile, resolveProcessCredentials } from "./resolveProcessCre
4
4
  import { isSsoProfile, resolveSsoCredentials } from "./resolveSsoCredentials";
5
5
  import { isStaticCredsProfile, resolveStaticCredentials } from "./resolveStaticCredentials";
6
6
  import { isWebIdentityProfile, resolveWebIdentityCredentials } from "./resolveWebIdentityCredentials";
7
- export const resolveProfileData = async (profileName, profiles, options, visitedProfiles = {}) => {
7
+ export const resolveProfileData = async (profileName, profiles, options, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
8
8
  const data = profiles[profileName];
9
9
  if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
10
10
  return resolveStaticCredentials(data, options);
11
11
  }
12
- if (isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
12
+ if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) {
13
13
  return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles);
14
14
  }
15
15
  if (isStaticCredsProfile(data)) {
@@ -3,4 +3,4 @@ import { FromIniInit } from "./fromIni";
3
3
  /**
4
4
  * @internal
5
5
  */
6
- export declare const resolveProfileData: (profileName: string, profiles: ParsedIniData, options: FromIniInit, visitedProfiles?: Record<string, true>) => Promise<AwsCredentialIdentity>;
6
+ export declare const resolveProfileData: (profileName: string, profiles: ParsedIniData, options: FromIniInit, visitedProfiles?: Record<string, true>, isAssumeRoleRecursiveCall?: boolean) => Promise<AwsCredentialIdentity>;
@@ -4,5 +4,6 @@ export declare const resolveProfileData: (
4
4
  profileName: string,
5
5
  profiles: ParsedIniData,
6
6
  options: FromIniInit,
7
- visitedProfiles?: Record<string, true>
7
+ visitedProfiles?: Record<string, true>,
8
+ isAssumeRoleRecursiveCall?: boolean
8
9
  ) => Promise<AwsCredentialIdentity>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.650.0",
3
+ "version": "3.654.0",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,16 +24,16 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/credential-provider-env": "3.649.0",
28
- "@aws-sdk/credential-provider-http": "3.649.0",
29
- "@aws-sdk/credential-provider-process": "3.649.0",
30
- "@aws-sdk/credential-provider-sso": "3.650.0",
31
- "@aws-sdk/credential-provider-web-identity": "3.649.0",
32
- "@aws-sdk/types": "3.649.0",
33
- "@smithy/credential-provider-imds": "^3.2.1",
34
- "@smithy/property-provider": "^3.1.4",
35
- "@smithy/shared-ini-file-loader": "^3.1.5",
36
- "@smithy/types": "^3.4.0",
27
+ "@aws-sdk/credential-provider-env": "3.654.0",
28
+ "@aws-sdk/credential-provider-http": "3.654.0",
29
+ "@aws-sdk/credential-provider-process": "3.654.0",
30
+ "@aws-sdk/credential-provider-sso": "3.654.0",
31
+ "@aws-sdk/credential-provider-web-identity": "3.654.0",
32
+ "@aws-sdk/types": "3.654.0",
33
+ "@smithy/credential-provider-imds": "^3.2.3",
34
+ "@smithy/property-provider": "^3.1.6",
35
+ "@smithy/shared-ini-file-loader": "^3.1.7",
36
+ "@smithy/types": "^3.4.2",
37
37
  "tslib": "^2.6.2"
38
38
  },
39
39
  "devDependencies": {
@@ -45,7 +45,7 @@
45
45
  "typescript": "~4.9.5"
46
46
  },
47
47
  "peerDependencies": {
48
- "@aws-sdk/client-sts": "^3.650.0"
48
+ "@aws-sdk/client-sts": "^3.654.0"
49
49
  },
50
50
  "types": "./dist-types/index.d.ts",
51
51
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.650.0",
3
+ "version": "3.654.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=16.0.0"
@@ -28,17 +28,17 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/credential-provider-env": "3.649.0",
32
- "@aws-sdk/credential-provider-http": "3.649.0",
33
- "@aws-sdk/credential-provider-ini": "3.650.0",
34
- "@aws-sdk/credential-provider-process": "3.649.0",
35
- "@aws-sdk/credential-provider-sso": "3.650.0",
36
- "@aws-sdk/credential-provider-web-identity": "3.649.0",
37
- "@aws-sdk/types": "3.649.0",
38
- "@smithy/credential-provider-imds": "^3.2.1",
39
- "@smithy/property-provider": "^3.1.4",
40
- "@smithy/shared-ini-file-loader": "^3.1.5",
41
- "@smithy/types": "^3.4.0",
31
+ "@aws-sdk/credential-provider-env": "3.654.0",
32
+ "@aws-sdk/credential-provider-http": "3.654.0",
33
+ "@aws-sdk/credential-provider-ini": "3.654.0",
34
+ "@aws-sdk/credential-provider-process": "3.654.0",
35
+ "@aws-sdk/credential-provider-sso": "3.654.0",
36
+ "@aws-sdk/credential-provider-web-identity": "3.654.0",
37
+ "@aws-sdk/types": "3.654.0",
38
+ "@smithy/credential-provider-imds": "^3.2.3",
39
+ "@smithy/property-provider": "^3.1.6",
40
+ "@smithy/shared-ini-file-loader": "^3.1.7",
41
+ "@smithy/types": "^3.4.2",
42
42
  "tslib": "^2.6.2"
43
43
  },
44
44
  "devDependencies": {