@aws-sdk/client-codedeploy 3.36.0 → 3.39.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/CHANGELOG.md +42 -0
- package/dist-cjs/CodeDeploy.js +0 -102
- package/dist-cjs/CodeDeployClient.js +0 -107
- package/dist-cjs/commands/AddTagsToOnPremisesInstancesCommand.js +0 -24
- package/dist-cjs/commands/BatchGetApplicationRevisionsCommand.js +0 -25
- package/dist-cjs/commands/BatchGetApplicationsCommand.js +0 -25
- package/dist-cjs/commands/BatchGetDeploymentGroupsCommand.js +0 -24
- package/dist-cjs/commands/BatchGetDeploymentInstancesCommand.js +0 -33
- package/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js +0 -51
- package/dist-cjs/commands/BatchGetDeploymentsCommand.js +0 -25
- package/dist-cjs/commands/BatchGetOnPremisesInstancesCommand.js +0 -25
- package/dist-cjs/commands/ContinueDeploymentCommand.js +0 -28
- package/dist-cjs/commands/CreateApplicationCommand.js +0 -24
- package/dist-cjs/commands/CreateDeploymentCommand.js +0 -24
- package/dist-cjs/commands/CreateDeploymentConfigCommand.js +0 -24
- package/dist-cjs/commands/CreateDeploymentGroupCommand.js +0 -24
- package/dist-cjs/commands/DeleteApplicationCommand.js +0 -24
- package/dist-cjs/commands/DeleteDeploymentConfigCommand.js +0 -28
- package/dist-cjs/commands/DeleteDeploymentGroupCommand.js +0 -24
- package/dist-cjs/commands/DeleteGitHubAccountTokenCommand.js +0 -24
- package/dist-cjs/commands/DeleteResourcesByExternalIdCommand.js +0 -24
- package/dist-cjs/commands/DeregisterOnPremisesInstanceCommand.js +0 -24
- package/dist-cjs/commands/GetApplicationCommand.js +0 -24
- package/dist-cjs/commands/GetApplicationRevisionCommand.js +0 -24
- package/dist-cjs/commands/GetDeploymentCommand.js +0 -30
- package/dist-cjs/commands/GetDeploymentConfigCommand.js +0 -24
- package/dist-cjs/commands/GetDeploymentGroupCommand.js +0 -24
- package/dist-cjs/commands/GetDeploymentInstanceCommand.js +0 -26
- package/dist-cjs/commands/GetDeploymentTargetCommand.js +0 -24
- package/dist-cjs/commands/GetOnPremisesInstanceCommand.js +0 -24
- package/dist-cjs/commands/ListApplicationRevisionsCommand.js +0 -24
- package/dist-cjs/commands/ListApplicationsCommand.js +0 -24
- package/dist-cjs/commands/ListDeploymentConfigsCommand.js +0 -24
- package/dist-cjs/commands/ListDeploymentGroupsCommand.js +0 -25
- package/dist-cjs/commands/ListDeploymentInstancesCommand.js +0 -32
- package/dist-cjs/commands/ListDeploymentTargetsCommand.js +0 -24
- package/dist-cjs/commands/ListDeploymentsCommand.js +0 -25
- package/dist-cjs/commands/ListGitHubAccountTokenNamesCommand.js +0 -24
- package/dist-cjs/commands/ListOnPremisesInstancesCommand.js +0 -27
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +0 -32
- package/dist-cjs/commands/RegisterApplicationRevisionCommand.js +0 -24
- package/dist-cjs/commands/RegisterOnPremisesInstanceCommand.js +0 -28
- package/dist-cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js +0 -24
- package/dist-cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js +0 -27
- package/dist-cjs/commands/StopDeploymentCommand.js +0 -24
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/UpdateApplicationCommand.js +0 -24
- package/dist-cjs/commands/UpdateDeploymentGroupCommand.js +0 -24
- package/dist-cjs/commands/index.js +50 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -57
- package/dist-cjs/models/models_0.js +0 -741
- package/dist-cjs/pagination/ListApplicationRevisionsPaginator.js +0 -10
- package/dist-cjs/pagination/ListApplicationsPaginator.js +0 -10
- package/dist-cjs/pagination/ListDeploymentConfigsPaginator.js +0 -10
- package/dist-cjs/pagination/ListDeploymentGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/ListDeploymentInstancesPaginator.js +0 -10
- package/dist-cjs/pagination/ListDeploymentsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +10 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +4 -0
- package/dist-cjs/waiters/waitForDeploymentSuccessful.js +0 -9
- package/dist-es/commands/index.js +47 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -57
- package/dist-es/pagination/index.js +7 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-types/commands/index.d.ts +47 -0
- package/dist-types/index.d.ts +5 -57
- package/dist-types/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/CodeDeploy.d.ts +48 -331
- package/dist-types/ts3.4/CodeDeployClient.d.ts +24 -188
- package/dist-types/ts3.4/commands/AddTagsToOnPremisesInstancesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/BatchGetApplicationRevisionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/BatchGetDeploymentGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ContinueDeploymentCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDeploymentConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDeploymentGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteDeploymentGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteGitHubAccountTokenCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteResourcesByExternalIdCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeregisterOnPremisesInstanceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApplicationRevisionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/GetDeploymentConfigCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDeploymentGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDeploymentInstanceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetDeploymentTargetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetOnPremisesInstanceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListApplicationRevisionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDeploymentConfigsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListDeploymentTargetsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListGitHubAccountTokenNamesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDeploymentGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +47 -0
- package/dist-types/ts3.4/index.d.ts +5 -57
- package/dist-types/ts3.4/models/models_0.d.ts +1001 -4081
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForDeploymentSuccessful.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +1 -0
- package/package.json +33 -33
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates an application.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeDeployClient, CreateApplicationCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
14
|
-
* // const { CodeDeployClient, CreateApplicationCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
15
|
-
* const client = new CodeDeployClient(config);
|
|
16
|
-
* const command = new CreateApplicationCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateApplicationCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateApplicationCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateApplicationCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deploys an application revision through the specified deployment group.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeDeployClient, CreateDeploymentCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
14
|
-
* // const { CodeDeployClient, CreateDeploymentCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
15
|
-
* const client = new CodeDeployClient(config);
|
|
16
|
-
* const command = new CreateDeploymentCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateDeploymentCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateDeploymentCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateDeploymentCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p> Creates a deployment configuration. </p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeDeployClient, CreateDeploymentConfigCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
14
|
-
* // const { CodeDeployClient, CreateDeploymentConfigCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
15
|
-
* const client = new CodeDeployClient(config);
|
|
16
|
-
* const command = new CreateDeploymentConfigCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateDeploymentConfigCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateDeploymentConfigCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateDeploymentConfigCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a deployment group to which application revisions are deployed.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeDeployClient, CreateDeploymentGroupCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
14
|
-
* // const { CodeDeployClient, CreateDeploymentGroupCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
15
|
-
* const client = new CodeDeployClient(config);
|
|
16
|
-
* const command = new CreateDeploymentGroupCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link CreateDeploymentGroupCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link CreateDeploymentGroupCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class CreateDeploymentGroupCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes an application.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeDeployClient, DeleteApplicationCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
14
|
-
* // const { CodeDeployClient, DeleteApplicationCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
15
|
-
* const client = new CodeDeployClient(config);
|
|
16
|
-
* const command = new DeleteApplicationCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteApplicationCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteApplicationCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteApplicationCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes a deployment configuration.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p>A deployment configuration cannot be deleted if it is currently in use. Predefined
|
|
12
|
-
* configurations cannot be deleted.</p>
|
|
13
|
-
* </note>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { CodeDeployClient, DeleteDeploymentConfigCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
18
|
-
* // const { CodeDeployClient, DeleteDeploymentConfigCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
19
|
-
* const client = new CodeDeployClient(config);
|
|
20
|
-
* const command = new DeleteDeploymentConfigCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link DeleteDeploymentConfigCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link DeleteDeploymentConfigCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class DeleteDeploymentConfigCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
10
|
super();
|
|
35
11
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes a deployment group.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeDeployClient, DeleteDeploymentGroupCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
14
|
-
* // const { CodeDeployClient, DeleteDeploymentGroupCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
15
|
-
* const client = new CodeDeployClient(config);
|
|
16
|
-
* const command = new DeleteDeploymentGroupCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteDeploymentGroupCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteDeploymentGroupCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteDeploymentGroupCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes a GitHub account connection.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeDeployClient, DeleteGitHubAccountTokenCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
14
|
-
* // const { CodeDeployClient, DeleteGitHubAccountTokenCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
15
|
-
* const client = new CodeDeployClient(config);
|
|
16
|
-
* const command = new DeleteGitHubAccountTokenCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteGitHubAccountTokenCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteGitHubAccountTokenCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteGitHubAccountTokenCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes resources linked to an external ID.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeDeployClient, DeleteResourcesByExternalIdCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
14
|
-
* // const { CodeDeployClient, DeleteResourcesByExternalIdCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
15
|
-
* const client = new CodeDeployClient(config);
|
|
16
|
-
* const command = new DeleteResourcesByExternalIdCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteResourcesByExternalIdCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteResourcesByExternalIdCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteResourcesByExternalIdCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deregisters an on-premises instance.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeDeployClient, DeregisterOnPremisesInstanceCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
14
|
-
* // const { CodeDeployClient, DeregisterOnPremisesInstanceCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
15
|
-
* const client = new CodeDeployClient(config);
|
|
16
|
-
* const command = new DeregisterOnPremisesInstanceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeregisterOnPremisesInstanceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeregisterOnPremisesInstanceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeregisterOnPremisesInstanceCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Gets information about an application.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeDeployClient, GetApplicationCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
14
|
-
* // const { CodeDeployClient, GetApplicationCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
15
|
-
* const client = new CodeDeployClient(config);
|
|
16
|
-
* const command = new GetApplicationCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetApplicationCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetApplicationCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetApplicationCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Gets information about an application revision.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeDeployClient, GetApplicationRevisionCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
14
|
-
* // const { CodeDeployClient, GetApplicationRevisionCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
15
|
-
* const client = new CodeDeployClient(config);
|
|
16
|
-
* const command = new GetApplicationRevisionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetApplicationRevisionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetApplicationRevisionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetApplicationRevisionCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Gets information about a deployment.</p>
|
|
10
|
-
* <note>
|
|
11
|
-
* <p> The <code>content</code> property of the <code>appSpecContent</code> object in
|
|
12
|
-
* the returned revision is always null. Use <code>GetApplicationRevision</code> and
|
|
13
|
-
* the <code>sha256</code> property of the returned <code>appSpecContent</code> object
|
|
14
|
-
* to get the content of the deployment’s AppSpec file. </p>
|
|
15
|
-
* </note>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { CodeDeployClient, GetDeploymentCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
20
|
-
* // const { CodeDeployClient, GetDeploymentCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
21
|
-
* const client = new CodeDeployClient(config);
|
|
22
|
-
* const command = new GetDeploymentCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link GetDeploymentCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link GetDeploymentCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
8
|
class GetDeploymentCommand extends smithy_client_1.Command {
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
9
|
constructor(input) {
|
|
35
|
-
// Start section: command_constructor
|
|
36
10
|
super();
|
|
37
11
|
this.input = input;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Gets information about a deployment configuration.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeDeployClient, GetDeploymentConfigCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
14
|
-
* // const { CodeDeployClient, GetDeploymentConfigCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
15
|
-
* const client = new CodeDeployClient(config);
|
|
16
|
-
* const command = new GetDeploymentConfigCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetDeploymentConfigCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetDeploymentConfigCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetDeploymentConfigCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Gets information about a deployment group.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeDeployClient, GetDeploymentGroupCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
14
|
-
* // const { CodeDeployClient, GetDeploymentGroupCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
15
|
-
* const client = new CodeDeployClient(config);
|
|
16
|
-
* const command = new GetDeploymentGroupCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetDeploymentGroupCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetDeploymentGroupCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetDeploymentGroupCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated
|
|
10
|
-
*
|
|
11
|
-
* <p>Gets information about an instance as part of a deployment.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { CodeDeployClient, GetDeploymentInstanceCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
16
|
-
* // const { CodeDeployClient, GetDeploymentInstanceCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
17
|
-
* const client = new CodeDeployClient(config);
|
|
18
|
-
* const command = new GetDeploymentInstanceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link GetDeploymentInstanceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link GetDeploymentInstanceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class GetDeploymentInstanceCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p> Returns information about a deployment target. </p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { CodeDeployClient, GetDeploymentTargetCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
14
|
-
* // const { CodeDeployClient, GetDeploymentTargetCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
15
|
-
* const client = new CodeDeployClient(config);
|
|
16
|
-
* const command = new GetDeploymentTargetCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetDeploymentTargetCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetDeploymentTargetCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetDeploymentTargetCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|