@cdklabs/cdk-ecs-codedeploy 0.0.108 → 0.0.110

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +11 -0
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +27 -0
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +5 -0
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +6 -0
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +6 -0
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +6 -0
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +5 -0
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +5 -0
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +4 -0
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +10 -0
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +69 -0
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +19 -0
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +130 -0
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteApplicationCommand.d.ts +3 -0
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +3 -0
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +4 -0
  22. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +3 -0
  23. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +3 -0
  24. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +3 -0
  25. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +3 -0
  26. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +25 -0
  27. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +3 -0
  28. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +3 -0
  29. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +4 -0
  30. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +4 -0
  31. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +4 -0
  32. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +3 -0
  33. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +9 -0
  34. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +3 -0
  35. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +3 -0
  36. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +4 -0
  37. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +10 -0
  38. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +9 -0
  39. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +13 -0
  40. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +3 -0
  41. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +11 -0
  42. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
  43. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +5 -0
  44. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +26 -0
  45. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +5 -0
  46. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +11 -0
  47. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +3 -0
  48. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +4 -0
  49. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +9 -0
  50. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  51. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +4 -0
  52. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +125 -0
  53. package/node_modules/@aws-sdk/client-codedeploy/package.json +8 -8
  54. package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +5 -0
  55. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +6 -0
  56. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +5 -0
  57. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +3 -0
  58. package/node_modules/@aws-sdk/client-sso/package.json +6 -6
  59. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +12 -0
  60. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +7 -0
  61. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +5 -0
  62. package/node_modules/@aws-sdk/client-sso-oidc/package.json +6 -6
  63. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +24 -0
  64. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +12 -0
  65. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +13 -0
  66. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +3 -0
  67. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +3 -0
  68. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +1 -0
  69. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +16 -0
  70. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +5 -0
  71. package/node_modules/@aws-sdk/client-sts/package.json +7 -7
  72. package/node_modules/@aws-sdk/config-resolver/package.json +2 -2
  73. package/node_modules/@aws-sdk/credential-provider-imds/package.json +2 -2
  74. package/node_modules/@aws-sdk/credential-provider-ini/package.json +5 -5
  75. package/node_modules/@aws-sdk/credential-provider-node/package.json +6 -6
  76. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  77. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  78. package/node_modules/@aws-sdk/middleware-retry/package.json +2 -2
  79. package/node_modules/@aws-sdk/node-config-provider/package.json +2 -2
  80. package/node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js +18 -0
  81. package/node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/parseKnownFiles.js +2 -4
  82. package/node_modules/@aws-sdk/shared-ini-file-loader/dist-es/mergeConfigFiles.js +14 -0
  83. package/node_modules/@aws-sdk/shared-ini-file-loader/dist-es/parseKnownFiles.js +2 -4
  84. package/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts +7 -0
  85. package/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts +4 -0
  86. package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +1 -1
  87. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  88. package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +4 -4
  89. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  90. package/package.json +5 -5
@@ -41,6 +41,9 @@ export interface LogoutCommandOutput extends __MetadataBearer {
41
41
  * import { SSOClient, LogoutCommand } from "@aws-sdk/client-sso"; // ES Modules import
42
42
  * // const { SSOClient, LogoutCommand } = require("@aws-sdk/client-sso"); // CommonJS import
43
43
  * const client = new SSOClient(config);
44
+ * const input = { // LogoutRequest
45
+ * accessToken: "STRING_VALUE", // required
46
+ * };
44
47
  * const command = new LogoutCommand(input);
45
48
  * const response = await client.send(command);
46
49
  * ```
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.301.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",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/config-resolver": "3.299.0",
24
+ "@aws-sdk/config-resolver": "3.300.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.296.0",
26
26
  "@aws-sdk/hash-node": "3.296.0",
27
27
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -30,11 +30,11 @@
30
30
  "@aws-sdk/middleware-host-header": "3.296.0",
31
31
  "@aws-sdk/middleware-logger": "3.296.0",
32
32
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
33
- "@aws-sdk/middleware-retry": "3.296.0",
33
+ "@aws-sdk/middleware-retry": "3.300.0",
34
34
  "@aws-sdk/middleware-serde": "3.296.0",
35
35
  "@aws-sdk/middleware-stack": "3.296.0",
36
36
  "@aws-sdk/middleware-user-agent": "3.299.0",
37
- "@aws-sdk/node-config-provider": "3.296.0",
37
+ "@aws-sdk/node-config-provider": "3.300.0",
38
38
  "@aws-sdk/node-http-handler": "3.296.0",
39
39
  "@aws-sdk/protocol-http": "3.296.0",
40
40
  "@aws-sdk/smithy-client": "3.296.0",
@@ -44,11 +44,11 @@
44
44
  "@aws-sdk/util-body-length-browser": "3.295.0",
45
45
  "@aws-sdk/util-body-length-node": "3.295.0",
46
46
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
48
48
  "@aws-sdk/util-endpoints": "3.296.0",
49
49
  "@aws-sdk/util-retry": "3.296.0",
50
50
  "@aws-sdk/util-user-agent-browser": "3.299.0",
51
- "@aws-sdk/util-user-agent-node": "3.299.0",
51
+ "@aws-sdk/util-user-agent-node": "3.300.0",
52
52
  "@aws-sdk/util-utf8": "3.295.0",
53
53
  "tslib": "^2.5.0"
54
54
  },
@@ -28,6 +28,18 @@ export interface CreateTokenCommandOutput extends CreateTokenResponse, __Metadat
28
28
  * import { SSOOIDCClient, CreateTokenCommand } from "@aws-sdk/client-sso-oidc"; // ES Modules import
29
29
  * // const { SSOOIDCClient, CreateTokenCommand } = require("@aws-sdk/client-sso-oidc"); // CommonJS import
30
30
  * const client = new SSOOIDCClient(config);
31
+ * const input = { // CreateTokenRequest
32
+ * clientId: "STRING_VALUE", // required
33
+ * clientSecret: "STRING_VALUE", // required
34
+ * grantType: "STRING_VALUE", // required
35
+ * deviceCode: "STRING_VALUE",
36
+ * code: "STRING_VALUE",
37
+ * refreshToken: "STRING_VALUE",
38
+ * scope: [ // Scopes
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * redirectUri: "STRING_VALUE",
42
+ * };
31
43
  * const command = new CreateTokenCommand(input);
32
44
  * const response = await client.send(command);
33
45
  * ```
@@ -27,6 +27,13 @@ export interface RegisterClientCommandOutput extends RegisterClientResponse, __M
27
27
  * import { SSOOIDCClient, RegisterClientCommand } from "@aws-sdk/client-sso-oidc"; // ES Modules import
28
28
  * // const { SSOOIDCClient, RegisterClientCommand } = require("@aws-sdk/client-sso-oidc"); // CommonJS import
29
29
  * const client = new SSOOIDCClient(config);
30
+ * const input = { // RegisterClientRequest
31
+ * clientName: "STRING_VALUE", // required
32
+ * clientType: "STRING_VALUE", // required
33
+ * scopes: [ // Scopes
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * };
30
37
  * const command = new RegisterClientCommand(input);
31
38
  * const response = await client.send(command);
32
39
  * ```
@@ -27,6 +27,11 @@ export interface StartDeviceAuthorizationCommandOutput extends StartDeviceAuthor
27
27
  * import { SSOOIDCClient, StartDeviceAuthorizationCommand } from "@aws-sdk/client-sso-oidc"; // ES Modules import
28
28
  * // const { SSOOIDCClient, StartDeviceAuthorizationCommand } = require("@aws-sdk/client-sso-oidc"); // CommonJS import
29
29
  * const client = new SSOOIDCClient(config);
30
+ * const input = { // StartDeviceAuthorizationRequest
31
+ * clientId: "STRING_VALUE", // required
32
+ * clientSecret: "STRING_VALUE", // required
33
+ * startUrl: "STRING_VALUE", // required
34
+ * };
30
35
  * const command = new StartDeviceAuthorizationCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso-oidc",
3
3
  "description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.301.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",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/config-resolver": "3.299.0",
24
+ "@aws-sdk/config-resolver": "3.300.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.296.0",
26
26
  "@aws-sdk/hash-node": "3.296.0",
27
27
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -30,11 +30,11 @@
30
30
  "@aws-sdk/middleware-host-header": "3.296.0",
31
31
  "@aws-sdk/middleware-logger": "3.296.0",
32
32
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
33
- "@aws-sdk/middleware-retry": "3.296.0",
33
+ "@aws-sdk/middleware-retry": "3.300.0",
34
34
  "@aws-sdk/middleware-serde": "3.296.0",
35
35
  "@aws-sdk/middleware-stack": "3.296.0",
36
36
  "@aws-sdk/middleware-user-agent": "3.299.0",
37
- "@aws-sdk/node-config-provider": "3.296.0",
37
+ "@aws-sdk/node-config-provider": "3.300.0",
38
38
  "@aws-sdk/node-http-handler": "3.296.0",
39
39
  "@aws-sdk/protocol-http": "3.296.0",
40
40
  "@aws-sdk/smithy-client": "3.296.0",
@@ -44,11 +44,11 @@
44
44
  "@aws-sdk/util-body-length-browser": "3.295.0",
45
45
  "@aws-sdk/util-body-length-node": "3.295.0",
46
46
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
48
48
  "@aws-sdk/util-endpoints": "3.296.0",
49
49
  "@aws-sdk/util-retry": "3.296.0",
50
50
  "@aws-sdk/util-user-agent-browser": "3.299.0",
51
- "@aws-sdk/util-user-agent-node": "3.299.0",
51
+ "@aws-sdk/util-user-agent-node": "3.300.0",
52
52
  "@aws-sdk/util-utf8": "3.295.0",
53
53
  "tslib": "^2.5.0"
54
54
  },
@@ -113,6 +113,30 @@ export interface AssumeRoleCommandOutput extends AssumeRoleResponse, __MetadataB
113
113
  * import { STSClient, AssumeRoleCommand } from "@aws-sdk/client-sts"; // ES Modules import
114
114
  * // const { STSClient, AssumeRoleCommand } = require("@aws-sdk/client-sts"); // CommonJS import
115
115
  * const client = new STSClient(config);
116
+ * const input = { // AssumeRoleRequest
117
+ * RoleArn: "STRING_VALUE", // required
118
+ * RoleSessionName: "STRING_VALUE", // required
119
+ * PolicyArns: [ // policyDescriptorListType
120
+ * { // PolicyDescriptorType
121
+ * arn: "STRING_VALUE",
122
+ * },
123
+ * ],
124
+ * Policy: "STRING_VALUE",
125
+ * DurationSeconds: Number("int"),
126
+ * Tags: [ // tagListType
127
+ * { // Tag
128
+ * Key: "STRING_VALUE", // required
129
+ * Value: "STRING_VALUE", // required
130
+ * },
131
+ * ],
132
+ * TransitiveTagKeys: [ // tagKeyListType
133
+ * "STRING_VALUE",
134
+ * ],
135
+ * ExternalId: "STRING_VALUE",
136
+ * SerialNumber: "STRING_VALUE",
137
+ * TokenCode: "STRING_VALUE",
138
+ * SourceIdentity: "STRING_VALUE",
139
+ * };
116
140
  * const command = new AssumeRoleCommand(input);
117
141
  * const response = await client.send(command);
118
142
  * ```
@@ -154,6 +154,18 @@ export interface AssumeRoleWithSAMLCommandOutput extends AssumeRoleWithSAMLRespo
154
154
  * import { STSClient, AssumeRoleWithSAMLCommand } from "@aws-sdk/client-sts"; // ES Modules import
155
155
  * // const { STSClient, AssumeRoleWithSAMLCommand } = require("@aws-sdk/client-sts"); // CommonJS import
156
156
  * const client = new STSClient(config);
157
+ * const input = { // AssumeRoleWithSAMLRequest
158
+ * RoleArn: "STRING_VALUE", // required
159
+ * PrincipalArn: "STRING_VALUE", // required
160
+ * SAMLAssertion: "STRING_VALUE", // required
161
+ * PolicyArns: [ // policyDescriptorListType
162
+ * { // PolicyDescriptorType
163
+ * arn: "STRING_VALUE",
164
+ * },
165
+ * ],
166
+ * Policy: "STRING_VALUE",
167
+ * DurationSeconds: Number("int"),
168
+ * };
157
169
  * const command = new AssumeRoleWithSAMLCommand(input);
158
170
  * const response = await client.send(command);
159
171
  * ```
@@ -158,6 +158,19 @@ export interface AssumeRoleWithWebIdentityCommandOutput extends AssumeRoleWithWe
158
158
  * import { STSClient, AssumeRoleWithWebIdentityCommand } from "@aws-sdk/client-sts"; // ES Modules import
159
159
  * // const { STSClient, AssumeRoleWithWebIdentityCommand } = require("@aws-sdk/client-sts"); // CommonJS import
160
160
  * const client = new STSClient(config);
161
+ * const input = { // AssumeRoleWithWebIdentityRequest
162
+ * RoleArn: "STRING_VALUE", // required
163
+ * RoleSessionName: "STRING_VALUE", // required
164
+ * WebIdentityToken: "STRING_VALUE", // required
165
+ * ProviderId: "STRING_VALUE",
166
+ * PolicyArns: [ // policyDescriptorListType
167
+ * { // PolicyDescriptorType
168
+ * arn: "STRING_VALUE",
169
+ * },
170
+ * ],
171
+ * Policy: "STRING_VALUE",
172
+ * DurationSeconds: Number("int"),
173
+ * };
161
174
  * const command = new AssumeRoleWithWebIdentityCommand(input);
162
175
  * const response = await client.send(command);
163
176
  * ```
@@ -61,6 +61,9 @@ export interface DecodeAuthorizationMessageCommandOutput extends DecodeAuthoriza
61
61
  * import { STSClient, DecodeAuthorizationMessageCommand } from "@aws-sdk/client-sts"; // ES Modules import
62
62
  * // const { STSClient, DecodeAuthorizationMessageCommand } = require("@aws-sdk/client-sts"); // CommonJS import
63
63
  * const client = new STSClient(config);
64
+ * const input = { // DecodeAuthorizationMessageRequest
65
+ * EncodedMessage: "STRING_VALUE", // required
66
+ * };
64
67
  * const command = new DecodeAuthorizationMessageCommand(input);
65
68
  * const response = await client.send(command);
66
69
  * ```
@@ -43,6 +43,9 @@ export interface GetAccessKeyInfoCommandOutput extends GetAccessKeyInfoResponse,
43
43
  * import { STSClient, GetAccessKeyInfoCommand } from "@aws-sdk/client-sts"; // ES Modules import
44
44
  * // const { STSClient, GetAccessKeyInfoCommand } = require("@aws-sdk/client-sts"); // CommonJS import
45
45
  * const client = new STSClient(config);
46
+ * const input = { // GetAccessKeyInfoRequest
47
+ * AccessKeyId: "STRING_VALUE", // required
48
+ * };
46
49
  * const command = new GetAccessKeyInfoCommand(input);
47
50
  * const response = await client.send(command);
48
51
  * ```
@@ -35,6 +35,7 @@ export interface GetCallerIdentityCommandOutput extends GetCallerIdentityRespons
35
35
  * import { STSClient, GetCallerIdentityCommand } from "@aws-sdk/client-sts"; // ES Modules import
36
36
  * // const { STSClient, GetCallerIdentityCommand } = require("@aws-sdk/client-sts"); // CommonJS import
37
37
  * const client = new STSClient(config);
38
+ * const input = {};
38
39
  * const command = new GetCallerIdentityCommand(input);
39
40
  * const response = await client.send(command);
40
41
  * ```
@@ -112,6 +112,22 @@ export interface GetFederationTokenCommandOutput extends GetFederationTokenRespo
112
112
  * import { STSClient, GetFederationTokenCommand } from "@aws-sdk/client-sts"; // ES Modules import
113
113
  * // const { STSClient, GetFederationTokenCommand } = require("@aws-sdk/client-sts"); // CommonJS import
114
114
  * const client = new STSClient(config);
115
+ * const input = { // GetFederationTokenRequest
116
+ * Name: "STRING_VALUE", // required
117
+ * Policy: "STRING_VALUE",
118
+ * PolicyArns: [ // policyDescriptorListType
119
+ * { // PolicyDescriptorType
120
+ * arn: "STRING_VALUE",
121
+ * },
122
+ * ],
123
+ * DurationSeconds: Number("int"),
124
+ * Tags: [ // tagListType
125
+ * { // Tag
126
+ * Key: "STRING_VALUE", // required
127
+ * Value: "STRING_VALUE", // required
128
+ * },
129
+ * ],
130
+ * };
115
131
  * const command = new GetFederationTokenCommand(input);
116
132
  * const response = await client.send(command);
117
133
  * ```
@@ -84,6 +84,11 @@ export interface GetSessionTokenCommandOutput extends GetSessionTokenResponse, _
84
84
  * import { STSClient, GetSessionTokenCommand } from "@aws-sdk/client-sts"; // ES Modules import
85
85
  * // const { STSClient, GetSessionTokenCommand } = require("@aws-sdk/client-sts"); // CommonJS import
86
86
  * const client = new STSClient(config);
87
+ * const input = { // GetSessionTokenRequest
88
+ * DurationSeconds: Number("int"),
89
+ * SerialNumber: "STRING_VALUE",
90
+ * TokenCode: "STRING_VALUE",
91
+ * };
87
92
  * const command = new GetSessionTokenCommand(input);
88
93
  * const response = await client.send(command);
89
94
  * ```
@@ -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.299.0",
4
+ "version": "3.301.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",
@@ -23,8 +23,8 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "3.0.0",
25
25
  "@aws-crypto/sha256-js": "3.0.0",
26
- "@aws-sdk/config-resolver": "3.299.0",
27
- "@aws-sdk/credential-provider-node": "3.299.0",
26
+ "@aws-sdk/config-resolver": "3.300.0",
27
+ "@aws-sdk/credential-provider-node": "3.301.0",
28
28
  "@aws-sdk/fetch-http-handler": "3.296.0",
29
29
  "@aws-sdk/hash-node": "3.296.0",
30
30
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -33,13 +33,13 @@
33
33
  "@aws-sdk/middleware-host-header": "3.296.0",
34
34
  "@aws-sdk/middleware-logger": "3.296.0",
35
35
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
36
- "@aws-sdk/middleware-retry": "3.296.0",
36
+ "@aws-sdk/middleware-retry": "3.300.0",
37
37
  "@aws-sdk/middleware-sdk-sts": "3.299.0",
38
38
  "@aws-sdk/middleware-serde": "3.296.0",
39
39
  "@aws-sdk/middleware-signing": "3.299.0",
40
40
  "@aws-sdk/middleware-stack": "3.296.0",
41
41
  "@aws-sdk/middleware-user-agent": "3.299.0",
42
- "@aws-sdk/node-config-provider": "3.296.0",
42
+ "@aws-sdk/node-config-provider": "3.300.0",
43
43
  "@aws-sdk/node-http-handler": "3.296.0",
44
44
  "@aws-sdk/protocol-http": "3.296.0",
45
45
  "@aws-sdk/smithy-client": "3.296.0",
@@ -49,11 +49,11 @@
49
49
  "@aws-sdk/util-body-length-browser": "3.295.0",
50
50
  "@aws-sdk/util-body-length-node": "3.295.0",
51
51
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
52
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
52
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
53
53
  "@aws-sdk/util-endpoints": "3.296.0",
54
54
  "@aws-sdk/util-retry": "3.296.0",
55
55
  "@aws-sdk/util-user-agent-browser": "3.299.0",
56
- "@aws-sdk/util-user-agent-node": "3.299.0",
56
+ "@aws-sdk/util-user-agent-node": "3.300.0",
57
57
  "@aws-sdk/util-utf8": "3.295.0",
58
58
  "fast-xml-parser": "4.1.2",
59
59
  "tslib": "^2.5.0"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/config-resolver",
3
- "version": "3.299.0",
3
+ "version": "3.300.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",
@@ -26,7 +26,7 @@
26
26
  "tslib": "^2.5.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@aws-sdk/node-config-provider": "3.296.0",
29
+ "@aws-sdk/node-config-provider": "3.300.0",
30
30
  "@tsconfig/recommended": "1.0.1",
31
31
  "concurrently": "7.0.0",
32
32
  "downlevel-dts": "0.10.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-imds",
3
- "version": "3.296.0",
3
+ "version": "3.300.0",
4
4
  "description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/node-config-provider": "3.296.0",
27
+ "@aws-sdk/node-config-provider": "3.300.0",
28
28
  "@aws-sdk/property-provider": "3.296.0",
29
29
  "@aws-sdk/types": "3.296.0",
30
30
  "@aws-sdk/url-parser": "3.296.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.299.0",
3
+ "version": "3.301.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",
@@ -25,12 +25,12 @@
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
27
  "@aws-sdk/credential-provider-env": "3.296.0",
28
- "@aws-sdk/credential-provider-imds": "3.296.0",
29
- "@aws-sdk/credential-provider-process": "3.296.0",
30
- "@aws-sdk/credential-provider-sso": "3.299.0",
28
+ "@aws-sdk/credential-provider-imds": "3.300.0",
29
+ "@aws-sdk/credential-provider-process": "3.300.0",
30
+ "@aws-sdk/credential-provider-sso": "3.301.0",
31
31
  "@aws-sdk/credential-provider-web-identity": "3.296.0",
32
32
  "@aws-sdk/property-provider": "3.296.0",
33
- "@aws-sdk/shared-ini-file-loader": "3.296.0",
33
+ "@aws-sdk/shared-ini-file-loader": "3.300.0",
34
34
  "@aws-sdk/types": "3.296.0",
35
35
  "tslib": "^2.5.0"
36
36
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.299.0",
3
+ "version": "3.301.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=14.0.0"
@@ -28,13 +28,13 @@
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
30
  "@aws-sdk/credential-provider-env": "3.296.0",
31
- "@aws-sdk/credential-provider-imds": "3.296.0",
32
- "@aws-sdk/credential-provider-ini": "3.299.0",
33
- "@aws-sdk/credential-provider-process": "3.296.0",
34
- "@aws-sdk/credential-provider-sso": "3.299.0",
31
+ "@aws-sdk/credential-provider-imds": "3.300.0",
32
+ "@aws-sdk/credential-provider-ini": "3.301.0",
33
+ "@aws-sdk/credential-provider-process": "3.300.0",
34
+ "@aws-sdk/credential-provider-sso": "3.301.0",
35
35
  "@aws-sdk/credential-provider-web-identity": "3.296.0",
36
36
  "@aws-sdk/property-provider": "3.296.0",
37
- "@aws-sdk/shared-ini-file-loader": "3.296.0",
37
+ "@aws-sdk/shared-ini-file-loader": "3.300.0",
38
38
  "@aws-sdk/types": "3.296.0",
39
39
  "tslib": "^2.5.0"
40
40
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.296.0",
3
+ "version": "3.300.0",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,7 +25,7 @@
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
27
  "@aws-sdk/property-provider": "3.296.0",
28
- "@aws-sdk/shared-ini-file-loader": "3.296.0",
28
+ "@aws-sdk/shared-ini-file-loader": "3.300.0",
29
29
  "@aws-sdk/types": "3.296.0",
30
30
  "tslib": "^2.5.0"
31
31
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.299.0",
3
+ "version": "3.301.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.299.0",
27
+ "@aws-sdk/client-sso": "3.301.0",
28
28
  "@aws-sdk/property-provider": "3.296.0",
29
- "@aws-sdk/shared-ini-file-loader": "3.296.0",
30
- "@aws-sdk/token-providers": "3.299.0",
29
+ "@aws-sdk/shared-ini-file-loader": "3.300.0",
30
+ "@aws-sdk/token-providers": "3.301.0",
31
31
  "@aws-sdk/types": "3.296.0",
32
32
  "tslib": "^2.5.0"
33
33
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-retry",
3
- "version": "3.296.0",
3
+ "version": "3.300.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",
@@ -29,7 +29,7 @@
29
29
  "uuid": "^8.3.2"
30
30
  },
31
31
  "devDependencies": {
32
- "@aws-sdk/node-config-provider": "3.296.0",
32
+ "@aws-sdk/node-config-provider": "3.300.0",
33
33
  "@tsconfig/recommended": "1.0.1",
34
34
  "@types/uuid": "^8.3.0",
35
35
  "concurrently": "7.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/node-config-provider",
3
- "version": "3.296.0",
3
+ "version": "3.300.0",
4
4
  "description": "Load config default values from ini config files and environmental variable",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
@@ -23,7 +23,7 @@
23
23
  "types": "./dist-types/index.d.ts",
24
24
  "dependencies": {
25
25
  "@aws-sdk/property-provider": "3.296.0",
26
- "@aws-sdk/shared-ini-file-loader": "3.296.0",
26
+ "@aws-sdk/shared-ini-file-loader": "3.300.0",
27
27
  "@aws-sdk/types": "3.296.0",
28
28
  "tslib": "^2.5.0"
29
29
  },
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.mergeConfigFiles = void 0;
4
+ const mergeConfigFiles = (...files) => {
5
+ const merged = {};
6
+ for (const file of files) {
7
+ for (const [key, values] of Object.entries(file)) {
8
+ if (merged[key] !== undefined) {
9
+ Object.assign(merged[key], values);
10
+ }
11
+ else {
12
+ merged[key] = values;
13
+ }
14
+ }
15
+ }
16
+ return merged;
17
+ };
18
+ exports.mergeConfigFiles = mergeConfigFiles;
@@ -2,11 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.parseKnownFiles = void 0;
4
4
  const loadSharedConfigFiles_1 = require("./loadSharedConfigFiles");
5
+ const mergeConfigFiles_1 = require("./mergeConfigFiles");
5
6
  const parseKnownFiles = async (init) => {
6
7
  const parsedFiles = await (0, loadSharedConfigFiles_1.loadSharedConfigFiles)(init);
7
- return {
8
- ...parsedFiles.configFile,
9
- ...parsedFiles.credentialsFile,
10
- };
8
+ return (0, mergeConfigFiles_1.mergeConfigFiles)(parsedFiles.configFile, parsedFiles.credentialsFile);
11
9
  };
12
10
  exports.parseKnownFiles = parseKnownFiles;
@@ -0,0 +1,14 @@
1
+ export const mergeConfigFiles = (...files) => {
2
+ const merged = {};
3
+ for (const file of files) {
4
+ for (const [key, values] of Object.entries(file)) {
5
+ if (merged[key] !== undefined) {
6
+ Object.assign(merged[key], values);
7
+ }
8
+ else {
9
+ merged[key] = values;
10
+ }
11
+ }
12
+ }
13
+ return merged;
14
+ };
@@ -1,8 +1,6 @@
1
1
  import { loadSharedConfigFiles } from "./loadSharedConfigFiles";
2
+ import { mergeConfigFiles } from "./mergeConfigFiles";
2
3
  export const parseKnownFiles = async (init) => {
3
4
  const parsedFiles = await loadSharedConfigFiles(init);
4
- return {
5
- ...parsedFiles.configFile,
6
- ...parsedFiles.credentialsFile,
7
- };
5
+ return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile);
8
6
  };
@@ -0,0 +1,7 @@
1
+ import { ParsedIniData } from "@aws-sdk/types";
2
+ /**
3
+ * Merge multiple profile config files such that settings each file are kept together
4
+ *
5
+ * @internal
6
+ */
7
+ export declare const mergeConfigFiles: (...files: ParsedIniData[]) => ParsedIniData;
@@ -0,0 +1,4 @@
1
+ import { ParsedIniData } from "@aws-sdk/types";
2
+ export declare const mergeConfigFiles: (
3
+ ...files: ParsedIniData[]
4
+ ) => ParsedIniData;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/shared-ini-file-loader",
3
- "version": "3.296.0",
3
+ "version": "3.300.0",
4
4
  "dependencies": {
5
5
  "@aws-sdk/types": "3.296.0",
6
6
  "tslib": "^2.5.0"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.299.0",
3
+ "version": "3.301.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,9 +25,9 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/client-sso-oidc": "3.299.0",
28
+ "@aws-sdk/client-sso-oidc": "3.301.0",
29
29
  "@aws-sdk/property-provider": "3.296.0",
30
- "@aws-sdk/shared-ini-file-loader": "3.296.0",
30
+ "@aws-sdk/shared-ini-file-loader": "3.300.0",
31
31
  "@aws-sdk/types": "3.296.0",
32
32
  "tslib": "^2.5.0"
33
33
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-defaults-mode-node",
3
- "version": "3.299.0",
3
+ "version": "3.300.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",
@@ -19,9 +19,9 @@
19
19
  },
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
22
- "@aws-sdk/config-resolver": "3.299.0",
23
- "@aws-sdk/credential-provider-imds": "3.296.0",
24
- "@aws-sdk/node-config-provider": "3.296.0",
22
+ "@aws-sdk/config-resolver": "3.300.0",
23
+ "@aws-sdk/credential-provider-imds": "3.300.0",
24
+ "@aws-sdk/node-config-provider": "3.300.0",
25
25
  "@aws-sdk/property-provider": "3.296.0",
26
26
  "@aws-sdk/types": "3.296.0",
27
27
  "tslib": "^2.5.0"