@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.
- package/.jsii +3 -3
- package/.jsii.tabl.json +1 -1
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteApplicationCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/AddTagsToOnPremisesInstancesCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetApplicationRevisionsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentGroupsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ContinueDeploymentCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentConfigCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentGroupCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteDeploymentGroupCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteGitHubAccountTokenCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteResourcesByExternalIdCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeregisterOnPremisesInstanceCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetApplicationRevisionCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentConfigCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentGroupCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentInstanceCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentTargetCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetOnPremisesInstanceCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListApplicationRevisionsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentConfigsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentTargetsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListGitHubAccountTokenNamesCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/TagResourceCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UpdateDeploymentGroupCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-codedeploy/package.json +36 -36
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +12 -1
- package/node_modules/@aws-sdk/client-sts/package.json +34 -34
- package/node_modules/@aws-sdk/core/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +29 -30
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +24 -22
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +4 -4
- package/node_modules/@smithy/core/package.json +8 -8
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +7 -7
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +2 -2
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/package.json +6 -6
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +7 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/package.json +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.js +0 -20
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.js +0 -20
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +0 -5
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +0 -5
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4AConfigSelector.d.ts +0 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/awsSdkSigV4AConfigSelector.d.ts +0 -4
- package/node_modules/@aws-sdk/core/dist-types/tsdoc-metadata.json +0 -11
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/tsdoc-metadata.json +0 -11
- 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
|
+
}
|
package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts
CHANGED
|
@@ -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
|
+
}
|
package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts
CHANGED
|
@@ -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
|
+
}
|
package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts
CHANGED
|
@@ -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
|
+
}
|
package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts
CHANGED
|
@@ -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
|
+
}
|
package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts
CHANGED
|
@@ -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.
|
|
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.
|
|
26
|
-
"@aws-sdk/core": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
37
|
-
"@smithy/config-resolver": "^3.0.
|
|
38
|
-
"@smithy/core": "^2.4.
|
|
39
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
40
|
-
"@smithy/hash-node": "^3.0.
|
|
41
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
42
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
43
|
-
"@smithy/middleware-endpoint": "^3.1.
|
|
44
|
-
"@smithy/middleware-retry": "^3.0.
|
|
45
|
-
"@smithy/middleware-serde": "^3.0.
|
|
46
|
-
"@smithy/middleware-stack": "^3.0.
|
|
47
|
-
"@smithy/node-config-provider": "^3.1.
|
|
48
|
-
"@smithy/node-http-handler": "^3.2.
|
|
49
|
-
"@smithy/protocol-http": "^4.1.
|
|
50
|
-
"@smithy/smithy-client": "^3.3.
|
|
51
|
-
"@smithy/types": "^3.4.
|
|
52
|
-
"@smithy/url-parser": "^3.0.
|
|
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.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
58
|
-
"@smithy/util-endpoints": "^2.1.
|
|
59
|
-
"@smithy/util-middleware": "^3.0.
|
|
60
|
-
"@smithy/util-retry": "^3.0.
|
|
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.
|
|
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.
|
|
79
|
-
"@smithy/node-config-provider": "^3.1.
|
|
80
|
-
"@smithy/property-provider": "^3.1.
|
|
81
|
-
"@smithy/protocol-http": "^4.1.
|
|
82
|
-
"@smithy/signature-v4": "^4.1.
|
|
83
|
-
"@smithy/smithy-client": "^3.3.
|
|
84
|
-
"@smithy/types": "^3.4.
|
|
85
|
-
"@smithy/util-middleware": "^3.0.
|
|
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.
|
|
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.
|
|
28
|
-
"@smithy/property-provider": "^3.1.
|
|
29
|
-
"@smithy/types": "^3.4.
|
|
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.
|
|
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.
|
|
30
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
31
|
-
"@smithy/node-http-handler": "^3.2.
|
|
32
|
-
"@smithy/property-provider": "^3.1.
|
|
33
|
-
"@smithy/protocol-http": "^4.1.
|
|
34
|
-
"@smithy/smithy-client": "^3.3.
|
|
35
|
-
"@smithy/types": "^3.4.
|
|
36
|
-
"@smithy/util-stream": "^3.1.
|
|
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
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
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
|
-
|
|
157
|
-
|
|
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)) {
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
CHANGED
|
@@ -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
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
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
|
-
|
|
70
|
-
|
|
70
|
+
const sourceCreds = await sourceCredsProvider;
|
|
71
|
+
return options.roleAssumer(sourceCreds, params);
|
|
71
72
|
}
|
|
72
|
-
|
|
73
|
-
|
|
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
|
|
6
|
+
export declare const resolveProfileData: (profileName: string, profiles: ParsedIniData, options: FromIniInit, visitedProfiles?: Record<string, true>, isAssumeRoleRecursiveCall?: boolean) => Promise<AwsCredentialIdentity>;
|
package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts
CHANGED
|
@@ -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.
|
|
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.
|
|
28
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
29
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
30
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
31
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@smithy/credential-provider-imds": "^3.2.
|
|
34
|
-
"@smithy/property-provider": "^3.1.
|
|
35
|
-
"@smithy/shared-ini-file-loader": "^3.1.
|
|
36
|
-
"@smithy/types": "^3.4.
|
|
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.
|
|
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.
|
|
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.
|
|
32
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
37
|
-
"@aws-sdk/types": "3.
|
|
38
|
-
"@smithy/credential-provider-imds": "^3.2.
|
|
39
|
-
"@smithy/property-provider": "^3.1.
|
|
40
|
-
"@smithy/shared-ini-file-loader": "^3.1.
|
|
41
|
-
"@smithy/types": "^3.4.
|
|
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": {
|