@aws-sdk/client-appintegrations 3.418.0 → 3.420.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 +39 -7
- package/dist-cjs/AppIntegrations.js +8 -0
- package/dist-cjs/commands/CreateApplicationCommand.js +51 -0
- package/dist-cjs/commands/GetApplicationCommand.js +51 -0
- package/dist-cjs/commands/ListApplicationsCommand.js +51 -0
- package/dist-cjs/commands/UpdateApplicationCommand.js +51 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListApplicationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListDataIntegrationAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListDataIntegrationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListEventIntegrationAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListEventIntegrationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +303 -1
- package/dist-es/AppIntegrations.js +8 -0
- package/dist-es/commands/CreateApplicationCommand.js +47 -0
- package/dist-es/commands/GetApplicationCommand.js +47 -0
- package/dist-es/commands/ListApplicationsCommand.js +47 -0
- package/dist-es/commands/UpdateApplicationCommand.js +47 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/index.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +25 -0
- package/dist-es/pagination/ListDataIntegrationAssociationsPaginator.js +25 -0
- package/dist-es/pagination/ListDataIntegrationsPaginator.js +25 -0
- package/dist-es/pagination/ListEventIntegrationAssociationsPaginator.js +25 -0
- package/dist-es/pagination/ListEventIntegrationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +295 -1
- package/dist-types/AppIntegrations.d.ts +28 -0
- package/dist-types/AppIntegrationsClient.d.ts +6 -2
- package/dist-types/commands/CreateApplicationCommand.d.ts +120 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +119 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +97 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +110 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +370 -66
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataIntegrationAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataIntegrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventIntegrationAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventIntegrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/AppIntegrations.d.ts +68 -0
- package/dist-types/ts3.4/AppIntegrationsClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +95 -24
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataIntegrationAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataIntegrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventIntegrationAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventIntegrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,16 +29,16 @@ using your favorite package manager:
|
|
|
29
29
|
|
|
30
30
|
The AWS SDK is modulized by clients and commands.
|
|
31
31
|
To send a request, you only need to import the `AppIntegrationsClient` and
|
|
32
|
-
the commands you need, for example `
|
|
32
|
+
the commands you need, for example `CreateApplicationCommand`:
|
|
33
33
|
|
|
34
34
|
```js
|
|
35
35
|
// ES5 example
|
|
36
|
-
const { AppIntegrationsClient,
|
|
36
|
+
const { AppIntegrationsClient, CreateApplicationCommand } = require("@aws-sdk/client-appintegrations");
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
```ts
|
|
40
40
|
// ES6+ example
|
|
41
|
-
import { AppIntegrationsClient,
|
|
41
|
+
import { AppIntegrationsClient, CreateApplicationCommand } from "@aws-sdk/client-appintegrations";
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
### Usage
|
|
@@ -57,7 +57,7 @@ const client = new AppIntegrationsClient({ region: "REGION" });
|
|
|
57
57
|
const params = {
|
|
58
58
|
/** input parameters */
|
|
59
59
|
};
|
|
60
|
-
const command = new
|
|
60
|
+
const command = new CreateApplicationCommand(params);
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
#### Async/await
|
|
@@ -136,7 +136,7 @@ const client = new AWS.AppIntegrations({ region: "REGION" });
|
|
|
136
136
|
|
|
137
137
|
// async/await.
|
|
138
138
|
try {
|
|
139
|
-
const data = await client.
|
|
139
|
+
const data = await client.createApplication(params);
|
|
140
140
|
// process data.
|
|
141
141
|
} catch (error) {
|
|
142
142
|
// error handling.
|
|
@@ -144,7 +144,7 @@ try {
|
|
|
144
144
|
|
|
145
145
|
// Promises.
|
|
146
146
|
client
|
|
147
|
-
.
|
|
147
|
+
.createApplication(params)
|
|
148
148
|
.then((data) => {
|
|
149
149
|
// process data.
|
|
150
150
|
})
|
|
@@ -153,7 +153,7 @@ client
|
|
|
153
153
|
});
|
|
154
154
|
|
|
155
155
|
// callbacks.
|
|
156
|
-
client.
|
|
156
|
+
client.createApplication(params, (err, data) => {
|
|
157
157
|
// process err and data.
|
|
158
158
|
});
|
|
159
159
|
```
|
|
@@ -209,6 +209,14 @@ see LICENSE for more information.
|
|
|
209
209
|
|
|
210
210
|
## Client Commands (Operations List)
|
|
211
211
|
|
|
212
|
+
<details>
|
|
213
|
+
<summary>
|
|
214
|
+
CreateApplication
|
|
215
|
+
</summary>
|
|
216
|
+
|
|
217
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/classes/createapplicationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/interfaces/createapplicationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/interfaces/createapplicationcommandoutput.html)
|
|
218
|
+
|
|
219
|
+
</details>
|
|
212
220
|
<details>
|
|
213
221
|
<summary>
|
|
214
222
|
CreateDataIntegration
|
|
@@ -240,6 +248,14 @@ DeleteEventIntegration
|
|
|
240
248
|
|
|
241
249
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/classes/deleteeventintegrationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/interfaces/deleteeventintegrationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/interfaces/deleteeventintegrationcommandoutput.html)
|
|
242
250
|
|
|
251
|
+
</details>
|
|
252
|
+
<details>
|
|
253
|
+
<summary>
|
|
254
|
+
GetApplication
|
|
255
|
+
</summary>
|
|
256
|
+
|
|
257
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/classes/getapplicationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/interfaces/getapplicationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/interfaces/getapplicationcommandoutput.html)
|
|
258
|
+
|
|
243
259
|
</details>
|
|
244
260
|
<details>
|
|
245
261
|
<summary>
|
|
@@ -256,6 +272,14 @@ GetEventIntegration
|
|
|
256
272
|
|
|
257
273
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/classes/geteventintegrationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/interfaces/geteventintegrationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/interfaces/geteventintegrationcommandoutput.html)
|
|
258
274
|
|
|
275
|
+
</details>
|
|
276
|
+
<details>
|
|
277
|
+
<summary>
|
|
278
|
+
ListApplications
|
|
279
|
+
</summary>
|
|
280
|
+
|
|
281
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/classes/listapplicationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/interfaces/listapplicationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/interfaces/listapplicationscommandoutput.html)
|
|
282
|
+
|
|
259
283
|
</details>
|
|
260
284
|
<details>
|
|
261
285
|
<summary>
|
|
@@ -312,6 +336,14 @@ UntagResource
|
|
|
312
336
|
|
|
313
337
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/classes/untagresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/interfaces/untagresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/interfaces/untagresourcecommandoutput.html)
|
|
314
338
|
|
|
339
|
+
</details>
|
|
340
|
+
<details>
|
|
341
|
+
<summary>
|
|
342
|
+
UpdateApplication
|
|
343
|
+
</summary>
|
|
344
|
+
|
|
345
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/classes/updateapplicationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/interfaces/updateapplicationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-appintegrations/interfaces/updateapplicationcommandoutput.html)
|
|
346
|
+
|
|
315
347
|
</details>
|
|
316
348
|
<details>
|
|
317
349
|
<summary>
|
|
@@ -3,12 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AppIntegrations = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const AppIntegrationsClient_1 = require("./AppIntegrationsClient");
|
|
6
|
+
const CreateApplicationCommand_1 = require("./commands/CreateApplicationCommand");
|
|
6
7
|
const CreateDataIntegrationCommand_1 = require("./commands/CreateDataIntegrationCommand");
|
|
7
8
|
const CreateEventIntegrationCommand_1 = require("./commands/CreateEventIntegrationCommand");
|
|
8
9
|
const DeleteDataIntegrationCommand_1 = require("./commands/DeleteDataIntegrationCommand");
|
|
9
10
|
const DeleteEventIntegrationCommand_1 = require("./commands/DeleteEventIntegrationCommand");
|
|
11
|
+
const GetApplicationCommand_1 = require("./commands/GetApplicationCommand");
|
|
10
12
|
const GetDataIntegrationCommand_1 = require("./commands/GetDataIntegrationCommand");
|
|
11
13
|
const GetEventIntegrationCommand_1 = require("./commands/GetEventIntegrationCommand");
|
|
14
|
+
const ListApplicationsCommand_1 = require("./commands/ListApplicationsCommand");
|
|
12
15
|
const ListDataIntegrationAssociationsCommand_1 = require("./commands/ListDataIntegrationAssociationsCommand");
|
|
13
16
|
const ListDataIntegrationsCommand_1 = require("./commands/ListDataIntegrationsCommand");
|
|
14
17
|
const ListEventIntegrationAssociationsCommand_1 = require("./commands/ListEventIntegrationAssociationsCommand");
|
|
@@ -16,15 +19,19 @@ const ListEventIntegrationsCommand_1 = require("./commands/ListEventIntegrations
|
|
|
16
19
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
17
20
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
18
21
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
22
|
+
const UpdateApplicationCommand_1 = require("./commands/UpdateApplicationCommand");
|
|
19
23
|
const UpdateDataIntegrationCommand_1 = require("./commands/UpdateDataIntegrationCommand");
|
|
20
24
|
const UpdateEventIntegrationCommand_1 = require("./commands/UpdateEventIntegrationCommand");
|
|
21
25
|
const commands = {
|
|
26
|
+
CreateApplicationCommand: CreateApplicationCommand_1.CreateApplicationCommand,
|
|
22
27
|
CreateDataIntegrationCommand: CreateDataIntegrationCommand_1.CreateDataIntegrationCommand,
|
|
23
28
|
CreateEventIntegrationCommand: CreateEventIntegrationCommand_1.CreateEventIntegrationCommand,
|
|
24
29
|
DeleteDataIntegrationCommand: DeleteDataIntegrationCommand_1.DeleteDataIntegrationCommand,
|
|
25
30
|
DeleteEventIntegrationCommand: DeleteEventIntegrationCommand_1.DeleteEventIntegrationCommand,
|
|
31
|
+
GetApplicationCommand: GetApplicationCommand_1.GetApplicationCommand,
|
|
26
32
|
GetDataIntegrationCommand: GetDataIntegrationCommand_1.GetDataIntegrationCommand,
|
|
27
33
|
GetEventIntegrationCommand: GetEventIntegrationCommand_1.GetEventIntegrationCommand,
|
|
34
|
+
ListApplicationsCommand: ListApplicationsCommand_1.ListApplicationsCommand,
|
|
28
35
|
ListDataIntegrationAssociationsCommand: ListDataIntegrationAssociationsCommand_1.ListDataIntegrationAssociationsCommand,
|
|
29
36
|
ListDataIntegrationsCommand: ListDataIntegrationsCommand_1.ListDataIntegrationsCommand,
|
|
30
37
|
ListEventIntegrationAssociationsCommand: ListEventIntegrationAssociationsCommand_1.ListEventIntegrationAssociationsCommand,
|
|
@@ -32,6 +39,7 @@ const commands = {
|
|
|
32
39
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
33
40
|
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
34
41
|
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
42
|
+
UpdateApplicationCommand: UpdateApplicationCommand_1.UpdateApplicationCommand,
|
|
35
43
|
UpdateDataIntegrationCommand: UpdateDataIntegrationCommand_1.UpdateDataIntegrationCommand,
|
|
36
44
|
UpdateEventIntegrationCommand: UpdateEventIntegrationCommand_1.UpdateEventIntegrationCommand,
|
|
37
45
|
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateApplicationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class CreateApplicationCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateApplicationCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "AppIntegrationsClient";
|
|
29
|
+
const commandName = "CreateApplicationCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonAppIntegrationService",
|
|
38
|
+
operation: "CreateApplication",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_CreateApplicationCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_CreateApplicationCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.CreateApplicationCommand = CreateApplicationCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetApplicationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetApplicationCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetApplicationCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "AppIntegrationsClient";
|
|
29
|
+
const commandName = "GetApplicationCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonAppIntegrationService",
|
|
38
|
+
operation: "GetApplication",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_GetApplicationCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetApplicationCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetApplicationCommand = GetApplicationCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListApplicationsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListApplicationsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListApplicationsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "AppIntegrationsClient";
|
|
29
|
+
const commandName = "ListApplicationsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonAppIntegrationService",
|
|
38
|
+
operation: "ListApplications",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListApplicationsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListApplicationsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListApplicationsCommand = ListApplicationsCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateApplicationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class UpdateApplicationCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateApplicationCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "AppIntegrationsClient";
|
|
29
|
+
const commandName = "UpdateApplicationCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonAppIntegrationService",
|
|
38
|
+
operation: "UpdateApplication",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_UpdateApplicationCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_UpdateApplicationCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UpdateApplicationCommand = UpdateApplicationCommand;
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CreateApplicationCommand"), exports);
|
|
4
5
|
tslib_1.__exportStar(require("./CreateDataIntegrationCommand"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CreateEventIntegrationCommand"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./DeleteDataIntegrationCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./DeleteEventIntegrationCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./GetApplicationCommand"), exports);
|
|
8
10
|
tslib_1.__exportStar(require("./GetDataIntegrationCommand"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./GetEventIntegrationCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ListApplicationsCommand"), exports);
|
|
10
13
|
tslib_1.__exportStar(require("./ListDataIntegrationAssociationsCommand"), exports);
|
|
11
14
|
tslib_1.__exportStar(require("./ListDataIntegrationsCommand"), exports);
|
|
12
15
|
tslib_1.__exportStar(require("./ListEventIntegrationAssociationsCommand"), exports);
|
|
@@ -14,5 +17,6 @@ tslib_1.__exportStar(require("./ListEventIntegrationsCommand"), exports);
|
|
|
14
17
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
15
18
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
16
19
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./UpdateApplicationCommand"), exports);
|
|
17
21
|
tslib_1.__exportStar(require("./UpdateDataIntegrationCommand"), exports);
|
|
18
22
|
tslib_1.__exportStar(require("./UpdateEventIntegrationCommand"), exports);
|
package/dist-cjs/index.js
CHANGED
|
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
tslib_1.__exportStar(require("./AppIntegrationsClient"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./AppIntegrations"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
10
|
var AppIntegrationsServiceException_1 = require("./models/AppIntegrationsServiceException");
|
|
10
11
|
Object.defineProperty(exports, "AppIntegrationsServiceException", { enumerable: true, get: function () { return AppIntegrationsServiceException_1.AppIntegrationsServiceException; } });
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListApplications = void 0;
|
|
4
|
+
const AppIntegrationsClient_1 = require("../AppIntegrationsClient");
|
|
5
|
+
const ListApplicationsCommand_1 = require("../commands/ListApplicationsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListApplicationsCommand_1.ListApplicationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListApplications(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof AppIntegrationsClient_1.AppIntegrationsClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected AppIntegrations | AppIntegrationsClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListApplications = paginateListApplications;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListDataIntegrationAssociations = void 0;
|
|
4
|
+
const AppIntegrationsClient_1 = require("../AppIntegrationsClient");
|
|
5
|
+
const ListDataIntegrationAssociationsCommand_1 = require("../commands/ListDataIntegrationAssociationsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListDataIntegrationAssociationsCommand_1.ListDataIntegrationAssociationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListDataIntegrationAssociations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof AppIntegrationsClient_1.AppIntegrationsClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected AppIntegrations | AppIntegrationsClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListDataIntegrationAssociations = paginateListDataIntegrationAssociations;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListDataIntegrations = void 0;
|
|
4
|
+
const AppIntegrationsClient_1 = require("../AppIntegrationsClient");
|
|
5
|
+
const ListDataIntegrationsCommand_1 = require("../commands/ListDataIntegrationsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListDataIntegrationsCommand_1.ListDataIntegrationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListDataIntegrations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof AppIntegrationsClient_1.AppIntegrationsClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected AppIntegrations | AppIntegrationsClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListDataIntegrations = paginateListDataIntegrations;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListEventIntegrationAssociations = void 0;
|
|
4
|
+
const AppIntegrationsClient_1 = require("../AppIntegrationsClient");
|
|
5
|
+
const ListEventIntegrationAssociationsCommand_1 = require("../commands/ListEventIntegrationAssociationsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListEventIntegrationAssociationsCommand_1.ListEventIntegrationAssociationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListEventIntegrationAssociations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof AppIntegrationsClient_1.AppIntegrationsClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected AppIntegrations | AppIntegrationsClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListEventIntegrationAssociations = paginateListEventIntegrationAssociations;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListEventIntegrations = void 0;
|
|
4
|
+
const AppIntegrationsClient_1 = require("../AppIntegrationsClient");
|
|
5
|
+
const ListEventIntegrationsCommand_1 = require("../commands/ListEventIntegrationsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListEventIntegrationsCommand_1.ListEventIntegrationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListEventIntegrations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof AppIntegrationsClient_1.AppIntegrationsClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected AppIntegrations | AppIntegrationsClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListEventIntegrations = paginateListEventIntegrations;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListApplicationsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListDataIntegrationAssociationsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListDataIntegrationsPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListEventIntegrationAssociationsPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListEventIntegrationsPaginator"), exports);
|