@aws-sdk/client-imagebuilder 3.696.0 → 3.703.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 +8 -0
- package/dist-cjs/index.js +65 -1
- package/dist-es/Imagebuilder.js +2 -0
- package/dist-es/commands/GetMarketplaceResourceCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +31 -0
- package/dist-types/Imagebuilder.d.ts +7 -0
- package/dist-types/ImagebuilderClient.d.ts +3 -2
- package/dist-types/commands/GetComponentCommand.d.ts +7 -1
- package/dist-types/commands/GetMarketplaceResourceCommand.d.ts +98 -0
- package/dist-types/commands/ListComponentBuildVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListComponentsCommand.d.ts +8 -1
- package/dist-types/commands/ListContainerRecipesCommand.d.ts +1 -1
- package/dist-types/commands/ListImageRecipesCommand.d.ts +1 -1
- package/dist-types/commands/ListImagesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkflowsCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +113 -10
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/Imagebuilder.d.ts +17 -0
- package/dist-types/ts3.4/ImagebuilderClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetMarketplaceResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -469,6 +469,14 @@ GetLifecyclePolicy
|
|
|
469
469
|
|
|
470
470
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/imagebuilder/command/GetLifecyclePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-imagebuilder/Interface/GetLifecyclePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-imagebuilder/Interface/GetLifecyclePolicyCommandOutput/)
|
|
471
471
|
|
|
472
|
+
</details>
|
|
473
|
+
<details>
|
|
474
|
+
<summary>
|
|
475
|
+
GetMarketplaceResource
|
|
476
|
+
</summary>
|
|
477
|
+
|
|
478
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/imagebuilder/command/GetMarketplaceResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-imagebuilder/Interface/GetMarketplaceResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-imagebuilder/Interface/GetMarketplaceResourceCommandOutput/)
|
|
479
|
+
|
|
472
480
|
</details>
|
|
473
481
|
<details>
|
|
474
482
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -65,6 +65,7 @@ __export(src_exports, {
|
|
|
65
65
|
GetInfrastructureConfigurationCommand: () => GetInfrastructureConfigurationCommand,
|
|
66
66
|
GetLifecycleExecutionCommand: () => GetLifecycleExecutionCommand,
|
|
67
67
|
GetLifecyclePolicyCommand: () => GetLifecyclePolicyCommand,
|
|
68
|
+
GetMarketplaceResourceCommand: () => GetMarketplaceResourceCommand,
|
|
68
69
|
GetWorkflowCommand: () => GetWorkflowCommand,
|
|
69
70
|
GetWorkflowExecutionCommand: () => GetWorkflowExecutionCommand,
|
|
70
71
|
GetWorkflowStepExecutionCommand: () => GetWorkflowStepExecutionCommand,
|
|
@@ -114,11 +115,13 @@ __export(src_exports, {
|
|
|
114
115
|
ListWorkflowExecutionsCommand: () => ListWorkflowExecutionsCommand,
|
|
115
116
|
ListWorkflowStepExecutionsCommand: () => ListWorkflowStepExecutionsCommand,
|
|
116
117
|
ListWorkflowsCommand: () => ListWorkflowsCommand,
|
|
118
|
+
MarketplaceResourceType: () => MarketplaceResourceType,
|
|
117
119
|
OnWorkflowFailure: () => OnWorkflowFailure,
|
|
118
120
|
Ownership: () => Ownership,
|
|
119
121
|
PipelineExecutionStartCondition: () => PipelineExecutionStartCondition,
|
|
120
122
|
PipelineStatus: () => PipelineStatus,
|
|
121
123
|
Platform: () => Platform,
|
|
124
|
+
ProductCodeType: () => ProductCodeType,
|
|
122
125
|
PutComponentPolicyCommand: () => PutComponentPolicyCommand,
|
|
123
126
|
PutContainerRecipePolicyCommand: () => PutContainerRecipePolicyCommand,
|
|
124
127
|
PutImagePolicyCommand: () => PutImagePolicyCommand,
|
|
@@ -498,8 +501,13 @@ var Platform = {
|
|
|
498
501
|
MACOS: "macOS",
|
|
499
502
|
WINDOWS: "Windows"
|
|
500
503
|
};
|
|
504
|
+
var ProductCodeType = {
|
|
505
|
+
MARKETPLACE: "marketplace"
|
|
506
|
+
};
|
|
501
507
|
var ComponentStatus = {
|
|
502
|
-
|
|
508
|
+
ACTIVE: "ACTIVE",
|
|
509
|
+
DEPRECATED: "DEPRECATED",
|
|
510
|
+
DISABLED: "DISABLED"
|
|
503
511
|
};
|
|
504
512
|
var ComponentType = {
|
|
505
513
|
BUILD: "BUILD",
|
|
@@ -702,6 +710,10 @@ var LifecycleExecutionStatus = {
|
|
|
702
710
|
PENDING: "PENDING",
|
|
703
711
|
SUCCESS: "SUCCESS"
|
|
704
712
|
};
|
|
713
|
+
var MarketplaceResourceType = {
|
|
714
|
+
COMPONENT_ARTIFACT: "COMPONENT_ARTIFACT",
|
|
715
|
+
COMPONENT_DATA: "COMPONENT_DATA"
|
|
716
|
+
};
|
|
705
717
|
var WorkflowStatus = {
|
|
706
718
|
DEPRECATED: "DEPRECATED"
|
|
707
719
|
};
|
|
@@ -748,6 +760,7 @@ __name(_InvalidPaginationTokenException, "InvalidPaginationTokenException");
|
|
|
748
760
|
var InvalidPaginationTokenException = _InvalidPaginationTokenException;
|
|
749
761
|
var Ownership = {
|
|
750
762
|
AMAZON: "Amazon",
|
|
763
|
+
AWS_MARKETPLACE: "AWSMarketplace",
|
|
751
764
|
SELF: "Self",
|
|
752
765
|
SHARED: "Shared",
|
|
753
766
|
THIRDPARTY: "ThirdParty"
|
|
@@ -1312,6 +1325,23 @@ var se_GetLifecyclePolicyCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1312
1325
|
b.m("GET").h(headers).q(query).b(body);
|
|
1313
1326
|
return b.build();
|
|
1314
1327
|
}, "se_GetLifecyclePolicyCommand");
|
|
1328
|
+
var se_GetMarketplaceResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1329
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1330
|
+
const headers = {
|
|
1331
|
+
"content-type": "application/json"
|
|
1332
|
+
};
|
|
1333
|
+
b.bp("/GetMarketplaceResource");
|
|
1334
|
+
let body;
|
|
1335
|
+
body = JSON.stringify(
|
|
1336
|
+
(0, import_smithy_client.take)(input, {
|
|
1337
|
+
resourceArn: [],
|
|
1338
|
+
resourceLocation: [],
|
|
1339
|
+
resourceType: []
|
|
1340
|
+
})
|
|
1341
|
+
);
|
|
1342
|
+
b.m("POST").h(headers).b(body);
|
|
1343
|
+
return b.build();
|
|
1344
|
+
}, "se_GetMarketplaceResourceCommand");
|
|
1315
1345
|
var se_GetWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1316
1346
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1317
1347
|
const headers = {};
|
|
@@ -2511,6 +2541,22 @@ var de_GetLifecyclePolicyCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2511
2541
|
Object.assign(contents, doc);
|
|
2512
2542
|
return contents;
|
|
2513
2543
|
}, "de_GetLifecyclePolicyCommand");
|
|
2544
|
+
var de_GetMarketplaceResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2545
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2546
|
+
return de_CommandError(output, context);
|
|
2547
|
+
}
|
|
2548
|
+
const contents = (0, import_smithy_client.map)({
|
|
2549
|
+
$metadata: deserializeMetadata(output)
|
|
2550
|
+
});
|
|
2551
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2552
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2553
|
+
data: import_smithy_client.expectString,
|
|
2554
|
+
resourceArn: import_smithy_client.expectString,
|
|
2555
|
+
url: import_smithy_client.expectString
|
|
2556
|
+
});
|
|
2557
|
+
Object.assign(contents, doc);
|
|
2558
|
+
return contents;
|
|
2559
|
+
}, "de_GetMarketplaceResourceCommand");
|
|
2514
2560
|
var de_GetWorkflowCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2515
2561
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2516
2562
|
return de_CommandError(output, context);
|
|
@@ -4119,6 +4165,20 @@ var _GetLifecyclePolicyCommand = class _GetLifecyclePolicyCommand extends import
|
|
|
4119
4165
|
__name(_GetLifecyclePolicyCommand, "GetLifecyclePolicyCommand");
|
|
4120
4166
|
var GetLifecyclePolicyCommand = _GetLifecyclePolicyCommand;
|
|
4121
4167
|
|
|
4168
|
+
// src/commands/GetMarketplaceResourceCommand.ts
|
|
4169
|
+
|
|
4170
|
+
|
|
4171
|
+
|
|
4172
|
+
var _GetMarketplaceResourceCommand = class _GetMarketplaceResourceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4173
|
+
return [
|
|
4174
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4175
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4176
|
+
];
|
|
4177
|
+
}).s("imagebuilder", "GetMarketplaceResource", {}).n("ImagebuilderClient", "GetMarketplaceResourceCommand").f(void 0, void 0).ser(se_GetMarketplaceResourceCommand).de(de_GetMarketplaceResourceCommand).build() {
|
|
4178
|
+
};
|
|
4179
|
+
__name(_GetMarketplaceResourceCommand, "GetMarketplaceResourceCommand");
|
|
4180
|
+
var GetMarketplaceResourceCommand = _GetMarketplaceResourceCommand;
|
|
4181
|
+
|
|
4122
4182
|
// src/commands/GetWorkflowCommand.ts
|
|
4123
4183
|
|
|
4124
4184
|
|
|
@@ -4714,6 +4774,7 @@ var commands = {
|
|
|
4714
4774
|
GetInfrastructureConfigurationCommand,
|
|
4715
4775
|
GetLifecycleExecutionCommand,
|
|
4716
4776
|
GetLifecyclePolicyCommand,
|
|
4777
|
+
GetMarketplaceResourceCommand,
|
|
4717
4778
|
GetWorkflowCommand,
|
|
4718
4779
|
GetWorkflowExecutionCommand,
|
|
4719
4780
|
GetWorkflowStepExecutionCommand,
|
|
@@ -4885,6 +4946,7 @@ var paginateListWorkflows = (0, import_core.createPaginator)(ImagebuilderClient,
|
|
|
4885
4946
|
GetInfrastructureConfigurationCommand,
|
|
4886
4947
|
GetLifecycleExecutionCommand,
|
|
4887
4948
|
GetLifecyclePolicyCommand,
|
|
4949
|
+
GetMarketplaceResourceCommand,
|
|
4888
4950
|
GetWorkflowCommand,
|
|
4889
4951
|
GetWorkflowExecutionCommand,
|
|
4890
4952
|
GetWorkflowStepExecutionCommand,
|
|
@@ -4957,6 +5019,7 @@ var paginateListWorkflows = (0, import_core.createPaginator)(ImagebuilderClient,
|
|
|
4957
5019
|
ServiceException,
|
|
4958
5020
|
ServiceUnavailableException,
|
|
4959
5021
|
Platform,
|
|
5022
|
+
ProductCodeType,
|
|
4960
5023
|
ComponentStatus,
|
|
4961
5024
|
ComponentType,
|
|
4962
5025
|
ComponentFormat,
|
|
@@ -4984,6 +5047,7 @@ var paginateListWorkflows = (0, import_core.createPaginator)(ImagebuilderClient,
|
|
|
4984
5047
|
ImageSource,
|
|
4985
5048
|
ImageScanStatus,
|
|
4986
5049
|
LifecycleExecutionStatus,
|
|
5050
|
+
MarketplaceResourceType,
|
|
4987
5051
|
WorkflowStatus,
|
|
4988
5052
|
WorkflowExecutionStatus,
|
|
4989
5053
|
WorkflowStepExecutionRollbackStatus,
|
package/dist-es/Imagebuilder.js
CHANGED
|
@@ -32,6 +32,7 @@ import { GetImageRecipePolicyCommand, } from "./commands/GetImageRecipePolicyCom
|
|
|
32
32
|
import { GetInfrastructureConfigurationCommand, } from "./commands/GetInfrastructureConfigurationCommand";
|
|
33
33
|
import { GetLifecycleExecutionCommand, } from "./commands/GetLifecycleExecutionCommand";
|
|
34
34
|
import { GetLifecyclePolicyCommand, } from "./commands/GetLifecyclePolicyCommand";
|
|
35
|
+
import { GetMarketplaceResourceCommand, } from "./commands/GetMarketplaceResourceCommand";
|
|
35
36
|
import { GetWorkflowCommand } from "./commands/GetWorkflowCommand";
|
|
36
37
|
import { GetWorkflowExecutionCommand, } from "./commands/GetWorkflowExecutionCommand";
|
|
37
38
|
import { GetWorkflowStepExecutionCommand, } from "./commands/GetWorkflowStepExecutionCommand";
|
|
@@ -107,6 +108,7 @@ const commands = {
|
|
|
107
108
|
GetInfrastructureConfigurationCommand,
|
|
108
109
|
GetLifecycleExecutionCommand,
|
|
109
110
|
GetLifecyclePolicyCommand,
|
|
111
|
+
GetMarketplaceResourceCommand,
|
|
110
112
|
GetWorkflowCommand,
|
|
111
113
|
GetWorkflowExecutionCommand,
|
|
112
114
|
GetWorkflowStepExecutionCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetMarketplaceResourceCommand, se_GetMarketplaceResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetMarketplaceResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("imagebuilder", "GetMarketplaceResource", {})
|
|
17
|
+
.n("ImagebuilderClient", "GetMarketplaceResourceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetMarketplaceResourceCommand)
|
|
20
|
+
.de(de_GetMarketplaceResourceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -31,6 +31,7 @@ export * from "./GetImageRecipePolicyCommand";
|
|
|
31
31
|
export * from "./GetInfrastructureConfigurationCommand";
|
|
32
32
|
export * from "./GetLifecycleExecutionCommand";
|
|
33
33
|
export * from "./GetLifecyclePolicyCommand";
|
|
34
|
+
export * from "./GetMarketplaceResourceCommand";
|
|
34
35
|
export * from "./GetWorkflowCommand";
|
|
35
36
|
export * from "./GetWorkflowExecutionCommand";
|
|
36
37
|
export * from "./GetWorkflowStepExecutionCommand";
|
|
@@ -119,8 +119,13 @@ export const Platform = {
|
|
|
119
119
|
MACOS: "macOS",
|
|
120
120
|
WINDOWS: "Windows",
|
|
121
121
|
};
|
|
122
|
+
export const ProductCodeType = {
|
|
123
|
+
MARKETPLACE: "marketplace",
|
|
124
|
+
};
|
|
122
125
|
export const ComponentStatus = {
|
|
126
|
+
ACTIVE: "ACTIVE",
|
|
123
127
|
DEPRECATED: "DEPRECATED",
|
|
128
|
+
DISABLED: "DISABLED",
|
|
124
129
|
};
|
|
125
130
|
export const ComponentType = {
|
|
126
131
|
BUILD: "BUILD",
|
|
@@ -293,6 +298,10 @@ export const LifecycleExecutionStatus = {
|
|
|
293
298
|
PENDING: "PENDING",
|
|
294
299
|
SUCCESS: "SUCCESS",
|
|
295
300
|
};
|
|
301
|
+
export const MarketplaceResourceType = {
|
|
302
|
+
COMPONENT_ARTIFACT: "COMPONENT_ARTIFACT",
|
|
303
|
+
COMPONENT_DATA: "COMPONENT_DATA",
|
|
304
|
+
};
|
|
296
305
|
export const WorkflowStatus = {
|
|
297
306
|
DEPRECATED: "DEPRECATED",
|
|
298
307
|
};
|
|
@@ -334,6 +343,7 @@ export class InvalidPaginationTokenException extends __BaseException {
|
|
|
334
343
|
}
|
|
335
344
|
export const Ownership = {
|
|
336
345
|
AMAZON: "Amazon",
|
|
346
|
+
AWS_MARKETPLACE: "AWSMarketplace",
|
|
337
347
|
SELF: "Self",
|
|
338
348
|
SHARED: "Shared",
|
|
339
349
|
THIRDPARTY: "ThirdParty",
|
|
@@ -484,6 +484,21 @@ export const se_GetLifecyclePolicyCommand = async (input, context) => {
|
|
|
484
484
|
b.m("GET").h(headers).q(query).b(body);
|
|
485
485
|
return b.build();
|
|
486
486
|
};
|
|
487
|
+
export const se_GetMarketplaceResourceCommand = async (input, context) => {
|
|
488
|
+
const b = rb(input, context);
|
|
489
|
+
const headers = {
|
|
490
|
+
"content-type": "application/json",
|
|
491
|
+
};
|
|
492
|
+
b.bp("/GetMarketplaceResource");
|
|
493
|
+
let body;
|
|
494
|
+
body = JSON.stringify(take(input, {
|
|
495
|
+
resourceArn: [],
|
|
496
|
+
resourceLocation: [],
|
|
497
|
+
resourceType: [],
|
|
498
|
+
}));
|
|
499
|
+
b.m("POST").h(headers).b(body);
|
|
500
|
+
return b.build();
|
|
501
|
+
};
|
|
487
502
|
export const se_GetWorkflowCommand = async (input, context) => {
|
|
488
503
|
const b = rb(input, context);
|
|
489
504
|
const headers = {};
|
|
@@ -1613,6 +1628,22 @@ export const de_GetLifecyclePolicyCommand = async (output, context) => {
|
|
|
1613
1628
|
Object.assign(contents, doc);
|
|
1614
1629
|
return contents;
|
|
1615
1630
|
};
|
|
1631
|
+
export const de_GetMarketplaceResourceCommand = async (output, context) => {
|
|
1632
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1633
|
+
return de_CommandError(output, context);
|
|
1634
|
+
}
|
|
1635
|
+
const contents = map({
|
|
1636
|
+
$metadata: deserializeMetadata(output),
|
|
1637
|
+
});
|
|
1638
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1639
|
+
const doc = take(data, {
|
|
1640
|
+
data: __expectString,
|
|
1641
|
+
resourceArn: __expectString,
|
|
1642
|
+
url: __expectString,
|
|
1643
|
+
});
|
|
1644
|
+
Object.assign(contents, doc);
|
|
1645
|
+
return contents;
|
|
1646
|
+
};
|
|
1616
1647
|
export const de_GetWorkflowCommand = async (output, context) => {
|
|
1617
1648
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1618
1649
|
return de_CommandError(output, context);
|
|
@@ -32,6 +32,7 @@ import { GetImageRecipePolicyCommandInput, GetImageRecipePolicyCommandOutput } f
|
|
|
32
32
|
import { GetInfrastructureConfigurationCommandInput, GetInfrastructureConfigurationCommandOutput } from "./commands/GetInfrastructureConfigurationCommand";
|
|
33
33
|
import { GetLifecycleExecutionCommandInput, GetLifecycleExecutionCommandOutput } from "./commands/GetLifecycleExecutionCommand";
|
|
34
34
|
import { GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput } from "./commands/GetLifecyclePolicyCommand";
|
|
35
|
+
import { GetMarketplaceResourceCommandInput, GetMarketplaceResourceCommandOutput } from "./commands/GetMarketplaceResourceCommand";
|
|
35
36
|
import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
|
|
36
37
|
import { GetWorkflowExecutionCommandInput, GetWorkflowExecutionCommandOutput } from "./commands/GetWorkflowExecutionCommand";
|
|
37
38
|
import { GetWorkflowStepExecutionCommandInput, GetWorkflowStepExecutionCommandOutput } from "./commands/GetWorkflowStepExecutionCommand";
|
|
@@ -272,6 +273,12 @@ export interface Imagebuilder {
|
|
|
272
273
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetLifecyclePolicyCommandOutput>;
|
|
273
274
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void): void;
|
|
274
275
|
getLifecyclePolicy(args: GetLifecyclePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void): void;
|
|
276
|
+
/**
|
|
277
|
+
* @see {@link GetMarketplaceResourceCommand}
|
|
278
|
+
*/
|
|
279
|
+
getMarketplaceResource(args: GetMarketplaceResourceCommandInput, options?: __HttpHandlerOptions): Promise<GetMarketplaceResourceCommandOutput>;
|
|
280
|
+
getMarketplaceResource(args: GetMarketplaceResourceCommandInput, cb: (err: any, data?: GetMarketplaceResourceCommandOutput) => void): void;
|
|
281
|
+
getMarketplaceResource(args: GetMarketplaceResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMarketplaceResourceCommandOutput) => void): void;
|
|
275
282
|
/**
|
|
276
283
|
* @see {@link GetWorkflowCommand}
|
|
277
284
|
*/
|
|
@@ -40,6 +40,7 @@ import { GetImageRecipePolicyCommandInput, GetImageRecipePolicyCommandOutput } f
|
|
|
40
40
|
import { GetInfrastructureConfigurationCommandInput, GetInfrastructureConfigurationCommandOutput } from "./commands/GetInfrastructureConfigurationCommand";
|
|
41
41
|
import { GetLifecycleExecutionCommandInput, GetLifecycleExecutionCommandOutput } from "./commands/GetLifecycleExecutionCommand";
|
|
42
42
|
import { GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput } from "./commands/GetLifecyclePolicyCommand";
|
|
43
|
+
import { GetMarketplaceResourceCommandInput, GetMarketplaceResourceCommandOutput } from "./commands/GetMarketplaceResourceCommand";
|
|
43
44
|
import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
|
|
44
45
|
import { GetWorkflowExecutionCommandInput, GetWorkflowExecutionCommandOutput } from "./commands/GetWorkflowExecutionCommand";
|
|
45
46
|
import { GetWorkflowStepExecutionCommandInput, GetWorkflowStepExecutionCommandOutput } from "./commands/GetWorkflowStepExecutionCommand";
|
|
@@ -86,11 +87,11 @@ export { __Client };
|
|
|
86
87
|
/**
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
89
|
-
export type ServiceInputTypes = CancelImageCreationCommandInput | CancelLifecycleExecutionCommandInput | CreateComponentCommandInput | CreateContainerRecipeCommandInput | CreateDistributionConfigurationCommandInput | CreateImageCommandInput | CreateImagePipelineCommandInput | CreateImageRecipeCommandInput | CreateInfrastructureConfigurationCommandInput | CreateLifecyclePolicyCommandInput | CreateWorkflowCommandInput | DeleteComponentCommandInput | DeleteContainerRecipeCommandInput | DeleteDistributionConfigurationCommandInput | DeleteImageCommandInput | DeleteImagePipelineCommandInput | DeleteImageRecipeCommandInput | DeleteInfrastructureConfigurationCommandInput | DeleteLifecyclePolicyCommandInput | DeleteWorkflowCommandInput | GetComponentCommandInput | GetComponentPolicyCommandInput | GetContainerRecipeCommandInput | GetContainerRecipePolicyCommandInput | GetDistributionConfigurationCommandInput | GetImageCommandInput | GetImagePipelineCommandInput | GetImagePolicyCommandInput | GetImageRecipeCommandInput | GetImageRecipePolicyCommandInput | GetInfrastructureConfigurationCommandInput | GetLifecycleExecutionCommandInput | GetLifecyclePolicyCommandInput | GetWorkflowCommandInput | GetWorkflowExecutionCommandInput | GetWorkflowStepExecutionCommandInput | ImportComponentCommandInput | ImportVmImageCommandInput | ListComponentBuildVersionsCommandInput | ListComponentsCommandInput | ListContainerRecipesCommandInput | ListDistributionConfigurationsCommandInput | ListImageBuildVersionsCommandInput | ListImagePackagesCommandInput | ListImagePipelineImagesCommandInput | ListImagePipelinesCommandInput | ListImageRecipesCommandInput | ListImageScanFindingAggregationsCommandInput | ListImageScanFindingsCommandInput | ListImagesCommandInput | ListInfrastructureConfigurationsCommandInput | ListLifecycleExecutionResourcesCommandInput | ListLifecycleExecutionsCommandInput | ListLifecyclePoliciesCommandInput | ListTagsForResourceCommandInput | ListWaitingWorkflowStepsCommandInput | ListWorkflowBuildVersionsCommandInput | ListWorkflowExecutionsCommandInput | ListWorkflowStepExecutionsCommandInput | ListWorkflowsCommandInput | PutComponentPolicyCommandInput | PutContainerRecipePolicyCommandInput | PutImagePolicyCommandInput | PutImageRecipePolicyCommandInput | SendWorkflowStepActionCommandInput | StartImagePipelineExecutionCommandInput | StartResourceStateUpdateCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDistributionConfigurationCommandInput | UpdateImagePipelineCommandInput | UpdateInfrastructureConfigurationCommandInput | UpdateLifecyclePolicyCommandInput;
|
|
90
|
+
export type ServiceInputTypes = CancelImageCreationCommandInput | CancelLifecycleExecutionCommandInput | CreateComponentCommandInput | CreateContainerRecipeCommandInput | CreateDistributionConfigurationCommandInput | CreateImageCommandInput | CreateImagePipelineCommandInput | CreateImageRecipeCommandInput | CreateInfrastructureConfigurationCommandInput | CreateLifecyclePolicyCommandInput | CreateWorkflowCommandInput | DeleteComponentCommandInput | DeleteContainerRecipeCommandInput | DeleteDistributionConfigurationCommandInput | DeleteImageCommandInput | DeleteImagePipelineCommandInput | DeleteImageRecipeCommandInput | DeleteInfrastructureConfigurationCommandInput | DeleteLifecyclePolicyCommandInput | DeleteWorkflowCommandInput | GetComponentCommandInput | GetComponentPolicyCommandInput | GetContainerRecipeCommandInput | GetContainerRecipePolicyCommandInput | GetDistributionConfigurationCommandInput | GetImageCommandInput | GetImagePipelineCommandInput | GetImagePolicyCommandInput | GetImageRecipeCommandInput | GetImageRecipePolicyCommandInput | GetInfrastructureConfigurationCommandInput | GetLifecycleExecutionCommandInput | GetLifecyclePolicyCommandInput | GetMarketplaceResourceCommandInput | GetWorkflowCommandInput | GetWorkflowExecutionCommandInput | GetWorkflowStepExecutionCommandInput | ImportComponentCommandInput | ImportVmImageCommandInput | ListComponentBuildVersionsCommandInput | ListComponentsCommandInput | ListContainerRecipesCommandInput | ListDistributionConfigurationsCommandInput | ListImageBuildVersionsCommandInput | ListImagePackagesCommandInput | ListImagePipelineImagesCommandInput | ListImagePipelinesCommandInput | ListImageRecipesCommandInput | ListImageScanFindingAggregationsCommandInput | ListImageScanFindingsCommandInput | ListImagesCommandInput | ListInfrastructureConfigurationsCommandInput | ListLifecycleExecutionResourcesCommandInput | ListLifecycleExecutionsCommandInput | ListLifecyclePoliciesCommandInput | ListTagsForResourceCommandInput | ListWaitingWorkflowStepsCommandInput | ListWorkflowBuildVersionsCommandInput | ListWorkflowExecutionsCommandInput | ListWorkflowStepExecutionsCommandInput | ListWorkflowsCommandInput | PutComponentPolicyCommandInput | PutContainerRecipePolicyCommandInput | PutImagePolicyCommandInput | PutImageRecipePolicyCommandInput | SendWorkflowStepActionCommandInput | StartImagePipelineExecutionCommandInput | StartResourceStateUpdateCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDistributionConfigurationCommandInput | UpdateImagePipelineCommandInput | UpdateInfrastructureConfigurationCommandInput | UpdateLifecyclePolicyCommandInput;
|
|
90
91
|
/**
|
|
91
92
|
* @public
|
|
92
93
|
*/
|
|
93
|
-
export type ServiceOutputTypes = CancelImageCreationCommandOutput | CancelLifecycleExecutionCommandOutput | CreateComponentCommandOutput | CreateContainerRecipeCommandOutput | CreateDistributionConfigurationCommandOutput | CreateImageCommandOutput | CreateImagePipelineCommandOutput | CreateImageRecipeCommandOutput | CreateInfrastructureConfigurationCommandOutput | CreateLifecyclePolicyCommandOutput | CreateWorkflowCommandOutput | DeleteComponentCommandOutput | DeleteContainerRecipeCommandOutput | DeleteDistributionConfigurationCommandOutput | DeleteImageCommandOutput | DeleteImagePipelineCommandOutput | DeleteImageRecipeCommandOutput | DeleteInfrastructureConfigurationCommandOutput | DeleteLifecyclePolicyCommandOutput | DeleteWorkflowCommandOutput | GetComponentCommandOutput | GetComponentPolicyCommandOutput | GetContainerRecipeCommandOutput | GetContainerRecipePolicyCommandOutput | GetDistributionConfigurationCommandOutput | GetImageCommandOutput | GetImagePipelineCommandOutput | GetImagePolicyCommandOutput | GetImageRecipeCommandOutput | GetImageRecipePolicyCommandOutput | GetInfrastructureConfigurationCommandOutput | GetLifecycleExecutionCommandOutput | GetLifecyclePolicyCommandOutput | GetWorkflowCommandOutput | GetWorkflowExecutionCommandOutput | GetWorkflowStepExecutionCommandOutput | ImportComponentCommandOutput | ImportVmImageCommandOutput | ListComponentBuildVersionsCommandOutput | ListComponentsCommandOutput | ListContainerRecipesCommandOutput | ListDistributionConfigurationsCommandOutput | ListImageBuildVersionsCommandOutput | ListImagePackagesCommandOutput | ListImagePipelineImagesCommandOutput | ListImagePipelinesCommandOutput | ListImageRecipesCommandOutput | ListImageScanFindingAggregationsCommandOutput | ListImageScanFindingsCommandOutput | ListImagesCommandOutput | ListInfrastructureConfigurationsCommandOutput | ListLifecycleExecutionResourcesCommandOutput | ListLifecycleExecutionsCommandOutput | ListLifecyclePoliciesCommandOutput | ListTagsForResourceCommandOutput | ListWaitingWorkflowStepsCommandOutput | ListWorkflowBuildVersionsCommandOutput | ListWorkflowExecutionsCommandOutput | ListWorkflowStepExecutionsCommandOutput | ListWorkflowsCommandOutput | PutComponentPolicyCommandOutput | PutContainerRecipePolicyCommandOutput | PutImagePolicyCommandOutput | PutImageRecipePolicyCommandOutput | SendWorkflowStepActionCommandOutput | StartImagePipelineExecutionCommandOutput | StartResourceStateUpdateCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDistributionConfigurationCommandOutput | UpdateImagePipelineCommandOutput | UpdateInfrastructureConfigurationCommandOutput | UpdateLifecyclePolicyCommandOutput;
|
|
94
|
+
export type ServiceOutputTypes = CancelImageCreationCommandOutput | CancelLifecycleExecutionCommandOutput | CreateComponentCommandOutput | CreateContainerRecipeCommandOutput | CreateDistributionConfigurationCommandOutput | CreateImageCommandOutput | CreateImagePipelineCommandOutput | CreateImageRecipeCommandOutput | CreateInfrastructureConfigurationCommandOutput | CreateLifecyclePolicyCommandOutput | CreateWorkflowCommandOutput | DeleteComponentCommandOutput | DeleteContainerRecipeCommandOutput | DeleteDistributionConfigurationCommandOutput | DeleteImageCommandOutput | DeleteImagePipelineCommandOutput | DeleteImageRecipeCommandOutput | DeleteInfrastructureConfigurationCommandOutput | DeleteLifecyclePolicyCommandOutput | DeleteWorkflowCommandOutput | GetComponentCommandOutput | GetComponentPolicyCommandOutput | GetContainerRecipeCommandOutput | GetContainerRecipePolicyCommandOutput | GetDistributionConfigurationCommandOutput | GetImageCommandOutput | GetImagePipelineCommandOutput | GetImagePolicyCommandOutput | GetImageRecipeCommandOutput | GetImageRecipePolicyCommandOutput | GetInfrastructureConfigurationCommandOutput | GetLifecycleExecutionCommandOutput | GetLifecyclePolicyCommandOutput | GetMarketplaceResourceCommandOutput | GetWorkflowCommandOutput | GetWorkflowExecutionCommandOutput | GetWorkflowStepExecutionCommandOutput | ImportComponentCommandOutput | ImportVmImageCommandOutput | ListComponentBuildVersionsCommandOutput | ListComponentsCommandOutput | ListContainerRecipesCommandOutput | ListDistributionConfigurationsCommandOutput | ListImageBuildVersionsCommandOutput | ListImagePackagesCommandOutput | ListImagePipelineImagesCommandOutput | ListImagePipelinesCommandOutput | ListImageRecipesCommandOutput | ListImageScanFindingAggregationsCommandOutput | ListImageScanFindingsCommandOutput | ListImagesCommandOutput | ListInfrastructureConfigurationsCommandOutput | ListLifecycleExecutionResourcesCommandOutput | ListLifecycleExecutionsCommandOutput | ListLifecyclePoliciesCommandOutput | ListTagsForResourceCommandOutput | ListWaitingWorkflowStepsCommandOutput | ListWorkflowBuildVersionsCommandOutput | ListWorkflowExecutionsCommandOutput | ListWorkflowStepExecutionsCommandOutput | ListWorkflowsCommandOutput | PutComponentPolicyCommandOutput | PutContainerRecipePolicyCommandOutput | PutImagePolicyCommandOutput | PutImageRecipePolicyCommandOutput | SendWorkflowStepActionCommandOutput | StartImagePipelineExecutionCommandOutput | StartResourceStateUpdateCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDistributionConfigurationCommandOutput | UpdateImagePipelineCommandOutput | UpdateInfrastructureConfigurationCommandOutput | UpdateLifecyclePolicyCommandOutput;
|
|
94
95
|
/**
|
|
95
96
|
* @public
|
|
96
97
|
*/
|
|
@@ -53,7 +53,7 @@ declare const GetComponentCommand_base: {
|
|
|
53
53
|
* // "STRING_VALUE",
|
|
54
54
|
* // ],
|
|
55
55
|
* // state: { // ComponentState
|
|
56
|
-
* // status: "DEPRECATED",
|
|
56
|
+
* // status: "DEPRECATED" || "DISABLED" || "ACTIVE",
|
|
57
57
|
* // reason: "STRING_VALUE",
|
|
58
58
|
* // },
|
|
59
59
|
* // parameters: [ // ComponentParameterDetailList
|
|
@@ -76,6 +76,12 @@ declare const GetComponentCommand_base: {
|
|
|
76
76
|
* // },
|
|
77
77
|
* // publisher: "STRING_VALUE",
|
|
78
78
|
* // obfuscate: true || false,
|
|
79
|
+
* // productCodes: [ // ProductCodeList
|
|
80
|
+
* // { // ProductCodeListItem
|
|
81
|
+
* // productCodeId: "STRING_VALUE", // required
|
|
82
|
+
* // productCodeType: "marketplace", // required
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
79
85
|
* // },
|
|
80
86
|
* // };
|
|
81
87
|
*
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
4
|
+
import { GetMarketplaceResourceRequest, GetMarketplaceResourceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetMarketplaceResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetMarketplaceResourceCommandInput extends GetMarketplaceResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetMarketplaceResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetMarketplaceResourceCommandOutput extends GetMarketplaceResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetMarketplaceResourceCommand_base: {
|
|
25
|
+
new (input: GetMarketplaceResourceCommandInput): import("@smithy/smithy-client").CommandImpl<GetMarketplaceResourceCommandInput, GetMarketplaceResourceCommandOutput, ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetMarketplaceResourceCommandInput): import("@smithy/smithy-client").CommandImpl<GetMarketplaceResourceCommandInput, GetMarketplaceResourceCommandOutput, ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Verify the subscription and perform resource dependency checks on the requested
|
|
31
|
+
* Amazon Web Services Marketplace resource. For Amazon Web Services Marketplace components, the response contains fields to download the
|
|
32
|
+
* components and their artifacts.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { ImagebuilderClient, GetMarketplaceResourceCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
37
|
+
* // const { ImagebuilderClient, GetMarketplaceResourceCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
38
|
+
* const client = new ImagebuilderClient(config);
|
|
39
|
+
* const input = { // GetMarketplaceResourceRequest
|
|
40
|
+
* resourceType: "COMPONENT_DATA" || "COMPONENT_ARTIFACT", // required
|
|
41
|
+
* resourceArn: "STRING_VALUE", // required
|
|
42
|
+
* resourceLocation: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new GetMarketplaceResourceCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // GetMarketplaceResourceResponse
|
|
47
|
+
* // resourceArn: "STRING_VALUE",
|
|
48
|
+
* // url: "STRING_VALUE",
|
|
49
|
+
* // data: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param GetMarketplaceResourceCommandInput - {@link GetMarketplaceResourceCommandInput}
|
|
55
|
+
* @returns {@link GetMarketplaceResourceCommandOutput}
|
|
56
|
+
* @see {@link GetMarketplaceResourceCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link GetMarketplaceResourceCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link ImagebuilderClientResolvedConfig | config} for ImagebuilderClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link CallRateLimitExceededException} (client fault)
|
|
61
|
+
* <p>You have exceeded the permitted request rate for the specific operation.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ClientException} (client fault)
|
|
64
|
+
* <p>These errors are usually caused by a client action, such as using an action or
|
|
65
|
+
* resource on behalf of a user that doesn't have permissions to use the action or
|
|
66
|
+
* resource, or specifying an invalid resource identifier.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
69
|
+
* <p>You are not authorized to perform the requested operation.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
72
|
+
* <p>You have requested an action that that the service doesn't support.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ServiceException} (server fault)
|
|
75
|
+
* <p>This exception is thrown when the service encounters an unrecoverable
|
|
76
|
+
* exception.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
79
|
+
* <p>The service is unable to process your request at this time.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ImagebuilderServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from Imagebuilder service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class GetMarketplaceResourceCommand extends GetMarketplaceResourceCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: GetMarketplaceResourceRequest;
|
|
91
|
+
output: GetMarketplaceResourceResponse;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: GetMarketplaceResourceCommandInput;
|
|
95
|
+
output: GetMarketplaceResourceCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -54,7 +54,7 @@ declare const ListComponentBuildVersionsCommand_base: {
|
|
|
54
54
|
* // "STRING_VALUE",
|
|
55
55
|
* // ],
|
|
56
56
|
* // state: { // ComponentState
|
|
57
|
-
* // status: "DEPRECATED",
|
|
57
|
+
* // status: "DEPRECATED" || "DISABLED" || "ACTIVE",
|
|
58
58
|
* // reason: "STRING_VALUE",
|
|
59
59
|
* // },
|
|
60
60
|
* // type: "BUILD" || "TEST",
|
|
@@ -46,7 +46,7 @@ declare const ListComponentsCommand_base: {
|
|
|
46
46
|
* // const { ImagebuilderClient, ListComponentsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
47
47
|
* const client = new ImagebuilderClient(config);
|
|
48
48
|
* const input = { // ListComponentsRequest
|
|
49
|
-
* owner: "Self" || "Shared" || "Amazon" || "ThirdParty",
|
|
49
|
+
* owner: "Self" || "Shared" || "Amazon" || "ThirdParty" || "AWSMarketplace",
|
|
50
50
|
* filters: [ // FilterList
|
|
51
51
|
* { // Filter
|
|
52
52
|
* name: "STRING_VALUE",
|
|
@@ -76,6 +76,13 @@ declare const ListComponentsCommand_base: {
|
|
|
76
76
|
* // type: "BUILD" || "TEST",
|
|
77
77
|
* // owner: "STRING_VALUE",
|
|
78
78
|
* // dateCreated: "STRING_VALUE",
|
|
79
|
+
* // status: "DEPRECATED" || "DISABLED" || "ACTIVE",
|
|
80
|
+
* // productCodes: [ // ProductCodeList
|
|
81
|
+
* // { // ProductCodeListItem
|
|
82
|
+
* // productCodeId: "STRING_VALUE", // required
|
|
83
|
+
* // productCodeType: "marketplace", // required
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
79
86
|
* // },
|
|
80
87
|
* // ],
|
|
81
88
|
* // nextToken: "STRING_VALUE",
|
|
@@ -35,7 +35,7 @@ declare const ListContainerRecipesCommand_base: {
|
|
|
35
35
|
* // const { ImagebuilderClient, ListContainerRecipesCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
36
36
|
* const client = new ImagebuilderClient(config);
|
|
37
37
|
* const input = { // ListContainerRecipesRequest
|
|
38
|
-
* owner: "Self" || "Shared" || "Amazon" || "ThirdParty",
|
|
38
|
+
* owner: "Self" || "Shared" || "Amazon" || "ThirdParty" || "AWSMarketplace",
|
|
39
39
|
* filters: [ // FilterList
|
|
40
40
|
* { // Filter
|
|
41
41
|
* name: "STRING_VALUE",
|
|
@@ -35,7 +35,7 @@ declare const ListImageRecipesCommand_base: {
|
|
|
35
35
|
* // const { ImagebuilderClient, ListImageRecipesCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
36
36
|
* const client = new ImagebuilderClient(config);
|
|
37
37
|
* const input = { // ListImageRecipesRequest
|
|
38
|
-
* owner: "Self" || "Shared" || "Amazon" || "ThirdParty",
|
|
38
|
+
* owner: "Self" || "Shared" || "Amazon" || "ThirdParty" || "AWSMarketplace",
|
|
39
39
|
* filters: [ // FilterList
|
|
40
40
|
* { // Filter
|
|
41
41
|
* name: "STRING_VALUE",
|
|
@@ -36,7 +36,7 @@ declare const ListImagesCommand_base: {
|
|
|
36
36
|
* // const { ImagebuilderClient, ListImagesCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
37
37
|
* const client = new ImagebuilderClient(config);
|
|
38
38
|
* const input = { // ListImagesRequest
|
|
39
|
-
* owner: "Self" || "Shared" || "Amazon" || "ThirdParty",
|
|
39
|
+
* owner: "Self" || "Shared" || "Amazon" || "ThirdParty" || "AWSMarketplace",
|
|
40
40
|
* filters: [ // FilterList
|
|
41
41
|
* { // Filter
|
|
42
42
|
* name: "STRING_VALUE",
|
|
@@ -35,7 +35,7 @@ declare const ListWorkflowsCommand_base: {
|
|
|
35
35
|
* // const { ImagebuilderClient, ListWorkflowsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
36
36
|
* const client = new ImagebuilderClient(config);
|
|
37
37
|
* const input = { // ListWorkflowsRequest
|
|
38
|
-
* owner: "Self" || "Shared" || "Amazon" || "ThirdParty",
|
|
38
|
+
* owner: "Self" || "Shared" || "Amazon" || "ThirdParty" || "AWSMarketplace",
|
|
39
39
|
* filters: [ // FilterList
|
|
40
40
|
* { // Filter
|
|
41
41
|
* name: "STRING_VALUE",
|
|
@@ -31,6 +31,7 @@ export * from "./GetImageRecipePolicyCommand";
|
|
|
31
31
|
export * from "./GetInfrastructureConfigurationCommand";
|
|
32
32
|
export * from "./GetLifecycleExecutionCommand";
|
|
33
33
|
export * from "./GetLifecyclePolicyCommand";
|
|
34
|
+
export * from "./GetMarketplaceResourceCommand";
|
|
34
35
|
export * from "./GetWorkflowCommand";
|
|
35
36
|
export * from "./GetWorkflowExecutionCommand";
|
|
36
37
|
export * from "./GetWorkflowStepExecutionCommand";
|
|
@@ -467,12 +467,44 @@ export declare const Platform: {
|
|
|
467
467
|
* @public
|
|
468
468
|
*/
|
|
469
469
|
export type Platform = (typeof Platform)[keyof typeof Platform];
|
|
470
|
+
/**
|
|
471
|
+
* @public
|
|
472
|
+
* @enum
|
|
473
|
+
*/
|
|
474
|
+
export declare const ProductCodeType: {
|
|
475
|
+
readonly MARKETPLACE: "marketplace";
|
|
476
|
+
};
|
|
477
|
+
/**
|
|
478
|
+
* @public
|
|
479
|
+
*/
|
|
480
|
+
export type ProductCodeType = (typeof ProductCodeType)[keyof typeof ProductCodeType];
|
|
481
|
+
/**
|
|
482
|
+
* <p>Information about a single product code.</p>
|
|
483
|
+
* @public
|
|
484
|
+
*/
|
|
485
|
+
export interface ProductCodeListItem {
|
|
486
|
+
/**
|
|
487
|
+
* <p>For Amazon Web Services Marketplace components, this contains the product code ID that can be stamped onto
|
|
488
|
+
* an EC2 AMI to ensure that components are billed correctly. If this property is empty,
|
|
489
|
+
* it might mean that the component is not published.</p>
|
|
490
|
+
* @public
|
|
491
|
+
*/
|
|
492
|
+
productCodeId: string | undefined;
|
|
493
|
+
/**
|
|
494
|
+
* <p>The owner of the product code that's billed. If this property is
|
|
495
|
+
* empty, it might mean that the component is not published.</p>
|
|
496
|
+
* @public
|
|
497
|
+
*/
|
|
498
|
+
productCodeType: ProductCodeType | undefined;
|
|
499
|
+
}
|
|
470
500
|
/**
|
|
471
501
|
* @public
|
|
472
502
|
* @enum
|
|
473
503
|
*/
|
|
474
504
|
export declare const ComponentStatus: {
|
|
505
|
+
readonly ACTIVE: "ACTIVE";
|
|
475
506
|
readonly DEPRECATED: "DEPRECATED";
|
|
507
|
+
readonly DISABLED: "DISABLED";
|
|
476
508
|
};
|
|
477
509
|
/**
|
|
478
510
|
* @public
|
|
@@ -556,8 +588,7 @@ export interface Component {
|
|
|
556
588
|
*/
|
|
557
589
|
supportedOsVersions?: string[] | undefined;
|
|
558
590
|
/**
|
|
559
|
-
* <p>Describes the current status of the component
|
|
560
|
-
* longer active.</p>
|
|
591
|
+
* <p>Describes the current status of the component.</p>
|
|
561
592
|
* @public
|
|
562
593
|
*/
|
|
563
594
|
state?: ComponentState | undefined;
|
|
@@ -609,6 +640,11 @@ export interface Component {
|
|
|
609
640
|
* @public
|
|
610
641
|
*/
|
|
611
642
|
obfuscate?: boolean | undefined;
|
|
643
|
+
/**
|
|
644
|
+
* <p>Contains product codes that are used for billing purposes for Amazon Web Services Marketplace components.</p>
|
|
645
|
+
* @public
|
|
646
|
+
*/
|
|
647
|
+
productCodes?: ProductCodeListItem[] | undefined;
|
|
612
648
|
}
|
|
613
649
|
/**
|
|
614
650
|
* <p>Contains a key/value pair that sets the named component parameter.</p>
|
|
@@ -729,8 +765,8 @@ export interface ComponentSummary {
|
|
|
729
765
|
*/
|
|
730
766
|
publisher?: string | undefined;
|
|
731
767
|
/**
|
|
732
|
-
* <p>Indicates whether component source is hidden from view in the console,
|
|
733
|
-
*
|
|
768
|
+
* <p>Indicates whether component source is hidden from view in the console, and from
|
|
769
|
+
* component detail results for API, CLI, or SDK operations.</p>
|
|
734
770
|
* @public
|
|
735
771
|
*/
|
|
736
772
|
obfuscate?: boolean | undefined;
|
|
@@ -821,6 +857,16 @@ export interface ComponentVersion {
|
|
|
821
857
|
* @public
|
|
822
858
|
*/
|
|
823
859
|
dateCreated?: string | undefined;
|
|
860
|
+
/**
|
|
861
|
+
* <p>Describes the current status of the component version.</p>
|
|
862
|
+
* @public
|
|
863
|
+
*/
|
|
864
|
+
status?: ComponentStatus | undefined;
|
|
865
|
+
/**
|
|
866
|
+
* <p>Contains product codes that are used for billing purposes for Amazon Web Services Marketplace components.</p>
|
|
867
|
+
* @public
|
|
868
|
+
*/
|
|
869
|
+
productCodes?: ProductCodeListItem[] | undefined;
|
|
824
870
|
}
|
|
825
871
|
/**
|
|
826
872
|
* <p>A container encapsulates the runtime environment for an application.</p>
|
|
@@ -861,8 +907,9 @@ export interface TargetContainerRepository {
|
|
|
861
907
|
*/
|
|
862
908
|
service: ContainerRepositoryService | undefined;
|
|
863
909
|
/**
|
|
864
|
-
* <p>The name of the container repository where the output container image is stored.
|
|
865
|
-
* name is prefixed by the repository location
|
|
910
|
+
* <p>The name of the container repository where the output container image is stored.
|
|
911
|
+
* This name is prefixed by the repository location. For example,
|
|
912
|
+
* <code><repository location url>/repository_name</code>.</p>
|
|
866
913
|
* @public
|
|
867
914
|
*/
|
|
868
915
|
repositoryName: string | undefined;
|
|
@@ -1778,7 +1825,7 @@ export interface ImageTestsConfiguration {
|
|
|
1778
1825
|
/**
|
|
1779
1826
|
* <p>The maximum time in minutes that tests are permitted to run.</p>
|
|
1780
1827
|
* <note>
|
|
1781
|
-
* <p>The
|
|
1828
|
+
* <p>The timeout attribute is not currently active. This value is
|
|
1782
1829
|
* ignored.</p>
|
|
1783
1830
|
* </note>
|
|
1784
1831
|
* @public
|
|
@@ -4345,6 +4392,58 @@ export interface GetLifecyclePolicyResponse {
|
|
|
4345
4392
|
*/
|
|
4346
4393
|
lifecyclePolicy?: LifecyclePolicy | undefined;
|
|
4347
4394
|
}
|
|
4395
|
+
/**
|
|
4396
|
+
* @public
|
|
4397
|
+
* @enum
|
|
4398
|
+
*/
|
|
4399
|
+
export declare const MarketplaceResourceType: {
|
|
4400
|
+
readonly COMPONENT_ARTIFACT: "COMPONENT_ARTIFACT";
|
|
4401
|
+
readonly COMPONENT_DATA: "COMPONENT_DATA";
|
|
4402
|
+
};
|
|
4403
|
+
/**
|
|
4404
|
+
* @public
|
|
4405
|
+
*/
|
|
4406
|
+
export type MarketplaceResourceType = (typeof MarketplaceResourceType)[keyof typeof MarketplaceResourceType];
|
|
4407
|
+
/**
|
|
4408
|
+
* @public
|
|
4409
|
+
*/
|
|
4410
|
+
export interface GetMarketplaceResourceRequest {
|
|
4411
|
+
/**
|
|
4412
|
+
* <p>Specifies which type of Amazon Web Services Marketplace resource Image Builder retrieves.</p>
|
|
4413
|
+
* @public
|
|
4414
|
+
*/
|
|
4415
|
+
resourceType: MarketplaceResourceType | undefined;
|
|
4416
|
+
/**
|
|
4417
|
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies an Amazon Web Services Marketplace resource.</p>
|
|
4418
|
+
* @public
|
|
4419
|
+
*/
|
|
4420
|
+
resourceArn: string | undefined;
|
|
4421
|
+
/**
|
|
4422
|
+
* <p>The bucket path that you can specify to download the resource from Amazon S3.</p>
|
|
4423
|
+
* @public
|
|
4424
|
+
*/
|
|
4425
|
+
resourceLocation?: string | undefined;
|
|
4426
|
+
}
|
|
4427
|
+
/**
|
|
4428
|
+
* @public
|
|
4429
|
+
*/
|
|
4430
|
+
export interface GetMarketplaceResourceResponse {
|
|
4431
|
+
/**
|
|
4432
|
+
* <p>The Amazon Resource Name (ARN) for the Amazon Web Services Marketplace resource that was requested.</p>
|
|
4433
|
+
* @public
|
|
4434
|
+
*/
|
|
4435
|
+
resourceArn?: string | undefined;
|
|
4436
|
+
/**
|
|
4437
|
+
* <p>The obfuscated S3 URL to download the component artifact from.</p>
|
|
4438
|
+
* @public
|
|
4439
|
+
*/
|
|
4440
|
+
url?: string | undefined;
|
|
4441
|
+
/**
|
|
4442
|
+
* <p>Returns obfuscated data that contains the YAML content of the component.</p>
|
|
4443
|
+
* @public
|
|
4444
|
+
*/
|
|
4445
|
+
data?: string | undefined;
|
|
4446
|
+
}
|
|
4348
4447
|
/**
|
|
4349
4448
|
* @public
|
|
4350
4449
|
*/
|
|
@@ -5013,6 +5112,7 @@ export interface ListComponentBuildVersionsResponse {
|
|
|
5013
5112
|
*/
|
|
5014
5113
|
export declare const Ownership: {
|
|
5015
5114
|
readonly AMAZON: "Amazon";
|
|
5115
|
+
readonly AWS_MARKETPLACE: "AWSMarketplace";
|
|
5016
5116
|
readonly SELF: "Self";
|
|
5017
5117
|
readonly SHARED: "Shared";
|
|
5018
5118
|
readonly THIRDPARTY: "ThirdParty";
|
|
@@ -5426,17 +5526,20 @@ export interface ListImagePackagesRequest {
|
|
|
5426
5526
|
nextToken?: string | undefined;
|
|
5427
5527
|
}
|
|
5428
5528
|
/**
|
|
5429
|
-
* <p>
|
|
5529
|
+
* <p>A software package that's installed on top of the base image to create a
|
|
5530
|
+
* customized image.</p>
|
|
5430
5531
|
* @public
|
|
5431
5532
|
*/
|
|
5432
5533
|
export interface ImagePackage {
|
|
5433
5534
|
/**
|
|
5434
|
-
* <p>The name of the package
|
|
5535
|
+
* <p>The name of the package that's reported to the operating system package
|
|
5536
|
+
* manager.</p>
|
|
5435
5537
|
* @public
|
|
5436
5538
|
*/
|
|
5437
5539
|
packageName?: string | undefined;
|
|
5438
5540
|
/**
|
|
5439
|
-
* <p>The version of the package
|
|
5541
|
+
* <p>The version of the package that's reported to the operating system package
|
|
5542
|
+
* manager.</p>
|
|
5440
5543
|
* @public
|
|
5441
5544
|
*/
|
|
5442
5545
|
packageVersion?: string | undefined;
|
|
@@ -33,6 +33,7 @@ import { GetImageRecipePolicyCommandInput, GetImageRecipePolicyCommandOutput } f
|
|
|
33
33
|
import { GetInfrastructureConfigurationCommandInput, GetInfrastructureConfigurationCommandOutput } from "../commands/GetInfrastructureConfigurationCommand";
|
|
34
34
|
import { GetLifecycleExecutionCommandInput, GetLifecycleExecutionCommandOutput } from "../commands/GetLifecycleExecutionCommand";
|
|
35
35
|
import { GetLifecyclePolicyCommandInput, GetLifecyclePolicyCommandOutput } from "../commands/GetLifecyclePolicyCommand";
|
|
36
|
+
import { GetMarketplaceResourceCommandInput, GetMarketplaceResourceCommandOutput } from "../commands/GetMarketplaceResourceCommand";
|
|
36
37
|
import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "../commands/GetWorkflowCommand";
|
|
37
38
|
import { GetWorkflowExecutionCommandInput, GetWorkflowExecutionCommandOutput } from "../commands/GetWorkflowExecutionCommand";
|
|
38
39
|
import { GetWorkflowStepExecutionCommandInput, GetWorkflowStepExecutionCommandOutput } from "../commands/GetWorkflowStepExecutionCommand";
|
|
@@ -205,6 +206,10 @@ export declare const se_GetLifecycleExecutionCommand: (input: GetLifecycleExecut
|
|
|
205
206
|
* serializeAws_restJson1GetLifecyclePolicyCommand
|
|
206
207
|
*/
|
|
207
208
|
export declare const se_GetLifecyclePolicyCommand: (input: GetLifecyclePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
209
|
+
/**
|
|
210
|
+
* serializeAws_restJson1GetMarketplaceResourceCommand
|
|
211
|
+
*/
|
|
212
|
+
export declare const se_GetMarketplaceResourceCommand: (input: GetMarketplaceResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
208
213
|
/**
|
|
209
214
|
* serializeAws_restJson1GetWorkflowCommand
|
|
210
215
|
*/
|
|
@@ -497,6 +502,10 @@ export declare const de_GetLifecycleExecutionCommand: (output: __HttpResponse, c
|
|
|
497
502
|
* deserializeAws_restJson1GetLifecyclePolicyCommand
|
|
498
503
|
*/
|
|
499
504
|
export declare const de_GetLifecyclePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetLifecyclePolicyCommandOutput>;
|
|
505
|
+
/**
|
|
506
|
+
* deserializeAws_restJson1GetMarketplaceResourceCommand
|
|
507
|
+
*/
|
|
508
|
+
export declare const de_GetMarketplaceResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMarketplaceResourceCommandOutput>;
|
|
500
509
|
/**
|
|
501
510
|
* deserializeAws_restJson1GetWorkflowCommand
|
|
502
511
|
*/
|
|
@@ -131,6 +131,10 @@ import {
|
|
|
131
131
|
GetLifecyclePolicyCommandInput,
|
|
132
132
|
GetLifecyclePolicyCommandOutput,
|
|
133
133
|
} from "./commands/GetLifecyclePolicyCommand";
|
|
134
|
+
import {
|
|
135
|
+
GetMarketplaceResourceCommandInput,
|
|
136
|
+
GetMarketplaceResourceCommandOutput,
|
|
137
|
+
} from "./commands/GetMarketplaceResourceCommand";
|
|
134
138
|
import {
|
|
135
139
|
GetWorkflowCommandInput,
|
|
136
140
|
GetWorkflowCommandOutput,
|
|
@@ -734,6 +738,19 @@ export interface Imagebuilder {
|
|
|
734
738
|
options: __HttpHandlerOptions,
|
|
735
739
|
cb: (err: any, data?: GetLifecyclePolicyCommandOutput) => void
|
|
736
740
|
): void;
|
|
741
|
+
getMarketplaceResource(
|
|
742
|
+
args: GetMarketplaceResourceCommandInput,
|
|
743
|
+
options?: __HttpHandlerOptions
|
|
744
|
+
): Promise<GetMarketplaceResourceCommandOutput>;
|
|
745
|
+
getMarketplaceResource(
|
|
746
|
+
args: GetMarketplaceResourceCommandInput,
|
|
747
|
+
cb: (err: any, data?: GetMarketplaceResourceCommandOutput) => void
|
|
748
|
+
): void;
|
|
749
|
+
getMarketplaceResource(
|
|
750
|
+
args: GetMarketplaceResourceCommandInput,
|
|
751
|
+
options: __HttpHandlerOptions,
|
|
752
|
+
cb: (err: any, data?: GetMarketplaceResourceCommandOutput) => void
|
|
753
|
+
): void;
|
|
737
754
|
getWorkflow(
|
|
738
755
|
args: GetWorkflowCommandInput,
|
|
739
756
|
options?: __HttpHandlerOptions
|
|
@@ -177,6 +177,10 @@ import {
|
|
|
177
177
|
GetLifecyclePolicyCommandInput,
|
|
178
178
|
GetLifecyclePolicyCommandOutput,
|
|
179
179
|
} from "./commands/GetLifecyclePolicyCommand";
|
|
180
|
+
import {
|
|
181
|
+
GetMarketplaceResourceCommandInput,
|
|
182
|
+
GetMarketplaceResourceCommandOutput,
|
|
183
|
+
} from "./commands/GetMarketplaceResourceCommand";
|
|
180
184
|
import {
|
|
181
185
|
GetWorkflowCommandInput,
|
|
182
186
|
GetWorkflowCommandOutput,
|
|
@@ -378,6 +382,7 @@ export type ServiceInputTypes =
|
|
|
378
382
|
| GetInfrastructureConfigurationCommandInput
|
|
379
383
|
| GetLifecycleExecutionCommandInput
|
|
380
384
|
| GetLifecyclePolicyCommandInput
|
|
385
|
+
| GetMarketplaceResourceCommandInput
|
|
381
386
|
| GetWorkflowCommandInput
|
|
382
387
|
| GetWorkflowExecutionCommandInput
|
|
383
388
|
| GetWorkflowStepExecutionCommandInput
|
|
@@ -452,6 +457,7 @@ export type ServiceOutputTypes =
|
|
|
452
457
|
| GetInfrastructureConfigurationCommandOutput
|
|
453
458
|
| GetLifecycleExecutionCommandOutput
|
|
454
459
|
| GetLifecyclePolicyCommandOutput
|
|
460
|
+
| GetMarketplaceResourceCommandOutput
|
|
455
461
|
| GetWorkflowCommandOutput
|
|
456
462
|
| GetWorkflowExecutionCommandOutput
|
|
457
463
|
| GetWorkflowStepExecutionCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ImagebuilderClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ImagebuilderClient";
|
|
8
|
+
import {
|
|
9
|
+
GetMarketplaceResourceRequest,
|
|
10
|
+
GetMarketplaceResourceResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetMarketplaceResourceCommandInput
|
|
15
|
+
extends GetMarketplaceResourceRequest {}
|
|
16
|
+
export interface GetMarketplaceResourceCommandOutput
|
|
17
|
+
extends GetMarketplaceResourceResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetMarketplaceResourceCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetMarketplaceResourceCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetMarketplaceResourceCommandInput,
|
|
24
|
+
GetMarketplaceResourceCommandOutput,
|
|
25
|
+
ImagebuilderClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: GetMarketplaceResourceCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetMarketplaceResourceCommandInput,
|
|
33
|
+
GetMarketplaceResourceCommandOutput,
|
|
34
|
+
ImagebuilderClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetMarketplaceResourceCommand extends GetMarketplaceResourceCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetMarketplaceResourceRequest;
|
|
44
|
+
output: GetMarketplaceResourceResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetMarketplaceResourceCommandInput;
|
|
48
|
+
output: GetMarketplaceResourceCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -31,6 +31,7 @@ export * from "./GetImageRecipePolicyCommand";
|
|
|
31
31
|
export * from "./GetInfrastructureConfigurationCommand";
|
|
32
32
|
export * from "./GetLifecycleExecutionCommand";
|
|
33
33
|
export * from "./GetLifecyclePolicyCommand";
|
|
34
|
+
export * from "./GetMarketplaceResourceCommand";
|
|
34
35
|
export * from "./GetWorkflowCommand";
|
|
35
36
|
export * from "./GetWorkflowExecutionCommand";
|
|
36
37
|
export * from "./GetWorkflowStepExecutionCommand";
|
|
@@ -145,8 +145,19 @@ export declare const Platform: {
|
|
|
145
145
|
readonly WINDOWS: "Windows";
|
|
146
146
|
};
|
|
147
147
|
export type Platform = (typeof Platform)[keyof typeof Platform];
|
|
148
|
+
export declare const ProductCodeType: {
|
|
149
|
+
readonly MARKETPLACE: "marketplace";
|
|
150
|
+
};
|
|
151
|
+
export type ProductCodeType =
|
|
152
|
+
(typeof ProductCodeType)[keyof typeof ProductCodeType];
|
|
153
|
+
export interface ProductCodeListItem {
|
|
154
|
+
productCodeId: string | undefined;
|
|
155
|
+
productCodeType: ProductCodeType | undefined;
|
|
156
|
+
}
|
|
148
157
|
export declare const ComponentStatus: {
|
|
158
|
+
readonly ACTIVE: "ACTIVE";
|
|
149
159
|
readonly DEPRECATED: "DEPRECATED";
|
|
160
|
+
readonly DISABLED: "DISABLED";
|
|
150
161
|
};
|
|
151
162
|
export type ComponentStatus =
|
|
152
163
|
(typeof ComponentStatus)[keyof typeof ComponentStatus];
|
|
@@ -178,6 +189,7 @@ export interface Component {
|
|
|
178
189
|
tags?: Record<string, string> | undefined;
|
|
179
190
|
publisher?: string | undefined;
|
|
180
191
|
obfuscate?: boolean | undefined;
|
|
192
|
+
productCodes?: ProductCodeListItem[] | undefined;
|
|
181
193
|
}
|
|
182
194
|
export interface ComponentParameter {
|
|
183
195
|
name: string | undefined;
|
|
@@ -218,6 +230,8 @@ export interface ComponentVersion {
|
|
|
218
230
|
type?: ComponentType | undefined;
|
|
219
231
|
owner?: string | undefined;
|
|
220
232
|
dateCreated?: string | undefined;
|
|
233
|
+
status?: ComponentStatus | undefined;
|
|
234
|
+
productCodes?: ProductCodeListItem[] | undefined;
|
|
221
235
|
}
|
|
222
236
|
export interface Container {
|
|
223
237
|
region?: string | undefined;
|
|
@@ -1052,6 +1066,22 @@ export interface LifecyclePolicy {
|
|
|
1052
1066
|
export interface GetLifecyclePolicyResponse {
|
|
1053
1067
|
lifecyclePolicy?: LifecyclePolicy | undefined;
|
|
1054
1068
|
}
|
|
1069
|
+
export declare const MarketplaceResourceType: {
|
|
1070
|
+
readonly COMPONENT_ARTIFACT: "COMPONENT_ARTIFACT";
|
|
1071
|
+
readonly COMPONENT_DATA: "COMPONENT_DATA";
|
|
1072
|
+
};
|
|
1073
|
+
export type MarketplaceResourceType =
|
|
1074
|
+
(typeof MarketplaceResourceType)[keyof typeof MarketplaceResourceType];
|
|
1075
|
+
export interface GetMarketplaceResourceRequest {
|
|
1076
|
+
resourceType: MarketplaceResourceType | undefined;
|
|
1077
|
+
resourceArn: string | undefined;
|
|
1078
|
+
resourceLocation?: string | undefined;
|
|
1079
|
+
}
|
|
1080
|
+
export interface GetMarketplaceResourceResponse {
|
|
1081
|
+
resourceArn?: string | undefined;
|
|
1082
|
+
url?: string | undefined;
|
|
1083
|
+
data?: string | undefined;
|
|
1084
|
+
}
|
|
1055
1085
|
export interface GetWorkflowRequest {
|
|
1056
1086
|
workflowBuildVersionArn: string | undefined;
|
|
1057
1087
|
}
|
|
@@ -1219,6 +1249,7 @@ export interface ListComponentBuildVersionsResponse {
|
|
|
1219
1249
|
}
|
|
1220
1250
|
export declare const Ownership: {
|
|
1221
1251
|
readonly AMAZON: "Amazon";
|
|
1252
|
+
readonly AWS_MARKETPLACE: "AWSMarketplace";
|
|
1222
1253
|
readonly SELF: "Self";
|
|
1223
1254
|
readonly SHARED: "Shared";
|
|
1224
1255
|
readonly THIRDPARTY: "ThirdParty";
|
|
@@ -135,6 +135,10 @@ import {
|
|
|
135
135
|
GetLifecyclePolicyCommandInput,
|
|
136
136
|
GetLifecyclePolicyCommandOutput,
|
|
137
137
|
} from "../commands/GetLifecyclePolicyCommand";
|
|
138
|
+
import {
|
|
139
|
+
GetMarketplaceResourceCommandInput,
|
|
140
|
+
GetMarketplaceResourceCommandOutput,
|
|
141
|
+
} from "../commands/GetMarketplaceResourceCommand";
|
|
138
142
|
import {
|
|
139
143
|
GetWorkflowCommandInput,
|
|
140
144
|
GetWorkflowCommandOutput,
|
|
@@ -427,6 +431,10 @@ export declare const se_GetLifecyclePolicyCommand: (
|
|
|
427
431
|
input: GetLifecyclePolicyCommandInput,
|
|
428
432
|
context: __SerdeContext
|
|
429
433
|
) => Promise<__HttpRequest>;
|
|
434
|
+
export declare const se_GetMarketplaceResourceCommand: (
|
|
435
|
+
input: GetMarketplaceResourceCommandInput,
|
|
436
|
+
context: __SerdeContext
|
|
437
|
+
) => Promise<__HttpRequest>;
|
|
430
438
|
export declare const se_GetWorkflowCommand: (
|
|
431
439
|
input: GetWorkflowCommandInput,
|
|
432
440
|
context: __SerdeContext
|
|
@@ -719,6 +727,10 @@ export declare const de_GetLifecyclePolicyCommand: (
|
|
|
719
727
|
output: __HttpResponse,
|
|
720
728
|
context: __SerdeContext
|
|
721
729
|
) => Promise<GetLifecyclePolicyCommandOutput>;
|
|
730
|
+
export declare const de_GetMarketplaceResourceCommand: (
|
|
731
|
+
output: __HttpResponse,
|
|
732
|
+
context: __SerdeContext
|
|
733
|
+
) => Promise<GetMarketplaceResourceCommandOutput>;
|
|
722
734
|
export declare const de_GetWorkflowCommand: (
|
|
723
735
|
output: __HttpResponse,
|
|
724
736
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-imagebuilder",
|
|
3
3
|
"description": "AWS SDK for JavaScript Imagebuilder Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.703.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-imagebuilder",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.699.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.699.0",
|
|
25
25
|
"@aws-sdk/core": "3.696.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.699.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.696.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.696.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.696.0",
|