@aws-sdk/client-service-catalog-appregistry 3.934.0 → 3.936.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/dist-cjs/index.js CHANGED
@@ -117,11 +117,6 @@ let ServiceCatalogAppRegistryServiceException$1 = class ServiceCatalogAppRegistr
117
117
  }
118
118
  };
119
119
 
120
- const ApplicationTagStatus = {
121
- FAILURE: "FAILURE",
122
- IN_PROGRESS: "IN_PROGRESS",
123
- SUCCESS: "SUCCESS",
124
- };
125
120
  let ConflictException$1 = class ConflictException extends ServiceCatalogAppRegistryServiceException$1 {
126
121
  name = "ConflictException";
127
122
  $fault = "client";
@@ -182,14 +177,6 @@ let ValidationException$1 = class ValidationException extends ServiceCatalogAppR
182
177
  Object.setPrototypeOf(this, ValidationException.prototype);
183
178
  }
184
179
  };
185
- const AssociationOption = {
186
- APPLY_APPLICATION_TAG: "APPLY_APPLICATION_TAG",
187
- SKIP_APPLICATION_TAG: "SKIP_APPLICATION_TAG",
188
- };
189
- const ResourceType = {
190
- CFN_STACK: "CFN_STACK",
191
- RESOURCE_TAG_VALUE: "RESOURCE_TAG_VALUE",
192
- };
193
180
  let ThrottlingException$1 = class ThrottlingException extends ServiceCatalogAppRegistryServiceException$1 {
194
181
  name = "ThrottlingException";
195
182
  $fault = "client";
@@ -204,24 +191,6 @@ let ThrottlingException$1 = class ThrottlingException extends ServiceCatalogAppR
204
191
  this.serviceCode = opts.serviceCode;
205
192
  }
206
193
  };
207
- const ResourceGroupState = {
208
- CREATE_COMPLETE: "CREATE_COMPLETE",
209
- CREATE_FAILED: "CREATE_FAILED",
210
- CREATING: "CREATING",
211
- UPDATE_COMPLETE: "UPDATE_COMPLETE",
212
- UPDATE_FAILED: "UPDATE_FAILED",
213
- UPDATING: "UPDATING",
214
- };
215
- const ResourceItemStatus = {
216
- FAILED: "FAILED",
217
- IN_PROGRESS: "IN_PROGRESS",
218
- SKIPPED: "SKIPPED",
219
- SUCCESS: "SUCCESS",
220
- };
221
- const SyncAction = {
222
- NO_ACTION: "NO_ACTION",
223
- START_SYNC: "START_SYNC",
224
- };
225
194
 
226
195
  const _A = "Application";
227
196
  const _AAG = "AssociateAttributeGroup";
@@ -1396,6 +1365,38 @@ const paginateListAttributeGroupsForApplication = core.createPaginator(ServiceCa
1396
1365
 
1397
1366
  const paginateListAttributeGroups = core.createPaginator(ServiceCatalogAppRegistryClient, ListAttributeGroupsCommand, "nextToken", "nextToken", "maxResults");
1398
1367
 
1368
+ const ApplicationTagStatus = {
1369
+ FAILURE: "FAILURE",
1370
+ IN_PROGRESS: "IN_PROGRESS",
1371
+ SUCCESS: "SUCCESS",
1372
+ };
1373
+ const AssociationOption = {
1374
+ APPLY_APPLICATION_TAG: "APPLY_APPLICATION_TAG",
1375
+ SKIP_APPLICATION_TAG: "SKIP_APPLICATION_TAG",
1376
+ };
1377
+ const ResourceType = {
1378
+ CFN_STACK: "CFN_STACK",
1379
+ RESOURCE_TAG_VALUE: "RESOURCE_TAG_VALUE",
1380
+ };
1381
+ const ResourceGroupState = {
1382
+ CREATE_COMPLETE: "CREATE_COMPLETE",
1383
+ CREATE_FAILED: "CREATE_FAILED",
1384
+ CREATING: "CREATING",
1385
+ UPDATE_COMPLETE: "UPDATE_COMPLETE",
1386
+ UPDATE_FAILED: "UPDATE_FAILED",
1387
+ UPDATING: "UPDATING",
1388
+ };
1389
+ const ResourceItemStatus = {
1390
+ FAILED: "FAILED",
1391
+ IN_PROGRESS: "IN_PROGRESS",
1392
+ SKIPPED: "SKIPPED",
1393
+ SUCCESS: "SUCCESS",
1394
+ };
1395
+ const SyncAction = {
1396
+ NO_ACTION: "NO_ACTION",
1397
+ START_SYNC: "START_SYNC",
1398
+ };
1399
+
1399
1400
  Object.defineProperty(exports, "$Command", {
1400
1401
  enumerable: true,
1401
1402
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./ServiceCatalogAppRegistryClient";
2
2
  export * from "./ServiceCatalogAppRegistry";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { ServiceCatalogAppRegistryServiceException } from "./models/ServiceCatalogAppRegistryServiceException";
@@ -0,0 +1,31 @@
1
+ export const ApplicationTagStatus = {
2
+ FAILURE: "FAILURE",
3
+ IN_PROGRESS: "IN_PROGRESS",
4
+ SUCCESS: "SUCCESS",
5
+ };
6
+ export const AssociationOption = {
7
+ APPLY_APPLICATION_TAG: "APPLY_APPLICATION_TAG",
8
+ SKIP_APPLICATION_TAG: "SKIP_APPLICATION_TAG",
9
+ };
10
+ export const ResourceType = {
11
+ CFN_STACK: "CFN_STACK",
12
+ RESOURCE_TAG_VALUE: "RESOURCE_TAG_VALUE",
13
+ };
14
+ export const ResourceGroupState = {
15
+ CREATE_COMPLETE: "CREATE_COMPLETE",
16
+ CREATE_FAILED: "CREATE_FAILED",
17
+ CREATING: "CREATING",
18
+ UPDATE_COMPLETE: "UPDATE_COMPLETE",
19
+ UPDATE_FAILED: "UPDATE_FAILED",
20
+ UPDATING: "UPDATING",
21
+ };
22
+ export const ResourceItemStatus = {
23
+ FAILED: "FAILED",
24
+ IN_PROGRESS: "IN_PROGRESS",
25
+ SKIPPED: "SKIPPED",
26
+ SUCCESS: "SUCCESS",
27
+ };
28
+ export const SyncAction = {
29
+ NO_ACTION: "NO_ACTION",
30
+ START_SYNC: "START_SYNC",
31
+ };
@@ -0,0 +1,75 @@
1
+ import { ServiceCatalogAppRegistryServiceException as __BaseException } from "./ServiceCatalogAppRegistryServiceException";
2
+ export class ConflictException extends __BaseException {
3
+ name = "ConflictException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "ConflictException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, ConflictException.prototype);
12
+ }
13
+ }
14
+ export class InternalServerException extends __BaseException {
15
+ name = "InternalServerException";
16
+ $fault = "server";
17
+ constructor(opts) {
18
+ super({
19
+ name: "InternalServerException",
20
+ $fault: "server",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, InternalServerException.prototype);
24
+ }
25
+ }
26
+ export class ResourceNotFoundException extends __BaseException {
27
+ name = "ResourceNotFoundException";
28
+ $fault = "client";
29
+ constructor(opts) {
30
+ super({
31
+ name: "ResourceNotFoundException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
36
+ }
37
+ }
38
+ export class ServiceQuotaExceededException extends __BaseException {
39
+ name = "ServiceQuotaExceededException";
40
+ $fault = "client";
41
+ constructor(opts) {
42
+ super({
43
+ name: "ServiceQuotaExceededException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
48
+ }
49
+ }
50
+ export class ValidationException extends __BaseException {
51
+ name = "ValidationException";
52
+ $fault = "client";
53
+ constructor(opts) {
54
+ super({
55
+ name: "ValidationException",
56
+ $fault: "client",
57
+ ...opts,
58
+ });
59
+ Object.setPrototypeOf(this, ValidationException.prototype);
60
+ }
61
+ }
62
+ export class ThrottlingException extends __BaseException {
63
+ name = "ThrottlingException";
64
+ $fault = "client";
65
+ serviceCode;
66
+ constructor(opts) {
67
+ super({
68
+ name: "ThrottlingException",
69
+ $fault: "client",
70
+ ...opts,
71
+ });
72
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
73
+ this.serviceCode = opts.serviceCode;
74
+ }
75
+ }
@@ -1,106 +1 @@
1
- import { ServiceCatalogAppRegistryServiceException as __BaseException } from "./ServiceCatalogAppRegistryServiceException";
2
- export const ApplicationTagStatus = {
3
- FAILURE: "FAILURE",
4
- IN_PROGRESS: "IN_PROGRESS",
5
- SUCCESS: "SUCCESS",
6
- };
7
- export class ConflictException extends __BaseException {
8
- name = "ConflictException";
9
- $fault = "client";
10
- constructor(opts) {
11
- super({
12
- name: "ConflictException",
13
- $fault: "client",
14
- ...opts,
15
- });
16
- Object.setPrototypeOf(this, ConflictException.prototype);
17
- }
18
- }
19
- export class InternalServerException extends __BaseException {
20
- name = "InternalServerException";
21
- $fault = "server";
22
- constructor(opts) {
23
- super({
24
- name: "InternalServerException",
25
- $fault: "server",
26
- ...opts,
27
- });
28
- Object.setPrototypeOf(this, InternalServerException.prototype);
29
- }
30
- }
31
- export class ResourceNotFoundException extends __BaseException {
32
- name = "ResourceNotFoundException";
33
- $fault = "client";
34
- constructor(opts) {
35
- super({
36
- name: "ResourceNotFoundException",
37
- $fault: "client",
38
- ...opts,
39
- });
40
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
41
- }
42
- }
43
- export class ServiceQuotaExceededException extends __BaseException {
44
- name = "ServiceQuotaExceededException";
45
- $fault = "client";
46
- constructor(opts) {
47
- super({
48
- name: "ServiceQuotaExceededException",
49
- $fault: "client",
50
- ...opts,
51
- });
52
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
53
- }
54
- }
55
- export class ValidationException extends __BaseException {
56
- name = "ValidationException";
57
- $fault = "client";
58
- constructor(opts) {
59
- super({
60
- name: "ValidationException",
61
- $fault: "client",
62
- ...opts,
63
- });
64
- Object.setPrototypeOf(this, ValidationException.prototype);
65
- }
66
- }
67
- export const AssociationOption = {
68
- APPLY_APPLICATION_TAG: "APPLY_APPLICATION_TAG",
69
- SKIP_APPLICATION_TAG: "SKIP_APPLICATION_TAG",
70
- };
71
- export const ResourceType = {
72
- CFN_STACK: "CFN_STACK",
73
- RESOURCE_TAG_VALUE: "RESOURCE_TAG_VALUE",
74
- };
75
- export class ThrottlingException extends __BaseException {
76
- name = "ThrottlingException";
77
- $fault = "client";
78
- serviceCode;
79
- constructor(opts) {
80
- super({
81
- name: "ThrottlingException",
82
- $fault: "client",
83
- ...opts,
84
- });
85
- Object.setPrototypeOf(this, ThrottlingException.prototype);
86
- this.serviceCode = opts.serviceCode;
87
- }
88
- }
89
- export const ResourceGroupState = {
90
- CREATE_COMPLETE: "CREATE_COMPLETE",
91
- CREATE_FAILED: "CREATE_FAILED",
92
- CREATING: "CREATING",
93
- UPDATE_COMPLETE: "UPDATE_COMPLETE",
94
- UPDATE_FAILED: "UPDATE_FAILED",
95
- UPDATING: "UPDATING",
96
- };
97
- export const ResourceItemStatus = {
98
- FAILED: "FAILED",
99
- IN_PROGRESS: "IN_PROGRESS",
100
- SKIPPED: "SKIPPED",
101
- SUCCESS: "SUCCESS",
102
- };
103
- export const SyncAction = {
104
- NO_ACTION: "NO_ACTION",
105
- START_SYNC: "START_SYNC",
106
- };
1
+ export {};
@@ -148,7 +148,7 @@ const _tQC = "tagQueryConfiguration";
148
148
  const _tV = "tagValue";
149
149
  const n0 = "com.amazonaws.servicecatalogappregistry";
150
150
  import { TypeRegistry } from "@smithy/core/schema";
151
- import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
151
+ import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
152
152
  import { ServiceCatalogAppRegistryServiceException as __ServiceCatalogAppRegistryServiceException } from "../models/ServiceCatalogAppRegistryServiceException";
153
153
  export var Application = [
154
154
  3,
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { ServiceCatalogAppRegistryExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
- export * from "./models";
13
+ export * from "./models/enums";
14
+ export * from "./models/errors";
15
+ export type * from "./models/models_0";
14
16
  export { ServiceCatalogAppRegistryServiceException } from "./models/ServiceCatalogAppRegistryServiceException";
@@ -0,0 +1,79 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const ApplicationTagStatus: {
6
+ readonly FAILURE: "FAILURE";
7
+ readonly IN_PROGRESS: "IN_PROGRESS";
8
+ readonly SUCCESS: "SUCCESS";
9
+ };
10
+ /**
11
+ * @public
12
+ */
13
+ export type ApplicationTagStatus = (typeof ApplicationTagStatus)[keyof typeof ApplicationTagStatus];
14
+ /**
15
+ * @public
16
+ * @enum
17
+ */
18
+ export declare const AssociationOption: {
19
+ readonly APPLY_APPLICATION_TAG: "APPLY_APPLICATION_TAG";
20
+ readonly SKIP_APPLICATION_TAG: "SKIP_APPLICATION_TAG";
21
+ };
22
+ /**
23
+ * @public
24
+ */
25
+ export type AssociationOption = (typeof AssociationOption)[keyof typeof AssociationOption];
26
+ /**
27
+ * @public
28
+ * @enum
29
+ */
30
+ export declare const ResourceType: {
31
+ readonly CFN_STACK: "CFN_STACK";
32
+ readonly RESOURCE_TAG_VALUE: "RESOURCE_TAG_VALUE";
33
+ };
34
+ /**
35
+ * @public
36
+ */
37
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
38
+ /**
39
+ * @public
40
+ * @enum
41
+ */
42
+ export declare const ResourceGroupState: {
43
+ readonly CREATE_COMPLETE: "CREATE_COMPLETE";
44
+ readonly CREATE_FAILED: "CREATE_FAILED";
45
+ readonly CREATING: "CREATING";
46
+ readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
47
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
48
+ readonly UPDATING: "UPDATING";
49
+ };
50
+ /**
51
+ * @public
52
+ */
53
+ export type ResourceGroupState = (typeof ResourceGroupState)[keyof typeof ResourceGroupState];
54
+ /**
55
+ * @public
56
+ * @enum
57
+ */
58
+ export declare const ResourceItemStatus: {
59
+ readonly FAILED: "FAILED";
60
+ readonly IN_PROGRESS: "IN_PROGRESS";
61
+ readonly SKIPPED: "SKIPPED";
62
+ readonly SUCCESS: "SUCCESS";
63
+ };
64
+ /**
65
+ * @public
66
+ */
67
+ export type ResourceItemStatus = (typeof ResourceItemStatus)[keyof typeof ResourceItemStatus];
68
+ /**
69
+ * @public
70
+ * @enum
71
+ */
72
+ export declare const SyncAction: {
73
+ readonly NO_ACTION: "NO_ACTION";
74
+ readonly START_SYNC: "START_SYNC";
75
+ };
76
+ /**
77
+ * @public
78
+ */
79
+ export type SyncAction = (typeof SyncAction)[keyof typeof SyncAction];
@@ -0,0 +1,87 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ServiceCatalogAppRegistryServiceException as __BaseException } from "./ServiceCatalogAppRegistryServiceException";
3
+ /**
4
+ * <p>There was a conflict when processing the request (for example, a resource with the given
5
+ * name already exists within the account).</p>
6
+ * @public
7
+ */
8
+ export declare class ConflictException extends __BaseException {
9
+ readonly name: "ConflictException";
10
+ readonly $fault: "client";
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>The service is experiencing internal problems.</p>
18
+ * @public
19
+ */
20
+ export declare class InternalServerException extends __BaseException {
21
+ readonly name: "InternalServerException";
22
+ readonly $fault: "server";
23
+ /**
24
+ * @internal
25
+ */
26
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
27
+ }
28
+ /**
29
+ * <p>The specified resource does not exist.</p>
30
+ * @public
31
+ */
32
+ export declare class ResourceNotFoundException extends __BaseException {
33
+ readonly name: "ResourceNotFoundException";
34
+ readonly $fault: "client";
35
+ /**
36
+ * @internal
37
+ */
38
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
39
+ }
40
+ /**
41
+ * <p>
42
+ * The maximum number
43
+ * of resources per account
44
+ * has been reached.</p>
45
+ * @public
46
+ */
47
+ export declare class ServiceQuotaExceededException extends __BaseException {
48
+ readonly name: "ServiceQuotaExceededException";
49
+ readonly $fault: "client";
50
+ /**
51
+ * @internal
52
+ */
53
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
54
+ }
55
+ /**
56
+ * <p>The request has invalid or missing parameters.</p>
57
+ * @public
58
+ */
59
+ export declare class ValidationException extends __BaseException {
60
+ readonly name: "ValidationException";
61
+ readonly $fault: "client";
62
+ /**
63
+ * @internal
64
+ */
65
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
66
+ }
67
+ /**
68
+ * <p>
69
+ * The maximum number
70
+ * of API requests
71
+ * has been exceeded.
72
+ * </p>
73
+ * @public
74
+ */
75
+ export declare class ThrottlingException extends __BaseException {
76
+ readonly name: "ThrottlingException";
77
+ readonly $fault: "client";
78
+ /**
79
+ * <p>The originating service code.</p>
80
+ * @public
81
+ */
82
+ serviceCode?: string | undefined;
83
+ /**
84
+ * @internal
85
+ */
86
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
87
+ }
@@ -1,5 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ServiceCatalogAppRegistryServiceException as __BaseException } from "./ServiceCatalogAppRegistryServiceException";
1
+ import { ApplicationTagStatus, AssociationOption, ResourceGroupState, ResourceItemStatus, ResourceType, SyncAction } from "./enums";
3
2
  /**
4
3
  * <p>Represents a Amazon Web Services Service Catalog AppRegistry application that is the top-level node in a hierarchy of related
5
4
  * cloud resource abstractions.</p>
@@ -85,19 +84,6 @@ export interface ApplicationSummary {
85
84
  */
86
85
  lastUpdateTime?: Date | undefined;
87
86
  }
88
- /**
89
- * @public
90
- * @enum
91
- */
92
- export declare const ApplicationTagStatus: {
93
- readonly FAILURE: "FAILURE";
94
- readonly IN_PROGRESS: "IN_PROGRESS";
95
- readonly SUCCESS: "SUCCESS";
96
- };
97
- /**
98
- * @public
99
- */
100
- export type ApplicationTagStatus = (typeof ApplicationTagStatus)[keyof typeof ApplicationTagStatus];
101
87
  /**
102
88
  * <p>
103
89
  * The resource in a list of resources.
@@ -247,94 +233,6 @@ export interface AssociateAttributeGroupResponse {
247
233
  */
248
234
  attributeGroupArn?: string | undefined;
249
235
  }
250
- /**
251
- * <p>There was a conflict when processing the request (for example, a resource with the given
252
- * name already exists within the account).</p>
253
- * @public
254
- */
255
- export declare class ConflictException extends __BaseException {
256
- readonly name: "ConflictException";
257
- readonly $fault: "client";
258
- /**
259
- * @internal
260
- */
261
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
262
- }
263
- /**
264
- * <p>The service is experiencing internal problems.</p>
265
- * @public
266
- */
267
- export declare class InternalServerException extends __BaseException {
268
- readonly name: "InternalServerException";
269
- readonly $fault: "server";
270
- /**
271
- * @internal
272
- */
273
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
274
- }
275
- /**
276
- * <p>The specified resource does not exist.</p>
277
- * @public
278
- */
279
- export declare class ResourceNotFoundException extends __BaseException {
280
- readonly name: "ResourceNotFoundException";
281
- readonly $fault: "client";
282
- /**
283
- * @internal
284
- */
285
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
286
- }
287
- /**
288
- * <p>
289
- * The maximum number
290
- * of resources per account
291
- * has been reached.</p>
292
- * @public
293
- */
294
- export declare class ServiceQuotaExceededException extends __BaseException {
295
- readonly name: "ServiceQuotaExceededException";
296
- readonly $fault: "client";
297
- /**
298
- * @internal
299
- */
300
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
301
- }
302
- /**
303
- * <p>The request has invalid or missing parameters.</p>
304
- * @public
305
- */
306
- export declare class ValidationException extends __BaseException {
307
- readonly name: "ValidationException";
308
- readonly $fault: "client";
309
- /**
310
- * @internal
311
- */
312
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
313
- }
314
- /**
315
- * @public
316
- * @enum
317
- */
318
- export declare const AssociationOption: {
319
- readonly APPLY_APPLICATION_TAG: "APPLY_APPLICATION_TAG";
320
- readonly SKIP_APPLICATION_TAG: "SKIP_APPLICATION_TAG";
321
- };
322
- /**
323
- * @public
324
- */
325
- export type AssociationOption = (typeof AssociationOption)[keyof typeof AssociationOption];
326
- /**
327
- * @public
328
- * @enum
329
- */
330
- export declare const ResourceType: {
331
- readonly CFN_STACK: "CFN_STACK";
332
- readonly RESOURCE_TAG_VALUE: "RESOURCE_TAG_VALUE";
333
- };
334
- /**
335
- * @public
336
- */
337
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
338
236
  /**
339
237
  * @public
340
238
  */
@@ -387,27 +285,6 @@ export interface AssociateResourceResponse {
387
285
  */
388
286
  options?: AssociationOption[] | undefined;
389
287
  }
390
- /**
391
- * <p>
392
- * The maximum number
393
- * of API requests
394
- * has been exceeded.
395
- * </p>
396
- * @public
397
- */
398
- export declare class ThrottlingException extends __BaseException {
399
- readonly name: "ThrottlingException";
400
- readonly $fault: "client";
401
- /**
402
- * <p>The originating service code.</p>
403
- * @public
404
- */
405
- serviceCode?: string | undefined;
406
- /**
407
- * @internal
408
- */
409
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
410
- }
411
288
  /**
412
289
  * <p>Represents a Amazon Web Services Service Catalog AppRegistry attribute group that is rich metadata which describes an application and its components.</p>
413
290
  * @public
@@ -742,22 +619,6 @@ export interface GetApplicationRequest {
742
619
  */
743
620
  application: string | undefined;
744
621
  }
745
- /**
746
- * @public
747
- * @enum
748
- */
749
- export declare const ResourceGroupState: {
750
- readonly CREATE_COMPLETE: "CREATE_COMPLETE";
751
- readonly CREATE_FAILED: "CREATE_FAILED";
752
- readonly CREATING: "CREATING";
753
- readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
754
- readonly UPDATE_FAILED: "UPDATE_FAILED";
755
- readonly UPDATING: "UPDATING";
756
- };
757
- /**
758
- * @public
759
- */
760
- export type ResourceGroupState = (typeof ResourceGroupState)[keyof typeof ResourceGroupState];
761
622
  /**
762
623
  * <p>The information about the resource group integration.</p>
763
624
  * @public
@@ -871,20 +732,6 @@ export interface GetApplicationResponse {
871
732
  */
872
733
  applicationTag?: Record<string, string> | undefined;
873
734
  }
874
- /**
875
- * @public
876
- * @enum
877
- */
878
- export declare const ResourceItemStatus: {
879
- readonly FAILED: "FAILED";
880
- readonly IN_PROGRESS: "IN_PROGRESS";
881
- readonly SKIPPED: "SKIPPED";
882
- readonly SUCCESS: "SUCCESS";
883
- };
884
- /**
885
- * @public
886
- */
887
- export type ResourceItemStatus = (typeof ResourceItemStatus)[keyof typeof ResourceItemStatus];
888
735
  /**
889
736
  * @public
890
737
  */
@@ -1342,18 +1189,6 @@ export interface SyncResourceRequest {
1342
1189
  */
1343
1190
  resource: string | undefined;
1344
1191
  }
1345
- /**
1346
- * @public
1347
- * @enum
1348
- */
1349
- export declare const SyncAction: {
1350
- readonly NO_ACTION: "NO_ACTION";
1351
- readonly START_SYNC: "START_SYNC";
1352
- };
1353
- /**
1354
- * @public
1355
- */
1356
- export type SyncAction = (typeof SyncAction)[keyof typeof SyncAction];
1357
1192
  /**
1358
1193
  * @public
1359
1194
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { ServiceCatalogAppRegistryExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { ServiceCatalogAppRegistryServiceException } from "./models/ServiceCatalogAppRegistryServiceException";
@@ -0,0 +1,41 @@
1
+ export declare const ApplicationTagStatus: {
2
+ readonly FAILURE: "FAILURE";
3
+ readonly IN_PROGRESS: "IN_PROGRESS";
4
+ readonly SUCCESS: "SUCCESS";
5
+ };
6
+ export type ApplicationTagStatus =
7
+ (typeof ApplicationTagStatus)[keyof typeof ApplicationTagStatus];
8
+ export declare const AssociationOption: {
9
+ readonly APPLY_APPLICATION_TAG: "APPLY_APPLICATION_TAG";
10
+ readonly SKIP_APPLICATION_TAG: "SKIP_APPLICATION_TAG";
11
+ };
12
+ export type AssociationOption =
13
+ (typeof AssociationOption)[keyof typeof AssociationOption];
14
+ export declare const ResourceType: {
15
+ readonly CFN_STACK: "CFN_STACK";
16
+ readonly RESOURCE_TAG_VALUE: "RESOURCE_TAG_VALUE";
17
+ };
18
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
19
+ export declare const ResourceGroupState: {
20
+ readonly CREATE_COMPLETE: "CREATE_COMPLETE";
21
+ readonly CREATE_FAILED: "CREATE_FAILED";
22
+ readonly CREATING: "CREATING";
23
+ readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
24
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
25
+ readonly UPDATING: "UPDATING";
26
+ };
27
+ export type ResourceGroupState =
28
+ (typeof ResourceGroupState)[keyof typeof ResourceGroupState];
29
+ export declare const ResourceItemStatus: {
30
+ readonly FAILED: "FAILED";
31
+ readonly IN_PROGRESS: "IN_PROGRESS";
32
+ readonly SKIPPED: "SKIPPED";
33
+ readonly SUCCESS: "SUCCESS";
34
+ };
35
+ export type ResourceItemStatus =
36
+ (typeof ResourceItemStatus)[keyof typeof ResourceItemStatus];
37
+ export declare const SyncAction: {
38
+ readonly NO_ACTION: "NO_ACTION";
39
+ readonly START_SYNC: "START_SYNC";
40
+ };
41
+ export type SyncAction = (typeof SyncAction)[keyof typeof SyncAction];
@@ -0,0 +1,43 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { ServiceCatalogAppRegistryServiceException as __BaseException } from "./ServiceCatalogAppRegistryServiceException";
3
+ export declare class ConflictException extends __BaseException {
4
+ readonly name: "ConflictException";
5
+ readonly $fault: "client";
6
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
7
+ }
8
+ export declare class InternalServerException extends __BaseException {
9
+ readonly name: "InternalServerException";
10
+ readonly $fault: "server";
11
+ constructor(
12
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
13
+ );
14
+ }
15
+ export declare class ResourceNotFoundException extends __BaseException {
16
+ readonly name: "ResourceNotFoundException";
17
+ readonly $fault: "client";
18
+ constructor(
19
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
20
+ );
21
+ }
22
+ export declare class ServiceQuotaExceededException extends __BaseException {
23
+ readonly name: "ServiceQuotaExceededException";
24
+ readonly $fault: "client";
25
+ constructor(
26
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
27
+ );
28
+ }
29
+ export declare class ValidationException extends __BaseException {
30
+ readonly name: "ValidationException";
31
+ readonly $fault: "client";
32
+ constructor(
33
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
34
+ );
35
+ }
36
+ export declare class ThrottlingException extends __BaseException {
37
+ readonly name: "ThrottlingException";
38
+ readonly $fault: "client";
39
+ serviceCode?: string | undefined;
40
+ constructor(
41
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
42
+ );
43
+ }
@@ -1,5 +1,11 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ServiceCatalogAppRegistryServiceException as __BaseException } from "./ServiceCatalogAppRegistryServiceException";
1
+ import {
2
+ ApplicationTagStatus,
3
+ AssociationOption,
4
+ ResourceGroupState,
5
+ ResourceItemStatus,
6
+ ResourceType,
7
+ SyncAction,
8
+ } from "./enums";
3
9
  export interface Application {
4
10
  id?: string | undefined;
5
11
  arn?: string | undefined;
@@ -18,13 +24,6 @@ export interface ApplicationSummary {
18
24
  creationTime?: Date | undefined;
19
25
  lastUpdateTime?: Date | undefined;
20
26
  }
21
- export declare const ApplicationTagStatus: {
22
- readonly FAILURE: "FAILURE";
23
- readonly IN_PROGRESS: "IN_PROGRESS";
24
- readonly SUCCESS: "SUCCESS";
25
- };
26
- export type ApplicationTagStatus =
27
- (typeof ApplicationTagStatus)[keyof typeof ApplicationTagStatus];
28
27
  export interface ResourcesListItem {
29
28
  resourceArn?: string | undefined;
30
29
  errorMessage?: string | undefined;
@@ -51,50 +50,6 @@ export interface AssociateAttributeGroupResponse {
51
50
  applicationArn?: string | undefined;
52
51
  attributeGroupArn?: string | undefined;
53
52
  }
54
- export declare class ConflictException extends __BaseException {
55
- readonly name: "ConflictException";
56
- readonly $fault: "client";
57
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
58
- }
59
- export declare class InternalServerException extends __BaseException {
60
- readonly name: "InternalServerException";
61
- readonly $fault: "server";
62
- constructor(
63
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
64
- );
65
- }
66
- export declare class ResourceNotFoundException extends __BaseException {
67
- readonly name: "ResourceNotFoundException";
68
- readonly $fault: "client";
69
- constructor(
70
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
71
- );
72
- }
73
- export declare class ServiceQuotaExceededException extends __BaseException {
74
- readonly name: "ServiceQuotaExceededException";
75
- readonly $fault: "client";
76
- constructor(
77
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
78
- );
79
- }
80
- export declare class ValidationException extends __BaseException {
81
- readonly name: "ValidationException";
82
- readonly $fault: "client";
83
- constructor(
84
- opts: __ExceptionOptionType<ValidationException, __BaseException>
85
- );
86
- }
87
- export declare const AssociationOption: {
88
- readonly APPLY_APPLICATION_TAG: "APPLY_APPLICATION_TAG";
89
- readonly SKIP_APPLICATION_TAG: "SKIP_APPLICATION_TAG";
90
- };
91
- export type AssociationOption =
92
- (typeof AssociationOption)[keyof typeof AssociationOption];
93
- export declare const ResourceType: {
94
- readonly CFN_STACK: "CFN_STACK";
95
- readonly RESOURCE_TAG_VALUE: "RESOURCE_TAG_VALUE";
96
- };
97
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
98
53
  export interface AssociateResourceRequest {
99
54
  application: string | undefined;
100
55
  resourceType: ResourceType | undefined;
@@ -106,14 +61,6 @@ export interface AssociateResourceResponse {
106
61
  resourceArn?: string | undefined;
107
62
  options?: AssociationOption[] | undefined;
108
63
  }
109
- export declare class ThrottlingException extends __BaseException {
110
- readonly name: "ThrottlingException";
111
- readonly $fault: "client";
112
- serviceCode?: string | undefined;
113
- constructor(
114
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
115
- );
116
- }
117
64
  export interface AttributeGroup {
118
65
  id?: string | undefined;
119
66
  arn?: string | undefined;
@@ -189,16 +136,6 @@ export interface DisassociateResourceResponse {
189
136
  export interface GetApplicationRequest {
190
137
  application: string | undefined;
191
138
  }
192
- export declare const ResourceGroupState: {
193
- readonly CREATE_COMPLETE: "CREATE_COMPLETE";
194
- readonly CREATE_FAILED: "CREATE_FAILED";
195
- readonly CREATING: "CREATING";
196
- readonly UPDATE_COMPLETE: "UPDATE_COMPLETE";
197
- readonly UPDATE_FAILED: "UPDATE_FAILED";
198
- readonly UPDATING: "UPDATING";
199
- };
200
- export type ResourceGroupState =
201
- (typeof ResourceGroupState)[keyof typeof ResourceGroupState];
202
139
  export interface ResourceGroup {
203
140
  state?: ResourceGroupState | undefined;
204
141
  arn?: string | undefined;
@@ -220,14 +157,6 @@ export interface GetApplicationResponse {
220
157
  integrations?: Integrations | undefined;
221
158
  applicationTag?: Record<string, string> | undefined;
222
159
  }
223
- export declare const ResourceItemStatus: {
224
- readonly FAILED: "FAILED";
225
- readonly IN_PROGRESS: "IN_PROGRESS";
226
- readonly SKIPPED: "SKIPPED";
227
- readonly SUCCESS: "SUCCESS";
228
- };
229
- export type ResourceItemStatus =
230
- (typeof ResourceItemStatus)[keyof typeof ResourceItemStatus];
231
160
  export interface GetAssociatedResourceRequest {
232
161
  application: string | undefined;
233
162
  resourceType: ResourceType | undefined;
@@ -333,11 +262,6 @@ export interface SyncResourceRequest {
333
262
  resourceType: ResourceType | undefined;
334
263
  resource: string | undefined;
335
264
  }
336
- export declare const SyncAction: {
337
- readonly NO_ACTION: "NO_ACTION";
338
- readonly START_SYNC: "START_SYNC";
339
- };
340
- export type SyncAction = (typeof SyncAction)[keyof typeof SyncAction];
341
265
  export interface SyncResourceResponse {
342
266
  applicationArn?: string | undefined;
343
267
  resourceArn?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-service-catalog-appregistry",
3
3
  "description": "AWS SDK for JavaScript Service Catalog Appregistry Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.936.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-service-catalog-appregistry",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";