@aws-sdk/client-imagebuilder 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/Imagebuilder.js +209 -202
- package/dist-es/ImagebuilderClient.js +28 -22
- package/dist-es/commands/CancelImageCreationCommand.js +28 -21
- package/dist-es/commands/CreateComponentCommand.js +28 -21
- package/dist-es/commands/CreateContainerRecipeCommand.js +28 -21
- package/dist-es/commands/CreateDistributionConfigurationCommand.js +28 -21
- package/dist-es/commands/CreateImageCommand.js +28 -21
- package/dist-es/commands/CreateImagePipelineCommand.js +28 -21
- package/dist-es/commands/CreateImageRecipeCommand.js +28 -21
- package/dist-es/commands/CreateInfrastructureConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteComponentCommand.js +28 -21
- package/dist-es/commands/DeleteContainerRecipeCommand.js +28 -21
- package/dist-es/commands/DeleteDistributionConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteImageCommand.js +28 -21
- package/dist-es/commands/DeleteImagePipelineCommand.js +28 -21
- package/dist-es/commands/DeleteImageRecipeCommand.js +28 -21
- package/dist-es/commands/DeleteInfrastructureConfigurationCommand.js +28 -21
- package/dist-es/commands/GetComponentCommand.js +28 -21
- package/dist-es/commands/GetComponentPolicyCommand.js +28 -21
- package/dist-es/commands/GetContainerRecipeCommand.js +28 -21
- package/dist-es/commands/GetContainerRecipePolicyCommand.js +28 -21
- package/dist-es/commands/GetDistributionConfigurationCommand.js +28 -21
- package/dist-es/commands/GetImageCommand.js +28 -21
- package/dist-es/commands/GetImagePipelineCommand.js +28 -21
- package/dist-es/commands/GetImagePolicyCommand.js +28 -21
- package/dist-es/commands/GetImageRecipeCommand.js +28 -21
- package/dist-es/commands/GetImageRecipePolicyCommand.js +28 -21
- package/dist-es/commands/GetInfrastructureConfigurationCommand.js +28 -21
- package/dist-es/commands/ImportComponentCommand.js +28 -21
- package/dist-es/commands/ImportVmImageCommand.js +28 -21
- package/dist-es/commands/ListComponentBuildVersionsCommand.js +28 -21
- package/dist-es/commands/ListComponentsCommand.js +28 -21
- package/dist-es/commands/ListContainerRecipesCommand.js +28 -21
- package/dist-es/commands/ListDistributionConfigurationsCommand.js +28 -21
- package/dist-es/commands/ListImageBuildVersionsCommand.js +28 -21
- package/dist-es/commands/ListImagePackagesCommand.js +28 -21
- package/dist-es/commands/ListImagePipelineImagesCommand.js +28 -21
- package/dist-es/commands/ListImagePipelinesCommand.js +28 -21
- package/dist-es/commands/ListImageRecipesCommand.js +28 -21
- package/dist-es/commands/ListImagesCommand.js +28 -21
- package/dist-es/commands/ListInfrastructureConfigurationsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/PutComponentPolicyCommand.js +28 -21
- package/dist-es/commands/PutContainerRecipePolicyCommand.js +28 -21
- package/dist-es/commands/PutImagePolicyCommand.js +28 -21
- package/dist-es/commands/PutImageRecipePolicyCommand.js +28 -21
- package/dist-es/commands/StartImagePipelineExecutionCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateDistributionConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateImagePipelineCommand.js +28 -21
- package/dist-es/commands/UpdateInfrastructureConfigurationCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ImagebuilderServiceException.js +10 -5
- package/dist-es/models/models_0.js +333 -622
- package/dist-es/pagination/ListComponentBuildVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListComponentsPaginator.js +68 -25
- package/dist-es/pagination/ListContainerRecipesPaginator.js +68 -25
- package/dist-es/pagination/ListDistributionConfigurationsPaginator.js +68 -25
- package/dist-es/pagination/ListImageBuildVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListImagePackagesPaginator.js +68 -25
- package/dist-es/pagination/ListImagePipelineImagesPaginator.js +68 -25
- package/dist-es/pagination/ListImagePipelinesPaginator.js +68 -25
- package/dist-es/pagination/ListImageRecipesPaginator.js +68 -25
- package/dist-es/pagination/ListImagesPaginator.js +68 -25
- package/dist-es/pagination/ListInfrastructureConfigurationsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +6003 -4518
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetDistributionConfigurationRequestFilterSensitiveLog, GetDistributionConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetDistributionConfigurationCommand, serializeAws_restJson1GetDistributionConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetDistributionConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(GetDistributionConfigurationCommand, _super);
|
|
8
|
+
function GetDistributionConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetDistributionConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ImagebuilderClient";
|
|
18
|
+
var commandName = "GetDistributionConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetDistributionConfigurationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetDistributionConfigurationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetDistributionConfigurationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetDistributionConfigurationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetDistributionConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetDistributionConfigurationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetDistributionConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetDistributionConfigurationCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetImageRequestFilterSensitiveLog, GetImageResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetImageCommand, serializeAws_restJson1GetImageCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetImageCommand = (function (_super) {
|
|
7
|
+
__extends(GetImageCommand, _super);
|
|
8
|
+
function GetImageCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetImageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ImagebuilderClient";
|
|
18
|
+
var commandName = "GetImageCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetImageRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetImageResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetImageCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetImageCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetImageCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetImageCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetImageCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetImageCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetImagePipelineRequestFilterSensitiveLog, GetImagePipelineResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetImagePipelineCommand, serializeAws_restJson1GetImagePipelineCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetImagePipelineCommand = (function (_super) {
|
|
7
|
+
__extends(GetImagePipelineCommand, _super);
|
|
8
|
+
function GetImagePipelineCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetImagePipelineCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ImagebuilderClient";
|
|
18
|
+
var commandName = "GetImagePipelineCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetImagePipelineRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetImagePipelineResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetImagePipelineCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetImagePipelineCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetImagePipelineCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetImagePipelineCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetImagePipelineCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetImagePipelineCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetImagePolicyRequestFilterSensitiveLog, GetImagePolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetImagePolicyCommand, serializeAws_restJson1GetImagePolicyCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetImagePolicyCommand = (function (_super) {
|
|
7
|
+
__extends(GetImagePolicyCommand, _super);
|
|
8
|
+
function GetImagePolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetImagePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ImagebuilderClient";
|
|
18
|
+
var commandName = "GetImagePolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetImagePolicyRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetImagePolicyResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetImagePolicyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetImagePolicyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetImagePolicyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetImagePolicyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetImagePolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetImagePolicyCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetImageRecipeRequestFilterSensitiveLog, GetImageRecipeResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetImageRecipeCommand, serializeAws_restJson1GetImageRecipeCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetImageRecipeCommand = (function (_super) {
|
|
7
|
+
__extends(GetImageRecipeCommand, _super);
|
|
8
|
+
function GetImageRecipeCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetImageRecipeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ImagebuilderClient";
|
|
18
|
+
var commandName = "GetImageRecipeCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetImageRecipeRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetImageRecipeResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetImageRecipeCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetImageRecipeCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetImageRecipeCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetImageRecipeCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetImageRecipeCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetImageRecipeCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetImageRecipePolicyRequestFilterSensitiveLog, GetImageRecipePolicyResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetImageRecipePolicyCommand, serializeAws_restJson1GetImageRecipePolicyCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetImageRecipePolicyCommand = (function (_super) {
|
|
7
|
+
__extends(GetImageRecipePolicyCommand, _super);
|
|
8
|
+
function GetImageRecipePolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetImageRecipePolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ImagebuilderClient";
|
|
18
|
+
var commandName = "GetImageRecipePolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetImageRecipePolicyRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetImageRecipePolicyResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetImageRecipePolicyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetImageRecipePolicyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetImageRecipePolicyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetImageRecipePolicyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetImageRecipePolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetImageRecipePolicyCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetInfrastructureConfigurationRequestFilterSensitiveLog, GetInfrastructureConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetInfrastructureConfigurationCommand, serializeAws_restJson1GetInfrastructureConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetInfrastructureConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(GetInfrastructureConfigurationCommand, _super);
|
|
8
|
+
function GetInfrastructureConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetInfrastructureConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ImagebuilderClient";
|
|
18
|
+
var commandName = "GetInfrastructureConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetInfrastructureConfigurationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetInfrastructureConfigurationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetInfrastructureConfigurationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetInfrastructureConfigurationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetInfrastructureConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetInfrastructureConfigurationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetInfrastructureConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetInfrastructureConfigurationCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ImportComponentRequestFilterSensitiveLog, ImportComponentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ImportComponentCommand, serializeAws_restJson1ImportComponentCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ImportComponentCommand = (function (_super) {
|
|
7
|
+
__extends(ImportComponentCommand, _super);
|
|
8
|
+
function ImportComponentCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ImportComponentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ImagebuilderClient";
|
|
18
|
+
var commandName = "ImportComponentCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ImportComponentRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ImportComponentResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ImportComponentCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ImportComponentCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ImportComponentCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ImportComponentCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ImportComponentCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ImportComponentCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ImportVmImageRequestFilterSensitiveLog, ImportVmImageResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ImportVmImageCommand, serializeAws_restJson1ImportVmImageCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ImportVmImageCommand = (function (_super) {
|
|
7
|
+
__extends(ImportVmImageCommand, _super);
|
|
8
|
+
function ImportVmImageCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ImportVmImageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ImagebuilderClient";
|
|
18
|
+
var commandName = "ImportVmImageCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ImportVmImageRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ImportVmImageResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ImportVmImageCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ImportVmImageCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ImportVmImageCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ImportVmImageCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ImportVmImageCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ImportVmImageCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListComponentBuildVersionsRequestFilterSensitiveLog, ListComponentBuildVersionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListComponentBuildVersionsCommand, serializeAws_restJson1ListComponentBuildVersionsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListComponentBuildVersionsCommand = (function (_super) {
|
|
7
|
+
__extends(ListComponentBuildVersionsCommand, _super);
|
|
8
|
+
function ListComponentBuildVersionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListComponentBuildVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ImagebuilderClient";
|
|
18
|
+
var commandName = "ListComponentBuildVersionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListComponentBuildVersionsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListComponentBuildVersionsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListComponentBuildVersionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListComponentBuildVersionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListComponentBuildVersionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListComponentBuildVersionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListComponentBuildVersionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListComponentBuildVersionsCommand };
|