@aws-sdk/client-imagebuilder 3.300.0 → 3.303.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/README.md +51 -3
- package/dist-cjs/Imagebuilder.js +90 -0
- package/dist-cjs/commands/GetWorkflowExecutionCommand.js +45 -0
- package/dist-cjs/commands/GetWorkflowStepExecutionCommand.js +45 -0
- package/dist-cjs/commands/ListImageScanFindingAggregationsCommand.js +45 -0
- package/dist-cjs/commands/ListImageScanFindingsCommand.js +45 -0
- package/dist-cjs/commands/ListWorkflowExecutionsCommand.js +45 -0
- package/dist-cjs/commands/ListWorkflowStepExecutionsCommand.js +45 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +113 -92
- package/dist-cjs/pagination/ListImageScanFindingAggregationsPaginator.js +28 -0
- package/dist-cjs/pagination/ListImageScanFindingsPaginator.js +29 -0
- package/dist-cjs/pagination/ListWorkflowExecutionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListWorkflowStepExecutionsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_restJson1.js +945 -13
- package/dist-es/Imagebuilder.js +90 -0
- package/dist-es/commands/GetWorkflowExecutionCommand.js +41 -0
- package/dist-es/commands/GetWorkflowStepExecutionCommand.js +41 -0
- package/dist-es/commands/ListImageScanFindingAggregationsCommand.js +41 -0
- package/dist-es/commands/ListImageScanFindingsCommand.js +41 -0
- package/dist-es/commands/ListWorkflowExecutionsCommand.js +41 -0
- package/dist-es/commands/ListWorkflowStepExecutionsCommand.js +41 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +112 -91
- package/dist-es/pagination/ListImageScanFindingAggregationsPaginator.js +24 -0
- package/dist-es/pagination/ListImageScanFindingsPaginator.js +25 -0
- package/dist-es/pagination/ListWorkflowExecutionsPaginator.js +25 -0
- package/dist-es/pagination/ListWorkflowStepExecutionsPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +931 -12
- package/dist-types/Imagebuilder.d.ts +165 -75
- package/dist-types/ImagebuilderClient.d.ts +11 -5
- package/dist-types/commands/CancelImageCreationCommand.d.ts +9 -8
- package/dist-types/commands/CreateComponentCommand.d.ts +19 -16
- package/dist-types/commands/CreateContainerRecipeCommand.d.ts +25 -21
- package/dist-types/commands/CreateDistributionConfigurationCommand.d.ts +35 -32
- package/dist-types/commands/CreateImageCommand.d.ts +26 -13
- package/dist-types/commands/CreateImagePipelineCommand.d.ts +25 -13
- package/dist-types/commands/CreateImageRecipeCommand.d.ts +25 -22
- package/dist-types/commands/CreateInfrastructureConfigurationCommand.d.ts +21 -18
- package/dist-types/commands/DeleteComponentCommand.d.ts +10 -9
- package/dist-types/commands/DeleteContainerRecipeCommand.d.ts +9 -8
- package/dist-types/commands/DeleteDistributionConfigurationCommand.d.ts +10 -9
- package/dist-types/commands/DeleteImageCommand.d.ts +17 -15
- package/dist-types/commands/DeleteImagePipelineCommand.d.ts +10 -9
- package/dist-types/commands/DeleteImageRecipeCommand.d.ts +10 -9
- package/dist-types/commands/DeleteInfrastructureConfigurationCommand.d.ts +10 -9
- package/dist-types/commands/GetComponentCommand.d.ts +8 -7
- package/dist-types/commands/GetComponentPolicyCommand.d.ts +5 -4
- package/dist-types/commands/GetContainerRecipeCommand.d.ts +7 -6
- package/dist-types/commands/GetContainerRecipePolicyCommand.d.ts +4 -3
- package/dist-types/commands/GetDistributionConfigurationCommand.d.ts +8 -7
- package/dist-types/commands/GetImageCommand.d.ts +8 -7
- package/dist-types/commands/GetImagePipelineCommand.d.ts +8 -7
- package/dist-types/commands/GetImagePolicyCommand.d.ts +5 -4
- package/dist-types/commands/GetImageRecipeCommand.d.ts +8 -7
- package/dist-types/commands/GetImageRecipePolicyCommand.d.ts +5 -4
- package/dist-types/commands/GetInfrastructureConfigurationCommand.d.ts +8 -7
- package/dist-types/commands/GetWorkflowExecutionCommand.d.ts +85 -0
- package/dist-types/commands/GetWorkflowStepExecutionCommand.d.ts +85 -0
- package/dist-types/commands/ImportComponentCommand.d.ts +12 -11
- package/dist-types/commands/ImportVmImageCommand.d.ts +14 -14
- package/dist-types/commands/ListComponentBuildVersionsCommand.d.ts +9 -7
- package/dist-types/commands/ListComponentsCommand.d.ts +13 -12
- package/dist-types/commands/ListContainerRecipesCommand.d.ts +10 -9
- package/dist-types/commands/ListDistributionConfigurationsCommand.d.ts +10 -9
- package/dist-types/commands/ListImageBuildVersionsCommand.d.ts +11 -10
- package/dist-types/commands/ListImagePackagesCommand.d.ts +9 -7
- package/dist-types/commands/ListImagePipelineImagesCommand.d.ts +10 -9
- package/dist-types/commands/ListImagePipelinesCommand.d.ts +10 -9
- package/dist-types/commands/ListImageRecipesCommand.d.ts +11 -10
- package/dist-types/commands/ListImageScanFindingAggregationsCommand.d.ts +120 -0
- package/dist-types/commands/ListImageScanFindingsCommand.d.ts +96 -0
- package/dist-types/commands/ListImagesCommand.d.ts +12 -11
- package/dist-types/commands/ListInfrastructureConfigurationsCommand.d.ts +11 -10
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -3
- package/dist-types/commands/ListWorkflowExecutionsCommand.d.ts +90 -0
- package/dist-types/commands/ListWorkflowStepExecutionsCommand.d.ts +90 -0
- package/dist-types/commands/PutComponentPolicyCommand.d.ts +10 -9
- package/dist-types/commands/PutContainerRecipePolicyCommand.d.ts +15 -7
- package/dist-types/commands/PutImagePolicyCommand.d.ts +9 -8
- package/dist-types/commands/PutImageRecipePolicyCommand.d.ts +10 -9
- package/dist-types/commands/StartImagePipelineExecutionCommand.d.ts +10 -9
- package/dist-types/commands/TagResourceCommand.d.ts +5 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +5 -4
- package/dist-types/commands/UpdateDistributionConfigurationCommand.d.ts +31 -30
- package/dist-types/commands/UpdateImagePipelineCommand.d.ts +24 -14
- package/dist-types/commands/UpdateInfrastructureConfigurationCommand.d.ts +17 -16
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1712 -524
- package/dist-types/pagination/ListImageScanFindingAggregationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListImageScanFindingsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkflowExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkflowStepExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/Imagebuilder.d.ts +102 -0
- package/dist-types/ts3.4/ImagebuilderClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetWorkflowExecutionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetWorkflowStepExecutionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListImageScanFindingAggregationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListImageScanFindingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListWorkflowExecutionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListWorkflowStepExecutionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +372 -76
- package/dist-types/ts3.4/pagination/ListImageScanFindingAggregationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListImageScanFindingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkflowStepExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +34 -34
|
@@ -26,7 +26,7 @@ export interface GetContainerRecipeCommandOutput extends GetContainerRecipeRespo
|
|
|
26
26
|
* import { ImagebuilderClient, GetContainerRecipeCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, GetContainerRecipeCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetContainerRecipeRequest
|
|
30
30
|
* containerRecipeArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetContainerRecipeCommand(input);
|
|
@@ -43,18 +43,19 @@ export interface GetContainerRecipeCommandOutput extends GetContainerRecipeRespo
|
|
|
43
43
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
44
44
|
*
|
|
45
45
|
* @throws {@link ClientException} (client fault)
|
|
46
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
47
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
48
|
-
* invalid resource identifier.</p>
|
|
46
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
47
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
48
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link ForbiddenException} (client fault)
|
|
51
51
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link InvalidRequestException} (client fault)
|
|
54
|
-
* <p>You have
|
|
54
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ServiceException} (server fault)
|
|
57
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
57
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
58
|
+
* exception.</p>
|
|
58
59
|
*
|
|
59
60
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
60
61
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -26,7 +26,7 @@ export interface GetContainerRecipePolicyCommandOutput extends GetContainerRecip
|
|
|
26
26
|
* import { ImagebuilderClient, GetContainerRecipePolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, GetContainerRecipePolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetContainerRecipePolicyRequest
|
|
30
30
|
* containerRecipeArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetContainerRecipePolicyCommand(input);
|
|
@@ -46,13 +46,14 @@ export interface GetContainerRecipePolicyCommandOutput extends GetContainerRecip
|
|
|
46
46
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
47
47
|
*
|
|
48
48
|
* @throws {@link InvalidRequestException} (client fault)
|
|
49
|
-
* <p>You have
|
|
49
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
52
52
|
* <p>At least one of the resources referenced by your request does not exist.</p>
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link ServiceException} (server fault)
|
|
55
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
55
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
56
|
+
* exception.</p>
|
|
56
57
|
*
|
|
57
58
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
58
59
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,14 +19,14 @@ export interface GetDistributionConfigurationCommandOutput extends GetDistributi
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Gets a distribution configuration.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
26
26
|
* import { ImagebuilderClient, GetDistributionConfigurationCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, GetDistributionConfigurationCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetDistributionConfigurationRequest
|
|
30
30
|
* distributionConfigurationArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetDistributionConfigurationCommand(input);
|
|
@@ -43,18 +43,19 @@ export interface GetDistributionConfigurationCommandOutput extends GetDistributi
|
|
|
43
43
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
44
44
|
*
|
|
45
45
|
* @throws {@link ClientException} (client fault)
|
|
46
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
47
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
48
|
-
* invalid resource identifier.</p>
|
|
46
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
47
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
48
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link ForbiddenException} (client fault)
|
|
51
51
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link InvalidRequestException} (client fault)
|
|
54
|
-
* <p>You have
|
|
54
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ServiceException} (server fault)
|
|
57
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
57
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
58
|
+
* exception.</p>
|
|
58
59
|
*
|
|
59
60
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
60
61
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,14 +19,14 @@ export interface GetImageCommandOutput extends GetImageResponse, __MetadataBeare
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Gets an image.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
26
26
|
* import { ImagebuilderClient, GetImageCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, GetImageCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetImageRequest
|
|
30
30
|
* imageBuildVersionArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetImageCommand(input);
|
|
@@ -43,18 +43,19 @@ export interface GetImageCommandOutput extends GetImageResponse, __MetadataBeare
|
|
|
43
43
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
44
44
|
*
|
|
45
45
|
* @throws {@link ClientException} (client fault)
|
|
46
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
47
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
48
|
-
* invalid resource identifier.</p>
|
|
46
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
47
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
48
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link ForbiddenException} (client fault)
|
|
51
51
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link InvalidRequestException} (client fault)
|
|
54
|
-
* <p>You have
|
|
54
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ServiceException} (server fault)
|
|
57
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
57
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
58
|
+
* exception.</p>
|
|
58
59
|
*
|
|
59
60
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
60
61
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,14 +19,14 @@ export interface GetImagePipelineCommandOutput extends GetImagePipelineResponse,
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Gets an image pipeline.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
26
26
|
* import { ImagebuilderClient, GetImagePipelineCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, GetImagePipelineCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetImagePipelineRequest
|
|
30
30
|
* imagePipelineArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetImagePipelineCommand(input);
|
|
@@ -43,18 +43,19 @@ export interface GetImagePipelineCommandOutput extends GetImagePipelineResponse,
|
|
|
43
43
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
44
44
|
*
|
|
45
45
|
* @throws {@link ClientException} (client fault)
|
|
46
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
47
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
48
|
-
* invalid resource identifier.</p>
|
|
46
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
47
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
48
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link ForbiddenException} (client fault)
|
|
51
51
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link InvalidRequestException} (client fault)
|
|
54
|
-
* <p>You have
|
|
54
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ServiceException} (server fault)
|
|
57
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
57
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
58
|
+
* exception.</p>
|
|
58
59
|
*
|
|
59
60
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
60
61
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,14 +19,14 @@ export interface GetImagePolicyCommandOutput extends GetImagePolicyResponse, __M
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Gets an image policy.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
26
26
|
* import { ImagebuilderClient, GetImagePolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, GetImagePolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetImagePolicyRequest
|
|
30
30
|
* imageArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetImagePolicyCommand(input);
|
|
@@ -46,13 +46,14 @@ export interface GetImagePolicyCommandOutput extends GetImagePolicyResponse, __M
|
|
|
46
46
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
47
47
|
*
|
|
48
48
|
* @throws {@link InvalidRequestException} (client fault)
|
|
49
|
-
* <p>You have
|
|
49
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
52
52
|
* <p>At least one of the resources referenced by your request does not exist.</p>
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link ServiceException} (server fault)
|
|
55
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
55
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
56
|
+
* exception.</p>
|
|
56
57
|
*
|
|
57
58
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
58
59
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,14 +19,14 @@ export interface GetImageRecipeCommandOutput extends GetImageRecipeResponse, __M
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Gets an image recipe.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
26
26
|
* import { ImagebuilderClient, GetImageRecipeCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, GetImageRecipeCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetImageRecipeRequest
|
|
30
30
|
* imageRecipeArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetImageRecipeCommand(input);
|
|
@@ -43,18 +43,19 @@ export interface GetImageRecipeCommandOutput extends GetImageRecipeResponse, __M
|
|
|
43
43
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
44
44
|
*
|
|
45
45
|
* @throws {@link ClientException} (client fault)
|
|
46
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
47
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
48
|
-
* invalid resource identifier.</p>
|
|
46
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
47
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
48
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link ForbiddenException} (client fault)
|
|
51
51
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link InvalidRequestException} (client fault)
|
|
54
|
-
* <p>You have
|
|
54
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ServiceException} (server fault)
|
|
57
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
57
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
58
|
+
* exception.</p>
|
|
58
59
|
*
|
|
59
60
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
60
61
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,14 +19,14 @@ export interface GetImageRecipePolicyCommandOutput extends GetImageRecipePolicyR
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Gets an image recipe policy.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
26
26
|
* import { ImagebuilderClient, GetImageRecipePolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, GetImageRecipePolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetImageRecipePolicyRequest
|
|
30
30
|
* imageRecipeArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetImageRecipePolicyCommand(input);
|
|
@@ -46,13 +46,14 @@ export interface GetImageRecipePolicyCommandOutput extends GetImageRecipePolicyR
|
|
|
46
46
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
47
47
|
*
|
|
48
48
|
* @throws {@link InvalidRequestException} (client fault)
|
|
49
|
-
* <p>You have
|
|
49
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
52
52
|
* <p>At least one of the resources referenced by your request does not exist.</p>
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link ServiceException} (server fault)
|
|
55
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
55
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
56
|
+
* exception.</p>
|
|
56
57
|
*
|
|
57
58
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
58
59
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,14 +19,14 @@ export interface GetInfrastructureConfigurationCommandOutput extends GetInfrastr
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Gets an infrastructure configuration.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
26
26
|
* import { ImagebuilderClient, GetInfrastructureConfigurationCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, GetInfrastructureConfigurationCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetInfrastructureConfigurationRequest
|
|
30
30
|
* infrastructureConfigurationArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetInfrastructureConfigurationCommand(input);
|
|
@@ -43,18 +43,19 @@ export interface GetInfrastructureConfigurationCommandOutput extends GetInfrastr
|
|
|
43
43
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
44
44
|
*
|
|
45
45
|
* @throws {@link ClientException} (client fault)
|
|
46
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
47
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
48
|
-
* invalid resource identifier.</p>
|
|
46
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
47
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
48
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link ForbiddenException} (client fault)
|
|
51
51
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link InvalidRequestException} (client fault)
|
|
54
|
-
* <p>You have
|
|
54
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ServiceException} (server fault)
|
|
57
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
57
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
58
|
+
* exception.</p>
|
|
58
59
|
*
|
|
59
60
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
60
61
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
5
|
+
import { GetWorkflowExecutionRequest, GetWorkflowExecutionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link GetWorkflowExecutionCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetWorkflowExecutionCommandInput extends GetWorkflowExecutionRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link GetWorkflowExecutionCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetWorkflowExecutionCommandOutput extends GetWorkflowExecutionResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Get the runtime information that was logged for a specific runtime instance
|
|
23
|
+
* of the workflow.</p>
|
|
24
|
+
* @example
|
|
25
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
+
* ```javascript
|
|
27
|
+
* import { ImagebuilderClient, GetWorkflowExecutionCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
28
|
+
* // const { ImagebuilderClient, GetWorkflowExecutionCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
29
|
+
* const client = new ImagebuilderClient(config);
|
|
30
|
+
* const input = { // GetWorkflowExecutionRequest
|
|
31
|
+
* workflowExecutionId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
33
|
+
* const command = new GetWorkflowExecutionCommand(input);
|
|
34
|
+
* const response = await client.send(command);
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @param GetWorkflowExecutionCommandInput - {@link GetWorkflowExecutionCommandInput}
|
|
38
|
+
* @returns {@link GetWorkflowExecutionCommandOutput}
|
|
39
|
+
* @see {@link GetWorkflowExecutionCommandInput} for command's `input` shape.
|
|
40
|
+
* @see {@link GetWorkflowExecutionCommandOutput} for command's `response` shape.
|
|
41
|
+
* @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link CallRateLimitExceededException} (client fault)
|
|
44
|
+
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link ClientException} (client fault)
|
|
47
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
48
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
49
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
52
|
+
* <p>You are not authorized to perform the requested operation.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
55
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ServiceException} (server fault)
|
|
58
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
59
|
+
* exception.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
62
|
+
* <p>The service is unable to process your request at this time.</p>
|
|
63
|
+
*
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
export declare class GetWorkflowExecutionCommand extends $Command<GetWorkflowExecutionCommandInput, GetWorkflowExecutionCommandOutput, ImagebuilderClientResolvedConfig> {
|
|
67
|
+
readonly input: GetWorkflowExecutionCommandInput;
|
|
68
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
constructor(input: GetWorkflowExecutionCommandInput);
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetWorkflowExecutionCommandInput, GetWorkflowExecutionCommandOutput>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
private serialize;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
private deserialize;
|
|
85
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
5
|
+
import { GetWorkflowStepExecutionRequest, GetWorkflowStepExecutionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link GetWorkflowStepExecutionCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetWorkflowStepExecutionCommandInput extends GetWorkflowStepExecutionRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link GetWorkflowStepExecutionCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetWorkflowStepExecutionCommandOutput extends GetWorkflowStepExecutionResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Get the runtime information that was logged for a specific runtime instance of
|
|
23
|
+
* the workflow step.</p>
|
|
24
|
+
* @example
|
|
25
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
+
* ```javascript
|
|
27
|
+
* import { ImagebuilderClient, GetWorkflowStepExecutionCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
28
|
+
* // const { ImagebuilderClient, GetWorkflowStepExecutionCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
29
|
+
* const client = new ImagebuilderClient(config);
|
|
30
|
+
* const input = { // GetWorkflowStepExecutionRequest
|
|
31
|
+
* stepExecutionId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
33
|
+
* const command = new GetWorkflowStepExecutionCommand(input);
|
|
34
|
+
* const response = await client.send(command);
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @param GetWorkflowStepExecutionCommandInput - {@link GetWorkflowStepExecutionCommandInput}
|
|
38
|
+
* @returns {@link GetWorkflowStepExecutionCommandOutput}
|
|
39
|
+
* @see {@link GetWorkflowStepExecutionCommandInput} for command's `input` shape.
|
|
40
|
+
* @see {@link GetWorkflowStepExecutionCommandOutput} for command's `response` shape.
|
|
41
|
+
* @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link CallRateLimitExceededException} (client fault)
|
|
44
|
+
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link ClientException} (client fault)
|
|
47
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
48
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
49
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
52
|
+
* <p>You are not authorized to perform the requested operation.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
55
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ServiceException} (server fault)
|
|
58
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
59
|
+
* exception.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
62
|
+
* <p>The service is unable to process your request at this time.</p>
|
|
63
|
+
*
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
export declare class GetWorkflowStepExecutionCommand extends $Command<GetWorkflowStepExecutionCommandInput, GetWorkflowStepExecutionCommandOutput, ImagebuilderClientResolvedConfig> {
|
|
67
|
+
readonly input: GetWorkflowStepExecutionCommandInput;
|
|
68
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
constructor(input: GetWorkflowStepExecutionCommandInput);
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetWorkflowStepExecutionCommandInput, GetWorkflowStepExecutionCommandOutput>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
private serialize;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
private deserialize;
|
|
85
|
+
}
|
|
@@ -26,7 +26,7 @@ export interface ImportComponentCommandOutput extends ImportComponentResponse, _
|
|
|
26
26
|
* import { ImagebuilderClient, ImportComponentCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, ImportComponentCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ImportComponentRequest
|
|
30
30
|
* name: "STRING_VALUE", // required
|
|
31
31
|
* semanticVersion: "STRING_VALUE", // required
|
|
32
32
|
* description: "STRING_VALUE",
|
|
@@ -37,7 +37,7 @@ export interface ImportComponentCommandOutput extends ImportComponentResponse, _
|
|
|
37
37
|
* data: "STRING_VALUE",
|
|
38
38
|
* uri: "STRING_VALUE",
|
|
39
39
|
* kmsKeyId: "STRING_VALUE",
|
|
40
|
-
* tags: {
|
|
40
|
+
* tags: { // TagMap
|
|
41
41
|
* "<keys>": "STRING_VALUE",
|
|
42
42
|
* },
|
|
43
43
|
* clientToken: "STRING_VALUE", // required
|
|
@@ -56,23 +56,23 @@ export interface ImportComponentCommandOutput extends ImportComponentResponse, _
|
|
|
56
56
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link ClientException} (client fault)
|
|
59
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
60
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
61
|
-
* invalid resource identifier.</p>
|
|
59
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
60
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
61
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ForbiddenException} (client fault)
|
|
64
64
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
67
|
-
* <p>You have specified a client token for an operation using parameter values that differ
|
|
68
|
-
* a previous request that used the same client token.</p>
|
|
67
|
+
* <p>You have specified a client token for an operation using parameter values that differ
|
|
68
|
+
* from a previous request that used the same client token.</p>
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
71
|
-
* <p>You have specified two or more mutually exclusive parameters. Review the error message
|
|
72
|
-
* details.</p>
|
|
71
|
+
* <p>You have specified two or more mutually exclusive parameters. Review the error message
|
|
72
|
+
* for details.</p>
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link InvalidRequestException} (client fault)
|
|
75
|
-
* <p>You have
|
|
75
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
76
76
|
*
|
|
77
77
|
* @throws {@link InvalidVersionNumberException} (client fault)
|
|
78
78
|
* <p>Your version number is out of bounds or does not follow the required syntax.</p>
|
|
@@ -82,7 +82,8 @@ export interface ImportComponentCommandOutput extends ImportComponentResponse, _
|
|
|
82
82
|
* details and retry later.</p>
|
|
83
83
|
*
|
|
84
84
|
* @throws {@link ServiceException} (server fault)
|
|
85
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
85
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
86
|
+
* exception.</p>
|
|
86
87
|
*
|
|
87
88
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
88
89
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,29 +19,28 @@ export interface ImportVmImageCommandOutput extends ImportVmImageResponse, __Met
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>When you export your virtual machine (VM) from its virtualization environment,
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* CLI command, see <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/import-image.html">import-image</a>
|
|
22
|
+
* <p>When you export your virtual machine (VM) from its virtualization environment, that
|
|
23
|
+
* process creates a set of one or more disk container files that act as snapshots of your
|
|
24
|
+
* VM’s environment, settings, and data. The Amazon EC2 API <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportImage.html">ImportImage</a>
|
|
25
|
+
* action uses those files to import your VM and create an AMI. To import using the CLI
|
|
26
|
+
* command, see <a href="https://docs.aws.amazon.com/cli/latest/reference/ec2/import-image.html">import-image</a>
|
|
28
27
|
* </p>
|
|
29
|
-
* <p>You can reference the task ID from the VM import to pull in the AMI that
|
|
30
|
-
*
|
|
28
|
+
* <p>You can reference the task ID from the VM import to pull in the AMI that the import
|
|
29
|
+
* created as the base image for your Image Builder recipe.</p>
|
|
31
30
|
* @example
|
|
32
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
32
|
* ```javascript
|
|
34
33
|
* import { ImagebuilderClient, ImportVmImageCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
35
34
|
* // const { ImagebuilderClient, ImportVmImageCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
36
35
|
* const client = new ImagebuilderClient(config);
|
|
37
|
-
* const input = {
|
|
36
|
+
* const input = { // ImportVmImageRequest
|
|
38
37
|
* name: "STRING_VALUE", // required
|
|
39
38
|
* semanticVersion: "STRING_VALUE", // required
|
|
40
39
|
* description: "STRING_VALUE",
|
|
41
40
|
* platform: "Windows" || "Linux", // required
|
|
42
41
|
* osVersion: "STRING_VALUE",
|
|
43
42
|
* vmImportTaskId: "STRING_VALUE", // required
|
|
44
|
-
* tags: {
|
|
43
|
+
* tags: { // TagMap
|
|
45
44
|
* "<keys>": "STRING_VALUE",
|
|
46
45
|
* },
|
|
47
46
|
* clientToken: "STRING_VALUE", // required
|
|
@@ -57,12 +56,13 @@ export interface ImportVmImageCommandOutput extends ImportVmImageResponse, __Met
|
|
|
57
56
|
* @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
|
|
58
57
|
*
|
|
59
58
|
* @throws {@link ClientException} (client fault)
|
|
60
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
61
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
62
|
-
* invalid resource identifier.</p>
|
|
59
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
60
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
61
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
63
62
|
*
|
|
64
63
|
* @throws {@link ServiceException} (server fault)
|
|
65
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
64
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
65
|
+
* exception.</p>
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
68
68
|
* <p>The service is unable to process your request at this time.</p>
|