@aws-sdk/client-appintegrations 3.478.0 → 3.479.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 +16 -0
- package/dist-cjs/AppIntegrations.js +4 -0
- package/dist-cjs/commands/DeleteApplicationCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationAssociationsCommand.js +51 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +15 -1
- package/dist-cjs/pagination/ListApplicationAssociationsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +136 -1
- package/dist-es/AppIntegrations.js +4 -0
- package/dist-es/commands/DeleteApplicationCommand.js +47 -0
- package/dist-es/commands/ListApplicationAssociationsCommand.js +47 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/pagination/ListApplicationAssociationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +132 -1
- package/dist-types/AppIntegrations.d.ts +14 -0
- package/dist-types/AppIntegrationsClient.d.ts +4 -2
- package/dist-types/commands/CreateApplicationCommand.d.ts +6 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +86 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +3 -0
- package/dist-types/commands/ListApplicationAssociationsCommand.d.ts +97 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +116 -4
- package/dist-types/pagination/ListApplicationAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- 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/DeleteApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListApplicationAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +32 -3
- package/dist-types/ts3.4/pagination/ListApplicationAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { requestBuilder as rb } from "@smithy/core";
|
|
|
2
2
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { AppIntegrationsServiceException as __BaseException } from "../models/AppIntegrationsServiceException";
|
|
5
|
-
import { AccessDeniedException, DuplicateResourceException, InternalServiceError, InvalidRequestException, ResourceNotFoundException, ResourceQuotaExceededException, ThrottlingException, } from "../models/models_0";
|
|
5
|
+
import { AccessDeniedException, DuplicateResourceException, InternalServiceError, InvalidRequestException, ResourceNotFoundException, ResourceQuotaExceededException, ThrottlingException, UnsupportedOperationException, } from "../models/models_0";
|
|
6
6
|
export const se_CreateApplicationCommand = async (input, context) => {
|
|
7
7
|
const b = rb(input, context);
|
|
8
8
|
const headers = {
|
|
@@ -16,6 +16,7 @@ export const se_CreateApplicationCommand = async (input, context) => {
|
|
|
16
16
|
Description: [],
|
|
17
17
|
Name: [],
|
|
18
18
|
Namespace: [],
|
|
19
|
+
Permissions: (_) => _json(_),
|
|
19
20
|
Publications: (_) => _json(_),
|
|
20
21
|
Subscriptions: (_) => _json(_),
|
|
21
22
|
Tags: (_) => _json(_),
|
|
@@ -62,6 +63,15 @@ export const se_CreateEventIntegrationCommand = async (input, context) => {
|
|
|
62
63
|
b.m("POST").h(headers).b(body);
|
|
63
64
|
return b.build();
|
|
64
65
|
};
|
|
66
|
+
export const se_DeleteApplicationCommand = async (input, context) => {
|
|
67
|
+
const b = rb(input, context);
|
|
68
|
+
const headers = {};
|
|
69
|
+
b.bp("/applications/{Arn}");
|
|
70
|
+
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
71
|
+
let body;
|
|
72
|
+
b.m("DELETE").h(headers).b(body);
|
|
73
|
+
return b.build();
|
|
74
|
+
};
|
|
65
75
|
export const se_DeleteDataIntegrationCommand = async (input, context) => {
|
|
66
76
|
const b = rb(input, context);
|
|
67
77
|
const headers = {};
|
|
@@ -107,6 +117,19 @@ export const se_GetEventIntegrationCommand = async (input, context) => {
|
|
|
107
117
|
b.m("GET").h(headers).b(body);
|
|
108
118
|
return b.build();
|
|
109
119
|
};
|
|
120
|
+
export const se_ListApplicationAssociationsCommand = async (input, context) => {
|
|
121
|
+
const b = rb(input, context);
|
|
122
|
+
const headers = {};
|
|
123
|
+
b.bp("/applications/{ApplicationId}/associations");
|
|
124
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
125
|
+
const query = map({
|
|
126
|
+
[_nT]: [, input[_NT]],
|
|
127
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
128
|
+
});
|
|
129
|
+
let body;
|
|
130
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
131
|
+
return b.build();
|
|
132
|
+
};
|
|
110
133
|
export const se_ListApplicationsCommand = async (input, context) => {
|
|
111
134
|
const b = rb(input, context);
|
|
112
135
|
const headers = {};
|
|
@@ -219,6 +242,7 @@ export const se_UpdateApplicationCommand = async (input, context) => {
|
|
|
219
242
|
ApplicationSourceConfig: (_) => _json(_),
|
|
220
243
|
Description: [],
|
|
221
244
|
Name: [],
|
|
245
|
+
Permissions: (_) => _json(_),
|
|
222
246
|
Publications: (_) => _json(_),
|
|
223
247
|
Subscriptions: (_) => _json(_),
|
|
224
248
|
}));
|
|
@@ -294,6 +318,9 @@ const de_CreateApplicationCommandError = async (output, context) => {
|
|
|
294
318
|
case "ThrottlingException":
|
|
295
319
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
296
320
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
321
|
+
case "UnsupportedOperationException":
|
|
322
|
+
case "com.amazonaws.appintegrations#UnsupportedOperationException":
|
|
323
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
297
324
|
default:
|
|
298
325
|
const parsedBody = parsedOutput.body;
|
|
299
326
|
return throwDefaultError({
|
|
@@ -409,6 +436,47 @@ const de_CreateEventIntegrationCommandError = async (output, context) => {
|
|
|
409
436
|
});
|
|
410
437
|
}
|
|
411
438
|
};
|
|
439
|
+
export const de_DeleteApplicationCommand = async (output, context) => {
|
|
440
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
441
|
+
return de_DeleteApplicationCommandError(output, context);
|
|
442
|
+
}
|
|
443
|
+
const contents = map({
|
|
444
|
+
$metadata: deserializeMetadata(output),
|
|
445
|
+
});
|
|
446
|
+
await collectBody(output.body, context);
|
|
447
|
+
return contents;
|
|
448
|
+
};
|
|
449
|
+
const de_DeleteApplicationCommandError = async (output, context) => {
|
|
450
|
+
const parsedOutput = {
|
|
451
|
+
...output,
|
|
452
|
+
body: await parseErrorBody(output.body, context),
|
|
453
|
+
};
|
|
454
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
455
|
+
switch (errorCode) {
|
|
456
|
+
case "AccessDeniedException":
|
|
457
|
+
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
458
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
459
|
+
case "InternalServiceError":
|
|
460
|
+
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
461
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
462
|
+
case "InvalidRequestException":
|
|
463
|
+
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
464
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
465
|
+
case "ResourceNotFoundException":
|
|
466
|
+
case "com.amazonaws.appintegrations#ResourceNotFoundException":
|
|
467
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
468
|
+
case "ThrottlingException":
|
|
469
|
+
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
470
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
471
|
+
default:
|
|
472
|
+
const parsedBody = parsedOutput.body;
|
|
473
|
+
return throwDefaultError({
|
|
474
|
+
output,
|
|
475
|
+
parsedBody,
|
|
476
|
+
errorCode,
|
|
477
|
+
});
|
|
478
|
+
}
|
|
479
|
+
};
|
|
412
480
|
export const de_DeleteDataIntegrationCommand = async (output, context) => {
|
|
413
481
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
414
482
|
return de_DeleteDataIntegrationCommandError(output, context);
|
|
@@ -508,6 +576,7 @@ export const de_GetApplicationCommand = async (output, context) => {
|
|
|
508
576
|
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
509
577
|
Name: __expectString,
|
|
510
578
|
Namespace: __expectString,
|
|
579
|
+
Permissions: _json,
|
|
511
580
|
Publications: _json,
|
|
512
581
|
Subscriptions: _json,
|
|
513
582
|
Tags: _json,
|
|
@@ -650,6 +719,52 @@ const de_GetEventIntegrationCommandError = async (output, context) => {
|
|
|
650
719
|
});
|
|
651
720
|
}
|
|
652
721
|
};
|
|
722
|
+
export const de_ListApplicationAssociationsCommand = async (output, context) => {
|
|
723
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
724
|
+
return de_ListApplicationAssociationsCommandError(output, context);
|
|
725
|
+
}
|
|
726
|
+
const contents = map({
|
|
727
|
+
$metadata: deserializeMetadata(output),
|
|
728
|
+
});
|
|
729
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
730
|
+
const doc = take(data, {
|
|
731
|
+
ApplicationAssociations: _json,
|
|
732
|
+
NextToken: __expectString,
|
|
733
|
+
});
|
|
734
|
+
Object.assign(contents, doc);
|
|
735
|
+
return contents;
|
|
736
|
+
};
|
|
737
|
+
const de_ListApplicationAssociationsCommandError = async (output, context) => {
|
|
738
|
+
const parsedOutput = {
|
|
739
|
+
...output,
|
|
740
|
+
body: await parseErrorBody(output.body, context),
|
|
741
|
+
};
|
|
742
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
743
|
+
switch (errorCode) {
|
|
744
|
+
case "AccessDeniedException":
|
|
745
|
+
case "com.amazonaws.appintegrations#AccessDeniedException":
|
|
746
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
747
|
+
case "InternalServiceError":
|
|
748
|
+
case "com.amazonaws.appintegrations#InternalServiceError":
|
|
749
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
750
|
+
case "InvalidRequestException":
|
|
751
|
+
case "com.amazonaws.appintegrations#InvalidRequestException":
|
|
752
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
753
|
+
case "ResourceNotFoundException":
|
|
754
|
+
case "com.amazonaws.appintegrations#ResourceNotFoundException":
|
|
755
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
756
|
+
case "ThrottlingException":
|
|
757
|
+
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
758
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
759
|
+
default:
|
|
760
|
+
const parsedBody = parsedOutput.body;
|
|
761
|
+
return throwDefaultError({
|
|
762
|
+
output,
|
|
763
|
+
parsedBody,
|
|
764
|
+
errorCode,
|
|
765
|
+
});
|
|
766
|
+
}
|
|
767
|
+
};
|
|
653
768
|
export const de_ListApplicationsCommand = async (output, context) => {
|
|
654
769
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
655
770
|
return de_ListApplicationsCommandError(output, context);
|
|
@@ -1021,6 +1136,9 @@ const de_UpdateApplicationCommandError = async (output, context) => {
|
|
|
1021
1136
|
case "ThrottlingException":
|
|
1022
1137
|
case "com.amazonaws.appintegrations#ThrottlingException":
|
|
1023
1138
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1139
|
+
case "UnsupportedOperationException":
|
|
1140
|
+
case "com.amazonaws.appintegrations#UnsupportedOperationException":
|
|
1141
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1024
1142
|
default:
|
|
1025
1143
|
const parsedBody = parsedOutput.body;
|
|
1026
1144
|
return throwDefaultError({
|
|
@@ -1204,6 +1322,19 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
1204
1322
|
});
|
|
1205
1323
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
1206
1324
|
};
|
|
1325
|
+
const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
|
|
1326
|
+
const contents = map({});
|
|
1327
|
+
const data = parsedOutput.body;
|
|
1328
|
+
const doc = take(data, {
|
|
1329
|
+
Message: __expectString,
|
|
1330
|
+
});
|
|
1331
|
+
Object.assign(contents, doc);
|
|
1332
|
+
const exception = new UnsupportedOperationException({
|
|
1333
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1334
|
+
...contents,
|
|
1335
|
+
});
|
|
1336
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
1337
|
+
};
|
|
1207
1338
|
const de_ApplicationsList = (output, context) => {
|
|
1208
1339
|
const retVal = (output || [])
|
|
1209
1340
|
.filter((e) => e != null)
|
|
@@ -3,11 +3,13 @@ import { AppIntegrationsClient } from "./AppIntegrationsClient";
|
|
|
3
3
|
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
4
4
|
import { CreateDataIntegrationCommandInput, CreateDataIntegrationCommandOutput } from "./commands/CreateDataIntegrationCommand";
|
|
5
5
|
import { CreateEventIntegrationCommandInput, CreateEventIntegrationCommandOutput } from "./commands/CreateEventIntegrationCommand";
|
|
6
|
+
import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
6
7
|
import { DeleteDataIntegrationCommandInput, DeleteDataIntegrationCommandOutput } from "./commands/DeleteDataIntegrationCommand";
|
|
7
8
|
import { DeleteEventIntegrationCommandInput, DeleteEventIntegrationCommandOutput } from "./commands/DeleteEventIntegrationCommand";
|
|
8
9
|
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
9
10
|
import { GetDataIntegrationCommandInput, GetDataIntegrationCommandOutput } from "./commands/GetDataIntegrationCommand";
|
|
10
11
|
import { GetEventIntegrationCommandInput, GetEventIntegrationCommandOutput } from "./commands/GetEventIntegrationCommand";
|
|
12
|
+
import { ListApplicationAssociationsCommandInput, ListApplicationAssociationsCommandOutput } from "./commands/ListApplicationAssociationsCommand";
|
|
11
13
|
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
12
14
|
import { ListDataIntegrationAssociationsCommandInput, ListDataIntegrationAssociationsCommandOutput } from "./commands/ListDataIntegrationAssociationsCommand";
|
|
13
15
|
import { ListDataIntegrationsCommandInput, ListDataIntegrationsCommandOutput } from "./commands/ListDataIntegrationsCommand";
|
|
@@ -38,6 +40,12 @@ export interface AppIntegrations {
|
|
|
38
40
|
createEventIntegration(args: CreateEventIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<CreateEventIntegrationCommandOutput>;
|
|
39
41
|
createEventIntegration(args: CreateEventIntegrationCommandInput, cb: (err: any, data?: CreateEventIntegrationCommandOutput) => void): void;
|
|
40
42
|
createEventIntegration(args: CreateEventIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventIntegrationCommandOutput) => void): void;
|
|
43
|
+
/**
|
|
44
|
+
* @see {@link DeleteApplicationCommand}
|
|
45
|
+
*/
|
|
46
|
+
deleteApplication(args: DeleteApplicationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApplicationCommandOutput>;
|
|
47
|
+
deleteApplication(args: DeleteApplicationCommandInput, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
|
|
48
|
+
deleteApplication(args: DeleteApplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApplicationCommandOutput) => void): void;
|
|
41
49
|
/**
|
|
42
50
|
* @see {@link DeleteDataIntegrationCommand}
|
|
43
51
|
*/
|
|
@@ -68,6 +76,12 @@ export interface AppIntegrations {
|
|
|
68
76
|
getEventIntegration(args: GetEventIntegrationCommandInput, options?: __HttpHandlerOptions): Promise<GetEventIntegrationCommandOutput>;
|
|
69
77
|
getEventIntegration(args: GetEventIntegrationCommandInput, cb: (err: any, data?: GetEventIntegrationCommandOutput) => void): void;
|
|
70
78
|
getEventIntegration(args: GetEventIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventIntegrationCommandOutput) => void): void;
|
|
79
|
+
/**
|
|
80
|
+
* @see {@link ListApplicationAssociationsCommand}
|
|
81
|
+
*/
|
|
82
|
+
listApplicationAssociations(args: ListApplicationAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListApplicationAssociationsCommandOutput>;
|
|
83
|
+
listApplicationAssociations(args: ListApplicationAssociationsCommandInput, cb: (err: any, data?: ListApplicationAssociationsCommandOutput) => void): void;
|
|
84
|
+
listApplicationAssociations(args: ListApplicationAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApplicationAssociationsCommandOutput) => void): void;
|
|
71
85
|
/**
|
|
72
86
|
* @see {@link ListApplicationsCommand}
|
|
73
87
|
*/
|
|
@@ -11,11 +11,13 @@ import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConf
|
|
|
11
11
|
import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
|
|
12
12
|
import { CreateDataIntegrationCommandInput, CreateDataIntegrationCommandOutput } from "./commands/CreateDataIntegrationCommand";
|
|
13
13
|
import { CreateEventIntegrationCommandInput, CreateEventIntegrationCommandOutput } from "./commands/CreateEventIntegrationCommand";
|
|
14
|
+
import { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
|
|
14
15
|
import { DeleteDataIntegrationCommandInput, DeleteDataIntegrationCommandOutput } from "./commands/DeleteDataIntegrationCommand";
|
|
15
16
|
import { DeleteEventIntegrationCommandInput, DeleteEventIntegrationCommandOutput } from "./commands/DeleteEventIntegrationCommand";
|
|
16
17
|
import { GetApplicationCommandInput, GetApplicationCommandOutput } from "./commands/GetApplicationCommand";
|
|
17
18
|
import { GetDataIntegrationCommandInput, GetDataIntegrationCommandOutput } from "./commands/GetDataIntegrationCommand";
|
|
18
19
|
import { GetEventIntegrationCommandInput, GetEventIntegrationCommandOutput } from "./commands/GetEventIntegrationCommand";
|
|
20
|
+
import { ListApplicationAssociationsCommandInput, ListApplicationAssociationsCommandOutput } from "./commands/ListApplicationAssociationsCommand";
|
|
19
21
|
import { ListApplicationsCommandInput, ListApplicationsCommandOutput } from "./commands/ListApplicationsCommand";
|
|
20
22
|
import { ListDataIntegrationAssociationsCommandInput, ListDataIntegrationAssociationsCommandOutput } from "./commands/ListDataIntegrationAssociationsCommand";
|
|
21
23
|
import { ListDataIntegrationsCommandInput, ListDataIntegrationsCommandOutput } from "./commands/ListDataIntegrationsCommand";
|
|
@@ -33,11 +35,11 @@ export { __Client };
|
|
|
33
35
|
/**
|
|
34
36
|
* @public
|
|
35
37
|
*/
|
|
36
|
-
export type ServiceInputTypes = CreateApplicationCommandInput | CreateDataIntegrationCommandInput | CreateEventIntegrationCommandInput | DeleteDataIntegrationCommandInput | DeleteEventIntegrationCommandInput | GetApplicationCommandInput | GetDataIntegrationCommandInput | GetEventIntegrationCommandInput | ListApplicationsCommandInput | ListDataIntegrationAssociationsCommandInput | ListDataIntegrationsCommandInput | ListEventIntegrationAssociationsCommandInput | ListEventIntegrationsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateDataIntegrationCommandInput | UpdateEventIntegrationCommandInput;
|
|
38
|
+
export type ServiceInputTypes = CreateApplicationCommandInput | CreateDataIntegrationCommandInput | CreateEventIntegrationCommandInput | DeleteApplicationCommandInput | DeleteDataIntegrationCommandInput | DeleteEventIntegrationCommandInput | GetApplicationCommandInput | GetDataIntegrationCommandInput | GetEventIntegrationCommandInput | ListApplicationAssociationsCommandInput | ListApplicationsCommandInput | ListDataIntegrationAssociationsCommandInput | ListDataIntegrationsCommandInput | ListEventIntegrationAssociationsCommandInput | ListEventIntegrationsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateDataIntegrationCommandInput | UpdateEventIntegrationCommandInput;
|
|
37
39
|
/**
|
|
38
40
|
* @public
|
|
39
41
|
*/
|
|
40
|
-
export type ServiceOutputTypes = CreateApplicationCommandOutput | CreateDataIntegrationCommandOutput | CreateEventIntegrationCommandOutput | DeleteDataIntegrationCommandOutput | DeleteEventIntegrationCommandOutput | GetApplicationCommandOutput | GetDataIntegrationCommandOutput | GetEventIntegrationCommandOutput | ListApplicationsCommandOutput | ListDataIntegrationAssociationsCommandOutput | ListDataIntegrationsCommandOutput | ListEventIntegrationAssociationsCommandOutput | ListEventIntegrationsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateDataIntegrationCommandOutput | UpdateEventIntegrationCommandOutput;
|
|
42
|
+
export type ServiceOutputTypes = CreateApplicationCommandOutput | CreateDataIntegrationCommandOutput | CreateEventIntegrationCommandOutput | DeleteApplicationCommandOutput | DeleteDataIntegrationCommandOutput | DeleteEventIntegrationCommandOutput | GetApplicationCommandOutput | GetDataIntegrationCommandOutput | GetEventIntegrationCommandOutput | ListApplicationAssociationsCommandOutput | ListApplicationsCommandOutput | ListDataIntegrationAssociationsCommandOutput | ListDataIntegrationsCommandOutput | ListEventIntegrationAssociationsCommandOutput | ListEventIntegrationsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateDataIntegrationCommandOutput | UpdateEventIntegrationCommandOutput;
|
|
41
43
|
/**
|
|
42
44
|
* @public
|
|
43
45
|
*/
|
|
@@ -60,6 +60,9 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
|
|
|
60
60
|
* Tags: { // TagMap
|
|
61
61
|
* "<keys>": "STRING_VALUE",
|
|
62
62
|
* },
|
|
63
|
+
* Permissions: [ // PermissionList
|
|
64
|
+
* "STRING_VALUE",
|
|
65
|
+
* ],
|
|
63
66
|
* };
|
|
64
67
|
* const command = new CreateApplicationCommand(input);
|
|
65
68
|
* const response = await client.send(command);
|
|
@@ -94,6 +97,9 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
|
|
|
94
97
|
* @throws {@link ThrottlingException} (client fault)
|
|
95
98
|
* <p>The throttling limit has been exceeded.</p>
|
|
96
99
|
*
|
|
100
|
+
* @throws {@link UnsupportedOperationException} (client fault)
|
|
101
|
+
* <p>The operation is not supported.</p>
|
|
102
|
+
*
|
|
97
103
|
* @throws {@link AppIntegrationsServiceException}
|
|
98
104
|
* <p>Base exception class for all service exceptions from AppIntegrations service.</p>
|
|
99
105
|
*
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { AppIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppIntegrationsClient";
|
|
5
|
+
import { DeleteApplicationRequest, DeleteApplicationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteApplicationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteApplicationCommandInput extends DeleteApplicationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteApplicationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteApplicationCommandOutput extends DeleteApplicationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes the Application. Only Applications that don't have any Application Associations can be deleted.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { AppIntegrationsClient, DeleteApplicationCommand } from "@aws-sdk/client-appintegrations"; // ES Modules import
|
|
31
|
+
* // const { AppIntegrationsClient, DeleteApplicationCommand } = require("@aws-sdk/client-appintegrations"); // CommonJS import
|
|
32
|
+
* const client = new AppIntegrationsClient(config);
|
|
33
|
+
* const input = { // DeleteApplicationRequest
|
|
34
|
+
* Arn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DeleteApplicationCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @param DeleteApplicationCommandInput - {@link DeleteApplicationCommandInput}
|
|
43
|
+
* @returns {@link DeleteApplicationCommandOutput}
|
|
44
|
+
* @see {@link DeleteApplicationCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link DeleteApplicationCommandOutput} for command's `response` shape.
|
|
46
|
+
* @see {@link AppIntegrationsClientResolvedConfig | config} for AppIntegrationsClient's `config` shape.
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
49
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
52
|
+
* <p>Request processing failed due to an error or failure with the service.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
55
|
+
* <p>The request is not valid. </p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
|
+
* <p>The specified resource was not found.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
61
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AppIntegrationsServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from AppIntegrations service.</p>
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
export declare class DeleteApplicationCommand extends $Command<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, AppIntegrationsClientResolvedConfig> {
|
|
68
|
+
readonly input: DeleteApplicationCommandInput;
|
|
69
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
constructor(input: DeleteApplicationCommandInput);
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppIntegrationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteApplicationCommandInput, DeleteApplicationCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
private deserialize;
|
|
86
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { AppIntegrationsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppIntegrationsClient";
|
|
5
|
+
import { ListApplicationAssociationsRequest, ListApplicationAssociationsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListApplicationAssociationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListApplicationAssociationsCommandInput extends ListApplicationAssociationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListApplicationAssociationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListApplicationAssociationsCommandOutput extends ListApplicationAssociationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns a paginated list of application associations for an application.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { AppIntegrationsClient, ListApplicationAssociationsCommand } from "@aws-sdk/client-appintegrations"; // ES Modules import
|
|
31
|
+
* // const { AppIntegrationsClient, ListApplicationAssociationsCommand } = require("@aws-sdk/client-appintegrations"); // CommonJS import
|
|
32
|
+
* const client = new AppIntegrationsClient(config);
|
|
33
|
+
* const input = { // ListApplicationAssociationsRequest
|
|
34
|
+
* ApplicationId: "STRING_VALUE", // required
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* MaxResults: Number("int"),
|
|
37
|
+
* };
|
|
38
|
+
* const command = new ListApplicationAssociationsCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // ListApplicationAssociationsResponse
|
|
41
|
+
* // ApplicationAssociations: [ // ApplicationAssociationsList
|
|
42
|
+
* // { // ApplicationAssociationSummary
|
|
43
|
+
* // ApplicationAssociationArn: "STRING_VALUE",
|
|
44
|
+
* // ApplicationArn: "STRING_VALUE",
|
|
45
|
+
* // ClientId: "STRING_VALUE",
|
|
46
|
+
* // },
|
|
47
|
+
* // ],
|
|
48
|
+
* // NextToken: "STRING_VALUE",
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param ListApplicationAssociationsCommandInput - {@link ListApplicationAssociationsCommandInput}
|
|
54
|
+
* @returns {@link ListApplicationAssociationsCommandOutput}
|
|
55
|
+
* @see {@link ListApplicationAssociationsCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link ListApplicationAssociationsCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link AppIntegrationsClientResolvedConfig | config} for AppIntegrationsClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServiceError} (server fault)
|
|
63
|
+
* <p>Request processing failed due to an error or failure with the service.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
66
|
+
* <p>The request is not valid. </p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* <p>The specified resource was not found.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* <p>The throttling limit has been exceeded.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AppIntegrationsServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from AppIntegrations service.</p>
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
export declare class ListApplicationAssociationsCommand extends $Command<ListApplicationAssociationsCommandInput, ListApplicationAssociationsCommandOutput, AppIntegrationsClientResolvedConfig> {
|
|
79
|
+
readonly input: ListApplicationAssociationsCommandInput;
|
|
80
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
constructor(input: ListApplicationAssociationsCommandInput);
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AppIntegrationsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListApplicationAssociationsCommandInput, ListApplicationAssociationsCommandOutput>;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
private serialize;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private deserialize;
|
|
97
|
+
}
|
|
@@ -56,6 +56,9 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
|
|
|
56
56
|
* Description: "STRING_VALUE",
|
|
57
57
|
* },
|
|
58
58
|
* ],
|
|
59
|
+
* Permissions: [ // PermissionList
|
|
60
|
+
* "STRING_VALUE",
|
|
61
|
+
* ],
|
|
59
62
|
* };
|
|
60
63
|
* const command = new UpdateApplicationCommand(input);
|
|
61
64
|
* const response = await client.send(command);
|
|
@@ -84,6 +87,9 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
|
|
|
84
87
|
* @throws {@link ThrottlingException} (client fault)
|
|
85
88
|
* <p>The throttling limit has been exceeded.</p>
|
|
86
89
|
*
|
|
90
|
+
* @throws {@link UnsupportedOperationException} (client fault)
|
|
91
|
+
* <p>The operation is not supported.</p>
|
|
92
|
+
*
|
|
87
93
|
* @throws {@link AppIntegrationsServiceException}
|
|
88
94
|
* <p>Base exception class for all service exceptions from AppIntegrations service.</p>
|
|
89
95
|
*
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export * from "./CreateApplicationCommand";
|
|
2
2
|
export * from "./CreateDataIntegrationCommand";
|
|
3
3
|
export * from "./CreateEventIntegrationCommand";
|
|
4
|
+
export * from "./DeleteApplicationCommand";
|
|
4
5
|
export * from "./DeleteDataIntegrationCommand";
|
|
5
6
|
export * from "./DeleteEventIntegrationCommand";
|
|
6
7
|
export * from "./GetApplicationCommand";
|
|
7
8
|
export * from "./GetDataIntegrationCommand";
|
|
8
9
|
export * from "./GetEventIntegrationCommand";
|
|
10
|
+
export * from "./ListApplicationAssociationsCommand";
|
|
9
11
|
export * from "./ListApplicationsCommand";
|
|
10
12
|
export * from "./ListDataIntegrationAssociationsCommand";
|
|
11
13
|
export * from "./ListDataIntegrationsCommand";
|