@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,7 +19,8 @@ export interface ListComponentBuildVersionsCommandOutput extends ListComponentBu
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Returns the list of component build versions for the specified semantic
|
|
23
|
+
* version.</p>
|
|
23
24
|
* <note>
|
|
24
25
|
* <p>The semantic version has four nodes: <major>.<minor>.<patch>/<build>.
|
|
25
26
|
* You can assign values for the first three, and can filter on all of them.</p>
|
|
@@ -35,7 +36,7 @@ export interface ListComponentBuildVersionsCommandOutput extends ListComponentBu
|
|
|
35
36
|
* import { ImagebuilderClient, ListComponentBuildVersionsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
36
37
|
* // const { ImagebuilderClient, ListComponentBuildVersionsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
37
38
|
* const client = new ImagebuilderClient(config);
|
|
38
|
-
* const input = {
|
|
39
|
+
* const input = { // ListComponentBuildVersionsRequest
|
|
39
40
|
* componentVersionArn: "STRING_VALUE", // required
|
|
40
41
|
* maxResults: Number("int"),
|
|
41
42
|
* nextToken: "STRING_VALUE",
|
|
@@ -54,9 +55,9 @@ export interface ListComponentBuildVersionsCommandOutput extends ListComponentBu
|
|
|
54
55
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
55
56
|
*
|
|
56
57
|
* @throws {@link ClientException} (client fault)
|
|
57
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
58
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
59
|
-
* invalid resource identifier.</p>
|
|
58
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
59
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
60
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
60
61
|
*
|
|
61
62
|
* @throws {@link ForbiddenException} (client fault)
|
|
62
63
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
@@ -65,10 +66,11 @@ export interface ListComponentBuildVersionsCommandOutput extends ListComponentBu
|
|
|
65
66
|
* <p>You have provided an invalid pagination token in your request.</p>
|
|
66
67
|
*
|
|
67
68
|
* @throws {@link InvalidRequestException} (client fault)
|
|
68
|
-
* <p>You have
|
|
69
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
69
70
|
*
|
|
70
71
|
* @throws {@link ServiceException} (server fault)
|
|
71
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
72
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
73
|
+
* exception.</p>
|
|
72
74
|
*
|
|
73
75
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
74
76
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,9 +19,9 @@ export interface ListComponentsCommandOutput extends ListComponentsResponse, __M
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Returns the list of components that can be filtered by name, or by using
|
|
23
|
-
*
|
|
24
|
-
*
|
|
22
|
+
* <p>Returns the list of components that can be filtered by name, or by using the listed
|
|
23
|
+
* <code>filters</code> to streamline results. Newly created components can take up to
|
|
24
|
+
* two minutes to appear in the ListComponents API Results.</p>
|
|
25
25
|
* <note>
|
|
26
26
|
* <p>The semantic version has four nodes: <major>.<minor>.<patch>/<build>.
|
|
27
27
|
* You can assign values for the first three, and can filter on all of them.</p>
|
|
@@ -37,12 +37,12 @@ export interface ListComponentsCommandOutput extends ListComponentsResponse, __M
|
|
|
37
37
|
* import { ImagebuilderClient, ListComponentsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
38
38
|
* // const { ImagebuilderClient, ListComponentsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
39
39
|
* const client = new ImagebuilderClient(config);
|
|
40
|
-
* const input = {
|
|
40
|
+
* const input = { // ListComponentsRequest
|
|
41
41
|
* owner: "Self" || "Shared" || "Amazon" || "ThirdParty",
|
|
42
|
-
* filters: [
|
|
43
|
-
* {
|
|
42
|
+
* filters: [ // FilterList
|
|
43
|
+
* { // Filter
|
|
44
44
|
* name: "STRING_VALUE",
|
|
45
|
-
* values: [
|
|
45
|
+
* values: [ // FilterValues
|
|
46
46
|
* "STRING_VALUE",
|
|
47
47
|
* ],
|
|
48
48
|
* },
|
|
@@ -65,9 +65,9 @@ export interface ListComponentsCommandOutput extends ListComponentsResponse, __M
|
|
|
65
65
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link ClientException} (client fault)
|
|
68
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
69
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
70
|
-
* invalid resource identifier.</p>
|
|
68
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
69
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
70
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ForbiddenException} (client fault)
|
|
73
73
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
@@ -76,10 +76,11 @@ export interface ListComponentsCommandOutput extends ListComponentsResponse, __M
|
|
|
76
76
|
* <p>You have provided an invalid pagination token in your request.</p>
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link InvalidRequestException} (client fault)
|
|
79
|
-
* <p>You have
|
|
79
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
80
80
|
*
|
|
81
81
|
* @throws {@link ServiceException} (server fault)
|
|
82
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
82
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
83
|
+
* exception.</p>
|
|
83
84
|
*
|
|
84
85
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
85
86
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -26,12 +26,12 @@ export interface ListContainerRecipesCommandOutput extends ListContainerRecipesR
|
|
|
26
26
|
* import { ImagebuilderClient, ListContainerRecipesCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, ListContainerRecipesCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListContainerRecipesRequest
|
|
30
30
|
* owner: "Self" || "Shared" || "Amazon" || "ThirdParty",
|
|
31
|
-
* filters: [
|
|
32
|
-
* {
|
|
31
|
+
* filters: [ // FilterList
|
|
32
|
+
* { // Filter
|
|
33
33
|
* name: "STRING_VALUE",
|
|
34
|
-
* values: [
|
|
34
|
+
* values: [ // FilterValues
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* },
|
|
@@ -53,9 +53,9 @@ export interface ListContainerRecipesCommandOutput extends ListContainerRecipesR
|
|
|
53
53
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ClientException} (client fault)
|
|
56
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
57
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
58
|
-
* invalid resource identifier.</p>
|
|
56
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
57
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
58
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ForbiddenException} (client fault)
|
|
61
61
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
@@ -64,10 +64,11 @@ export interface ListContainerRecipesCommandOutput extends ListContainerRecipesR
|
|
|
64
64
|
* <p>You have provided an invalid pagination token in your request.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link InvalidRequestException} (client fault)
|
|
67
|
-
* <p>You have
|
|
67
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ServiceException} (server fault)
|
|
70
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
70
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
71
|
+
* exception.</p>
|
|
71
72
|
*
|
|
72
73
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
73
74
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -26,11 +26,11 @@ export interface ListDistributionConfigurationsCommandOutput extends ListDistrib
|
|
|
26
26
|
* import { ImagebuilderClient, ListDistributionConfigurationsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, ListDistributionConfigurationsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* filters: [
|
|
31
|
-
* {
|
|
29
|
+
* const input = { // ListDistributionConfigurationsRequest
|
|
30
|
+
* filters: [ // FilterList
|
|
31
|
+
* { // Filter
|
|
32
32
|
* name: "STRING_VALUE",
|
|
33
|
-
* values: [
|
|
33
|
+
* values: [ // FilterValues
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
36
|
* },
|
|
@@ -52,9 +52,9 @@ export interface ListDistributionConfigurationsCommandOutput extends ListDistrib
|
|
|
52
52
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link ClientException} (client fault)
|
|
55
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
56
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
57
|
-
* invalid resource identifier.</p>
|
|
55
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
56
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
57
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link ForbiddenException} (client fault)
|
|
60
60
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
@@ -63,10 +63,11 @@ export interface ListDistributionConfigurationsCommandOutput extends ListDistrib
|
|
|
63
63
|
* <p>You have provided an invalid pagination token in your request.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link InvalidRequestException} (client fault)
|
|
66
|
-
* <p>You have
|
|
66
|
+
* <p>You have requested an action that that the service doesn't support.</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,19 +19,19 @@ export interface ListImageBuildVersionsCommandOutput extends ListImageBuildVersi
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Returns a list of image build versions.</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, ListImageBuildVersionsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, ListImageBuildVersionsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListImageBuildVersionsRequest
|
|
30
30
|
* imageVersionArn: "STRING_VALUE", // required
|
|
31
|
-
* filters: [
|
|
32
|
-
* {
|
|
31
|
+
* filters: [ // FilterList
|
|
32
|
+
* { // Filter
|
|
33
33
|
* name: "STRING_VALUE",
|
|
34
|
-
* values: [
|
|
34
|
+
* values: [ // FilterValues
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* },
|
|
@@ -53,9 +53,9 @@ export interface ListImageBuildVersionsCommandOutput extends ListImageBuildVersi
|
|
|
53
53
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ClientException} (client fault)
|
|
56
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
57
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
58
|
-
* invalid resource identifier.</p>
|
|
56
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
57
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
58
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ForbiddenException} (client fault)
|
|
61
61
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
@@ -64,10 +64,11 @@ export interface ListImageBuildVersionsCommandOutput extends ListImageBuildVersi
|
|
|
64
64
|
* <p>You have provided an invalid pagination token in your request.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link InvalidRequestException} (client fault)
|
|
67
|
-
* <p>You have
|
|
67
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ServiceException} (server fault)
|
|
70
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
70
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
71
|
+
* exception.</p>
|
|
71
72
|
*
|
|
72
73
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
73
74
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,14 +19,15 @@ export interface ListImagePackagesCommandOutput extends ListImagePackagesRespons
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>List the Packages that are associated with an Image Build Version, as determined by
|
|
22
|
+
* <p>List the Packages that are associated with an Image Build Version, as determined by
|
|
23
|
+
* Amazon Web Services Systems Manager Inventory at build time.</p>
|
|
23
24
|
* @example
|
|
24
25
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
26
|
* ```javascript
|
|
26
27
|
* import { ImagebuilderClient, ListImagePackagesCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
28
|
* // const { ImagebuilderClient, ListImagePackagesCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
29
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
+
* const input = { // ListImagePackagesRequest
|
|
30
31
|
* imageBuildVersionArn: "STRING_VALUE", // required
|
|
31
32
|
* maxResults: Number("int"),
|
|
32
33
|
* nextToken: "STRING_VALUE",
|
|
@@ -45,9 +46,9 @@ export interface ListImagePackagesCommandOutput extends ListImagePackagesRespons
|
|
|
45
46
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
46
47
|
*
|
|
47
48
|
* @throws {@link ClientException} (client fault)
|
|
48
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
49
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
50
|
-
* invalid resource identifier.</p>
|
|
49
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
50
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
51
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
51
52
|
*
|
|
52
53
|
* @throws {@link ForbiddenException} (client fault)
|
|
53
54
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
@@ -56,13 +57,14 @@ export interface ListImagePackagesCommandOutput extends ListImagePackagesRespons
|
|
|
56
57
|
* <p>You have provided an invalid pagination token in your request.</p>
|
|
57
58
|
*
|
|
58
59
|
* @throws {@link InvalidRequestException} (client fault)
|
|
59
|
-
* <p>You have
|
|
60
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
60
61
|
*
|
|
61
62
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
63
|
* <p>At least one of the resources referenced by your request does not exist.</p>
|
|
63
64
|
*
|
|
64
65
|
* @throws {@link ServiceException} (server fault)
|
|
65
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
66
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
67
|
+
* exception.</p>
|
|
66
68
|
*
|
|
67
69
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
68
70
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -26,12 +26,12 @@ export interface ListImagePipelineImagesCommandOutput extends ListImagePipelineI
|
|
|
26
26
|
* import { ImagebuilderClient, ListImagePipelineImagesCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, ListImagePipelineImagesCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListImagePipelineImagesRequest
|
|
30
30
|
* imagePipelineArn: "STRING_VALUE", // required
|
|
31
|
-
* filters: [
|
|
32
|
-
* {
|
|
31
|
+
* filters: [ // FilterList
|
|
32
|
+
* { // Filter
|
|
33
33
|
* name: "STRING_VALUE",
|
|
34
|
-
* values: [
|
|
34
|
+
* values: [ // FilterValues
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* },
|
|
@@ -53,9 +53,9 @@ export interface ListImagePipelineImagesCommandOutput extends ListImagePipelineI
|
|
|
53
53
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ClientException} (client fault)
|
|
56
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
57
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
58
|
-
* invalid resource identifier.</p>
|
|
56
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
57
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
58
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ForbiddenException} (client fault)
|
|
61
61
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
@@ -64,13 +64,14 @@ export interface ListImagePipelineImagesCommandOutput extends ListImagePipelineI
|
|
|
64
64
|
* <p>You have provided an invalid pagination token in your request.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link InvalidRequestException} (client fault)
|
|
67
|
-
* <p>You have
|
|
67
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
70
|
* <p>At least one of the resources referenced by your request does not exist.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ServiceException} (server fault)
|
|
73
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
73
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
74
|
+
* exception.</p>
|
|
74
75
|
*
|
|
75
76
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
76
77
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -26,11 +26,11 @@ export interface ListImagePipelinesCommandOutput extends ListImagePipelinesRespo
|
|
|
26
26
|
* import { ImagebuilderClient, ListImagePipelinesCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, ListImagePipelinesCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* filters: [
|
|
31
|
-
* {
|
|
29
|
+
* const input = { // ListImagePipelinesRequest
|
|
30
|
+
* filters: [ // FilterList
|
|
31
|
+
* { // Filter
|
|
32
32
|
* name: "STRING_VALUE",
|
|
33
|
-
* values: [
|
|
33
|
+
* values: [ // FilterValues
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
36
|
* },
|
|
@@ -52,9 +52,9 @@ export interface ListImagePipelinesCommandOutput extends ListImagePipelinesRespo
|
|
|
52
52
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link ClientException} (client fault)
|
|
55
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
56
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
57
|
-
* invalid resource identifier.</p>
|
|
55
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
56
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
57
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link ForbiddenException} (client fault)
|
|
60
60
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
@@ -63,10 +63,11 @@ export interface ListImagePipelinesCommandOutput extends ListImagePipelinesRespo
|
|
|
63
63
|
* <p>You have provided an invalid pagination token in your request.</p>
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link InvalidRequestException} (client fault)
|
|
66
|
-
* <p>You have
|
|
66
|
+
* <p>You have requested an action that that the service doesn't support.</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,19 +19,19 @@ export interface ListImageRecipesCommandOutput extends ListImageRecipesResponse,
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Returns a list of image recipes.</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, ListImageRecipesCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, ListImageRecipesCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListImageRecipesRequest
|
|
30
30
|
* owner: "Self" || "Shared" || "Amazon" || "ThirdParty",
|
|
31
|
-
* filters: [
|
|
32
|
-
* {
|
|
31
|
+
* filters: [ // FilterList
|
|
32
|
+
* { // Filter
|
|
33
33
|
* name: "STRING_VALUE",
|
|
34
|
-
* values: [
|
|
34
|
+
* values: [ // FilterValues
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
37
|
* },
|
|
@@ -53,9 +53,9 @@ export interface ListImageRecipesCommandOutput extends ListImageRecipesResponse,
|
|
|
53
53
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ClientException} (client fault)
|
|
56
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
57
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
58
|
-
* invalid resource identifier.</p>
|
|
56
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
57
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
58
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ForbiddenException} (client fault)
|
|
61
61
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
@@ -64,10 +64,11 @@ export interface ListImageRecipesCommandOutput extends ListImageRecipesResponse,
|
|
|
64
64
|
* <p>You have provided an invalid pagination token in your request.</p>
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link InvalidRequestException} (client fault)
|
|
67
|
-
* <p>You have
|
|
67
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link ServiceException} (server fault)
|
|
70
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
70
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
71
|
+
* exception.</p>
|
|
71
72
|
*
|
|
72
73
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
73
74
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -0,0 +1,120 @@
|
|
|
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 { ListImageScanFindingAggregationsRequest, ListImageScanFindingAggregationsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link ListImageScanFindingAggregationsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface ListImageScanFindingAggregationsCommandInput extends ListImageScanFindingAggregationsRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link ListImageScanFindingAggregationsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface ListImageScanFindingAggregationsCommandOutput extends ListImageScanFindingAggregationsResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Returns a list of image scan aggregations for your account. You can filter by the type
|
|
23
|
+
* of key that Image Builder uses to group results. For example, if you want to get a list of
|
|
24
|
+
* findings by severity level for one of your pipelines, you might specify your pipeline
|
|
25
|
+
* with the <code>imagePipelineArn</code> filter. If you don't specify a filter, Image Builder
|
|
26
|
+
* returns an aggregation for your account.</p>
|
|
27
|
+
* <p>To streamline results, you can use the following filters in your request:</p>
|
|
28
|
+
* <ul>
|
|
29
|
+
* <li>
|
|
30
|
+
* <p>
|
|
31
|
+
* <code>accountId</code>
|
|
32
|
+
* </p>
|
|
33
|
+
* </li>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>
|
|
36
|
+
* <code>imageBuildVersionArn</code>
|
|
37
|
+
* </p>
|
|
38
|
+
* </li>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>
|
|
41
|
+
* <code>imagePipelineArn</code>
|
|
42
|
+
* </p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>
|
|
46
|
+
* <code>vulnerabilityId</code>
|
|
47
|
+
* </p>
|
|
48
|
+
* </li>
|
|
49
|
+
* </ul>
|
|
50
|
+
* @example
|
|
51
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
52
|
+
* ```javascript
|
|
53
|
+
* import { ImagebuilderClient, ListImageScanFindingAggregationsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
54
|
+
* // const { ImagebuilderClient, ListImageScanFindingAggregationsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
55
|
+
* const client = new ImagebuilderClient(config);
|
|
56
|
+
* const input = { // ListImageScanFindingAggregationsRequest
|
|
57
|
+
* filter: { // Filter
|
|
58
|
+
* name: "STRING_VALUE",
|
|
59
|
+
* values: [ // FilterValues
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
62
|
+
* },
|
|
63
|
+
* nextToken: "STRING_VALUE",
|
|
64
|
+
* };
|
|
65
|
+
* const command = new ListImageScanFindingAggregationsCommand(input);
|
|
66
|
+
* const response = await client.send(command);
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param ListImageScanFindingAggregationsCommandInput - {@link ListImageScanFindingAggregationsCommandInput}
|
|
70
|
+
* @returns {@link ListImageScanFindingAggregationsCommandOutput}
|
|
71
|
+
* @see {@link ListImageScanFindingAggregationsCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link ListImageScanFindingAggregationsCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link CallRateLimitExceededException} (client fault)
|
|
76
|
+
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ClientException} (client fault)
|
|
79
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
80
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
81
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
84
|
+
* <p>You are not authorized to perform the requested operation.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InvalidPaginationTokenException} (client fault)
|
|
87
|
+
* <p>You have provided an invalid pagination token in your request.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
90
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ServiceException} (server fault)
|
|
93
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
94
|
+
* exception.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
97
|
+
* <p>The service is unable to process your request at this time.</p>
|
|
98
|
+
*
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
export declare class ListImageScanFindingAggregationsCommand extends $Command<ListImageScanFindingAggregationsCommandInput, ListImageScanFindingAggregationsCommandOutput, ImagebuilderClientResolvedConfig> {
|
|
102
|
+
readonly input: ListImageScanFindingAggregationsCommandInput;
|
|
103
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
constructor(input: ListImageScanFindingAggregationsCommandInput);
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ImagebuilderClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListImageScanFindingAggregationsCommandInput, ListImageScanFindingAggregationsCommandOutput>;
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
private serialize;
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
private deserialize;
|
|
120
|
+
}
|