@aws-sdk/client-appintegrations 3.624.0 → 3.626.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 +47 -4
- package/dist-cjs/index.js +120 -1
- package/dist-es/AppIntegrations.js +4 -0
- package/dist-es/commands/CreateDataIntegrationAssociationCommand.js +24 -0
- package/dist-es/commands/UpdateDataIntegrationAssociationCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/protocols/Aws_restJson1.js +59 -0
- package/dist-types/AppIntegrations.d.ts +46 -5
- package/dist-types/AppIntegrationsClient.d.ts +36 -7
- package/dist-types/commands/CreateApplicationCommand.d.ts +1 -2
- package/dist-types/commands/CreateDataIntegrationAssociationCommand.d.ts +104 -0
- package/dist-types/commands/CreateDataIntegrationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApplicationCommand.d.ts +2 -1
- package/dist-types/commands/GetApplicationCommand.d.ts +1 -2
- package/dist-types/commands/ListApplicationsCommand.d.ts +1 -2
- package/dist-types/commands/ListDataIntegrationAssociationsCommand.d.ts +17 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +1 -2
- package/dist-types/commands/UpdateDataIntegrationAssociationCommand.d.ts +91 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +32 -5
- package/dist-types/models/models_0.d.ts +197 -18
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/AppIntegrations.d.ts +34 -0
- package/dist-types/ts3.4/AppIntegrationsClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateDataIntegrationAssociationCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/UpdateDataIntegrationAssociationCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +56 -9
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,13 +6,40 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript AppIntegrations Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
+
<ul>
|
|
10
|
+
<li>
|
|
11
|
+
<p>
|
|
12
|
+
<a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_AppIntegrations_Service.html">Amazon AppIntegrations
|
|
13
|
+
actions</a>
|
|
14
|
+
</p>
|
|
15
|
+
</li>
|
|
16
|
+
<li>
|
|
17
|
+
<p>
|
|
18
|
+
<a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_AppIntegrations_Service.html">Amazon AppIntegrations
|
|
19
|
+
data types</a>
|
|
20
|
+
</p>
|
|
21
|
+
</li>
|
|
22
|
+
</ul>
|
|
9
23
|
<p>The Amazon AppIntegrations service enables you to configure and reuse connections to external
|
|
10
24
|
applications.</p>
|
|
11
25
|
<p>For information about how you can use external applications with Amazon Connect, see
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
26
|
+
the following topics in the <i>Amazon Connect Administrator
|
|
27
|
+
Guide</i>:</p>
|
|
28
|
+
<ul>
|
|
29
|
+
<li>
|
|
30
|
+
<p>
|
|
31
|
+
<a href="https://docs.aws.amazon.com/connect/latest/adminguide/3p-apps.html">Third-party
|
|
32
|
+
applications (3p apps) in the agent workspace</a>
|
|
33
|
+
</p>
|
|
34
|
+
</li>
|
|
35
|
+
<li>
|
|
36
|
+
<p>
|
|
37
|
+
<a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html">Use
|
|
38
|
+
Amazon Q in Connect for generative AI–powered agent assistance in
|
|
39
|
+
real-time</a>
|
|
40
|
+
</p>
|
|
41
|
+
</li>
|
|
42
|
+
</ul>
|
|
16
43
|
|
|
17
44
|
## Installing
|
|
18
45
|
|
|
@@ -224,6 +251,14 @@ CreateDataIntegration
|
|
|
224
251
|
|
|
225
252
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appintegrations/command/CreateDataIntegrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appintegrations/Interface/CreateDataIntegrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appintegrations/Interface/CreateDataIntegrationCommandOutput/)
|
|
226
253
|
|
|
254
|
+
</details>
|
|
255
|
+
<details>
|
|
256
|
+
<summary>
|
|
257
|
+
CreateDataIntegrationAssociation
|
|
258
|
+
</summary>
|
|
259
|
+
|
|
260
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appintegrations/command/CreateDataIntegrationAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appintegrations/Interface/CreateDataIntegrationAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appintegrations/Interface/CreateDataIntegrationAssociationCommandOutput/)
|
|
261
|
+
|
|
227
262
|
</details>
|
|
228
263
|
<details>
|
|
229
264
|
<summary>
|
|
@@ -368,6 +403,14 @@ UpdateDataIntegration
|
|
|
368
403
|
|
|
369
404
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appintegrations/command/UpdateDataIntegrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appintegrations/Interface/UpdateDataIntegrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appintegrations/Interface/UpdateDataIntegrationCommandOutput/)
|
|
370
405
|
|
|
406
|
+
</details>
|
|
407
|
+
<details>
|
|
408
|
+
<summary>
|
|
409
|
+
UpdateDataIntegrationAssociation
|
|
410
|
+
</summary>
|
|
411
|
+
|
|
412
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/appintegrations/command/UpdateDataIntegrationAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appintegrations/Interface/UpdateDataIntegrationAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-appintegrations/Interface/UpdateDataIntegrationAssociationCommandOutput/)
|
|
413
|
+
|
|
371
414
|
</details>
|
|
372
415
|
<details>
|
|
373
416
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -26,12 +26,15 @@ __export(src_exports, {
|
|
|
26
26
|
AppIntegrationsClient: () => AppIntegrationsClient,
|
|
27
27
|
AppIntegrationsServiceException: () => AppIntegrationsServiceException,
|
|
28
28
|
CreateApplicationCommand: () => CreateApplicationCommand,
|
|
29
|
+
CreateDataIntegrationAssociationCommand: () => CreateDataIntegrationAssociationCommand,
|
|
29
30
|
CreateDataIntegrationCommand: () => CreateDataIntegrationCommand,
|
|
30
31
|
CreateEventIntegrationCommand: () => CreateEventIntegrationCommand,
|
|
31
32
|
DeleteApplicationCommand: () => DeleteApplicationCommand,
|
|
32
33
|
DeleteDataIntegrationCommand: () => DeleteDataIntegrationCommand,
|
|
33
34
|
DeleteEventIntegrationCommand: () => DeleteEventIntegrationCommand,
|
|
34
35
|
DuplicateResourceException: () => DuplicateResourceException,
|
|
36
|
+
ExecutionMode: () => ExecutionMode,
|
|
37
|
+
ExecutionStatus: () => ExecutionStatus,
|
|
35
38
|
GetApplicationCommand: () => GetApplicationCommand,
|
|
36
39
|
GetDataIntegrationCommand: () => GetDataIntegrationCommand,
|
|
37
40
|
GetEventIntegrationCommand: () => GetEventIntegrationCommand,
|
|
@@ -51,6 +54,7 @@ __export(src_exports, {
|
|
|
51
54
|
UnsupportedOperationException: () => UnsupportedOperationException,
|
|
52
55
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
53
56
|
UpdateApplicationCommand: () => UpdateApplicationCommand,
|
|
57
|
+
UpdateDataIntegrationAssociationCommand: () => UpdateDataIntegrationAssociationCommand,
|
|
54
58
|
UpdateDataIntegrationCommand: () => UpdateDataIntegrationCommand,
|
|
55
59
|
UpdateEventIntegrationCommand: () => UpdateEventIntegrationCommand,
|
|
56
60
|
__Client: () => import_smithy_client.Client,
|
|
@@ -355,6 +359,10 @@ var _UnsupportedOperationException = class _UnsupportedOperationException extend
|
|
|
355
359
|
};
|
|
356
360
|
__name(_UnsupportedOperationException, "UnsupportedOperationException");
|
|
357
361
|
var UnsupportedOperationException = _UnsupportedOperationException;
|
|
362
|
+
var ExecutionMode = {
|
|
363
|
+
ON_DEMAND: "ON_DEMAND",
|
|
364
|
+
SCHEDULED: "SCHEDULED"
|
|
365
|
+
};
|
|
358
366
|
var _ResourceNotFoundException = class _ResourceNotFoundException extends AppIntegrationsServiceException {
|
|
359
367
|
/**
|
|
360
368
|
* @internal
|
|
@@ -373,6 +381,11 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends AppInt
|
|
|
373
381
|
};
|
|
374
382
|
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
375
383
|
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
384
|
+
var ExecutionStatus = {
|
|
385
|
+
COMPLETED: "COMPLETED",
|
|
386
|
+
FAILED: "FAILED",
|
|
387
|
+
IN_PROGRESS: "IN_PROGRESS"
|
|
388
|
+
};
|
|
376
389
|
|
|
377
390
|
// src/protocols/Aws_restJson1.ts
|
|
378
391
|
var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -421,6 +434,27 @@ var se_CreateDataIntegrationCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
421
434
|
b.m("POST").h(headers).b(body);
|
|
422
435
|
return b.build();
|
|
423
436
|
}, "se_CreateDataIntegrationCommand");
|
|
437
|
+
var se_CreateDataIntegrationAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
438
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
439
|
+
const headers = {
|
|
440
|
+
"content-type": "application/json"
|
|
441
|
+
};
|
|
442
|
+
b.bp("/dataIntegrations/{DataIntegrationIdentifier}/associations");
|
|
443
|
+
b.p("DataIntegrationIdentifier", () => input.DataIntegrationIdentifier, "{DataIntegrationIdentifier}", false);
|
|
444
|
+
let body;
|
|
445
|
+
body = JSON.stringify(
|
|
446
|
+
(0, import_smithy_client.take)(input, {
|
|
447
|
+
ClientAssociationMetadata: (_) => (0, import_smithy_client._json)(_),
|
|
448
|
+
ClientId: [],
|
|
449
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
450
|
+
DestinationURI: [],
|
|
451
|
+
ExecutionConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
452
|
+
ObjectConfiguration: (_) => (0, import_smithy_client._json)(_)
|
|
453
|
+
})
|
|
454
|
+
);
|
|
455
|
+
b.m("POST").h(headers).b(body);
|
|
456
|
+
return b.build();
|
|
457
|
+
}, "se_CreateDataIntegrationAssociationCommand");
|
|
424
458
|
var se_CreateEventIntegrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
425
459
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
426
460
|
const headers = {
|
|
@@ -648,6 +682,28 @@ var se_UpdateDataIntegrationCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
648
682
|
b.m("PATCH").h(headers).b(body);
|
|
649
683
|
return b.build();
|
|
650
684
|
}, "se_UpdateDataIntegrationCommand");
|
|
685
|
+
var se_UpdateDataIntegrationAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
686
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
687
|
+
const headers = {
|
|
688
|
+
"content-type": "application/json"
|
|
689
|
+
};
|
|
690
|
+
b.bp("/dataIntegrations/{DataIntegrationIdentifier}/associations/{DataIntegrationAssociationIdentifier}");
|
|
691
|
+
b.p("DataIntegrationIdentifier", () => input.DataIntegrationIdentifier, "{DataIntegrationIdentifier}", false);
|
|
692
|
+
b.p(
|
|
693
|
+
"DataIntegrationAssociationIdentifier",
|
|
694
|
+
() => input.DataIntegrationAssociationIdentifier,
|
|
695
|
+
"{DataIntegrationAssociationIdentifier}",
|
|
696
|
+
false
|
|
697
|
+
);
|
|
698
|
+
let body;
|
|
699
|
+
body = JSON.stringify(
|
|
700
|
+
(0, import_smithy_client.take)(input, {
|
|
701
|
+
ExecutionConfiguration: (_) => (0, import_smithy_client._json)(_)
|
|
702
|
+
})
|
|
703
|
+
);
|
|
704
|
+
b.m("PATCH").h(headers).b(body);
|
|
705
|
+
return b.build();
|
|
706
|
+
}, "se_UpdateDataIntegrationAssociationCommand");
|
|
651
707
|
var se_UpdateEventIntegrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
652
708
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
653
709
|
const headers = {
|
|
@@ -703,6 +759,21 @@ var de_CreateDataIntegrationCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
703
759
|
Object.assign(contents, doc);
|
|
704
760
|
return contents;
|
|
705
761
|
}, "de_CreateDataIntegrationCommand");
|
|
762
|
+
var de_CreateDataIntegrationAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
763
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
764
|
+
return de_CommandError(output, context);
|
|
765
|
+
}
|
|
766
|
+
const contents = (0, import_smithy_client.map)({
|
|
767
|
+
$metadata: deserializeMetadata(output)
|
|
768
|
+
});
|
|
769
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
770
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
771
|
+
DataIntegrationArn: import_smithy_client.expectString,
|
|
772
|
+
DataIntegrationAssociationId: import_smithy_client.expectString
|
|
773
|
+
});
|
|
774
|
+
Object.assign(contents, doc);
|
|
775
|
+
return contents;
|
|
776
|
+
}, "de_CreateDataIntegrationAssociationCommand");
|
|
706
777
|
var de_CreateEventIntegrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
707
778
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
708
779
|
return de_CommandError(output, context);
|
|
@@ -958,6 +1029,16 @@ var de_UpdateDataIntegrationCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
958
1029
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
959
1030
|
return contents;
|
|
960
1031
|
}, "de_UpdateDataIntegrationCommand");
|
|
1032
|
+
var de_UpdateDataIntegrationAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1033
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1034
|
+
return de_CommandError(output, context);
|
|
1035
|
+
}
|
|
1036
|
+
const contents = (0, import_smithy_client.map)({
|
|
1037
|
+
$metadata: deserializeMetadata(output)
|
|
1038
|
+
});
|
|
1039
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1040
|
+
return contents;
|
|
1041
|
+
}, "de_UpdateDataIntegrationAssociationCommand");
|
|
961
1042
|
var de_UpdateEventIntegrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
962
1043
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
963
1044
|
return de_CommandError(output, context);
|
|
@@ -1154,6 +1235,22 @@ var _CreateApplicationCommand = class _CreateApplicationCommand extends import_s
|
|
|
1154
1235
|
__name(_CreateApplicationCommand, "CreateApplicationCommand");
|
|
1155
1236
|
var CreateApplicationCommand = _CreateApplicationCommand;
|
|
1156
1237
|
|
|
1238
|
+
// src/commands/CreateDataIntegrationAssociationCommand.ts
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
var _CreateDataIntegrationAssociationCommand = class _CreateDataIntegrationAssociationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1243
|
+
...commonParams
|
|
1244
|
+
}).m(function(Command, cs, config, o) {
|
|
1245
|
+
return [
|
|
1246
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1247
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1248
|
+
];
|
|
1249
|
+
}).s("AmazonAppIntegrationService", "CreateDataIntegrationAssociation", {}).n("AppIntegrationsClient", "CreateDataIntegrationAssociationCommand").f(void 0, void 0).ser(se_CreateDataIntegrationAssociationCommand).de(de_CreateDataIntegrationAssociationCommand).build() {
|
|
1250
|
+
};
|
|
1251
|
+
__name(_CreateDataIntegrationAssociationCommand, "CreateDataIntegrationAssociationCommand");
|
|
1252
|
+
var CreateDataIntegrationAssociationCommand = _CreateDataIntegrationAssociationCommand;
|
|
1253
|
+
|
|
1157
1254
|
// src/commands/CreateDataIntegrationCommand.ts
|
|
1158
1255
|
|
|
1159
1256
|
|
|
@@ -1442,6 +1539,22 @@ var _UpdateApplicationCommand = class _UpdateApplicationCommand extends import_s
|
|
|
1442
1539
|
__name(_UpdateApplicationCommand, "UpdateApplicationCommand");
|
|
1443
1540
|
var UpdateApplicationCommand = _UpdateApplicationCommand;
|
|
1444
1541
|
|
|
1542
|
+
// src/commands/UpdateDataIntegrationAssociationCommand.ts
|
|
1543
|
+
|
|
1544
|
+
|
|
1545
|
+
|
|
1546
|
+
var _UpdateDataIntegrationAssociationCommand = class _UpdateDataIntegrationAssociationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1547
|
+
...commonParams
|
|
1548
|
+
}).m(function(Command, cs, config, o) {
|
|
1549
|
+
return [
|
|
1550
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1551
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1552
|
+
];
|
|
1553
|
+
}).s("AmazonAppIntegrationService", "UpdateDataIntegrationAssociation", {}).n("AppIntegrationsClient", "UpdateDataIntegrationAssociationCommand").f(void 0, void 0).ser(se_UpdateDataIntegrationAssociationCommand).de(de_UpdateDataIntegrationAssociationCommand).build() {
|
|
1554
|
+
};
|
|
1555
|
+
__name(_UpdateDataIntegrationAssociationCommand, "UpdateDataIntegrationAssociationCommand");
|
|
1556
|
+
var UpdateDataIntegrationAssociationCommand = _UpdateDataIntegrationAssociationCommand;
|
|
1557
|
+
|
|
1445
1558
|
// src/commands/UpdateDataIntegrationCommand.ts
|
|
1446
1559
|
|
|
1447
1560
|
|
|
@@ -1478,6 +1591,7 @@ var UpdateEventIntegrationCommand = _UpdateEventIntegrationCommand;
|
|
|
1478
1591
|
var commands = {
|
|
1479
1592
|
CreateApplicationCommand,
|
|
1480
1593
|
CreateDataIntegrationCommand,
|
|
1594
|
+
CreateDataIntegrationAssociationCommand,
|
|
1481
1595
|
CreateEventIntegrationCommand,
|
|
1482
1596
|
DeleteApplicationCommand,
|
|
1483
1597
|
DeleteDataIntegrationCommand,
|
|
@@ -1496,6 +1610,7 @@ var commands = {
|
|
|
1496
1610
|
UntagResourceCommand,
|
|
1497
1611
|
UpdateApplicationCommand,
|
|
1498
1612
|
UpdateDataIntegrationCommand,
|
|
1613
|
+
UpdateDataIntegrationAssociationCommand,
|
|
1499
1614
|
UpdateEventIntegrationCommand
|
|
1500
1615
|
};
|
|
1501
1616
|
var _AppIntegrations = class _AppIntegrations extends AppIntegrationsClient {
|
|
@@ -1536,6 +1651,7 @@ var paginateListEventIntegrations = (0, import_core.createPaginator)(AppIntegrat
|
|
|
1536
1651
|
AppIntegrations,
|
|
1537
1652
|
$Command,
|
|
1538
1653
|
CreateApplicationCommand,
|
|
1654
|
+
CreateDataIntegrationAssociationCommand,
|
|
1539
1655
|
CreateDataIntegrationCommand,
|
|
1540
1656
|
CreateEventIntegrationCommand,
|
|
1541
1657
|
DeleteApplicationCommand,
|
|
@@ -1554,6 +1670,7 @@ var paginateListEventIntegrations = (0, import_core.createPaginator)(AppIntegrat
|
|
|
1554
1670
|
TagResourceCommand,
|
|
1555
1671
|
UntagResourceCommand,
|
|
1556
1672
|
UpdateApplicationCommand,
|
|
1673
|
+
UpdateDataIntegrationAssociationCommand,
|
|
1557
1674
|
UpdateDataIntegrationCommand,
|
|
1558
1675
|
UpdateEventIntegrationCommand,
|
|
1559
1676
|
paginateListApplicationAssociations,
|
|
@@ -1569,6 +1686,8 @@ var paginateListEventIntegrations = (0, import_core.createPaginator)(AppIntegrat
|
|
|
1569
1686
|
ResourceQuotaExceededException,
|
|
1570
1687
|
ThrottlingException,
|
|
1571
1688
|
UnsupportedOperationException,
|
|
1572
|
-
|
|
1689
|
+
ExecutionMode,
|
|
1690
|
+
ResourceNotFoundException,
|
|
1691
|
+
ExecutionStatus
|
|
1573
1692
|
});
|
|
1574
1693
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { AppIntegrationsClient } from "./AppIntegrationsClient";
|
|
3
3
|
import { CreateApplicationCommand, } from "./commands/CreateApplicationCommand";
|
|
4
|
+
import { CreateDataIntegrationAssociationCommand, } from "./commands/CreateDataIntegrationAssociationCommand";
|
|
4
5
|
import { CreateDataIntegrationCommand, } from "./commands/CreateDataIntegrationCommand";
|
|
5
6
|
import { CreateEventIntegrationCommand, } from "./commands/CreateEventIntegrationCommand";
|
|
6
7
|
import { DeleteApplicationCommand, } from "./commands/DeleteApplicationCommand";
|
|
@@ -19,11 +20,13 @@ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceComma
|
|
|
19
20
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
20
21
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
21
22
|
import { UpdateApplicationCommand, } from "./commands/UpdateApplicationCommand";
|
|
23
|
+
import { UpdateDataIntegrationAssociationCommand, } from "./commands/UpdateDataIntegrationAssociationCommand";
|
|
22
24
|
import { UpdateDataIntegrationCommand, } from "./commands/UpdateDataIntegrationCommand";
|
|
23
25
|
import { UpdateEventIntegrationCommand, } from "./commands/UpdateEventIntegrationCommand";
|
|
24
26
|
const commands = {
|
|
25
27
|
CreateApplicationCommand,
|
|
26
28
|
CreateDataIntegrationCommand,
|
|
29
|
+
CreateDataIntegrationAssociationCommand,
|
|
27
30
|
CreateEventIntegrationCommand,
|
|
28
31
|
DeleteApplicationCommand,
|
|
29
32
|
DeleteDataIntegrationCommand,
|
|
@@ -42,6 +45,7 @@ const commands = {
|
|
|
42
45
|
UntagResourceCommand,
|
|
43
46
|
UpdateApplicationCommand,
|
|
44
47
|
UpdateDataIntegrationCommand,
|
|
48
|
+
UpdateDataIntegrationAssociationCommand,
|
|
45
49
|
UpdateEventIntegrationCommand,
|
|
46
50
|
};
|
|
47
51
|
export class AppIntegrations extends AppIntegrationsClient {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateDataIntegrationAssociationCommand, se_CreateDataIntegrationAssociationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateDataIntegrationAssociationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonAppIntegrationService", "CreateDataIntegrationAssociation", {})
|
|
19
|
+
.n("AppIntegrationsClient", "CreateDataIntegrationAssociationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateDataIntegrationAssociationCommand)
|
|
22
|
+
.de(de_CreateDataIntegrationAssociationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateDataIntegrationAssociationCommand, se_UpdateDataIntegrationAssociationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateDataIntegrationAssociationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AmazonAppIntegrationService", "UpdateDataIntegrationAssociation", {})
|
|
19
|
+
.n("AppIntegrationsClient", "UpdateDataIntegrationAssociationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateDataIntegrationAssociationCommand)
|
|
22
|
+
.de(de_UpdateDataIntegrationAssociationCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./CreateApplicationCommand";
|
|
2
|
+
export * from "./CreateDataIntegrationAssociationCommand";
|
|
2
3
|
export * from "./CreateDataIntegrationCommand";
|
|
3
4
|
export * from "./CreateEventIntegrationCommand";
|
|
4
5
|
export * from "./DeleteApplicationCommand";
|
|
@@ -17,5 +18,6 @@ export * from "./ListTagsForResourceCommand";
|
|
|
17
18
|
export * from "./TagResourceCommand";
|
|
18
19
|
export * from "./UntagResourceCommand";
|
|
19
20
|
export * from "./UpdateApplicationCommand";
|
|
21
|
+
export * from "./UpdateDataIntegrationAssociationCommand";
|
|
20
22
|
export * from "./UpdateDataIntegrationCommand";
|
|
21
23
|
export * from "./UpdateEventIntegrationCommand";
|
|
@@ -90,6 +90,10 @@ export class UnsupportedOperationException extends __BaseException {
|
|
|
90
90
|
this.Message = opts.Message;
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
+
export const ExecutionMode = {
|
|
94
|
+
ON_DEMAND: "ON_DEMAND",
|
|
95
|
+
SCHEDULED: "SCHEDULED",
|
|
96
|
+
};
|
|
93
97
|
export class ResourceNotFoundException extends __BaseException {
|
|
94
98
|
constructor(opts) {
|
|
95
99
|
super({
|
|
@@ -103,3 +107,8 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
103
107
|
this.Message = opts.Message;
|
|
104
108
|
}
|
|
105
109
|
}
|
|
110
|
+
export const ExecutionStatus = {
|
|
111
|
+
COMPLETED: "COMPLETED",
|
|
112
|
+
FAILED: "FAILED",
|
|
113
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
114
|
+
};
|
|
@@ -46,6 +46,25 @@ export const se_CreateDataIntegrationCommand = async (input, context) => {
|
|
|
46
46
|
b.m("POST").h(headers).b(body);
|
|
47
47
|
return b.build();
|
|
48
48
|
};
|
|
49
|
+
export const se_CreateDataIntegrationAssociationCommand = async (input, context) => {
|
|
50
|
+
const b = rb(input, context);
|
|
51
|
+
const headers = {
|
|
52
|
+
"content-type": "application/json",
|
|
53
|
+
};
|
|
54
|
+
b.bp("/dataIntegrations/{DataIntegrationIdentifier}/associations");
|
|
55
|
+
b.p("DataIntegrationIdentifier", () => input.DataIntegrationIdentifier, "{DataIntegrationIdentifier}", false);
|
|
56
|
+
let body;
|
|
57
|
+
body = JSON.stringify(take(input, {
|
|
58
|
+
ClientAssociationMetadata: (_) => _json(_),
|
|
59
|
+
ClientId: [],
|
|
60
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
61
|
+
DestinationURI: [],
|
|
62
|
+
ExecutionConfiguration: (_) => _json(_),
|
|
63
|
+
ObjectConfiguration: (_) => _json(_),
|
|
64
|
+
}));
|
|
65
|
+
b.m("POST").h(headers).b(body);
|
|
66
|
+
return b.build();
|
|
67
|
+
};
|
|
49
68
|
export const se_CreateEventIntegrationCommand = async (input, context) => {
|
|
50
69
|
const b = rb(input, context);
|
|
51
70
|
const headers = {
|
|
@@ -265,6 +284,21 @@ export const se_UpdateDataIntegrationCommand = async (input, context) => {
|
|
|
265
284
|
b.m("PATCH").h(headers).b(body);
|
|
266
285
|
return b.build();
|
|
267
286
|
};
|
|
287
|
+
export const se_UpdateDataIntegrationAssociationCommand = async (input, context) => {
|
|
288
|
+
const b = rb(input, context);
|
|
289
|
+
const headers = {
|
|
290
|
+
"content-type": "application/json",
|
|
291
|
+
};
|
|
292
|
+
b.bp("/dataIntegrations/{DataIntegrationIdentifier}/associations/{DataIntegrationAssociationIdentifier}");
|
|
293
|
+
b.p("DataIntegrationIdentifier", () => input.DataIntegrationIdentifier, "{DataIntegrationIdentifier}", false);
|
|
294
|
+
b.p("DataIntegrationAssociationIdentifier", () => input.DataIntegrationAssociationIdentifier, "{DataIntegrationAssociationIdentifier}", false);
|
|
295
|
+
let body;
|
|
296
|
+
body = JSON.stringify(take(input, {
|
|
297
|
+
ExecutionConfiguration: (_) => _json(_),
|
|
298
|
+
}));
|
|
299
|
+
b.m("PATCH").h(headers).b(body);
|
|
300
|
+
return b.build();
|
|
301
|
+
};
|
|
268
302
|
export const se_UpdateEventIntegrationCommand = async (input, context) => {
|
|
269
303
|
const b = rb(input, context);
|
|
270
304
|
const headers = {
|
|
@@ -318,6 +352,21 @@ export const de_CreateDataIntegrationCommand = async (output, context) => {
|
|
|
318
352
|
Object.assign(contents, doc);
|
|
319
353
|
return contents;
|
|
320
354
|
};
|
|
355
|
+
export const de_CreateDataIntegrationAssociationCommand = async (output, context) => {
|
|
356
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
357
|
+
return de_CommandError(output, context);
|
|
358
|
+
}
|
|
359
|
+
const contents = map({
|
|
360
|
+
$metadata: deserializeMetadata(output),
|
|
361
|
+
});
|
|
362
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
363
|
+
const doc = take(data, {
|
|
364
|
+
DataIntegrationArn: __expectString,
|
|
365
|
+
DataIntegrationAssociationId: __expectString,
|
|
366
|
+
});
|
|
367
|
+
Object.assign(contents, doc);
|
|
368
|
+
return contents;
|
|
369
|
+
};
|
|
321
370
|
export const de_CreateEventIntegrationCommand = async (output, context) => {
|
|
322
371
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
323
372
|
return de_CommandError(output, context);
|
|
@@ -573,6 +622,16 @@ export const de_UpdateDataIntegrationCommand = async (output, context) => {
|
|
|
573
622
|
await collectBody(output.body, context);
|
|
574
623
|
return contents;
|
|
575
624
|
};
|
|
625
|
+
export const de_UpdateDataIntegrationAssociationCommand = async (output, context) => {
|
|
626
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
627
|
+
return de_CommandError(output, context);
|
|
628
|
+
}
|
|
629
|
+
const contents = map({
|
|
630
|
+
$metadata: deserializeMetadata(output),
|
|
631
|
+
});
|
|
632
|
+
await collectBody(output.body, context);
|
|
633
|
+
return contents;
|
|
634
|
+
};
|
|
576
635
|
export const de_UpdateEventIntegrationCommand = async (output, context) => {
|
|
577
636
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
578
637
|
return de_CommandError(output, context);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { AppIntegrationsClient } from "./AppIntegrationsClient";
|
|
3
3
|
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
4
|
+
import { CreateDataIntegrationAssociationCommandInput, CreateDataIntegrationAssociationCommandOutput } from "./commands/CreateDataIntegrationAssociationCommand";
|
|
4
5
|
import { CreateDataIntegrationCommandInput, CreateDataIntegrationCommandOutput } from "./commands/CreateDataIntegrationCommand";
|
|
5
6
|
import { CreateEventIntegrationCommandInput, CreateEventIntegrationCommandOutput } from "./commands/CreateEventIntegrationCommand";
|
|
6
7
|
import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
@@ -19,6 +20,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
19
20
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
20
21
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
21
22
|
import { UpdateApplicationCommandInput, UpdateApplicationCommandOutput } from "./commands/UpdateApplicationCommand";
|
|
23
|
+
import { UpdateDataIntegrationAssociationCommandInput, UpdateDataIntegrationAssociationCommandOutput } from "./commands/UpdateDataIntegrationAssociationCommand";
|
|
22
24
|
import { UpdateDataIntegrationCommandInput, UpdateDataIntegrationCommandOutput } from "./commands/UpdateDataIntegrationCommand";
|
|
23
25
|
import { UpdateEventIntegrationCommandInput, UpdateEventIntegrationCommandOutput } from "./commands/UpdateEventIntegrationCommand";
|
|
24
26
|
export interface AppIntegrations {
|
|
@@ -34,6 +36,12 @@ export interface AppIntegrations {
|
|
|
34
36
|
createDataIntegration(args: CreateDataIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataIntegrationCommandOutput>;
|
|
35
37
|
createDataIntegration(args: CreateDataIntegrationCommandInput, cb: (err: any, data?: CreateDataIntegrationCommandOutput) => void): void;
|
|
36
38
|
createDataIntegration(args: CreateDataIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataIntegrationCommandOutput) => void): void;
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link CreateDataIntegrationAssociationCommand}
|
|
41
|
+
*/
|
|
42
|
+
createDataIntegrationAssociation(args: CreateDataIntegrationAssociationCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataIntegrationAssociationCommandOutput>;
|
|
43
|
+
createDataIntegrationAssociation(args: CreateDataIntegrationAssociationCommandInput, cb: (err: any, data?: CreateDataIntegrationAssociationCommandOutput) => void): void;
|
|
44
|
+
createDataIntegrationAssociation(args: CreateDataIntegrationAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataIntegrationAssociationCommandOutput) => void): void;
|
|
37
45
|
/**
|
|
38
46
|
* @see {@link CreateEventIntegrationCommand}
|
|
39
47
|
*/
|
|
@@ -145,6 +153,12 @@ export interface AppIntegrations {
|
|
|
145
153
|
updateDataIntegration(args: UpdateDataIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataIntegrationCommandOutput>;
|
|
146
154
|
updateDataIntegration(args: UpdateDataIntegrationCommandInput, cb: (err: any, data?: UpdateDataIntegrationCommandOutput) => void): void;
|
|
147
155
|
updateDataIntegration(args: UpdateDataIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataIntegrationCommandOutput) => void): void;
|
|
156
|
+
/**
|
|
157
|
+
* @see {@link UpdateDataIntegrationAssociationCommand}
|
|
158
|
+
*/
|
|
159
|
+
updateDataIntegrationAssociation(args: UpdateDataIntegrationAssociationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataIntegrationAssociationCommandOutput>;
|
|
160
|
+
updateDataIntegrationAssociation(args: UpdateDataIntegrationAssociationCommandInput, cb: (err: any, data?: UpdateDataIntegrationAssociationCommandOutput) => void): void;
|
|
161
|
+
updateDataIntegrationAssociation(args: UpdateDataIntegrationAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataIntegrationAssociationCommandOutput) => void): void;
|
|
148
162
|
/**
|
|
149
163
|
* @see {@link UpdateEventIntegrationCommand}
|
|
150
164
|
*/
|
|
@@ -153,13 +167,40 @@ export interface AppIntegrations {
|
|
|
153
167
|
updateEventIntegration(args: UpdateEventIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventIntegrationCommandOutput) => void): void;
|
|
154
168
|
}
|
|
155
169
|
/**
|
|
156
|
-
* <
|
|
170
|
+
* <ul>
|
|
171
|
+
* <li>
|
|
172
|
+
* <p>
|
|
173
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Operations_Amazon_AppIntegrations_Service.html">Amazon AppIntegrations
|
|
174
|
+
* actions</a>
|
|
175
|
+
* </p>
|
|
176
|
+
* </li>
|
|
177
|
+
* <li>
|
|
178
|
+
* <p>
|
|
179
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_Types_Amazon_AppIntegrations_Service.html">Amazon AppIntegrations
|
|
180
|
+
* data types</a>
|
|
181
|
+
* </p>
|
|
182
|
+
* </li>
|
|
183
|
+
* </ul>
|
|
184
|
+
* <p>The Amazon AppIntegrations service enables you to configure and reuse connections to external
|
|
157
185
|
* applications.</p>
|
|
158
186
|
* <p>For information about how you can use external applications with Amazon Connect, see
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
187
|
+
* the following topics in the <i>Amazon Connect Administrator
|
|
188
|
+
* Guide</i>:</p>
|
|
189
|
+
* <ul>
|
|
190
|
+
* <li>
|
|
191
|
+
* <p>
|
|
192
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/3p-apps.html">Third-party
|
|
193
|
+
* applications (3p apps) in the agent workspace</a>
|
|
194
|
+
* </p>
|
|
195
|
+
* </li>
|
|
196
|
+
* <li>
|
|
197
|
+
* <p>
|
|
198
|
+
* <a href="https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html">Use
|
|
199
|
+
* Amazon Q in Connect for generative AI–powered agent assistance in
|
|
200
|
+
* real-time</a>
|
|
201
|
+
* </p>
|
|
202
|
+
* </li>
|
|
203
|
+
* </ul>
|
|
163
204
|
* @public
|
|
164
205
|
*/
|
|
165
206
|
export declare class AppIntegrations extends AppIntegrationsClient implements AppIntegrations {
|