@aws-sdk/client-appintegrations 3.414.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.
Files changed (96) hide show
  1. package/README.md +39 -7
  2. package/dist-cjs/AppIntegrations.js +8 -0
  3. package/dist-cjs/commands/CreateApplicationCommand.js +51 -0
  4. package/dist-cjs/commands/CreateDataIntegrationCommand.js +5 -0
  5. package/dist-cjs/commands/CreateEventIntegrationCommand.js +5 -0
  6. package/dist-cjs/commands/DeleteDataIntegrationCommand.js +5 -0
  7. package/dist-cjs/commands/DeleteEventIntegrationCommand.js +5 -0
  8. package/dist-cjs/commands/GetApplicationCommand.js +51 -0
  9. package/dist-cjs/commands/GetDataIntegrationCommand.js +5 -0
  10. package/dist-cjs/commands/GetEventIntegrationCommand.js +5 -0
  11. package/dist-cjs/commands/ListApplicationsCommand.js +51 -0
  12. package/dist-cjs/commands/ListDataIntegrationAssociationsCommand.js +5 -0
  13. package/dist-cjs/commands/ListDataIntegrationsCommand.js +5 -0
  14. package/dist-cjs/commands/ListEventIntegrationAssociationsCommand.js +5 -0
  15. package/dist-cjs/commands/ListEventIntegrationsCommand.js +5 -0
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +5 -0
  17. package/dist-cjs/commands/TagResourceCommand.js +5 -0
  18. package/dist-cjs/commands/UntagResourceCommand.js +5 -0
  19. package/dist-cjs/commands/UpdateApplicationCommand.js +51 -0
  20. package/dist-cjs/commands/UpdateDataIntegrationCommand.js +5 -0
  21. package/dist-cjs/commands/UpdateEventIntegrationCommand.js +5 -0
  22. package/dist-cjs/commands/index.js +4 -0
  23. package/dist-cjs/index.js +1 -0
  24. package/dist-cjs/pagination/Interfaces.js +2 -0
  25. package/dist-cjs/pagination/ListApplicationsPaginator.js +29 -0
  26. package/dist-cjs/pagination/ListDataIntegrationAssociationsPaginator.js +29 -0
  27. package/dist-cjs/pagination/ListDataIntegrationsPaginator.js +29 -0
  28. package/dist-cjs/pagination/ListEventIntegrationAssociationsPaginator.js +29 -0
  29. package/dist-cjs/pagination/ListEventIntegrationsPaginator.js +29 -0
  30. package/dist-cjs/pagination/index.js +9 -0
  31. package/dist-cjs/protocols/Aws_restJson1.js +303 -1
  32. package/dist-es/AppIntegrations.js +8 -0
  33. package/dist-es/commands/CreateApplicationCommand.js +47 -0
  34. package/dist-es/commands/CreateDataIntegrationCommand.js +5 -0
  35. package/dist-es/commands/CreateEventIntegrationCommand.js +5 -0
  36. package/dist-es/commands/DeleteDataIntegrationCommand.js +5 -0
  37. package/dist-es/commands/DeleteEventIntegrationCommand.js +5 -0
  38. package/dist-es/commands/GetApplicationCommand.js +47 -0
  39. package/dist-es/commands/GetDataIntegrationCommand.js +5 -0
  40. package/dist-es/commands/GetEventIntegrationCommand.js +5 -0
  41. package/dist-es/commands/ListApplicationsCommand.js +47 -0
  42. package/dist-es/commands/ListDataIntegrationAssociationsCommand.js +5 -0
  43. package/dist-es/commands/ListDataIntegrationsCommand.js +5 -0
  44. package/dist-es/commands/ListEventIntegrationAssociationsCommand.js +5 -0
  45. package/dist-es/commands/ListEventIntegrationsCommand.js +5 -0
  46. package/dist-es/commands/ListTagsForResourceCommand.js +5 -0
  47. package/dist-es/commands/TagResourceCommand.js +5 -0
  48. package/dist-es/commands/UntagResourceCommand.js +5 -0
  49. package/dist-es/commands/UpdateApplicationCommand.js +47 -0
  50. package/dist-es/commands/UpdateDataIntegrationCommand.js +5 -0
  51. package/dist-es/commands/UpdateEventIntegrationCommand.js +5 -0
  52. package/dist-es/commands/index.js +4 -0
  53. package/dist-es/index.js +1 -0
  54. package/dist-es/pagination/Interfaces.js +1 -0
  55. package/dist-es/pagination/ListApplicationsPaginator.js +25 -0
  56. package/dist-es/pagination/ListDataIntegrationAssociationsPaginator.js +25 -0
  57. package/dist-es/pagination/ListDataIntegrationsPaginator.js +25 -0
  58. package/dist-es/pagination/ListEventIntegrationAssociationsPaginator.js +25 -0
  59. package/dist-es/pagination/ListEventIntegrationsPaginator.js +25 -0
  60. package/dist-es/pagination/index.js +6 -0
  61. package/dist-es/protocols/Aws_restJson1.js +295 -1
  62. package/dist-types/AppIntegrations.d.ts +28 -0
  63. package/dist-types/AppIntegrationsClient.d.ts +6 -2
  64. package/dist-types/commands/CreateApplicationCommand.d.ts +120 -0
  65. package/dist-types/commands/GetApplicationCommand.d.ts +119 -0
  66. package/dist-types/commands/ListApplicationsCommand.d.ts +97 -0
  67. package/dist-types/commands/UpdateApplicationCommand.d.ts +110 -0
  68. package/dist-types/commands/index.d.ts +4 -0
  69. package/dist-types/index.d.ts +1 -0
  70. package/dist-types/models/models_0.d.ts +370 -66
  71. package/dist-types/pagination/Interfaces.d.ts +8 -0
  72. package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListDataIntegrationAssociationsPaginator.d.ts +7 -0
  74. package/dist-types/pagination/ListDataIntegrationsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/ListEventIntegrationAssociationsPaginator.d.ts +7 -0
  76. package/dist-types/pagination/ListEventIntegrationsPaginator.d.ts +7 -0
  77. package/dist-types/pagination/index.d.ts +6 -0
  78. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  79. package/dist-types/ts3.4/AppIntegrations.d.ts +68 -0
  80. package/dist-types/ts3.4/AppIntegrationsClient.d.ts +24 -0
  81. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +39 -0
  82. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +38 -0
  83. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +38 -0
  84. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +39 -0
  85. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  86. package/dist-types/ts3.4/index.d.ts +1 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +95 -24
  88. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  89. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/ListDataIntegrationAssociationsPaginator.d.ts +11 -0
  91. package/dist-types/ts3.4/pagination/ListDataIntegrationsPaginator.d.ts +11 -0
  92. package/dist-types/ts3.4/pagination/ListEventIntegrationAssociationsPaginator.d.ts +11 -0
  93. package/dist-types/ts3.4/pagination/ListEventIntegrationsPaginator.d.ts +11 -0
  94. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  95. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  96. package/package.json +31 -31
@@ -0,0 +1,47 @@
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_CreateApplicationCommand, se_CreateApplicationCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class CreateApplicationCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateApplicationCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "AppIntegrationsClient";
26
+ const commandName = "CreateApplicationCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "CreateApplication",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_CreateApplicationCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_CreateApplicationCommand(output, context);
46
+ }
47
+ }
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateDataIntegrationCommand, se_CreateDataIntegrationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class CreateDataIntegrationCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateDataIntegrationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "CreateDataIntegration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_CreateEventIntegrationCommand, se_CreateEventIntegrationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class CreateEventIntegrationCommand extends $Command {
@@ -29,6 +30,10 @@ export class CreateEventIntegrationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "CreateEventIntegration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteDataIntegrationCommand, se_DeleteDataIntegrationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DeleteDataIntegrationCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteDataIntegrationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "DeleteDataIntegration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_DeleteEventIntegrationCommand, se_DeleteEventIntegrationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class DeleteEventIntegrationCommand extends $Command {
@@ -29,6 +30,10 @@ export class DeleteEventIntegrationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "DeleteEventIntegration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -0,0 +1,47 @@
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_GetApplicationCommand, se_GetApplicationCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetApplicationCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, GetApplicationCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "AppIntegrationsClient";
26
+ const commandName = "GetApplicationCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "GetApplication",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_GetApplicationCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_GetApplicationCommand(output, context);
46
+ }
47
+ }
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetDataIntegrationCommand, se_GetDataIntegrationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class GetDataIntegrationCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetDataIntegrationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "GetDataIntegration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_GetEventIntegrationCommand, se_GetEventIntegrationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class GetEventIntegrationCommand extends $Command {
@@ -29,6 +30,10 @@ export class GetEventIntegrationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "GetEventIntegration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -0,0 +1,47 @@
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_ListApplicationsCommand, se_ListApplicationsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListApplicationsCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListApplicationsCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "AppIntegrationsClient";
26
+ const commandName = "ListApplicationsCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "ListApplications",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_ListApplicationsCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_ListApplicationsCommand(output, context);
46
+ }
47
+ }
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListDataIntegrationAssociationsCommand, se_ListDataIntegrationAssociationsCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListDataIntegrationAssociationsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListDataIntegrationAssociationsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "ListDataIntegrationAssociations",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListDataIntegrationsCommand, se_ListDataIntegrationsCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListDataIntegrationsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListDataIntegrationsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "ListDataIntegrations",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListEventIntegrationAssociationsCommand, se_ListEventIntegrationAssociationsCommand, } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListEventIntegrationAssociationsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListEventIntegrationAssociationsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "ListEventIntegrationAssociations",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListEventIntegrationsCommand, se_ListEventIntegrationsCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListEventIntegrationsCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListEventIntegrationsCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "ListEventIntegrations",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class ListTagsForResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class ListTagsForResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "ListTagsForResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class TagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class TagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "TagResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UntagResourceCommand extends $Command {
@@ -29,6 +30,10 @@ export class UntagResourceCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "UntagResource",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -0,0 +1,47 @@
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_UpdateApplicationCommand, se_UpdateApplicationCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateApplicationCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, UpdateApplicationCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "AppIntegrationsClient";
26
+ const commandName = "UpdateApplicationCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "UpdateApplication",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_UpdateApplicationCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_UpdateApplicationCommand(output, context);
46
+ }
47
+ }
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateDataIntegrationCommand, se_UpdateDataIntegrationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UpdateDataIntegrationCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateDataIntegrationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "UpdateDataIntegration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,6 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
+ import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
5
  import { de_UpdateEventIntegrationCommand, se_UpdateEventIntegrationCommand } from "../protocols/Aws_restJson1";
5
6
  export { $Command };
6
7
  export class UpdateEventIntegrationCommand extends $Command {
@@ -29,6 +30,10 @@ export class UpdateEventIntegrationCommand extends $Command {
29
30
  commandName,
30
31
  inputFilterSensitiveLog: (_) => _,
31
32
  outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "AmazonAppIntegrationService",
35
+ operation: "UpdateEventIntegration",
36
+ },
32
37
  };
33
38
  const { requestHandler } = configuration;
34
39
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -1,9 +1,12 @@
1
+ export * from "./CreateApplicationCommand";
1
2
  export * from "./CreateDataIntegrationCommand";
2
3
  export * from "./CreateEventIntegrationCommand";
3
4
  export * from "./DeleteDataIntegrationCommand";
4
5
  export * from "./DeleteEventIntegrationCommand";
6
+ export * from "./GetApplicationCommand";
5
7
  export * from "./GetDataIntegrationCommand";
6
8
  export * from "./GetEventIntegrationCommand";
9
+ export * from "./ListApplicationsCommand";
7
10
  export * from "./ListDataIntegrationAssociationsCommand";
8
11
  export * from "./ListDataIntegrationsCommand";
9
12
  export * from "./ListEventIntegrationAssociationsCommand";
@@ -11,5 +14,6 @@ export * from "./ListEventIntegrationsCommand";
11
14
  export * from "./ListTagsForResourceCommand";
12
15
  export * from "./TagResourceCommand";
13
16
  export * from "./UntagResourceCommand";
17
+ export * from "./UpdateApplicationCommand";
14
18
  export * from "./UpdateDataIntegrationCommand";
15
19
  export * from "./UpdateEventIntegrationCommand";
package/dist-es/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "./AppIntegrationsClient";
2
2
  export * from "./AppIntegrations";
3
3
  export * from "./commands";
4
+ export * from "./pagination";
4
5
  export * from "./models";
5
6
  export { AppIntegrationsServiceException } from "./models/AppIntegrationsServiceException";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,25 @@
1
+ import { AppIntegrationsClient } from "../AppIntegrationsClient";
2
+ import { ListApplicationsCommand, } from "../commands/ListApplicationsCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListApplicationsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListApplications(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.NextToken = token;
12
+ input["MaxResults"] = config.pageSize;
13
+ if (config.client instanceof AppIntegrationsClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected AppIntegrations | AppIntegrationsClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.NextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { AppIntegrationsClient } from "../AppIntegrationsClient";
2
+ import { ListDataIntegrationAssociationsCommand, } from "../commands/ListDataIntegrationAssociationsCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListDataIntegrationAssociationsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListDataIntegrationAssociations(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.NextToken = token;
12
+ input["MaxResults"] = config.pageSize;
13
+ if (config.client instanceof AppIntegrationsClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected AppIntegrations | AppIntegrationsClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.NextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { AppIntegrationsClient } from "../AppIntegrationsClient";
2
+ import { ListDataIntegrationsCommand, } from "../commands/ListDataIntegrationsCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListDataIntegrationsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListDataIntegrations(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.NextToken = token;
12
+ input["MaxResults"] = config.pageSize;
13
+ if (config.client instanceof AppIntegrationsClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected AppIntegrations | AppIntegrationsClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.NextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { AppIntegrationsClient } from "../AppIntegrationsClient";
2
+ import { ListEventIntegrationAssociationsCommand, } from "../commands/ListEventIntegrationAssociationsCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListEventIntegrationAssociationsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListEventIntegrationAssociations(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.NextToken = token;
12
+ input["MaxResults"] = config.pageSize;
13
+ if (config.client instanceof AppIntegrationsClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected AppIntegrations | AppIntegrationsClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.NextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { AppIntegrationsClient } from "../AppIntegrationsClient";
2
+ import { ListEventIntegrationsCommand, } from "../commands/ListEventIntegrationsCommand";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListEventIntegrationsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListEventIntegrations(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.NextToken = token;
12
+ input["MaxResults"] = config.pageSize;
13
+ if (config.client instanceof AppIntegrationsClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected AppIntegrations | AppIntegrationsClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.NextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }