@aws-sdk/client-appintegrations 3.1123.0 → 3.1125.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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1122.0";
72
+ var version = "3.1124.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -250,6 +250,20 @@ class ResourceNotFoundException extends AppIntegrationsServiceException {
250
250
  this.Message = opts.Message;
251
251
  }
252
252
  }
253
+ class ConflictException extends AppIntegrationsServiceException {
254
+ name = "ConflictException";
255
+ $fault = "client";
256
+ Message;
257
+ constructor(opts) {
258
+ super({
259
+ name: "ConflictException",
260
+ $fault: "client",
261
+ ...opts,
262
+ });
263
+ Object.setPrototypeOf(this, ConflictException.prototype);
264
+ this.Message = opts.Message;
265
+ }
266
+ }
253
267
 
254
268
  const _A = "Arn";
255
269
  const _AA = "ApplicationArn";
@@ -278,6 +292,7 @@ const _CDIAR = "CreateDataIntegrationAssociationRequest";
278
292
  const _CDIARr = "CreateDataIntegrationAssociationResponse";
279
293
  const _CDIR = "CreateDataIntegrationRequest";
280
294
  const _CDIRr = "CreateDataIntegrationResponse";
295
+ const _CE = "ConflictException";
281
296
  const _CEI = "CreateEventIntegration";
282
297
  const _CEIR = "CreateEventIntegrationRequest";
283
298
  const _CEIRr = "CreateEventIntegrationResponse";
@@ -327,11 +342,12 @@ const _EM = "ExecutionMode";
327
342
  const _ES = "ExecutionStatus";
328
343
  const _ET = "EndTime";
329
344
  const _EUC = "ExternalUrlConfig";
330
- const _F = "Folders";
345
+ const _F = "Force";
331
346
  const _FC = "FileConfiguration";
332
347
  const _FEF = "FirstExecutionFrom";
333
348
  const _FM = "FieldsMap";
334
349
  const _Fi = "Filters";
350
+ const _Fo = "Folders";
335
351
  const _GA = "GetApplication";
336
352
  const _GAR = "GetApplicationRequest";
337
353
  const _GARe = "GetApplicationResponse";
@@ -423,6 +439,7 @@ const _URRn = "UntagResourceResponse";
423
439
  const _aT = "applicationType";
424
440
  const _c = "client";
425
441
  const _e = "error";
442
+ const _f = "force";
426
443
  const _h = "http";
427
444
  const _hE = "httpError";
428
445
  const _hQ = "httpQuery";
@@ -444,6 +461,12 @@ var AccessDeniedException$ = [-3, n0, _ADE,
444
461
  [0]
445
462
  ];
446
463
  n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
464
+ var ConflictException$ = [-3, n0, _CE,
465
+ { [_e]: _c, [_hE]: 409 },
466
+ [_M],
467
+ [0]
468
+ ];
469
+ n0_registry.registerError(ConflictException$, ConflictException);
447
470
  var DuplicateResourceException$ = [-3, n0, _DRE,
448
471
  { [_e]: _c, [_hE]: 409 },
449
472
  [_M],
@@ -567,8 +590,8 @@ var DataIntegrationSummary$ = [3, n0, _DIS,
567
590
  ];
568
591
  var DeleteApplicationRequest$ = [3, n0, _DAR,
569
592
  0,
570
- [_A],
571
- [[0, 1]], 1
593
+ [_A, _F],
594
+ [[0, 1], [2, { [_hQ]: _f }]], 1
572
595
  ];
573
596
  var DeleteApplicationResponse$ = [3, n0, _DARe,
574
597
  0,
@@ -622,7 +645,7 @@ var ExternalUrlConfig$ = [3, n0, _EUC,
622
645
  ];
623
646
  var FileConfiguration$ = [3, n0, _FC,
624
647
  0,
625
- [_F, _Fi],
648
+ [_Fo, _Fi],
626
649
  [64 | 0, [2, n0, _FM, 0, 0, 64 | 0]], 1
627
650
  ];
628
651
  var GetApplicationRequest$ = [3, n0, _GAR,
@@ -1207,6 +1230,8 @@ exports.ApplicationConfig$ = ApplicationConfig$;
1207
1230
  exports.ApplicationSourceConfig$ = ApplicationSourceConfig$;
1208
1231
  exports.ApplicationSummary$ = ApplicationSummary$;
1209
1232
  exports.ApplicationType = ApplicationType;
1233
+ exports.ConflictException = ConflictException;
1234
+ exports.ConflictException$ = ConflictException$;
1210
1235
  exports.ContactHandling$ = ContactHandling$;
1211
1236
  exports.ContactHandlingScope = ContactHandlingScope;
1212
1237
  exports.CreateApplication$ = CreateApplication$;
@@ -111,3 +111,17 @@ export class ResourceNotFoundException extends __BaseException {
111
111
  this.Message = opts.Message;
112
112
  }
113
113
  }
114
+ export class ConflictException extends __BaseException {
115
+ name = "ConflictException";
116
+ $fault = "client";
117
+ Message;
118
+ constructor(opts) {
119
+ super({
120
+ name: "ConflictException",
121
+ $fault: "client",
122
+ ...opts,
123
+ });
124
+ Object.setPrototypeOf(this, ConflictException.prototype);
125
+ this.Message = opts.Message;
126
+ }
127
+ }
@@ -25,6 +25,7 @@ const _CDIAR = "CreateDataIntegrationAssociationRequest";
25
25
  const _CDIARr = "CreateDataIntegrationAssociationResponse";
26
26
  const _CDIR = "CreateDataIntegrationRequest";
27
27
  const _CDIRr = "CreateDataIntegrationResponse";
28
+ const _CE = "ConflictException";
28
29
  const _CEI = "CreateEventIntegration";
29
30
  const _CEIR = "CreateEventIntegrationRequest";
30
31
  const _CEIRr = "CreateEventIntegrationResponse";
@@ -74,11 +75,12 @@ const _EM = "ExecutionMode";
74
75
  const _ES = "ExecutionStatus";
75
76
  const _ET = "EndTime";
76
77
  const _EUC = "ExternalUrlConfig";
77
- const _F = "Folders";
78
+ const _F = "Force";
78
79
  const _FC = "FileConfiguration";
79
80
  const _FEF = "FirstExecutionFrom";
80
81
  const _FM = "FieldsMap";
81
82
  const _Fi = "Filters";
83
+ const _Fo = "Folders";
82
84
  const _GA = "GetApplication";
83
85
  const _GAR = "GetApplicationRequest";
84
86
  const _GARe = "GetApplicationResponse";
@@ -170,6 +172,7 @@ const _URRn = "UntagResourceResponse";
170
172
  const _aT = "applicationType";
171
173
  const _c = "client";
172
174
  const _e = "error";
175
+ const _f = "force";
173
176
  const _h = "http";
174
177
  const _hE = "httpError";
175
178
  const _hQ = "httpQuery";
@@ -183,7 +186,7 @@ const _tK = "tagKeys";
183
186
  const n0 = "com.amazonaws.appintegrations";
184
187
  import { TypeRegistry } from "@smithy/core/schema";
185
188
  import { AppIntegrationsServiceException } from "../models/AppIntegrationsServiceException";
186
- import { AccessDeniedException, DuplicateResourceException, InternalServiceError, InvalidRequestException, ResourceNotFoundException, ResourceQuotaExceededException, ThrottlingException, UnsupportedOperationException, } from "../models/errors";
189
+ import { AccessDeniedException, ConflictException, DuplicateResourceException, InternalServiceError, InvalidRequestException, ResourceNotFoundException, ResourceQuotaExceededException, ThrottlingException, UnsupportedOperationException, } from "../models/errors";
187
190
  const _s_registry = TypeRegistry.for(_s);
188
191
  export var AppIntegrationsServiceException$ = [-3, _s, "AppIntegrationsServiceException", 0, [], []];
189
192
  _s_registry.registerError(AppIntegrationsServiceException$, AppIntegrationsServiceException);
@@ -194,6 +197,12 @@ export var AccessDeniedException$ = [-3, n0, _ADE,
194
197
  [0]
195
198
  ];
196
199
  n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
200
+ export var ConflictException$ = [-3, n0, _CE,
201
+ { [_e]: _c, [_hE]: 409 },
202
+ [_M],
203
+ [0]
204
+ ];
205
+ n0_registry.registerError(ConflictException$, ConflictException);
197
206
  export var DuplicateResourceException$ = [-3, n0, _DRE,
198
207
  { [_e]: _c, [_hE]: 409 },
199
208
  [_M],
@@ -317,8 +326,8 @@ export var DataIntegrationSummary$ = [3, n0, _DIS,
317
326
  ];
318
327
  export var DeleteApplicationRequest$ = [3, n0, _DAR,
319
328
  0,
320
- [_A],
321
- [[0, 1]], 1
329
+ [_A, _F],
330
+ [[0, 1], [2, { [_hQ]: _f }]], 1
322
331
  ];
323
332
  export var DeleteApplicationResponse$ = [3, n0, _DARe,
324
333
  0,
@@ -372,7 +381,7 @@ export var ExternalUrlConfig$ = [3, n0, _EUC,
372
381
  ];
373
382
  export var FileConfiguration$ = [3, n0, _FC,
374
383
  0,
375
- [_F, _Fi],
384
+ [_Fo, _Fi],
376
385
  [64 | 0, [2, n0, _FM, 0, 0, 64 | 0]], 1
377
386
  ];
378
387
  export var GetApplicationRequest$ = [3, n0, _GAR,
@@ -24,8 +24,9 @@ declare const DeleteApplicationCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Deletes the Application. Only Applications that don't have any Application Associations
28
- * can be deleted.</p>
27
+ * <p>Deletes an application. If the application has associations, you must delete them first.
28
+ * Alternatively, use the <code>force</code> option to delete the application and remove its
29
+ * associations.</p>
29
30
  * @example
30
31
  * Use a bare-bones client and the command you need to make an API call.
31
32
  * ```javascript
@@ -36,6 +37,7 @@ declare const DeleteApplicationCommand_base: {
36
37
  * const client = new AppIntegrationsClient(config);
37
38
  * const input = { // DeleteApplicationRequest
38
39
  * Arn: "STRING_VALUE", // required
40
+ * Force: true || false,
39
41
  * };
40
42
  * const command = new DeleteApplicationCommand(input);
41
43
  * const response = await client.send(command);
@@ -93,6 +93,9 @@ declare const UpdateApplicationCommand_base: {
93
93
  * @throws {@link AccessDeniedException} (client fault)
94
94
  * <p>You do not have sufficient access to perform this action.</p>
95
95
  *
96
+ * @throws {@link ConflictException} (client fault)
97
+ * <p>The request conflicts with the current state of the resource. Verify the application's current state and retry the request.</p>
98
+ *
96
99
  * @throws {@link InternalServiceError} (server fault)
97
100
  * <p>Request processing failed due to an error or failure with the service.</p>
98
101
  *
@@ -104,3 +104,16 @@ export declare class ResourceNotFoundException extends __BaseException {
104
104
  */
105
105
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
106
106
  }
107
+ /**
108
+ * <p>The request conflicts with the current state of the resource. Verify the application's current state and retry the request.</p>
109
+ * @public
110
+ */
111
+ export declare class ConflictException extends __BaseException {
112
+ readonly name: "ConflictException";
113
+ readonly $fault: "client";
114
+ Message?: string | undefined;
115
+ /**
116
+ * @internal
117
+ */
118
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
119
+ }
@@ -520,6 +520,18 @@ export interface DeleteApplicationRequest {
520
520
  * @public
521
521
  */
522
522
  Arn: string | undefined;
523
+ /**
524
+ * <p>Specifies whether to delete the application even if it still has application associations.
525
+ * If <code>true</code>, the operation removes the application and its associations. If
526
+ * <code>false</code> or absent, the delete fails when associations exist.</p>
527
+ * <important>
528
+ * <p>Setting this parameter to <code>true</code> permanently removes all of the
529
+ * application's associations. Doing so might impact other resources that rely on and
530
+ * reference the application. This action can't be undone.</p>
531
+ * </important>
532
+ * @public
533
+ */
534
+ Force?: boolean | undefined;
523
535
  }
524
536
  /**
525
537
  * @public
@@ -2,6 +2,7 @@ import { TypeRegistry } from "@smithy/core/schema";
2
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
3
  export declare var AppIntegrationsServiceException$: StaticErrorSchema;
4
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
5
6
  export declare var DuplicateResourceException$: StaticErrorSchema;
6
7
  export declare var InternalServiceError$: StaticErrorSchema;
7
8
  export declare var InvalidRequestException$: StaticErrorSchema;
@@ -48,3 +48,9 @@ export declare class ResourceNotFoundException extends __BaseException {
48
48
  Message?: string | undefined;
49
49
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
50
50
  }
51
+ export declare class ConflictException extends __BaseException {
52
+ readonly name: "ConflictException";
53
+ readonly $fault: "client";
54
+ Message?: string | undefined;
55
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
56
+ }
@@ -116,6 +116,7 @@ export interface CreateEventIntegrationResponse {
116
116
  }
117
117
  export interface DeleteApplicationRequest {
118
118
  Arn: string | undefined;
119
+ Force?: boolean | undefined;
119
120
  }
120
121
  export interface DeleteApplicationResponse {}
121
122
  export interface DeleteDataIntegrationRequest {
@@ -2,6 +2,7 @@ import { TypeRegistry } from "@smithy/core/schema";
2
2
  import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
3
  export declare var AppIntegrationsServiceException$: StaticErrorSchema;
4
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
5
6
  export declare var DuplicateResourceException$: StaticErrorSchema;
6
7
  export declare var InternalServiceError$: StaticErrorSchema;
7
8
  export declare var InvalidRequestException$: StaticErrorSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appintegrations",
3
- "version": "3.1123.0",
3
+ "version": "3.1125.0",
4
4
  "description": "AWS SDK for JavaScript Appintegrations Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-appintegrations",
6
6
  "license": "Apache-2.0",