@aws-sdk/client-marketplace-deployment 3.1171.0 → 3.1173.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 +29 -4
- package/dist-cjs/index.js +188 -31
- package/dist-es/MarketplaceDeployment.js +13 -1
- package/dist-es/commands/GetDeploymentConfigurationCommand.js +4 -0
- package/dist-es/commands/GetDeploymentConfigurationJobCommand.js +4 -0
- package/dist-es/commands/ListDeploymentConfigurationJobsCommand.js +4 -0
- package/dist-es/commands/StartDeploymentConfigurationJobCommand.js +4 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/index.js +2 -0
- package/dist-es/models/enums.js +13 -0
- package/dist-es/models/errors.js +28 -28
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListDeploymentConfigurationJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +99 -0
- package/dist-types/MarketplaceDeployment.d.ts +37 -5
- package/dist-types/MarketplaceDeploymentClient.d.ts +7 -6
- package/dist-types/commands/GetDeploymentConfigurationCommand.d.ts +143 -0
- package/dist-types/commands/GetDeploymentConfigurationJobCommand.d.ts +203 -0
- package/dist-types/commands/ListDeploymentConfigurationJobsCommand.d.ts +171 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StartDeploymentConfigurationJobCommand.d.ts +177 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +3 -4
- package/dist-types/models/enums.d.ts +58 -0
- package/dist-types/models/errors.d.ts +31 -31
- package/dist-types/models/models_0.d.ts +281 -15
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListDeploymentConfigurationJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +16 -1
- package/dist-types/ts3.4/MarketplaceDeployment.d.ts +77 -0
- package/dist-types/ts3.4/MarketplaceDeploymentClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/GetDeploymentConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetDeploymentConfigurationJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListDeploymentConfigurationJobsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartDeploymentConfigurationJobCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +18 -0
- package/dist-types/ts3.4/models/errors.d.ts +13 -13
- package/dist-types/ts3.4/models/models_0.d.ts +80 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListDeploymentConfigurationJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -1
- package/package.json +1 -1
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListDeploymentConfigurationJobsRequest, ListDeploymentConfigurationJobsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListDeploymentConfigurationJobsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListDeploymentConfigurationJobsCommandInput extends ListDeploymentConfigurationJobsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListDeploymentConfigurationJobsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListDeploymentConfigurationJobsCommandOutput extends ListDeploymentConfigurationJobsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListDeploymentConfigurationJobsCommand_base: {
|
|
22
|
+
new (input: ListDeploymentConfigurationJobsCommandInput): import("@smithy/core/client").CommandImpl<ListDeploymentConfigurationJobsCommandInput, ListDeploymentConfigurationJobsCommandOutput, import("..").MarketplaceDeploymentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListDeploymentConfigurationJobsCommandInput): import("@smithy/core/client").CommandImpl<ListDeploymentConfigurationJobsCommandInput, ListDeploymentConfigurationJobsCommandOutput, import("..").MarketplaceDeploymentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists the deployment configuration jobs that you started for a product and delivery option, ordered from newest to oldest. Results are paginated. Use the <code>nextToken</code> parameter to retrieve additional results.</p> <p>If you haven't started any jobs for the product and delivery option, the operation returns an empty <code>jobs</code> list.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { MarketplaceDeploymentClient, ListDeploymentConfigurationJobsCommand } from "@aws-sdk/client-marketplace-deployment"; // ES Modules import
|
|
32
|
+
* // const { MarketplaceDeploymentClient, ListDeploymentConfigurationJobsCommand } = require("@aws-sdk/client-marketplace-deployment"); // CommonJS import
|
|
33
|
+
* // import type { MarketplaceDeploymentClientConfig } from "@aws-sdk/client-marketplace-deployment";
|
|
34
|
+
* const config = {}; // type is MarketplaceDeploymentClientConfig
|
|
35
|
+
* const client = new MarketplaceDeploymentClient(config);
|
|
36
|
+
* const input = { // ListDeploymentConfigurationJobsRequest
|
|
37
|
+
* catalog: "STRING_VALUE", // required
|
|
38
|
+
* productId: "STRING_VALUE", // required
|
|
39
|
+
* deliveryOptionType: "data-as-a-service", // required
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListDeploymentConfigurationJobsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListDeploymentConfigurationJobsResponse
|
|
46
|
+
* // jobs: [ // DeploymentConfigurationJobSummaries // required
|
|
47
|
+
* // { // DeploymentConfigurationJobSummary
|
|
48
|
+
* // jobId: "STRING_VALUE", // required
|
|
49
|
+
* // status: "IN_PROGRESS" || "SUCCEEDED" || "FAILED", // required
|
|
50
|
+
* // configuration: { // DeploymentConfigurationDetail Union: only one key present
|
|
51
|
+
* // dataAsAService: { // DataAsAServiceConfigurationDetail
|
|
52
|
+
* // fulfillmentUrl: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // },
|
|
55
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // nextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param ListDeploymentConfigurationJobsCommandInput - {@link ListDeploymentConfigurationJobsCommandInput}
|
|
64
|
+
* @returns {@link ListDeploymentConfigurationJobsCommandOutput}
|
|
65
|
+
* @see {@link ListDeploymentConfigurationJobsCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link ListDeploymentConfigurationJobsCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link MarketplaceDeploymentClientResolvedConfig | config} for MarketplaceDeploymentClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>There was an internal service exception.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>Too many requests.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>An error occurred during validation.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link MarketplaceDeploymentServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from MarketplaceDeployment service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @example List jobs, newest first
|
|
86
|
+
* ```javascript
|
|
87
|
+
* // Returns the caller's jobs ordered by newest createdAt first, with an optional nextToken when more pages exist.
|
|
88
|
+
* const input = {
|
|
89
|
+
* catalog: "AWSMarketplace",
|
|
90
|
+
* deliveryOptionType: "data-as-a-service",
|
|
91
|
+
* maxResults: 20,
|
|
92
|
+
* productId: "product-1234"
|
|
93
|
+
* };
|
|
94
|
+
* const command = new ListDeploymentConfigurationJobsCommand(input);
|
|
95
|
+
* const response = await client.send(command);
|
|
96
|
+
* /* response is
|
|
97
|
+
* {
|
|
98
|
+
* jobs: [
|
|
99
|
+
* {
|
|
100
|
+
* configuration: {
|
|
101
|
+
* dataAsAService: {
|
|
102
|
+
* fulfillmentUrl: "https://example.com/daas/register"
|
|
103
|
+
* }
|
|
104
|
+
* },
|
|
105
|
+
* createdAt: "2026-09-18T09:10:00.000Z",
|
|
106
|
+
* jobId: "9f8e7d6c5b4a3f2e1d0c9b8a7f6e5d4c",
|
|
107
|
+
* status: "FAILED"
|
|
108
|
+
* },
|
|
109
|
+
* {
|
|
110
|
+
* configuration: {
|
|
111
|
+
* dataAsAService: {
|
|
112
|
+
* fulfillmentUrl: "https://example.com/daas/register"
|
|
113
|
+
* }
|
|
114
|
+
* },
|
|
115
|
+
* createdAt: "2026-09-18T08:52:46.397Z",
|
|
116
|
+
* jobId: "1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d",
|
|
117
|
+
* status: "SUCCEEDED"
|
|
118
|
+
* }
|
|
119
|
+
* ],
|
|
120
|
+
* nextToken: "b3BhcXVlLXBhZ2luYXRpb24tY3Vyc29y"
|
|
121
|
+
* }
|
|
122
|
+
* *\/
|
|
123
|
+
* ```
|
|
124
|
+
*
|
|
125
|
+
* @example List jobs returns an empty list when an authorized seller has no jobs
|
|
126
|
+
* ```javascript
|
|
127
|
+
* // When the caller is authorized for the product and has not started any jobs, the result is an empty jobs list with no nextToken.
|
|
128
|
+
* const input = {
|
|
129
|
+
* catalog: "AWSMarketplace",
|
|
130
|
+
* deliveryOptionType: "data-as-a-service",
|
|
131
|
+
* productId: "product-1234"
|
|
132
|
+
* };
|
|
133
|
+
* const command = new ListDeploymentConfigurationJobsCommand(input);
|
|
134
|
+
* const response = await client.send(command);
|
|
135
|
+
* /* response is
|
|
136
|
+
* {
|
|
137
|
+
* jobs: []
|
|
138
|
+
* }
|
|
139
|
+
* *\/
|
|
140
|
+
* ```
|
|
141
|
+
*
|
|
142
|
+
* @example List jobs fails for a caller not authorized for the product
|
|
143
|
+
* ```javascript
|
|
144
|
+
* // If the caller isn't authorized for the product, the operation returns an AccessDeniedException.
|
|
145
|
+
* const input = {
|
|
146
|
+
* catalog: "AWSMarketplace",
|
|
147
|
+
* deliveryOptionType: "data-as-a-service",
|
|
148
|
+
* productId: "product-1234"
|
|
149
|
+
* };
|
|
150
|
+
* const command = new ListDeploymentConfigurationJobsCommand(input);
|
|
151
|
+
* const response = await client.send(command);
|
|
152
|
+
* /* response is
|
|
153
|
+
* { /* metadata only *\/ }
|
|
154
|
+
* *\/
|
|
155
|
+
* ```
|
|
156
|
+
*
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
export declare class ListDeploymentConfigurationJobsCommand extends ListDeploymentConfigurationJobsCommand_base {
|
|
160
|
+
/** @internal type navigation helper, not in runtime. */
|
|
161
|
+
protected static __types: {
|
|
162
|
+
api: {
|
|
163
|
+
input: ListDeploymentConfigurationJobsRequest;
|
|
164
|
+
output: ListDeploymentConfigurationJobsResponse;
|
|
165
|
+
};
|
|
166
|
+
sdk: {
|
|
167
|
+
input: ListDeploymentConfigurationJobsCommandInput;
|
|
168
|
+
output: ListDeploymentConfigurationJobsCommandOutput;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
}
|
|
@@ -24,7 +24,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Lists all tags that have been added to a
|
|
27
|
+
* <p>Lists all tags that have been added to a resource.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { StartDeploymentConfigurationJobRequest, StartDeploymentConfigurationJobResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link StartDeploymentConfigurationJobCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface StartDeploymentConfigurationJobCommandInput extends StartDeploymentConfigurationJobRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link StartDeploymentConfigurationJobCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface StartDeploymentConfigurationJobCommandOutput extends StartDeploymentConfigurationJobResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const StartDeploymentConfigurationJobCommand_base: {
|
|
22
|
+
new (input: StartDeploymentConfigurationJobCommandInput): import("@smithy/core/client").CommandImpl<StartDeploymentConfigurationJobCommandInput, StartDeploymentConfigurationJobCommandOutput, import("..").MarketplaceDeploymentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: StartDeploymentConfigurationJobCommandInput): import("@smithy/core/client").CommandImpl<StartDeploymentConfigurationJobCommandInput, StartDeploymentConfigurationJobCommandOutput, import("..").MarketplaceDeploymentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Starts a job that publishes a deployment configuration for a product and delivery option. The job runs asynchronously. Use <code>GetDeploymentConfigurationJob</code> to track its status. When the job reaches the <code>SUCCEEDED</code> status, its configuration becomes the active deployment configuration for the product and delivery option.</p> <p>The populated member of <code>configuration</code> must match the <code>deliveryOptionType</code> in the request path.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { MarketplaceDeploymentClient, StartDeploymentConfigurationJobCommand } from "@aws-sdk/client-marketplace-deployment"; // ES Modules import
|
|
32
|
+
* // const { MarketplaceDeploymentClient, StartDeploymentConfigurationJobCommand } = require("@aws-sdk/client-marketplace-deployment"); // CommonJS import
|
|
33
|
+
* // import type { MarketplaceDeploymentClientConfig } from "@aws-sdk/client-marketplace-deployment";
|
|
34
|
+
* const config = {}; // type is MarketplaceDeploymentClientConfig
|
|
35
|
+
* const client = new MarketplaceDeploymentClient(config);
|
|
36
|
+
* const input = { // StartDeploymentConfigurationJobRequest
|
|
37
|
+
* catalog: "STRING_VALUE", // required
|
|
38
|
+
* productId: "STRING_VALUE", // required
|
|
39
|
+
* deliveryOptionType: "data-as-a-service", // required
|
|
40
|
+
* configuration: { // DeploymentConfigurationDetail Union: only one key present
|
|
41
|
+
* dataAsAService: { // DataAsAServiceConfigurationDetail
|
|
42
|
+
* fulfillmentUrl: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* tags: { // TagsMap
|
|
46
|
+
* "<keys>": "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* clientToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new StartDeploymentConfigurationJobCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // StartDeploymentConfigurationJobResponse
|
|
53
|
+
* // jobId: "STRING_VALUE", // required
|
|
54
|
+
* // configuration: { // DeploymentConfigurationDetail Union: only one key present
|
|
55
|
+
* // dataAsAService: { // DataAsAServiceConfigurationDetail
|
|
56
|
+
* // fulfillmentUrl: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // status: "IN_PROGRESS" || "SUCCEEDED" || "FAILED", // required
|
|
60
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param StartDeploymentConfigurationJobCommandInput - {@link StartDeploymentConfigurationJobCommandInput}
|
|
66
|
+
* @returns {@link StartDeploymentConfigurationJobCommandOutput}
|
|
67
|
+
* @see {@link StartDeploymentConfigurationJobCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link StartDeploymentConfigurationJobCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link MarketplaceDeploymentClientResolvedConfig | config} for MarketplaceDeploymentClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ConflictException} (client fault)
|
|
75
|
+
* <p>The request configuration has conflicts. For details, see the accompanying error message.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <p>There was an internal service exception.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>The specified resource wasn't found.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <p>Too many requests.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* <p>An error occurred during validation.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link MarketplaceDeploymentServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from MarketplaceDeployment service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @example Start a Data-as-a-Service deployment configuration job
|
|
94
|
+
* ```javascript
|
|
95
|
+
* // Starts a job that publishes a Data-as-a-Service deployment configuration. The job starts in the IN_PROGRESS status. Call GetDeploymentConfigurationJob to check when it reaches SUCCEEDED or FAILED.
|
|
96
|
+
* const input = {
|
|
97
|
+
* catalog: "AWSMarketplace",
|
|
98
|
+
* clientToken: "some-unique-uuid-between-32-and-64-characters",
|
|
99
|
+
* configuration: {
|
|
100
|
+
* dataAsAService: {
|
|
101
|
+
* fulfillmentUrl: "https://example.com/daas/register"
|
|
102
|
+
* }
|
|
103
|
+
* },
|
|
104
|
+
* deliveryOptionType: "data-as-a-service",
|
|
105
|
+
* productId: "product-1234"
|
|
106
|
+
* };
|
|
107
|
+
* const command = new StartDeploymentConfigurationJobCommand(input);
|
|
108
|
+
* const response = await client.send(command);
|
|
109
|
+
* /* response is
|
|
110
|
+
* {
|
|
111
|
+
* configuration: {
|
|
112
|
+
* dataAsAService: {
|
|
113
|
+
* fulfillmentUrl: "https://example.com/daas/register"
|
|
114
|
+
* }
|
|
115
|
+
* },
|
|
116
|
+
* createdAt: "2026-09-18T08:52:46.397Z",
|
|
117
|
+
* jobId: "1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d",
|
|
118
|
+
* status: "IN_PROGRESS"
|
|
119
|
+
* }
|
|
120
|
+
* *\/
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* @example Start fails when the product or catalog doesn't exist
|
|
124
|
+
* ```javascript
|
|
125
|
+
* // If the product or catalog doesn't exist, the operation returns a ResourceNotFoundException.
|
|
126
|
+
* const input = {
|
|
127
|
+
* catalog: "AWSMarketplace",
|
|
128
|
+
* configuration: {
|
|
129
|
+
* dataAsAService: {
|
|
130
|
+
* fulfillmentUrl: "https://example.com/daas/register"
|
|
131
|
+
* }
|
|
132
|
+
* },
|
|
133
|
+
* deliveryOptionType: "data-as-a-service",
|
|
134
|
+
* productId: "product-does-not-exist"
|
|
135
|
+
* };
|
|
136
|
+
* const command = new StartDeploymentConfigurationJobCommand(input);
|
|
137
|
+
* const response = await client.send(command);
|
|
138
|
+
* /* response is
|
|
139
|
+
* { /* metadata only *\/ }
|
|
140
|
+
* *\/
|
|
141
|
+
* ```
|
|
142
|
+
*
|
|
143
|
+
* @example Start fails when the caller is not the product seller
|
|
144
|
+
* ```javascript
|
|
145
|
+
* // If the caller isn't the seller of the product, the operation returns an AccessDeniedException.
|
|
146
|
+
* const input = {
|
|
147
|
+
* catalog: "AWSMarketplace",
|
|
148
|
+
* configuration: {
|
|
149
|
+
* dataAsAService: {
|
|
150
|
+
* fulfillmentUrl: "https://example.com/daas/register"
|
|
151
|
+
* }
|
|
152
|
+
* },
|
|
153
|
+
* deliveryOptionType: "data-as-a-service",
|
|
154
|
+
* productId: "product-1234"
|
|
155
|
+
* };
|
|
156
|
+
* const command = new StartDeploymentConfigurationJobCommand(input);
|
|
157
|
+
* const response = await client.send(command);
|
|
158
|
+
* /* response is
|
|
159
|
+
* { /* metadata only *\/ }
|
|
160
|
+
* *\/
|
|
161
|
+
* ```
|
|
162
|
+
*
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
export declare class StartDeploymentConfigurationJobCommand extends StartDeploymentConfigurationJobCommand_base {
|
|
166
|
+
/** @internal type navigation helper, not in runtime. */
|
|
167
|
+
protected static __types: {
|
|
168
|
+
api: {
|
|
169
|
+
input: StartDeploymentConfigurationJobRequest;
|
|
170
|
+
output: StartDeploymentConfigurationJobResponse;
|
|
171
|
+
};
|
|
172
|
+
sdk: {
|
|
173
|
+
input: StartDeploymentConfigurationJobCommandInput;
|
|
174
|
+
output: StartDeploymentConfigurationJobCommandOutput;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
export * from "./GetDeploymentConfigurationCommand";
|
|
2
|
+
export * from "./GetDeploymentConfigurationJobCommand";
|
|
3
|
+
export * from "./ListDeploymentConfigurationJobsCommand";
|
|
1
4
|
export * from "./ListTagsForResourceCommand";
|
|
2
5
|
export * from "./PutDeploymentParameterCommand";
|
|
6
|
+
export * from "./StartDeploymentConfigurationJobCommand";
|
|
3
7
|
export * from "./TagResourceCommand";
|
|
4
8
|
export * from "./UntagResourceCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products.
|
|
3
|
-
* Quick Launch simplifies and reduces the time, resources, and steps required to configure, deploy, and launch a products.
|
|
4
|
-
* The AWS Marketplace Deployment Service provides sellers with a secure method for passing deployment parameters, such as
|
|
5
|
-
* API keys and external IDs, to buyers during the Quick Launch experience.</p>
|
|
2
|
+
* <p>The AWS Marketplace Deployment Service supports the Quick Launch experience, which is a deployment option for software as a service (SaaS) products. Quick Launch simplifies and reduces the time, resources, and steps required to configure, deploy, and launch a product. The AWS Marketplace Deployment Service provides sellers with a secure method for passing deployment parameters, such as API keys and external IDs, to buyers during the Quick Launch experience.</p> <p>You can also use the AWS Marketplace Deployment Service to publish deployment configurations. A deployment configuration defines how buyers access a product's delivery option after they subscribe. For example, for the Data as a Service delivery option, it specifies the seller's fulfillment URL.</p>
|
|
6
3
|
*
|
|
7
4
|
* @packageDocumentation
|
|
8
5
|
*/
|
|
@@ -13,7 +10,9 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
13
10
|
export type { MarketplaceDeploymentExtensionConfiguration } from "./extensionConfiguration";
|
|
14
11
|
export * from "./commands";
|
|
15
12
|
export { Command as $Command } from "@smithy/core/client";
|
|
13
|
+
export * from "./pagination";
|
|
16
14
|
export * from "./schemas/schemas_0";
|
|
15
|
+
export * from "./models/enums";
|
|
17
16
|
export * from "./models/errors";
|
|
18
17
|
export * from "./models/models_0";
|
|
19
18
|
export { MarketplaceDeploymentServiceException } from "./models/MarketplaceDeploymentServiceException";
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const DeliveryOptionType: {
|
|
6
|
+
/**
|
|
7
|
+
* <p>The Data as a Service delivery option.</p>
|
|
8
|
+
*/
|
|
9
|
+
readonly DATA_AS_A_SERVICE: "data-as-a-service";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type DeliveryOptionType = (typeof DeliveryOptionType)[keyof typeof DeliveryOptionType];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const DeploymentConfigurationJobErrorCode: {
|
|
20
|
+
/**
|
|
21
|
+
* <p>The fulfillment URL isn't a valid absolute HTTPS URL, or it points to a network location that AWS Marketplace doesn't allow, such as a private or loopback address. Correct the fulfillment URL, and then start a new job. A new job with the same URL fails again.</p>
|
|
22
|
+
*/
|
|
23
|
+
readonly ENDPOINT_INVALID: "ENDPOINT_INVALID";
|
|
24
|
+
/**
|
|
25
|
+
* <p>AWS Marketplace couldn't reach the fulfillment URL when it validated the deployment configuration. The URL returned no HTTP response, for example because of a Domain Name System (DNS) failure, a refused connection, an untrusted or mismatched Transport Layer Security (TLS) certificate, or a timeout. Verify that the fulfillment URL is publicly reachable over HTTPS and responding, and then start a new job.</p>
|
|
26
|
+
*/
|
|
27
|
+
readonly FULFILLMENT_URL_UNREACHABLE: "FULFILLMENT_URL_UNREACHABLE";
|
|
28
|
+
/**
|
|
29
|
+
* <p>An internal error occurred. Start a new job.</p>
|
|
30
|
+
*/
|
|
31
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export type DeploymentConfigurationJobErrorCode = (typeof DeploymentConfigurationJobErrorCode)[keyof typeof DeploymentConfigurationJobErrorCode];
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
* @enum
|
|
40
|
+
*/
|
|
41
|
+
export declare const DeploymentConfigurationJobStatus: {
|
|
42
|
+
/**
|
|
43
|
+
* <p>The job failed. The active deployment configuration didn't change. For details, see <code>errorCode</code> and <code>message</code>.</p>
|
|
44
|
+
*/
|
|
45
|
+
readonly FAILED: "FAILED";
|
|
46
|
+
/**
|
|
47
|
+
* <p>The job is running.</p>
|
|
48
|
+
*/
|
|
49
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
50
|
+
/**
|
|
51
|
+
* <p>The job finished, and its configuration is now the active deployment configuration.</p>
|
|
52
|
+
*/
|
|
53
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export type DeploymentConfigurationJobStatus = (typeof DeploymentConfigurationJobStatus)[keyof typeof DeploymentConfigurationJobStatus];
|
|
@@ -13,24 +13,6 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
13
13
|
*/
|
|
14
14
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
15
15
|
}
|
|
16
|
-
/**
|
|
17
|
-
* <p>The request configuration has conflicts. For details, see the accompanying error message.</p>
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
export declare class ConflictException extends __BaseException {
|
|
21
|
-
static readonly shapeId: string;
|
|
22
|
-
readonly name: "ConflictException";
|
|
23
|
-
readonly $fault: "client";
|
|
24
|
-
/**
|
|
25
|
-
* <p>The unique identifier for the resource associated with the error.</p>
|
|
26
|
-
* @public
|
|
27
|
-
*/
|
|
28
|
-
resourceId: string | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
32
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
33
|
-
}
|
|
34
16
|
/**
|
|
35
17
|
* <p>There was an internal service exception.</p>
|
|
36
18
|
* @public
|
|
@@ -58,19 +40,6 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
58
40
|
*/
|
|
59
41
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
60
42
|
}
|
|
61
|
-
/**
|
|
62
|
-
* <p>The maximum number of requests per account has been exceeded.</p>
|
|
63
|
-
* @public
|
|
64
|
-
*/
|
|
65
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
66
|
-
static readonly shapeId: string;
|
|
67
|
-
readonly name: "ServiceQuotaExceededException";
|
|
68
|
-
readonly $fault: "client";
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
73
|
-
}
|
|
74
43
|
/**
|
|
75
44
|
* <p>Too many requests.</p>
|
|
76
45
|
* @public
|
|
@@ -105,3 +74,34 @@ export declare class ValidationException extends __BaseException {
|
|
|
105
74
|
*/
|
|
106
75
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
107
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* <p>The request configuration has conflicts. For details, see the accompanying error message.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class ConflictException extends __BaseException {
|
|
82
|
+
static readonly shapeId: string;
|
|
83
|
+
readonly name: "ConflictException";
|
|
84
|
+
readonly $fault: "client";
|
|
85
|
+
/**
|
|
86
|
+
* <p>The unique identifier for the resource associated with the error.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
resourceId: string | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* <p>The maximum number of requests per account has been exceeded.</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
100
|
+
static readonly shapeId: string;
|
|
101
|
+
readonly name: "ServiceQuotaExceededException";
|
|
102
|
+
readonly $fault: "client";
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
107
|
+
}
|