@aws-sdk/client-codedeploy 3.927.0 → 3.928.0
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/dist-cjs/index.js +3169 -3269
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/CodeDeployClient.js +2 -0
- package/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +3 -9
- package/dist-es/commands/BatchGetApplicationRevisionsCommand.js +3 -9
- package/dist-es/commands/BatchGetApplicationsCommand.js +3 -9
- package/dist-es/commands/BatchGetDeploymentGroupsCommand.js +3 -9
- package/dist-es/commands/BatchGetDeploymentInstancesCommand.js +3 -9
- package/dist-es/commands/BatchGetDeploymentTargetsCommand.js +3 -9
- package/dist-es/commands/BatchGetDeploymentsCommand.js +3 -9
- package/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +3 -9
- package/dist-es/commands/ContinueDeploymentCommand.js +3 -9
- package/dist-es/commands/CreateApplicationCommand.js +3 -9
- package/dist-es/commands/CreateDeploymentCommand.js +3 -9
- package/dist-es/commands/CreateDeploymentConfigCommand.js +3 -9
- package/dist-es/commands/CreateDeploymentGroupCommand.js +3 -9
- package/dist-es/commands/DeleteApplicationCommand.js +3 -9
- package/dist-es/commands/DeleteDeploymentConfigCommand.js +3 -9
- package/dist-es/commands/DeleteDeploymentGroupCommand.js +3 -9
- package/dist-es/commands/DeleteGitHubAccountTokenCommand.js +3 -9
- package/dist-es/commands/DeleteResourcesByExternalIdCommand.js +3 -9
- package/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +3 -9
- package/dist-es/commands/GetApplicationCommand.js +3 -9
- package/dist-es/commands/GetApplicationRevisionCommand.js +3 -9
- package/dist-es/commands/GetDeploymentCommand.js +3 -9
- package/dist-es/commands/GetDeploymentConfigCommand.js +3 -9
- package/dist-es/commands/GetDeploymentGroupCommand.js +3 -9
- package/dist-es/commands/GetDeploymentInstanceCommand.js +3 -9
- package/dist-es/commands/GetDeploymentTargetCommand.js +3 -9
- package/dist-es/commands/GetOnPremisesInstanceCommand.js +3 -9
- package/dist-es/commands/ListApplicationRevisionsCommand.js +3 -9
- package/dist-es/commands/ListApplicationsCommand.js +3 -9
- package/dist-es/commands/ListDeploymentConfigsCommand.js +3 -9
- package/dist-es/commands/ListDeploymentGroupsCommand.js +3 -9
- package/dist-es/commands/ListDeploymentInstancesCommand.js +3 -9
- package/dist-es/commands/ListDeploymentTargetsCommand.js +3 -9
- package/dist-es/commands/ListDeploymentsCommand.js +3 -9
- package/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +3 -9
- package/dist-es/commands/ListOnPremisesInstancesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +3 -9
- package/dist-es/commands/RegisterApplicationRevisionCommand.js +3 -9
- package/dist-es/commands/RegisterOnPremisesInstanceCommand.js +3 -9
- package/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +3 -9
- package/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +3 -9
- package/dist-es/commands/StopDeploymentCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateApplicationCommand.js +3 -9
- package/dist-es/commands/UpdateDeploymentGroupCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2762 -0
- package/dist-types/CodeDeployClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +341 -0
- package/dist-types/ts3.4/CodeDeployClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +347 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -2614
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -425
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -569
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateApplication } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateApplicationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeDeploy_20141006", "UpdateApplication", {})
|
|
17
13
|
.n("CodeDeployClient", "UpdateApplicationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateApplicationCommand)
|
|
20
|
-
.de(de_UpdateApplicationCommand)
|
|
14
|
+
.sc(UpdateApplication)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateDeploymentGroup } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateDeploymentGroupCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("CodeDeploy_20141006", "UpdateDeploymentGroup", {})
|
|
17
13
|
.n("CodeDeployClient", "UpdateDeploymentGroupCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateDeploymentGroupCommand)
|
|
20
|
-
.de(de_UpdateDeploymentGroupCommand)
|
|
14
|
+
.sc(UpdateDeploymentGroup)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.codedeploy",
|
|
29
|
+
serviceTarget: "CodeDeploy_20141006",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "CodeDeploy",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|