@cdklabs/cdk-ecs-codedeploy 0.0.120 → 0.0.121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/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-cjs/commands/AddTagsToOnPremisesInstancesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationRevisionsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetApplicationsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentGroupsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentInstancesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetDeploymentsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/BatchGetOnPremisesInstancesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ContinueDeploymentCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateApplicationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentConfigCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/CreateDeploymentGroupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteApplicationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentConfigCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteDeploymentGroupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteGitHubAccountTokenCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeleteResourcesByExternalIdCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/DeregisterOnPremisesInstanceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetApplicationRevisionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentConfigCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentGroupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentInstanceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetDeploymentTargetCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/GetOnPremisesInstanceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationRevisionsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListApplicationsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentConfigsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentGroupsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentInstancesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentTargetsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListDeploymentsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListGitHubAccountTokenNamesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListOnPremisesInstancesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterApplicationRevisionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RegisterOnPremisesInstanceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/StopDeploymentCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateApplicationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/commands/UpdateDeploymentGroupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/protocols/Aws_json1_1.js +1471 -1615
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationRevisionsCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationsCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentGroupsCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentInstancesCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentTargetsCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentsCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ContinueDeploymentCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateApplicationCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentConfigCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentGroupCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteApplicationCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentConfigCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentGroupCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteGitHubAccountTokenCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteResourcesByExternalIdCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationRevisionCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentConfigCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentGroupCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentInstanceCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentTargetCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetOnPremisesInstanceCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationRevisionsCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationsCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentConfigsCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentGroupsCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentInstancesCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentTargetsCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentsCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListOnPremisesInstancesCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterApplicationRevisionCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterOnPremisesInstanceCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/StopDeploymentCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/TagResourceCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UntagResourceCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateApplicationCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateDeploymentGroupCommand.js +3 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/protocols/Aws_json1_1.js +1375 -1519
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/protocols/Aws_json1_1.d.ts +376 -94
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +94 -94
- package/node_modules/@aws-sdk/client-codedeploy/package.json +6 -6
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/protocols/Aws_restJson1.js +54 -54
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +45 -45
- package/node_modules/@aws-sdk/client-sso/dist-types/protocols/Aws_restJson1.d.ts +32 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +8 -8
- package/node_modules/@aws-sdk/client-sso/package.json +4 -4
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/CreateTokenCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/RegisterClientCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/commands/StartDeviceAuthorizationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/protocols/Aws_restJson1.js +54 -54
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js +3 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js +3 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js +3 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +47 -47
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/protocols/Aws_restJson1.d.ts +24 -6
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -6
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +4 -4
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/protocols/Aws_query.js +153 -153
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +3 -3
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +136 -136
- package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +64 -16
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +16 -16
- package/node_modules/@aws-sdk/client-sts/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/smithy-client/dist-cjs/object-mapping.js +44 -20
- package/node_modules/@aws-sdk/smithy-client/dist-es/object-mapping.js +42 -19
- package/node_modules/@aws-sdk/smithy-client/dist-types/object-mapping.d.ts +28 -2
- package/node_modules/@aws-sdk/smithy-client/dist-types/ts3.4/object-mapping.d.ts +16 -4
- package/node_modules/@aws-sdk/smithy-client/package.json +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +2 -2
- package/package.json +8 -8
|
@@ -8,19 +8,67 @@ import { GetAccessKeyInfoCommandInput, GetAccessKeyInfoCommandOutput } from "../
|
|
|
8
8
|
import { GetCallerIdentityCommandInput, GetCallerIdentityCommandOutput } from "../commands/GetCallerIdentityCommand";
|
|
9
9
|
import { GetFederationTokenCommandInput, GetFederationTokenCommandOutput } from "../commands/GetFederationTokenCommand";
|
|
10
10
|
import { GetSessionTokenCommandInput, GetSessionTokenCommandOutput } from "../commands/GetSessionTokenCommand";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export declare const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export declare const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export declare const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export declare const
|
|
11
|
+
/**
|
|
12
|
+
* serializeAws_queryAssumeRoleCommand
|
|
13
|
+
*/
|
|
14
|
+
export declare const se_AssumeRoleCommand: (input: AssumeRoleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
|
+
/**
|
|
16
|
+
* serializeAws_queryAssumeRoleWithSAMLCommand
|
|
17
|
+
*/
|
|
18
|
+
export declare const se_AssumeRoleWithSAMLCommand: (input: AssumeRoleWithSAMLCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
|
+
/**
|
|
20
|
+
* serializeAws_queryAssumeRoleWithWebIdentityCommand
|
|
21
|
+
*/
|
|
22
|
+
export declare const se_AssumeRoleWithWebIdentityCommand: (input: AssumeRoleWithWebIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
|
+
/**
|
|
24
|
+
* serializeAws_queryDecodeAuthorizationMessageCommand
|
|
25
|
+
*/
|
|
26
|
+
export declare const se_DecodeAuthorizationMessageCommand: (input: DecodeAuthorizationMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
|
+
/**
|
|
28
|
+
* serializeAws_queryGetAccessKeyInfoCommand
|
|
29
|
+
*/
|
|
30
|
+
export declare const se_GetAccessKeyInfoCommand: (input: GetAccessKeyInfoCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
|
+
/**
|
|
32
|
+
* serializeAws_queryGetCallerIdentityCommand
|
|
33
|
+
*/
|
|
34
|
+
export declare const se_GetCallerIdentityCommand: (input: GetCallerIdentityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
|
+
/**
|
|
36
|
+
* serializeAws_queryGetFederationTokenCommand
|
|
37
|
+
*/
|
|
38
|
+
export declare const se_GetFederationTokenCommand: (input: GetFederationTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
|
+
/**
|
|
40
|
+
* serializeAws_queryGetSessionTokenCommand
|
|
41
|
+
*/
|
|
42
|
+
export declare const se_GetSessionTokenCommand: (input: GetSessionTokenCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
43
|
+
/**
|
|
44
|
+
* deserializeAws_queryAssumeRoleCommand
|
|
45
|
+
*/
|
|
46
|
+
export declare const de_AssumeRoleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleCommandOutput>;
|
|
47
|
+
/**
|
|
48
|
+
* deserializeAws_queryAssumeRoleWithSAMLCommand
|
|
49
|
+
*/
|
|
50
|
+
export declare const de_AssumeRoleWithSAMLCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleWithSAMLCommandOutput>;
|
|
51
|
+
/**
|
|
52
|
+
* deserializeAws_queryAssumeRoleWithWebIdentityCommand
|
|
53
|
+
*/
|
|
54
|
+
export declare const de_AssumeRoleWithWebIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssumeRoleWithWebIdentityCommandOutput>;
|
|
55
|
+
/**
|
|
56
|
+
* deserializeAws_queryDecodeAuthorizationMessageCommand
|
|
57
|
+
*/
|
|
58
|
+
export declare const de_DecodeAuthorizationMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DecodeAuthorizationMessageCommandOutput>;
|
|
59
|
+
/**
|
|
60
|
+
* deserializeAws_queryGetAccessKeyInfoCommand
|
|
61
|
+
*/
|
|
62
|
+
export declare const de_GetAccessKeyInfoCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAccessKeyInfoCommandOutput>;
|
|
63
|
+
/**
|
|
64
|
+
* deserializeAws_queryGetCallerIdentityCommand
|
|
65
|
+
*/
|
|
66
|
+
export declare const de_GetCallerIdentityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCallerIdentityCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* deserializeAws_queryGetFederationTokenCommand
|
|
69
|
+
*/
|
|
70
|
+
export declare const de_GetFederationTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetFederationTokenCommandOutput>;
|
|
71
|
+
/**
|
|
72
|
+
* deserializeAws_queryGetSessionTokenCommand
|
|
73
|
+
*/
|
|
74
|
+
export declare const de_GetSessionTokenCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSessionTokenCommandOutput>;
|
|
@@ -35,67 +35,67 @@ import {
|
|
|
35
35
|
GetSessionTokenCommandInput,
|
|
36
36
|
GetSessionTokenCommandOutput,
|
|
37
37
|
} from "../commands/GetSessionTokenCommand";
|
|
38
|
-
export declare const
|
|
38
|
+
export declare const se_AssumeRoleCommand: (
|
|
39
39
|
input: AssumeRoleCommandInput,
|
|
40
40
|
context: __SerdeContext
|
|
41
41
|
) => Promise<__HttpRequest>;
|
|
42
|
-
export declare const
|
|
42
|
+
export declare const se_AssumeRoleWithSAMLCommand: (
|
|
43
43
|
input: AssumeRoleWithSAMLCommandInput,
|
|
44
44
|
context: __SerdeContext
|
|
45
45
|
) => Promise<__HttpRequest>;
|
|
46
|
-
export declare const
|
|
46
|
+
export declare const se_AssumeRoleWithWebIdentityCommand: (
|
|
47
47
|
input: AssumeRoleWithWebIdentityCommandInput,
|
|
48
48
|
context: __SerdeContext
|
|
49
49
|
) => Promise<__HttpRequest>;
|
|
50
|
-
export declare const
|
|
50
|
+
export declare const se_DecodeAuthorizationMessageCommand: (
|
|
51
51
|
input: DecodeAuthorizationMessageCommandInput,
|
|
52
52
|
context: __SerdeContext
|
|
53
53
|
) => Promise<__HttpRequest>;
|
|
54
|
-
export declare const
|
|
54
|
+
export declare const se_GetAccessKeyInfoCommand: (
|
|
55
55
|
input: GetAccessKeyInfoCommandInput,
|
|
56
56
|
context: __SerdeContext
|
|
57
57
|
) => Promise<__HttpRequest>;
|
|
58
|
-
export declare const
|
|
58
|
+
export declare const se_GetCallerIdentityCommand: (
|
|
59
59
|
input: GetCallerIdentityCommandInput,
|
|
60
60
|
context: __SerdeContext
|
|
61
61
|
) => Promise<__HttpRequest>;
|
|
62
|
-
export declare const
|
|
62
|
+
export declare const se_GetFederationTokenCommand: (
|
|
63
63
|
input: GetFederationTokenCommandInput,
|
|
64
64
|
context: __SerdeContext
|
|
65
65
|
) => Promise<__HttpRequest>;
|
|
66
|
-
export declare const
|
|
66
|
+
export declare const se_GetSessionTokenCommand: (
|
|
67
67
|
input: GetSessionTokenCommandInput,
|
|
68
68
|
context: __SerdeContext
|
|
69
69
|
) => Promise<__HttpRequest>;
|
|
70
|
-
export declare const
|
|
70
|
+
export declare const de_AssumeRoleCommand: (
|
|
71
71
|
output: __HttpResponse,
|
|
72
72
|
context: __SerdeContext
|
|
73
73
|
) => Promise<AssumeRoleCommandOutput>;
|
|
74
|
-
export declare const
|
|
74
|
+
export declare const de_AssumeRoleWithSAMLCommand: (
|
|
75
75
|
output: __HttpResponse,
|
|
76
76
|
context: __SerdeContext
|
|
77
77
|
) => Promise<AssumeRoleWithSAMLCommandOutput>;
|
|
78
|
-
export declare const
|
|
78
|
+
export declare const de_AssumeRoleWithWebIdentityCommand: (
|
|
79
79
|
output: __HttpResponse,
|
|
80
80
|
context: __SerdeContext
|
|
81
81
|
) => Promise<AssumeRoleWithWebIdentityCommandOutput>;
|
|
82
|
-
export declare const
|
|
82
|
+
export declare const de_DecodeAuthorizationMessageCommand: (
|
|
83
83
|
output: __HttpResponse,
|
|
84
84
|
context: __SerdeContext
|
|
85
85
|
) => Promise<DecodeAuthorizationMessageCommandOutput>;
|
|
86
|
-
export declare const
|
|
86
|
+
export declare const de_GetAccessKeyInfoCommand: (
|
|
87
87
|
output: __HttpResponse,
|
|
88
88
|
context: __SerdeContext
|
|
89
89
|
) => Promise<GetAccessKeyInfoCommandOutput>;
|
|
90
|
-
export declare const
|
|
90
|
+
export declare const de_GetCallerIdentityCommand: (
|
|
91
91
|
output: __HttpResponse,
|
|
92
92
|
context: __SerdeContext
|
|
93
93
|
) => Promise<GetCallerIdentityCommandOutput>;
|
|
94
|
-
export declare const
|
|
94
|
+
export declare const de_GetFederationTokenCommand: (
|
|
95
95
|
output: __HttpResponse,
|
|
96
96
|
context: __SerdeContext
|
|
97
97
|
) => Promise<GetFederationTokenCommandOutput>;
|
|
98
|
-
export declare const
|
|
98
|
+
export declare const de_GetSessionTokenCommand: (
|
|
99
99
|
output: __HttpResponse,
|
|
100
100
|
context: __SerdeContext
|
|
101
101
|
) => Promise<GetSessionTokenCommandOutput>;
|
|
@@ -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.309.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
26
26
|
"@aws-sdk/config-resolver": "3.306.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.309.0",
|
|
28
28
|
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
29
29
|
"@aws-sdk/hash-node": "3.306.0",
|
|
30
30
|
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"@aws-sdk/node-config-provider": "3.306.0",
|
|
43
43
|
"@aws-sdk/node-http-handler": "3.306.0",
|
|
44
44
|
"@aws-sdk/protocol-http": "3.306.0",
|
|
45
|
-
"@aws-sdk/smithy-client": "3.
|
|
45
|
+
"@aws-sdk/smithy-client": "3.309.0",
|
|
46
46
|
"@aws-sdk/types": "3.306.0",
|
|
47
47
|
"@aws-sdk/url-parser": "3.306.0",
|
|
48
48
|
"@aws-sdk/util-base64": "3.303.0",
|
|
49
49
|
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
50
50
|
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
51
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
52
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
+
"@aws-sdk/util-defaults-mode-browser": "3.309.0",
|
|
52
|
+
"@aws-sdk/util-defaults-mode-node": "3.309.0",
|
|
53
53
|
"@aws-sdk/util-endpoints": "3.306.0",
|
|
54
54
|
"@aws-sdk/util-retry": "3.306.0",
|
|
55
55
|
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.309.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",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@aws-sdk/credential-provider-env": "3.306.0",
|
|
28
28
|
"@aws-sdk/credential-provider-imds": "3.306.0",
|
|
29
29
|
"@aws-sdk/credential-provider-process": "3.306.0",
|
|
30
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
30
|
+
"@aws-sdk/credential-provider-sso": "3.309.0",
|
|
31
31
|
"@aws-sdk/credential-provider-web-identity": "3.306.0",
|
|
32
32
|
"@aws-sdk/property-provider": "3.306.0",
|
|
33
33
|
"@aws-sdk/shared-ini-file-loader": "3.306.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.309.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=14.0.0"
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@aws-sdk/credential-provider-env": "3.306.0",
|
|
31
31
|
"@aws-sdk/credential-provider-imds": "3.306.0",
|
|
32
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
32
|
+
"@aws-sdk/credential-provider-ini": "3.309.0",
|
|
33
33
|
"@aws-sdk/credential-provider-process": "3.306.0",
|
|
34
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
34
|
+
"@aws-sdk/credential-provider-sso": "3.309.0",
|
|
35
35
|
"@aws-sdk/credential-provider-web-identity": "3.306.0",
|
|
36
36
|
"@aws-sdk/property-provider": "3.306.0",
|
|
37
37
|
"@aws-sdk/shared-ini-file-loader": "3.306.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.309.0",
|
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/client-sso": "3.
|
|
27
|
+
"@aws-sdk/client-sso": "3.309.0",
|
|
28
28
|
"@aws-sdk/property-provider": "3.306.0",
|
|
29
29
|
"@aws-sdk/shared-ini-file-loader": "3.306.0",
|
|
30
|
-
"@aws-sdk/token-providers": "3.
|
|
30
|
+
"@aws-sdk/token-providers": "3.309.0",
|
|
31
31
|
"@aws-sdk/types": "3.306.0",
|
|
32
32
|
"tslib": "^2.5.0"
|
|
33
33
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.convertMap = exports.map = void 0;
|
|
3
|
+
exports.take = exports.convertMap = exports.map = void 0;
|
|
4
4
|
function map(arg0, arg1, arg2) {
|
|
5
5
|
let target;
|
|
6
6
|
let filter;
|
|
@@ -25,25 +25,7 @@ function map(arg0, arg1, arg2) {
|
|
|
25
25
|
target[key] = instructions[key];
|
|
26
26
|
continue;
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
if (typeof value === "function") {
|
|
30
|
-
let _value;
|
|
31
|
-
const defaultFilterPassed = filter === undefined && (_value = value()) != null;
|
|
32
|
-
const customFilterPassed = (typeof filter === "function" && !!filter(void 0)) || (typeof filter !== "function" && !!filter);
|
|
33
|
-
if (defaultFilterPassed) {
|
|
34
|
-
target[key] = _value;
|
|
35
|
-
}
|
|
36
|
-
else if (customFilterPassed) {
|
|
37
|
-
target[key] = value();
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
else {
|
|
41
|
-
const defaultFilterPassed = filter === undefined && value != null;
|
|
42
|
-
const customFilterPassed = (typeof filter === "function" && !!filter(value)) || (typeof filter !== "function" && !!filter);
|
|
43
|
-
if (defaultFilterPassed || customFilterPassed) {
|
|
44
|
-
target[key] = value;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
28
|
+
applyInstruction(target, null, instructions, key);
|
|
47
29
|
}
|
|
48
30
|
return target;
|
|
49
31
|
}
|
|
@@ -56,6 +38,14 @@ const convertMap = (target) => {
|
|
|
56
38
|
return output;
|
|
57
39
|
};
|
|
58
40
|
exports.convertMap = convertMap;
|
|
41
|
+
const take = (source, instructions) => {
|
|
42
|
+
const out = {};
|
|
43
|
+
for (const key in instructions) {
|
|
44
|
+
applyInstruction(out, source, instructions, key);
|
|
45
|
+
}
|
|
46
|
+
return out;
|
|
47
|
+
};
|
|
48
|
+
exports.take = take;
|
|
59
49
|
const mapWithFilter = (target, filter, instructions) => {
|
|
60
50
|
return map(target, Object.entries(instructions).reduce((_instructions, [key, value]) => {
|
|
61
51
|
if (Array.isArray(value)) {
|
|
@@ -72,3 +62,37 @@ const mapWithFilter = (target, filter, instructions) => {
|
|
|
72
62
|
return _instructions;
|
|
73
63
|
}, {}));
|
|
74
64
|
};
|
|
65
|
+
const applyInstruction = (target, source, instructions, targetKey) => {
|
|
66
|
+
if (source !== null) {
|
|
67
|
+
let instruction = instructions[targetKey];
|
|
68
|
+
if (typeof instruction === "function") {
|
|
69
|
+
instruction = [, instruction];
|
|
70
|
+
}
|
|
71
|
+
const [filter = nonNullish, valueFn = pass, sourceKey = targetKey] = instruction;
|
|
72
|
+
if ((typeof filter === "function" && filter(source[sourceKey])) || (typeof filter !== "function" && !!filter)) {
|
|
73
|
+
target[targetKey] = valueFn(source[sourceKey]);
|
|
74
|
+
}
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
let [filter, value] = instructions[targetKey];
|
|
78
|
+
if (typeof value === "function") {
|
|
79
|
+
let _value;
|
|
80
|
+
const defaultFilterPassed = filter === undefined && (_value = value()) != null;
|
|
81
|
+
const customFilterPassed = (typeof filter === "function" && !!filter(void 0)) || (typeof filter !== "function" && !!filter);
|
|
82
|
+
if (defaultFilterPassed) {
|
|
83
|
+
target[targetKey] = _value;
|
|
84
|
+
}
|
|
85
|
+
else if (customFilterPassed) {
|
|
86
|
+
target[targetKey] = value();
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
const defaultFilterPassed = filter === undefined && value != null;
|
|
91
|
+
const customFilterPassed = (typeof filter === "function" && !!filter(value)) || (typeof filter !== "function" && !!filter);
|
|
92
|
+
if (defaultFilterPassed || customFilterPassed) {
|
|
93
|
+
target[targetKey] = value;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
const nonNullish = (_) => _ != null;
|
|
98
|
+
const pass = (_) => _;
|
|
@@ -22,25 +22,7 @@ export function map(arg0, arg1, arg2) {
|
|
|
22
22
|
target[key] = instructions[key];
|
|
23
23
|
continue;
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
if (typeof value === "function") {
|
|
27
|
-
let _value;
|
|
28
|
-
const defaultFilterPassed = filter === undefined && (_value = value()) != null;
|
|
29
|
-
const customFilterPassed = (typeof filter === "function" && !!filter(void 0)) || (typeof filter !== "function" && !!filter);
|
|
30
|
-
if (defaultFilterPassed) {
|
|
31
|
-
target[key] = _value;
|
|
32
|
-
}
|
|
33
|
-
else if (customFilterPassed) {
|
|
34
|
-
target[key] = value();
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
else {
|
|
38
|
-
const defaultFilterPassed = filter === undefined && value != null;
|
|
39
|
-
const customFilterPassed = (typeof filter === "function" && !!filter(value)) || (typeof filter !== "function" && !!filter);
|
|
40
|
-
if (defaultFilterPassed || customFilterPassed) {
|
|
41
|
-
target[key] = value;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
25
|
+
applyInstruction(target, null, instructions, key);
|
|
44
26
|
}
|
|
45
27
|
return target;
|
|
46
28
|
}
|
|
@@ -51,6 +33,13 @@ export const convertMap = (target) => {
|
|
|
51
33
|
}
|
|
52
34
|
return output;
|
|
53
35
|
};
|
|
36
|
+
export const take = (source, instructions) => {
|
|
37
|
+
const out = {};
|
|
38
|
+
for (const key in instructions) {
|
|
39
|
+
applyInstruction(out, source, instructions, key);
|
|
40
|
+
}
|
|
41
|
+
return out;
|
|
42
|
+
};
|
|
54
43
|
const mapWithFilter = (target, filter, instructions) => {
|
|
55
44
|
return map(target, Object.entries(instructions).reduce((_instructions, [key, value]) => {
|
|
56
45
|
if (Array.isArray(value)) {
|
|
@@ -67,3 +56,37 @@ const mapWithFilter = (target, filter, instructions) => {
|
|
|
67
56
|
return _instructions;
|
|
68
57
|
}, {}));
|
|
69
58
|
};
|
|
59
|
+
const applyInstruction = (target, source, instructions, targetKey) => {
|
|
60
|
+
if (source !== null) {
|
|
61
|
+
let instruction = instructions[targetKey];
|
|
62
|
+
if (typeof instruction === "function") {
|
|
63
|
+
instruction = [, instruction];
|
|
64
|
+
}
|
|
65
|
+
const [filter = nonNullish, valueFn = pass, sourceKey = targetKey] = instruction;
|
|
66
|
+
if ((typeof filter === "function" && filter(source[sourceKey])) || (typeof filter !== "function" && !!filter)) {
|
|
67
|
+
target[targetKey] = valueFn(source[sourceKey]);
|
|
68
|
+
}
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
let [filter, value] = instructions[targetKey];
|
|
72
|
+
if (typeof value === "function") {
|
|
73
|
+
let _value;
|
|
74
|
+
const defaultFilterPassed = filter === undefined && (_value = value()) != null;
|
|
75
|
+
const customFilterPassed = (typeof filter === "function" && !!filter(void 0)) || (typeof filter !== "function" && !!filter);
|
|
76
|
+
if (defaultFilterPassed) {
|
|
77
|
+
target[targetKey] = _value;
|
|
78
|
+
}
|
|
79
|
+
else if (customFilterPassed) {
|
|
80
|
+
target[targetKey] = value();
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
const defaultFilterPassed = filter === undefined && value != null;
|
|
85
|
+
const customFilterPassed = (typeof filter === "function" && !!filter(value)) || (typeof filter !== "function" && !!filter);
|
|
86
|
+
if (defaultFilterPassed || customFilterPassed) {
|
|
87
|
+
target[targetKey] = value;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
const nonNullish = (_) => _ != null;
|
|
92
|
+
const pass = (_) => _;
|
|
@@ -45,6 +45,14 @@
|
|
|
45
45
|
* ```
|
|
46
46
|
*/
|
|
47
47
|
export type ObjectMappingInstructions = Record<string, ObjectMappingInstruction>;
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
*
|
|
51
|
+
* A variant of the object mapping instruction for the `take` function.
|
|
52
|
+
* In this case, the source value is provided to the value function, turning it
|
|
53
|
+
* from a supplier into a mapper.
|
|
54
|
+
*/
|
|
55
|
+
export type SourceMappingInstructions = Record<string, ValueMapper | SourceMappingInstruction>;
|
|
48
56
|
/**
|
|
49
57
|
* @internal
|
|
50
58
|
*
|
|
@@ -73,6 +81,10 @@ export type SimpleValueInstruction = [FilterStatus, Value];
|
|
|
73
81
|
* @internal
|
|
74
82
|
*/
|
|
75
83
|
export type ConditionalValueInstruction = [ValueFilteringFunction, Value];
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
export type SourceMappingInstruction = [ValueFilteringFunction?, ValueMapper?, string?];
|
|
76
88
|
/**
|
|
77
89
|
* @internal
|
|
78
90
|
*
|
|
@@ -100,6 +112,13 @@ export type ValueFilteringFunction = (value: any) => boolean;
|
|
|
100
112
|
* Supplies the value for lazy evaluation.
|
|
101
113
|
*/
|
|
102
114
|
export type ValueSupplier = () => any;
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
*
|
|
118
|
+
* A function that maps the source value to the target value.
|
|
119
|
+
* Defaults to pass-through with nullish check.
|
|
120
|
+
*/
|
|
121
|
+
export type ValueMapper = (value: any) => any;
|
|
103
122
|
/**
|
|
104
123
|
* @internal
|
|
105
124
|
*
|
|
@@ -122,11 +141,11 @@ export declare function map(target: any, filter: (value: any) => boolean, instru
|
|
|
122
141
|
/**
|
|
123
142
|
* @internal
|
|
124
143
|
*/
|
|
125
|
-
export declare function map(instructions:
|
|
144
|
+
export declare function map(instructions: ObjectMappingInstructions): any;
|
|
126
145
|
/**
|
|
127
146
|
* @internal
|
|
128
147
|
*/
|
|
129
|
-
export declare function map(target: any, instructions:
|
|
148
|
+
export declare function map(target: any, instructions: ObjectMappingInstructions): typeof target;
|
|
130
149
|
/**
|
|
131
150
|
* Convert a regular object `{ k: v }` to `{ k: [, v] }` mapping instruction set with default
|
|
132
151
|
* filter.
|
|
@@ -134,3 +153,10 @@ export declare function map(target: any, instructions: Record<string, ObjectMapp
|
|
|
134
153
|
* @internal
|
|
135
154
|
*/
|
|
136
155
|
export declare const convertMap: (target: any) => Record<string, any>;
|
|
156
|
+
/**
|
|
157
|
+
* @param source - original object with data.
|
|
158
|
+
* @param instructions - how to map the data.
|
|
159
|
+
* @returns new object mapped from the source object.
|
|
160
|
+
* @internal
|
|
161
|
+
*/
|
|
162
|
+
export declare const take: (source: any, instructions: SourceMappingInstructions) => any;
|
|
@@ -2,6 +2,10 @@ export type ObjectMappingInstructions = Record<
|
|
|
2
2
|
string,
|
|
3
3
|
ObjectMappingInstruction
|
|
4
4
|
>;
|
|
5
|
+
export type SourceMappingInstructions = Record<
|
|
6
|
+
string,
|
|
7
|
+
ValueMapper | SourceMappingInstruction
|
|
8
|
+
>;
|
|
5
9
|
export type ObjectMappingInstruction =
|
|
6
10
|
| LazyValueInstruction
|
|
7
11
|
| ConditionalLazyValueInstruction
|
|
@@ -16,21 +20,29 @@ export type ConditionalLazyValueInstruction = [
|
|
|
16
20
|
];
|
|
17
21
|
export type SimpleValueInstruction = [FilterStatus, Value];
|
|
18
22
|
export type ConditionalValueInstruction = [ValueFilteringFunction, Value];
|
|
23
|
+
export type SourceMappingInstruction = [
|
|
24
|
+
ValueFilteringFunction?,
|
|
25
|
+
ValueMapper?,
|
|
26
|
+
string?
|
|
27
|
+
];
|
|
19
28
|
export type FilterStatus = boolean | unknown | void;
|
|
20
29
|
export type FilterStatusSupplier = () => boolean;
|
|
21
30
|
export type ValueFilteringFunction = (value: any) => boolean;
|
|
22
31
|
export type ValueSupplier = () => any;
|
|
32
|
+
export type ValueMapper = (value: any) => any;
|
|
23
33
|
export type Value = any;
|
|
24
34
|
export declare function map(
|
|
25
35
|
target: any,
|
|
26
36
|
filter: (value: any) => boolean,
|
|
27
37
|
instructions: Record<string, ValueSupplier | Value>
|
|
28
38
|
): typeof target;
|
|
29
|
-
export declare function map(
|
|
30
|
-
instructions: Record<string, ObjectMappingInstruction>
|
|
31
|
-
): any;
|
|
39
|
+
export declare function map(instructions: ObjectMappingInstructions): any;
|
|
32
40
|
export declare function map(
|
|
33
41
|
target: any,
|
|
34
|
-
instructions:
|
|
42
|
+
instructions: ObjectMappingInstructions
|
|
35
43
|
): typeof target;
|
|
36
44
|
export declare const convertMap: (target: any) => Record<string, any>;
|
|
45
|
+
export declare const take: (
|
|
46
|
+
source: any,
|
|
47
|
+
instructions: SourceMappingInstructions
|
|
48
|
+
) => any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.309.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
28
|
+
"@aws-sdk/client-sso-oidc": "3.309.0",
|
|
29
29
|
"@aws-sdk/property-provider": "3.306.0",
|
|
30
30
|
"@aws-sdk/shared-ini-file-loader": "3.306.0",
|
|
31
31
|
"@aws-sdk/types": "3.306.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-defaults-mode-browser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.309.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"tslib": "^2.5.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@aws-sdk/smithy-client": "3.
|
|
28
|
+
"@aws-sdk/smithy-client": "3.309.0",
|
|
29
29
|
"@tsconfig/recommended": "1.0.1",
|
|
30
30
|
"@types/node": "^14.14.31",
|
|
31
31
|
"concurrently": "7.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-defaults-mode-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.309.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"tslib": "^2.5.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@aws-sdk/smithy-client": "3.
|
|
30
|
+
"@aws-sdk/smithy-client": "3.309.0",
|
|
31
31
|
"@tsconfig/recommended": "1.0.1",
|
|
32
32
|
"@types/node": "^14.14.31",
|
|
33
33
|
"concurrently": "7.0.0",
|
package/package.json
CHANGED
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"aws-cdk-lib": "2.71.0",
|
|
74
74
|
"aws-sdk-client-mock": "^2.1.1",
|
|
75
75
|
"aws-sdk-client-mock-jest": "^2.1.1",
|
|
76
|
-
"cdk-nag": "^2.25.
|
|
76
|
+
"cdk-nag": "^2.25.4",
|
|
77
77
|
"constructs": "10.0.5",
|
|
78
78
|
"esbuild": "^0.17.15",
|
|
79
79
|
"eslint": "^8",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"jsii-pacmak": "^1.80.0",
|
|
89
89
|
"lambda-tester": "^4.0.1",
|
|
90
90
|
"npm-check-updates": "^16",
|
|
91
|
-
"projen": "0.71.
|
|
91
|
+
"projen": "0.71.5",
|
|
92
92
|
"standard-version": "^9",
|
|
93
93
|
"ts-jest": "^27",
|
|
94
94
|
"ts-node": "^10.9.1",
|
|
@@ -100,13 +100,17 @@
|
|
|
100
100
|
"constructs": "^10.0.5"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@aws-sdk/client-codedeploy": "^3.
|
|
103
|
+
"@aws-sdk/client-codedeploy": "^3.309.0",
|
|
104
104
|
"jmespath": "^0.16.0"
|
|
105
105
|
},
|
|
106
106
|
"bundledDependencies": [
|
|
107
107
|
"@aws-sdk/client-codedeploy",
|
|
108
108
|
"jmespath"
|
|
109
109
|
],
|
|
110
|
+
"resolutions": {
|
|
111
|
+
"@types/prettier": "2.6.0",
|
|
112
|
+
"@types/babel__traverse": "7.18.2"
|
|
113
|
+
},
|
|
110
114
|
"keywords": [
|
|
111
115
|
"aws",
|
|
112
116
|
"cdk",
|
|
@@ -118,7 +122,7 @@
|
|
|
118
122
|
"publishConfig": {
|
|
119
123
|
"access": "public"
|
|
120
124
|
},
|
|
121
|
-
"version": "0.0.
|
|
125
|
+
"version": "0.0.121",
|
|
122
126
|
"jest": {
|
|
123
127
|
"testMatch": [
|
|
124
128
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|
|
@@ -188,9 +192,5 @@
|
|
|
188
192
|
"rootDir": "src"
|
|
189
193
|
}
|
|
190
194
|
},
|
|
191
|
-
"resolutions": {
|
|
192
|
-
"@types/prettier": "2.6.0",
|
|
193
|
-
"@types/babel__traverse": "7.18.2"
|
|
194
|
-
},
|
|
195
195
|
"//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"."
|
|
196
196
|
}
|