@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,25 +19,25 @@ export interface CreateImageRecipeCommandOutput extends CreateImageRecipeRespons
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
23
|
-
* assessed.</p>
|
|
22
|
+
* <p>Creates a new image recipe. Image recipes define how images are configured, tested,
|
|
23
|
+
* and assessed.</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, CreateImageRecipeCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
28
28
|
* // const { ImagebuilderClient, CreateImageRecipeCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
29
29
|
* const client = new ImagebuilderClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CreateImageRecipeRequest
|
|
31
31
|
* name: "STRING_VALUE", // required
|
|
32
32
|
* description: "STRING_VALUE",
|
|
33
33
|
* semanticVersion: "STRING_VALUE", // required
|
|
34
|
-
* components: [ // required
|
|
35
|
-
* {
|
|
34
|
+
* components: [ // ComponentConfigurationList // required
|
|
35
|
+
* { // ComponentConfiguration
|
|
36
36
|
* componentArn: "STRING_VALUE", // required
|
|
37
|
-
* parameters: [
|
|
38
|
-
* {
|
|
37
|
+
* parameters: [ // ComponentParameterList
|
|
38
|
+
* { // ComponentParameter
|
|
39
39
|
* name: "STRING_VALUE", // required
|
|
40
|
-
* value: [ // required
|
|
40
|
+
* value: [ // ComponentParameterValueList // required
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* },
|
|
@@ -45,10 +45,10 @@ export interface CreateImageRecipeCommandOutput extends CreateImageRecipeRespons
|
|
|
45
45
|
* },
|
|
46
46
|
* ],
|
|
47
47
|
* parentImage: "STRING_VALUE", // required
|
|
48
|
-
* blockDeviceMappings: [
|
|
49
|
-
* {
|
|
48
|
+
* blockDeviceMappings: [ // InstanceBlockDeviceMappings
|
|
49
|
+
* { // InstanceBlockDeviceMapping
|
|
50
50
|
* deviceName: "STRING_VALUE",
|
|
51
|
-
* ebs: {
|
|
51
|
+
* ebs: { // EbsInstanceBlockDeviceSpecification
|
|
52
52
|
* encrypted: true || false,
|
|
53
53
|
* deleteOnTermination: true || false,
|
|
54
54
|
* iops: Number("int"),
|
|
@@ -62,12 +62,12 @@ export interface CreateImageRecipeCommandOutput extends CreateImageRecipeRespons
|
|
|
62
62
|
* noDevice: "STRING_VALUE",
|
|
63
63
|
* },
|
|
64
64
|
* ],
|
|
65
|
-
* tags: {
|
|
65
|
+
* tags: { // TagMap
|
|
66
66
|
* "<keys>": "STRING_VALUE",
|
|
67
67
|
* },
|
|
68
68
|
* workingDirectory: "STRING_VALUE",
|
|
69
|
-
* additionalInstanceConfiguration: {
|
|
70
|
-
* systemsManagerAgent: {
|
|
69
|
+
* additionalInstanceConfiguration: { // AdditionalInstanceConfiguration
|
|
70
|
+
* systemsManagerAgent: { // SystemsManagerAgent
|
|
71
71
|
* uninstallAfterBuild: true || false,
|
|
72
72
|
* },
|
|
73
73
|
* userDataOverride: "STRING_VALUE",
|
|
@@ -88,19 +88,19 @@ export interface CreateImageRecipeCommandOutput extends CreateImageRecipeRespons
|
|
|
88
88
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
89
89
|
*
|
|
90
90
|
* @throws {@link ClientException} (client fault)
|
|
91
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
92
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
93
|
-
* invalid resource identifier.</p>
|
|
91
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
92
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
93
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
94
94
|
*
|
|
95
95
|
* @throws {@link ForbiddenException} (client fault)
|
|
96
96
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
97
97
|
*
|
|
98
98
|
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
99
|
-
* <p>You have specified a client token for an operation using parameter values that differ
|
|
100
|
-
* a previous request that used the same client token.</p>
|
|
99
|
+
* <p>You have specified a client token for an operation using parameter values that differ
|
|
100
|
+
* from a previous request that used the same client token.</p>
|
|
101
101
|
*
|
|
102
102
|
* @throws {@link InvalidRequestException} (client fault)
|
|
103
|
-
* <p>You have
|
|
103
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
104
104
|
*
|
|
105
105
|
* @throws {@link InvalidVersionNumberException} (client fault)
|
|
106
106
|
* <p>Your version number is out of bounds or does not follow the required syntax.</p>
|
|
@@ -113,10 +113,13 @@ export interface CreateImageRecipeCommandOutput extends CreateImageRecipeRespons
|
|
|
113
113
|
* details and retry later.</p>
|
|
114
114
|
*
|
|
115
115
|
* @throws {@link ServiceException} (server fault)
|
|
116
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
116
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
117
|
+
* exception.</p>
|
|
117
118
|
*
|
|
118
119
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
119
|
-
* <p>You have exceeded the number of permitted resources or operations for this service.
|
|
120
|
+
* <p>You have exceeded the number of permitted resources or operations for this service.
|
|
121
|
+
* For service quotas, see <a href="https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder">EC2 Image Builder endpoints and
|
|
122
|
+
* quotas</a>.</p>
|
|
120
123
|
*
|
|
121
124
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
122
125
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,27 +19,27 @@ export interface CreateInfrastructureConfigurationCommandOutput extends CreateIn
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
23
|
-
* environment in which your image will be built and tested.</p>
|
|
22
|
+
* <p>Creates 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, CreateInfrastructureConfigurationCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
28
28
|
* // const { ImagebuilderClient, CreateInfrastructureConfigurationCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
29
29
|
* const client = new ImagebuilderClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CreateInfrastructureConfigurationRequest
|
|
31
31
|
* name: "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
|
* },
|
|
@@ -47,14 +47,14 @@ export interface CreateInfrastructureConfigurationCommandOutput extends CreateIn
|
|
|
47
47
|
* keyPair: "STRING_VALUE",
|
|
48
48
|
* terminateInstanceOnFailure: true || false,
|
|
49
49
|
* snsTopicArn: "STRING_VALUE",
|
|
50
|
-
* resourceTags: {
|
|
50
|
+
* resourceTags: { // ResourceTagMap
|
|
51
51
|
* "<keys>": "STRING_VALUE",
|
|
52
52
|
* },
|
|
53
|
-
* instanceMetadataOptions: {
|
|
53
|
+
* instanceMetadataOptions: { // InstanceMetadataOptions
|
|
54
54
|
* httpTokens: "STRING_VALUE",
|
|
55
55
|
* httpPutResponseHopLimit: Number("int"),
|
|
56
56
|
* },
|
|
57
|
-
* tags: {
|
|
57
|
+
* tags: { // TagMap
|
|
58
58
|
* "<keys>": "STRING_VALUE",
|
|
59
59
|
* },
|
|
60
60
|
* clientToken: "STRING_VALUE", // required
|
|
@@ -73,19 +73,19 @@ export interface CreateInfrastructureConfigurationCommandOutput extends CreateIn
|
|
|
73
73
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link ClientException} (client fault)
|
|
76
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
77
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
78
|
-
* invalid resource identifier.</p>
|
|
76
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
77
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
78
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link ForbiddenException} (client fault)
|
|
81
81
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
82
82
|
*
|
|
83
83
|
* @throws {@link IdempotentParameterMismatchException} (client fault)
|
|
84
|
-
* <p>You have specified a client token for an operation using parameter values that differ
|
|
85
|
-
* a previous request that used the same client token.</p>
|
|
84
|
+
* <p>You have specified a client token for an operation using parameter values that differ
|
|
85
|
+
* from a previous request that used the same client token.</p>
|
|
86
86
|
*
|
|
87
87
|
* @throws {@link InvalidRequestException} (client fault)
|
|
88
|
-
* <p>You have
|
|
88
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
89
89
|
*
|
|
90
90
|
* @throws {@link ResourceAlreadyExistsException} (client fault)
|
|
91
91
|
* <p>The resource that you are trying to create already exists.</p>
|
|
@@ -95,10 +95,13 @@ export interface CreateInfrastructureConfigurationCommandOutput extends CreateIn
|
|
|
95
95
|
* details and retry later.</p>
|
|
96
96
|
*
|
|
97
97
|
* @throws {@link ServiceException} (server fault)
|
|
98
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
98
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
99
|
+
* exception.</p>
|
|
99
100
|
*
|
|
100
101
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
101
|
-
* <p>You have exceeded the number of permitted resources or operations for this service.
|
|
102
|
+
* <p>You have exceeded the number of permitted resources or operations for this service.
|
|
103
|
+
* For service quotas, see <a href="https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder">EC2 Image Builder endpoints and
|
|
104
|
+
* quotas</a>.</p>
|
|
102
105
|
*
|
|
103
106
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
104
107
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,14 +19,14 @@ export interface DeleteComponentCommandOutput extends DeleteComponentResponse, _
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Deletes a component build version.</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, DeleteComponentCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, DeleteComponentCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteComponentRequest
|
|
30
30
|
* componentBuildVersionArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteComponentCommand(input);
|
|
@@ -43,22 +43,23 @@ export interface DeleteComponentCommandOutput extends DeleteComponentResponse, _
|
|
|
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 ResourceDependencyException} (client fault)
|
|
57
|
-
* <p>You have attempted to mutate or delete a resource with a dependency that prohibits
|
|
58
|
-
* action. See the error message for more details.</p>
|
|
57
|
+
* <p>You have attempted to mutate or delete a resource with a dependency that prohibits
|
|
58
|
+
* this action. See the error message for more details.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ServiceException} (server fault)
|
|
61
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
61
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
62
|
+
* exception.</p>
|
|
62
63
|
*
|
|
63
64
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
64
65
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -26,7 +26,7 @@ export interface DeleteContainerRecipeCommandOutput extends DeleteContainerRecip
|
|
|
26
26
|
* import { ImagebuilderClient, DeleteContainerRecipeCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, DeleteContainerRecipeCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteContainerRecipeRequest
|
|
30
30
|
* containerRecipeArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteContainerRecipeCommand(input);
|
|
@@ -43,22 +43,23 @@ export interface DeleteContainerRecipeCommandOutput extends DeleteContainerRecip
|
|
|
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 ResourceDependencyException} (client fault)
|
|
57
|
-
* <p>You have attempted to mutate or delete a resource with a dependency that prohibits
|
|
58
|
-
* action. See the error message for more details.</p>
|
|
57
|
+
* <p>You have attempted to mutate or delete a resource with a dependency that prohibits
|
|
58
|
+
* this action. See the error message for more details.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ServiceException} (server fault)
|
|
61
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
61
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
62
|
+
* exception.</p>
|
|
62
63
|
*
|
|
63
64
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
64
65
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,14 +19,14 @@ export interface DeleteDistributionConfigurationCommandOutput extends DeleteDist
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Deletes 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, DeleteDistributionConfigurationCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, DeleteDistributionConfigurationCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteDistributionConfigurationRequest
|
|
30
30
|
* distributionConfigurationArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteDistributionConfigurationCommand(input);
|
|
@@ -43,22 +43,23 @@ export interface DeleteDistributionConfigurationCommandOutput extends DeleteDist
|
|
|
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 ResourceDependencyException} (client fault)
|
|
57
|
-
* <p>You have attempted to mutate or delete a resource with a dependency that prohibits
|
|
58
|
-
* action. See the error message for more details.</p>
|
|
57
|
+
* <p>You have attempted to mutate or delete a resource with a dependency that prohibits
|
|
58
|
+
* this action. See the error message for more details.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ServiceException} (server fault)
|
|
61
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
61
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
62
|
+
* exception.</p>
|
|
62
63
|
*
|
|
63
64
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
64
65
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,19 +19,20 @@ export interface DeleteImageCommandOutput extends DeleteImageResponse, __Metadat
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Deletes an Image Builder image resource. This does not delete any EC2 AMIs or ECR container
|
|
23
|
-
* that are created during the image build process. You must clean those up
|
|
24
|
-
* using the appropriate Amazon EC2 or Amazon ECR console actions, or API or CLI
|
|
22
|
+
* <p>Deletes an Image Builder image resource. This does not delete any EC2 AMIs or ECR container
|
|
23
|
+
* images that are created during the image build process. You must clean those up
|
|
24
|
+
* separately, using the appropriate Amazon EC2 or Amazon ECR console actions, or API or CLI
|
|
25
|
+
* commands.</p>
|
|
25
26
|
* <ul>
|
|
26
27
|
* <li>
|
|
27
|
-
* <p>To deregister an EC2 Linux AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html">Deregister
|
|
28
|
-
*
|
|
28
|
+
* <p>To deregister an EC2 Linux AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html">Deregister your
|
|
29
|
+
* Linux AMI</a> in the <i>
|
|
29
30
|
* <i>Amazon EC2 User Guide</i>
|
|
30
31
|
* </i>.</p>
|
|
31
32
|
* </li>
|
|
32
33
|
* <li>
|
|
33
|
-
* <p>To deregister an EC2 Windows AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/deregister-ami.html">Deregister
|
|
34
|
-
*
|
|
34
|
+
* <p>To deregister an EC2 Windows AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/deregister-ami.html">Deregister your
|
|
35
|
+
* Windows AMI</a> in the <i>
|
|
35
36
|
* <i>Amazon EC2 Windows Guide</i>
|
|
36
37
|
* </i>.</p>
|
|
37
38
|
* </li>
|
|
@@ -46,7 +47,7 @@ export interface DeleteImageCommandOutput extends DeleteImageResponse, __Metadat
|
|
|
46
47
|
* import { ImagebuilderClient, DeleteImageCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
47
48
|
* // const { ImagebuilderClient, DeleteImageCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
48
49
|
* const client = new ImagebuilderClient(config);
|
|
49
|
-
* const input = {
|
|
50
|
+
* const input = { // DeleteImageRequest
|
|
50
51
|
* imageBuildVersionArn: "STRING_VALUE", // required
|
|
51
52
|
* };
|
|
52
53
|
* const command = new DeleteImageCommand(input);
|
|
@@ -63,22 +64,23 @@ export interface DeleteImageCommandOutput extends DeleteImageResponse, __Metadat
|
|
|
63
64
|
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
64
65
|
*
|
|
65
66
|
* @throws {@link ClientException} (client fault)
|
|
66
|
-
* <p>These errors are usually caused by a client action, such as using an action or
|
|
67
|
-
* behalf of a user that doesn't have permissions to use the action or
|
|
68
|
-
* invalid resource identifier.</p>
|
|
67
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
68
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
69
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
69
70
|
*
|
|
70
71
|
* @throws {@link ForbiddenException} (client fault)
|
|
71
72
|
* <p>You are not authorized to perform the requested operation.</p>
|
|
72
73
|
*
|
|
73
74
|
* @throws {@link InvalidRequestException} (client fault)
|
|
74
|
-
* <p>You have
|
|
75
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
75
76
|
*
|
|
76
77
|
* @throws {@link ResourceDependencyException} (client fault)
|
|
77
|
-
* <p>You have attempted to mutate or delete a resource with a dependency that prohibits
|
|
78
|
-
* action. See the error message for more details.</p>
|
|
78
|
+
* <p>You have attempted to mutate or delete a resource with a dependency that prohibits
|
|
79
|
+
* this action. See the error message for more details.</p>
|
|
79
80
|
*
|
|
80
81
|
* @throws {@link ServiceException} (server fault)
|
|
81
|
-
* <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>
|
|
82
84
|
*
|
|
83
85
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
84
86
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,14 +19,14 @@ export interface DeleteImagePipelineCommandOutput extends DeleteImagePipelineRes
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Deletes 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, DeleteImagePipelineCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, DeleteImagePipelineCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteImagePipelineRequest
|
|
30
30
|
* imagePipelineArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteImagePipelineCommand(input);
|
|
@@ -43,22 +43,23 @@ export interface DeleteImagePipelineCommandOutput extends DeleteImagePipelineRes
|
|
|
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 ResourceDependencyException} (client fault)
|
|
57
|
-
* <p>You have attempted to mutate or delete a resource with a dependency that prohibits
|
|
58
|
-
* action. See the error message for more details.</p>
|
|
57
|
+
* <p>You have attempted to mutate or delete a resource with a dependency that prohibits
|
|
58
|
+
* this action. See the error message for more details.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ServiceException} (server fault)
|
|
61
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
61
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
62
|
+
* exception.</p>
|
|
62
63
|
*
|
|
63
64
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
64
65
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,14 +19,14 @@ export interface DeleteImageRecipeCommandOutput extends DeleteImageRecipeRespons
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Deletes 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, DeleteImageRecipeCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, DeleteImageRecipeCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteImageRecipeRequest
|
|
30
30
|
* imageRecipeArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteImageRecipeCommand(input);
|
|
@@ -43,22 +43,23 @@ export interface DeleteImageRecipeCommandOutput extends DeleteImageRecipeRespons
|
|
|
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 ResourceDependencyException} (client fault)
|
|
57
|
-
* <p>You have attempted to mutate or delete a resource with a dependency that prohibits
|
|
58
|
-
* action. See the error message for more details.</p>
|
|
57
|
+
* <p>You have attempted to mutate or delete a resource with a dependency that prohibits
|
|
58
|
+
* this action. See the error message for more details.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ServiceException} (server fault)
|
|
61
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
61
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
62
|
+
* exception.</p>
|
|
62
63
|
*
|
|
63
64
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
64
65
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,14 +19,14 @@ export interface DeleteInfrastructureConfigurationCommandOutput extends DeleteIn
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Deletes 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, DeleteInfrastructureConfigurationCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, DeleteInfrastructureConfigurationCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteInfrastructureConfigurationRequest
|
|
30
30
|
* infrastructureConfigurationArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteInfrastructureConfigurationCommand(input);
|
|
@@ -43,22 +43,23 @@ export interface DeleteInfrastructureConfigurationCommandOutput extends DeleteIn
|
|
|
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 ResourceDependencyException} (client fault)
|
|
57
|
-
* <p>You have attempted to mutate or delete a resource with a dependency that prohibits
|
|
58
|
-
* action. See the error message for more details.</p>
|
|
57
|
+
* <p>You have attempted to mutate or delete a resource with a dependency that prohibits
|
|
58
|
+
* this action. See the error message for more details.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ServiceException} (server fault)
|
|
61
|
-
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
61
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
62
|
+
* exception.</p>
|
|
62
63
|
*
|
|
63
64
|
* @throws {@link ServiceUnavailableException} (server fault)
|
|
64
65
|
* <p>The service is unable to process your request at this time.</p>
|
|
@@ -19,14 +19,14 @@ export interface GetComponentCommandOutput extends GetComponentResponse, __Metad
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Gets a component object.</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, GetComponentCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, GetComponentCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetComponentRequest
|
|
30
30
|
* componentBuildVersionArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetComponentCommand(input);
|
|
@@ -43,18 +43,19 @@ export interface GetComponentCommandOutput extends GetComponentResponse, __Metad
|
|
|
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 GetComponentPolicyCommandOutput extends GetComponentPolicyRespo
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Gets a component 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, GetComponentPolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
27
27
|
* // const { ImagebuilderClient, GetComponentPolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
28
28
|
* const client = new ImagebuilderClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // GetComponentPolicyRequest
|
|
30
30
|
* componentArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new GetComponentPolicyCommand(input);
|
|
@@ -46,13 +46,14 @@ export interface GetComponentPolicyCommandOutput extends GetComponentPolicyRespo
|
|
|
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>
|