@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
|
@@ -19,14 +19,14 @@ export interface StartImagePipelineExecutionCommandOutput extends StartImagePipe
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Manually triggers a pipeline to create 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, StartImagePipelineExecutionCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, StartImagePipelineExecutionCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // StartImagePipelineExecutionRequest
|
|
30
30
|
* imagePipelineArn: "STRING_VALUE", // required
|
|
31
31
|
* clientToken: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -44,19 +44,19 @@ export interface StartImagePipelineExecutionCommandOutput extends StartImagePipe
|
|
|
44
44
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
45
45
|
*
|
|
46
46
|
* @throws {@link ClientException} (client fault)
|
|
47
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
48
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
49
|
-
* invalid resource identifier.</p>
|
|
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
50
|
*
|
|
51
51
|
* @throws {@link ForbiddenException} (client fault)
|
|
52
52
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
55
|
-
* <p>You have specified a client token for an operation using parameter values that differ
|
|
56
|
-
* a previous request that used the same client token.</p>
|
|
55
|
+
* <p>You have specified a client token for an operation using parameter values that differ
|
|
56
|
+
* from a previous request that used the same client token.</p>
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link InvalidRequestException} (client fault)
|
|
59
|
-
* <p>You have
|
|
59
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link ResourceInUseException} (client fault)
|
|
62
62
|
* <p>The resource that you are trying to operate on is currently in use. Review the message
|
|
@@ -66,7 +66,8 @@ export interface StartImagePipelineExecutionCommandOutput extends StartImagePipe
|
|
|
66
66
|
* <p>At least one of the resources referenced by your request does not exist.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link ServiceException} (server fault)
|
|
69
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
69
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
70
|
+
* exception.</p>
|
|
70
71
|
*
|
|
71
72
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
72
73
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,16 +19,16 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Adds a tag to a resource.</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, TagResourceCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, TagResourceCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tags: { // required
|
|
31
|
+
* tags: { // TagMap // required
|
|
32
32
|
* "<keys>": "STRING_VALUE",
|
|
33
33
|
* },
|
|
34
34
|
* };
|
|
@@ -50,7 +50,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
50
50
|
* <p>At least one of the resources referenced by your request does not exist.</p>
|
|
51
51
|
*
|
|
52
52
|
* @throws {@link ServiceException} (server fault)
|
|
53
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
53
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
54
|
+
* exception.</p>
|
|
54
55
|
*
|
|
55
56
|
*
|
|
56
57
|
*/
|
|
@@ -19,16 +19,16 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Removes a tag from a resource.</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, UntagResourceCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, UntagResourceCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tagKeys: [ // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -50,7 +50,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
50
50
|
* <p>At least one of the resources referenced by your request does not exist.</p>
|
|
51
51
|
*
|
|
52
52
|
* @throws {@link ServiceException} (server fault)
|
|
53
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
53
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
54
|
+
* exception.</p>
|
|
54
55
|
*
|
|
55
56
|
*
|
|
56
57
|
*/
|
|
@@ -19,7 +19,7 @@ export interface UpdateDistributionConfigurationCommandOutput extends UpdateDist
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Updates a new distribution configuration. Distribution configurations define and
|
|
23
23
|
* configure the outputs of your pipeline.</p>
|
|
24
24
|
* @example
|
|
25
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -27,71 +27,71 @@ export interface UpdateDistributionConfigurationCommandOutput extends UpdateDist
|
|
|
27
27
|
* import { ImagebuilderClient, UpdateDistributionConfigurationCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
28
28
|
* // const { ImagebuilderClient, UpdateDistributionConfigurationCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
29
29
|
* const client = new ImagebuilderClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // UpdateDistributionConfigurationRequest
|
|
31
31
|
* distributionConfigurationArn: "STRING_VALUE", // required
|
|
32
32
|
* description: "STRING_VALUE",
|
|
33
|
-
* distributions: [ // required
|
|
34
|
-
* {
|
|
33
|
+
* distributions: [ // DistributionList // required
|
|
34
|
+
* { // Distribution
|
|
35
35
|
* region: "STRING_VALUE", // required
|
|
36
|
-
* amiDistributionConfiguration: {
|
|
36
|
+
* amiDistributionConfiguration: { // AmiDistributionConfiguration
|
|
37
37
|
* name: "STRING_VALUE",
|
|
38
38
|
* description: "STRING_VALUE",
|
|
39
|
-
* targetAccountIds: [
|
|
39
|
+
* targetAccountIds: [ // AccountList
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
|
-
* amiTags: {
|
|
42
|
+
* amiTags: { // TagMap
|
|
43
43
|
* "<keys>": "STRING_VALUE",
|
|
44
44
|
* },
|
|
45
45
|
* kmsKeyId: "STRING_VALUE",
|
|
46
|
-
* launchPermission: {
|
|
46
|
+
* launchPermission: { // LaunchPermissionConfiguration
|
|
47
47
|
* userIds: [
|
|
48
48
|
* "STRING_VALUE",
|
|
49
49
|
* ],
|
|
50
|
-
* userGroups: [
|
|
50
|
+
* userGroups: [ // StringList
|
|
51
51
|
* "STRING_VALUE",
|
|
52
52
|
* ],
|
|
53
|
-
* organizationArns: [
|
|
53
|
+
* organizationArns: [ // OrganizationArnList
|
|
54
54
|
* "STRING_VALUE",
|
|
55
55
|
* ],
|
|
56
|
-
* organizationalUnitArns: [
|
|
56
|
+
* organizationalUnitArns: [ // OrganizationalUnitArnList
|
|
57
57
|
* "STRING_VALUE",
|
|
58
58
|
* ],
|
|
59
59
|
* },
|
|
60
60
|
* },
|
|
61
|
-
* containerDistributionConfiguration: {
|
|
61
|
+
* containerDistributionConfiguration: { // ContainerDistributionConfiguration
|
|
62
62
|
* description: "STRING_VALUE",
|
|
63
63
|
* containerTags: [
|
|
64
64
|
* "STRING_VALUE",
|
|
65
65
|
* ],
|
|
66
|
-
* targetRepository: {
|
|
66
|
+
* targetRepository: { // TargetContainerRepository
|
|
67
67
|
* service: "ECR", // required
|
|
68
68
|
* repositoryName: "STRING_VALUE", // required
|
|
69
69
|
* },
|
|
70
70
|
* },
|
|
71
|
-
* licenseConfigurationArns: [
|
|
71
|
+
* licenseConfigurationArns: [ // LicenseConfigurationArnList
|
|
72
72
|
* "STRING_VALUE",
|
|
73
73
|
* ],
|
|
74
|
-
* launchTemplateConfigurations: [
|
|
75
|
-
* {
|
|
74
|
+
* launchTemplateConfigurations: [ // LaunchTemplateConfigurationList
|
|
75
|
+
* { // LaunchTemplateConfiguration
|
|
76
76
|
* launchTemplateId: "STRING_VALUE", // required
|
|
77
77
|
* accountId: "STRING_VALUE",
|
|
78
78
|
* setDefaultVersion: true || false,
|
|
79
79
|
* },
|
|
80
80
|
* ],
|
|
81
|
-
* s3ExportConfiguration: {
|
|
81
|
+
* s3ExportConfiguration: { // S3ExportConfiguration
|
|
82
82
|
* roleName: "STRING_VALUE", // required
|
|
83
83
|
* diskImageFormat: "VMDK" || "RAW" || "VHD", // required
|
|
84
84
|
* s3Bucket: "STRING_VALUE", // required
|
|
85
85
|
* s3Prefix: "STRING_VALUE",
|
|
86
86
|
* },
|
|
87
|
-
* fastLaunchConfigurations: [
|
|
88
|
-
* {
|
|
87
|
+
* fastLaunchConfigurations: [ // FastLaunchConfigurationList
|
|
88
|
+
* { // FastLaunchConfiguration
|
|
89
89
|
* enabled: true || false, // required
|
|
90
|
-
* snapshotConfiguration: {
|
|
90
|
+
* snapshotConfiguration: { // FastLaunchSnapshotConfiguration
|
|
91
91
|
* targetResourceCount: Number("int"),
|
|
92
92
|
* },
|
|
93
93
|
* maxParallelLaunches: Number("int"),
|
|
94
|
-
* launchTemplate: {
|
|
94
|
+
* launchTemplate: { // FastLaunchLaunchTemplateSpecification
|
|
95
95
|
* launchTemplateId: "STRING_VALUE",
|
|
96
96
|
* launchTemplateName: "STRING_VALUE",
|
|
97
97
|
* launchTemplateVersion: "STRING_VALUE",
|
|
@@ -117,30 +117,31 @@ export interface UpdateDistributionConfigurationCommandOutput extends UpdateDist
|
|
|
117
117
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
118
118
|
*
|
|
119
119
|
* @throws {@link ClientException} (client fault)
|
|
120
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
121
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
122
|
-
* invalid resource identifier.</p>
|
|
120
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
121
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
122
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
123
123
|
*
|
|
124
124
|
* @throws {@link ForbiddenException} (client fault)
|
|
125
125
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
126
126
|
*
|
|
127
127
|
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
128
|
-
* <p>You have specified a client token for an operation using parameter values that differ
|
|
129
|
-
* a previous request that used the same client token.</p>
|
|
128
|
+
* <p>You have specified a client token for an operation using parameter values that differ
|
|
129
|
+
* from a previous request that used the same client token.</p>
|
|
130
130
|
*
|
|
131
131
|
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
132
|
-
* <p>You have specified two or more mutually exclusive parameters. Review the error message
|
|
133
|
-
* details.</p>
|
|
132
|
+
* <p>You have specified two or more mutually exclusive parameters. Review the error message
|
|
133
|
+
* for details.</p>
|
|
134
134
|
*
|
|
135
135
|
* @throws {@link InvalidRequestException} (client fault)
|
|
136
|
-
* <p>You have
|
|
136
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
137
137
|
*
|
|
138
138
|
* @throws {@link ResourceInUseException} (client fault)
|
|
139
139
|
* <p>The resource that you are trying to operate on is currently in use. Review the message
|
|
140
140
|
* details and retry later.</p>
|
|
141
141
|
*
|
|
142
142
|
* @throws {@link ServiceException} (server fault)
|
|
143
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
143
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
144
|
+
* exception.</p>
|
|
144
145
|
*
|
|
145
146
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
146
147
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,12 +19,12 @@ export interface UpdateImagePipelineCommandOutput extends UpdateImagePipelineRes
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Updates an image pipeline. Image pipelines enable you to automate the creation and
|
|
23
23
|
* distribution of images.</p>
|
|
24
24
|
* <note>
|
|
25
|
-
* <p>UpdateImagePipeline does not support selective updates for the pipeline.
|
|
26
|
-
*
|
|
27
|
-
*
|
|
25
|
+
* <p>UpdateImagePipeline does not support selective updates for the pipeline. You must
|
|
26
|
+
* specify all of the required properties in the update request, not just the
|
|
27
|
+
* properties that have changed.</p>
|
|
28
28
|
* </note>
|
|
29
29
|
* @example
|
|
30
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -32,25 +32,34 @@ export interface UpdateImagePipelineCommandOutput extends UpdateImagePipelineRes
|
|
|
32
32
|
* import { ImagebuilderClient, UpdateImagePipelineCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
33
33
|
* // const { ImagebuilderClient, UpdateImagePipelineCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
34
34
|
* const client = new ImagebuilderClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // UpdateImagePipelineRequest
|
|
36
36
|
* imagePipelineArn: "STRING_VALUE", // required
|
|
37
37
|
* description: "STRING_VALUE",
|
|
38
38
|
* imageRecipeArn: "STRING_VALUE",
|
|
39
39
|
* containerRecipeArn: "STRING_VALUE",
|
|
40
40
|
* infrastructureConfigurationArn: "STRING_VALUE", // required
|
|
41
41
|
* distributionConfigurationArn: "STRING_VALUE",
|
|
42
|
-
* imageTestsConfiguration: {
|
|
42
|
+
* imageTestsConfiguration: { // ImageTestsConfiguration
|
|
43
43
|
* imageTestsEnabled: true || false,
|
|
44
44
|
* timeoutMinutes: Number("int"),
|
|
45
45
|
* },
|
|
46
46
|
* enhancedImageMetadataEnabled: true || false,
|
|
47
|
-
* schedule: {
|
|
47
|
+
* schedule: { // Schedule
|
|
48
48
|
* scheduleExpression: "STRING_VALUE",
|
|
49
49
|
* timezone: "STRING_VALUE",
|
|
50
50
|
* pipelineExecutionStartCondition: "EXPRESSION_MATCH_ONLY" || "EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE",
|
|
51
51
|
* },
|
|
52
52
|
* status: "DISABLED" || "ENABLED",
|
|
53
53
|
* clientToken: "STRING_VALUE", // required
|
|
54
|
+
* imageScanningConfiguration: { // ImageScanningConfiguration
|
|
55
|
+
* imageScanningEnabled: true || false,
|
|
56
|
+
* ecrConfiguration: { // EcrConfiguration
|
|
57
|
+
* repositoryName: "STRING_VALUE",
|
|
58
|
+
* containerTags: [ // StringList
|
|
59
|
+
* "STRING_VALUE",
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
54
63
|
* };
|
|
55
64
|
* const command = new UpdateImagePipelineCommand(input);
|
|
56
65
|
* const response = await client.send(command);
|
|
@@ -66,26 +75,27 @@ export interface UpdateImagePipelineCommandOutput extends UpdateImagePipelineRes
|
|
|
66
75
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
67
76
|
*
|
|
68
77
|
* @throws {@link ClientException} (client fault)
|
|
69
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
70
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
71
|
-
* invalid resource identifier.</p>
|
|
78
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
79
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
80
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
72
81
|
*
|
|
73
82
|
* @throws {@link ForbiddenException} (client fault)
|
|
74
83
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
75
84
|
*
|
|
76
85
|
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
77
|
-
* <p>You have specified a client token for an operation using parameter values that differ
|
|
78
|
-
* a previous request that used the same client token.</p>
|
|
86
|
+
* <p>You have specified a client token for an operation using parameter values that differ
|
|
87
|
+
* from a previous request that used the same client token.</p>
|
|
79
88
|
*
|
|
80
89
|
* @throws {@link InvalidRequestException} (client fault)
|
|
81
|
-
* <p>You have
|
|
90
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
82
91
|
*
|
|
83
92
|
* @throws {@link ResourceInUseException} (client fault)
|
|
84
93
|
* <p>The resource that you are trying to operate on is currently in use. Review the message
|
|
85
94
|
* details and retry later.</p>
|
|
86
95
|
*
|
|
87
96
|
* @throws {@link ServiceException} (server fault)
|
|
88
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
97
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
98
|
+
* exception.</p>
|
|
89
99
|
*
|
|
90
100
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
91
101
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,27 +19,27 @@ export interface UpdateInfrastructureConfigurationCommandOutput extends UpdateIn
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
23
|
-
* environment in which your image will be built and tested.</p>
|
|
22
|
+
* <p>Updates a new infrastructure configuration. An infrastructure configuration defines
|
|
23
|
+
* the environment in which your image will be built and tested.</p>
|
|
24
24
|
* @example
|
|
25
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
26
26
|
* ```javascript
|
|
27
27
|
* import { ImagebuilderClient, UpdateInfrastructureConfigurationCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
28
28
|
* // const { ImagebuilderClient, UpdateInfrastructureConfigurationCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
29
29
|
* const client = new ImagebuilderClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // UpdateInfrastructureConfigurationRequest
|
|
31
31
|
* infrastructureConfigurationArn: "STRING_VALUE", // required
|
|
32
32
|
* description: "STRING_VALUE",
|
|
33
|
-
* instanceTypes: [
|
|
33
|
+
* instanceTypes: [ // InstanceTypeList
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
36
|
* instanceProfileName: "STRING_VALUE", // required
|
|
37
|
-
* securityGroupIds: [
|
|
37
|
+
* securityGroupIds: [ // SecurityGroupIds
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* subnetId: "STRING_VALUE",
|
|
41
|
-
* logging: {
|
|
42
|
-
* s3Logs: {
|
|
41
|
+
* logging: { // Logging
|
|
42
|
+
* s3Logs: { // S3Logs
|
|
43
43
|
* s3BucketName: "STRING_VALUE",
|
|
44
44
|
* s3KeyPrefix: "STRING_VALUE",
|
|
45
45
|
* },
|
|
@@ -48,10 +48,10 @@ export interface UpdateInfrastructureConfigurationCommandOutput extends UpdateIn
|
|
|
48
48
|
* terminateInstanceOnFailure: true || false,
|
|
49
49
|
* snsTopicArn: "STRING_VALUE",
|
|
50
50
|
* clientToken: "STRING_VALUE", // required
|
|
51
|
-
* resourceTags: {
|
|
51
|
+
* resourceTags: { // ResourceTagMap
|
|
52
52
|
* "<keys>": "STRING_VALUE",
|
|
53
53
|
* },
|
|
54
|
-
* instanceMetadataOptions: {
|
|
54
|
+
* instanceMetadataOptions: { // InstanceMetadataOptions
|
|
55
55
|
* httpTokens: "STRING_VALUE",
|
|
56
56
|
* httpPutResponseHopLimit: Number("int"),
|
|
57
57
|
* },
|
|
@@ -70,26 +70,27 @@ export interface UpdateInfrastructureConfigurationCommandOutput extends UpdateIn
|
|
|
70
70
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ClientException} (client fault)
|
|
73
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
74
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
75
|
-
* invalid resource identifier.</p>
|
|
73
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
74
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
75
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
76
76
|
*
|
|
77
77
|
* @throws {@link ForbiddenException} (client fault)
|
|
78
78
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
81
|
-
* <p>You have specified a client token for an operation using parameter values that differ
|
|
82
|
-
* a previous request that used the same client token.</p>
|
|
81
|
+
* <p>You have specified a client token for an operation using parameter values that differ
|
|
82
|
+
* from a previous request that used the same client token.</p>
|
|
83
83
|
*
|
|
84
84
|
* @throws {@link InvalidRequestException} (client fault)
|
|
85
|
-
* <p>You have
|
|
85
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
86
86
|
*
|
|
87
87
|
* @throws {@link ResourceInUseException} (client fault)
|
|
88
88
|
* <p>The resource that you are trying to operate on is currently in use. Review the message
|
|
89
89
|
* details and retry later.</p>
|
|
90
90
|
*
|
|
91
91
|
* @throws {@link ServiceException} (server fault)
|
|
92
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
92
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
93
|
+
* exception.</p>
|
|
93
94
|
*
|
|
94
95
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
95
96
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -24,6 +24,8 @@ export * from "./GetImagePolicyCommand";
|
|
|
24
24
|
export * from "./GetImageRecipeCommand";
|
|
25
25
|
export * from "./GetImageRecipePolicyCommand";
|
|
26
26
|
export * from "./GetInfrastructureConfigurationCommand";
|
|
27
|
+
export * from "./GetWorkflowExecutionCommand";
|
|
28
|
+
export * from "./GetWorkflowStepExecutionCommand";
|
|
27
29
|
export * from "./ImportComponentCommand";
|
|
28
30
|
export * from "./ImportVmImageCommand";
|
|
29
31
|
export * from "./ListComponentBuildVersionsCommand";
|
|
@@ -35,9 +37,13 @@ export * from "./ListImagePackagesCommand";
|
|
|
35
37
|
export * from "./ListImagePipelineImagesCommand";
|
|
36
38
|
export * from "./ListImagePipelinesCommand";
|
|
37
39
|
export * from "./ListImageRecipesCommand";
|
|
40
|
+
export * from "./ListImageScanFindingAggregationsCommand";
|
|
41
|
+
export * from "./ListImageScanFindingsCommand";
|
|
38
42
|
export * from "./ListImagesCommand";
|
|
39
43
|
export * from "./ListInfrastructureConfigurationsCommand";
|
|
40
44
|
export * from "./ListTagsForResourceCommand";
|
|
45
|
+
export * from "./ListWorkflowExecutionsCommand";
|
|
46
|
+
export * from "./ListWorkflowStepExecutionsCommand";
|
|
41
47
|
export * from "./PutComponentPolicyCommand";
|
|
42
48
|
export * from "./PutContainerRecipePolicyCommand";
|
|
43
49
|
export * from "./PutImagePolicyCommand";
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|