1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class MarketplaceCatalog extends Service {
|
9 | |
10 |
|
11 |
|
12 | constructor(options?: MarketplaceCatalog.Types.ClientConfiguration)
|
13 | config: Config & MarketplaceCatalog.Types.ClientConfiguration;
|
14 | /**
|
15 | * Used to cancel an open change request. Must be sent before the status of the request changes to APPLYING, the final stage of completing your change request. You can describe a change during the 60-day request history retention period for API calls.
|
16 | */
|
17 | cancelChangeSet(params: MarketplaceCatalog.Types.CancelChangeSetRequest, callback?: (err: AWSError, data: MarketplaceCatalog.Types.CancelChangeSetResponse) => void): Request<MarketplaceCatalog.Types.CancelChangeSetResponse, AWSError>;
|
18 | /**
|
19 | * Used to cancel an open change request. Must be sent before the status of the request changes to APPLYING, the final stage of completing your change request. You can describe a change during the 60-day request history retention period for API calls.
|
20 | */
|
21 | cancelChangeSet(callback?: (err: AWSError, data: MarketplaceCatalog.Types.CancelChangeSetResponse) => void): Request<MarketplaceCatalog.Types.CancelChangeSetResponse, AWSError>;
|
22 | /**
|
23 | * Provides information about a given change set.
|
24 | */
|
25 | describeChangeSet(params: MarketplaceCatalog.Types.DescribeChangeSetRequest, callback?: (err: AWSError, data: MarketplaceCatalog.Types.DescribeChangeSetResponse) => void): Request<MarketplaceCatalog.Types.DescribeChangeSetResponse, AWSError>;
|
26 | /**
|
27 | * Provides information about a given change set.
|
28 | */
|
29 | describeChangeSet(callback?: (err: AWSError, data: MarketplaceCatalog.Types.DescribeChangeSetResponse) => void): Request<MarketplaceCatalog.Types.DescribeChangeSetResponse, AWSError>;
|
30 | /**
|
31 | * Returns the metadata and content of the entity.
|
32 | */
|
33 | describeEntity(params: MarketplaceCatalog.Types.DescribeEntityRequest, callback?: (err: AWSError, data: MarketplaceCatalog.Types.DescribeEntityResponse) => void): Request<MarketplaceCatalog.Types.DescribeEntityResponse, AWSError>;
|
34 | /**
|
35 | * Returns the metadata and content of the entity.
|
36 | */
|
37 | describeEntity(callback?: (err: AWSError, data: MarketplaceCatalog.Types.DescribeEntityResponse) => void): Request<MarketplaceCatalog.Types.DescribeEntityResponse, AWSError>;
|
38 | /**
|
39 | * Returns the list of change sets owned by the account being used to make the call. You can filter this list by providing any combination of entityId, ChangeSetName, and status. If you provide more than one filter, the API operation applies a logical AND between the filters. You can describe a change during the 60-day request history retention period for API calls.
|
40 | */
|
41 | listChangeSets(params: MarketplaceCatalog.Types.ListChangeSetsRequest, callback?: (err: AWSError, data: MarketplaceCatalog.Types.ListChangeSetsResponse) => void): Request<MarketplaceCatalog.Types.ListChangeSetsResponse, AWSError>;
|
42 | /**
|
43 | * Returns the list of change sets owned by the account being used to make the call. You can filter this list by providing any combination of entityId, ChangeSetName, and status. If you provide more than one filter, the API operation applies a logical AND between the filters. You can describe a change during the 60-day request history retention period for API calls.
|
44 | */
|
45 | listChangeSets(callback?: (err: AWSError, data: MarketplaceCatalog.Types.ListChangeSetsResponse) => void): Request<MarketplaceCatalog.Types.ListChangeSetsResponse, AWSError>;
|
46 | /**
|
47 | * Provides the list of entities of a given type.
|
48 | */
|
49 | listEntities(params: MarketplaceCatalog.Types.ListEntitiesRequest, callback?: (err: AWSError, data: MarketplaceCatalog.Types.ListEntitiesResponse) => void): Request<MarketplaceCatalog.Types.ListEntitiesResponse, AWSError>;
|
50 | /**
|
51 | * Provides the list of entities of a given type.
|
52 | */
|
53 | listEntities(callback?: (err: AWSError, data: MarketplaceCatalog.Types.ListEntitiesResponse) => void): Request<MarketplaceCatalog.Types.ListEntitiesResponse, AWSError>;
|
54 | /**
|
55 | * This operation allows you to request changes in your entities.
|
56 | */
|
57 | startChangeSet(params: MarketplaceCatalog.Types.StartChangeSetRequest, callback?: (err: AWSError, data: MarketplaceCatalog.Types.StartChangeSetResponse) => void): Request<MarketplaceCatalog.Types.StartChangeSetResponse, AWSError>;
|
58 | /**
|
59 | * This operation allows you to request changes in your entities.
|
60 | */
|
61 | startChangeSet(callback?: (err: AWSError, data: MarketplaceCatalog.Types.StartChangeSetResponse) => void): Request<MarketplaceCatalog.Types.StartChangeSetResponse, AWSError>;
|
62 | }
|
63 | declare namespace MarketplaceCatalog {
|
64 | export type ARN = string;
|
65 | export interface CancelChangeSetRequest {
|
66 | |
67 |
|
68 |
|
69 | Catalog: Catalog;
|
70 | |
71 |
|
72 |
|
73 | ChangeSetId: ResourceId;
|
74 | }
|
75 | export interface CancelChangeSetResponse {
|
76 | |
77 |
|
78 |
|
79 | ChangeSetId?: ResourceId;
|
80 | |
81 |
|
82 |
|
83 | ChangeSetArn?: ARN;
|
84 | }
|
85 | export type Catalog = string;
|
86 | export interface Change {
|
87 | |
88 |
|
89 |
|
90 | ChangeType: ChangeType;
|
91 | |
92 |
|
93 |
|
94 | Entity: Entity;
|
95 | |
96 |
|
97 |
|
98 | Details: Json;
|
99 | }
|
100 | export type ChangeSetDescription = ChangeSummary[];
|
101 | export type ChangeSetName = string;
|
102 | export type ChangeSetSummaryList = ChangeSetSummaryListItem[];
|
103 | export interface ChangeSetSummaryListItem {
|
104 | |
105 |
|
106 |
|
107 | ChangeSetId?: ResourceId;
|
108 | |
109 |
|
110 |
|
111 | ChangeSetArn?: ARN;
|
112 | |
113 |
|
114 |
|
115 | ChangeSetName?: ChangeSetName;
|
116 | |
117 |
|
118 |
|
119 | StartTime?: DateTimeISO8601;
|
120 | |
121 |
|
122 |
|
123 | EndTime?: DateTimeISO8601;
|
124 | |
125 |
|
126 |
|
127 | Status?: ChangeStatus;
|
128 | |
129 |
|
130 |
|
131 | EntityIdList?: ResourceIdList;
|
132 | }
|
133 | export type ChangeStatus = "PREPARING"|"APPLYING"|"SUCCEEDED"|"CANCELLED"|"FAILED"|string;
|
134 | export interface ChangeSummary {
|
135 | |
136 |
|
137 |
|
138 | ChangeType?: ChangeType;
|
139 | |
140 |
|
141 |
|
142 | Entity?: Entity;
|
143 | |
144 |
|
145 |
|
146 | ErrorDetailList?: ErrorDetailList;
|
147 | }
|
148 | export type ChangeType = string;
|
149 | export type ClientRequestToken = string;
|
150 | export type DateTimeISO8601 = string;
|
151 | export interface DescribeChangeSetRequest {
|
152 | |
153 |
|
154 |
|
155 | Catalog: Catalog;
|
156 | |
157 |
|
158 |
|
159 | ChangeSetId: ResourceId;
|
160 | }
|
161 | export interface DescribeChangeSetResponse {
|
162 | |
163 |
|
164 |
|
165 | ChangeSetId?: ResourceId;
|
166 | |
167 |
|
168 |
|
169 | ChangeSetArn?: ARN;
|
170 | |
171 |
|
172 |
|
173 | ChangeSetName?: ChangeSetName;
|
174 | |
175 |
|
176 |
|
177 | StartTime?: DateTimeISO8601;
|
178 | |
179 |
|
180 |
|
181 | EndTime?: DateTimeISO8601;
|
182 | |
183 |
|
184 |
|
185 | Status?: ChangeStatus;
|
186 | |
187 |
|
188 |
|
189 | FailureDescription?: StringValue;
|
190 | |
191 |
|
192 |
|
193 | ChangeSet?: ChangeSetDescription;
|
194 | }
|
195 | export interface DescribeEntityRequest {
|
196 | |
197 |
|
198 |
|
199 | Catalog: Catalog;
|
200 | |
201 |
|
202 |
|
203 | EntityId: ResourceId;
|
204 | }
|
205 | export interface DescribeEntityResponse {
|
206 | |
207 |
|
208 |
|
209 | EntityType?: EntityType;
|
210 | |
211 |
|
212 |
|
213 | EntityIdentifier?: Identifier;
|
214 | |
215 |
|
216 |
|
217 | EntityArn?: ARN;
|
218 | |
219 |
|
220 |
|
221 | LastModifiedDate?: StringValue;
|
222 | |
223 |
|
224 |
|
225 | Details?: Json;
|
226 | }
|
227 | export interface Entity {
|
228 | |
229 |
|
230 |
|
231 | Type: EntityType;
|
232 | |
233 |
|
234 |
|
235 | Identifier?: Identifier;
|
236 | }
|
237 | export interface EntitySummary {
|
238 | |
239 |
|
240 |
|
241 | Name?: StringValue;
|
242 | |
243 |
|
244 |
|
245 | EntityType?: EntityType;
|
246 | |
247 |
|
248 |
|
249 | EntityId?: ResourceId;
|
250 | |
251 |
|
252 |
|
253 | EntityArn?: ARN;
|
254 | |
255 |
|
256 |
|
257 | LastModifiedDate?: StringValue;
|
258 | |
259 |
|
260 |
|
261 | Visibility?: StringValue;
|
262 | }
|
263 | export type EntitySummaryList = EntitySummary[];
|
264 | export type EntityType = string;
|
265 | export interface ErrorDetail {
|
266 | |
267 |
|
268 |
|
269 | ErrorCode?: StringValue;
|
270 | |
271 |
|
272 |
|
273 | ErrorMessage?: StringValue;
|
274 | }
|
275 | export type ErrorDetailList = ErrorDetail[];
|
276 | export interface Filter {
|
277 | |
278 |
|
279 |
|
280 | Name?: FilterName;
|
281 | |
282 |
|
283 |
|
284 | ValueList?: ValueList;
|
285 | }
|
286 | export type FilterList = Filter[];
|
287 | export type FilterName = string;
|
288 | export type Identifier = string;
|
289 | export type Json = string;
|
290 | export interface ListChangeSetsRequest {
|
291 | |
292 |
|
293 |
|
294 | Catalog: Catalog;
|
295 | |
296 |
|
297 |
|
298 | FilterList?: FilterList;
|
299 | |
300 |
|
301 |
|
302 | Sort?: Sort;
|
303 | |
304 |
|
305 |
|
306 | MaxResults?: MaxResultInteger;
|
307 | |
308 |
|
309 |
|
310 | NextToken?: NextToken;
|
311 | }
|
312 | export interface ListChangeSetsResponse {
|
313 | |
314 |
|
315 |
|
316 | ChangeSetSummaryList?: ChangeSetSummaryList;
|
317 | |
318 |
|
319 |
|
320 | NextToken?: NextToken;
|
321 | }
|
322 | export interface ListEntitiesRequest {
|
323 | |
324 |
|
325 |
|
326 | Catalog: Catalog;
|
327 | |
328 |
|
329 |
|
330 | EntityType: EntityType;
|
331 | |
332 |
|
333 |
|
334 | FilterList?: FilterList;
|
335 | |
336 |
|
337 |
|
338 | Sort?: Sort;
|
339 | |
340 |
|
341 |
|
342 | NextToken?: NextToken;
|
343 | |
344 |
|
345 |
|
346 | MaxResults?: MaxResultInteger;
|
347 | }
|
348 | export interface ListEntitiesResponse {
|
349 | |
350 |
|
351 |
|
352 | EntitySummaryList?: EntitySummaryList;
|
353 | |
354 |
|
355 |
|
356 | NextToken?: NextToken;
|
357 | }
|
358 | export type MaxResultInteger = number;
|
359 | export type NextToken = string;
|
360 | export type RequestedChangeList = Change[];
|
361 | export type ResourceId = string;
|
362 | export type ResourceIdList = ResourceId[];
|
363 | export interface Sort {
|
364 | |
365 |
|
366 |
|
367 | SortBy?: SortBy;
|
368 | |
369 |
|
370 |
|
371 | SortOrder?: SortOrder;
|
372 | }
|
373 | export type SortBy = string;
|
374 | export type SortOrder = "ASCENDING"|"DESCENDING"|string;
|
375 | export interface StartChangeSetRequest {
|
376 | |
377 |
|
378 |
|
379 | Catalog: Catalog;
|
380 | |
381 |
|
382 |
|
383 | ChangeSet: RequestedChangeList;
|
384 | |
385 |
|
386 |
|
387 | ChangeSetName?: ChangeSetName;
|
388 | |
389 |
|
390 |
|
391 | ClientRequestToken?: ClientRequestToken;
|
392 | }
|
393 | export interface StartChangeSetResponse {
|
394 | |
395 |
|
396 |
|
397 | ChangeSetId?: ResourceId;
|
398 | |
399 |
|
400 |
|
401 | ChangeSetArn?: ARN;
|
402 | }
|
403 | export type StringValue = string;
|
404 | export type ValueList = StringValue[];
|
405 | |
406 |
|
407 |
|
408 | export type apiVersion = "2018-09-17"|"latest"|string;
|
409 | export interface ClientApiVersions {
|
410 | |
411 |
|
412 |
|
413 | apiVersion?: apiVersion;
|
414 | }
|
415 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
416 | |
417 |
|
418 |
|
419 | export import Types = MarketplaceCatalog;
|
420 | }
|
421 | export = MarketplaceCatalog;
|