@aws-sdk/client-appfabric 3.477.0 → 3.481.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 (125) hide show
  1. package/dist-cjs/commands/BatchGetUserAccessTasksCommand.js +18 -41
  2. package/dist-cjs/commands/ConnectAppAuthorizationCommand.js +18 -41
  3. package/dist-cjs/commands/CreateAppAuthorizationCommand.js +18 -41
  4. package/dist-cjs/commands/CreateAppBundleCommand.js +18 -41
  5. package/dist-cjs/commands/CreateIngestionCommand.js +18 -41
  6. package/dist-cjs/commands/CreateIngestionDestinationCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteAppAuthorizationCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteAppBundleCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteIngestionCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteIngestionDestinationCommand.js +18 -41
  11. package/dist-cjs/commands/GetAppAuthorizationCommand.js +18 -41
  12. package/dist-cjs/commands/GetAppBundleCommand.js +18 -41
  13. package/dist-cjs/commands/GetIngestionCommand.js +18 -41
  14. package/dist-cjs/commands/GetIngestionDestinationCommand.js +18 -41
  15. package/dist-cjs/commands/ListAppAuthorizationsCommand.js +18 -41
  16. package/dist-cjs/commands/ListAppBundlesCommand.js +18 -41
  17. package/dist-cjs/commands/ListIngestionDestinationsCommand.js +18 -41
  18. package/dist-cjs/commands/ListIngestionsCommand.js +18 -41
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  20. package/dist-cjs/commands/StartIngestionCommand.js +18 -41
  21. package/dist-cjs/commands/StartUserAccessTasksCommand.js +18 -41
  22. package/dist-cjs/commands/StopIngestionCommand.js +18 -41
  23. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  24. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  25. package/dist-cjs/commands/UpdateAppAuthorizationCommand.js +18 -41
  26. package/dist-cjs/commands/UpdateIngestionDestinationCommand.js +18 -41
  27. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  28. package/dist-cjs/pagination/ListAppAuthorizationsPaginator.js +2 -24
  29. package/dist-cjs/pagination/ListAppBundlesPaginator.js +2 -24
  30. package/dist-cjs/pagination/ListIngestionDestinationsPaginator.js +2 -24
  31. package/dist-cjs/pagination/ListIngestionsPaginator.js +2 -24
  32. package/dist-es/commands/BatchGetUserAccessTasksCommand.js +18 -41
  33. package/dist-es/commands/ConnectAppAuthorizationCommand.js +18 -41
  34. package/dist-es/commands/CreateAppAuthorizationCommand.js +18 -41
  35. package/dist-es/commands/CreateAppBundleCommand.js +18 -41
  36. package/dist-es/commands/CreateIngestionCommand.js +18 -41
  37. package/dist-es/commands/CreateIngestionDestinationCommand.js +18 -41
  38. package/dist-es/commands/DeleteAppAuthorizationCommand.js +18 -41
  39. package/dist-es/commands/DeleteAppBundleCommand.js +18 -41
  40. package/dist-es/commands/DeleteIngestionCommand.js +18 -41
  41. package/dist-es/commands/DeleteIngestionDestinationCommand.js +18 -41
  42. package/dist-es/commands/GetAppAuthorizationCommand.js +18 -41
  43. package/dist-es/commands/GetAppBundleCommand.js +18 -41
  44. package/dist-es/commands/GetIngestionCommand.js +18 -41
  45. package/dist-es/commands/GetIngestionDestinationCommand.js +18 -41
  46. package/dist-es/commands/ListAppAuthorizationsCommand.js +18 -41
  47. package/dist-es/commands/ListAppBundlesCommand.js +18 -41
  48. package/dist-es/commands/ListIngestionDestinationsCommand.js +18 -41
  49. package/dist-es/commands/ListIngestionsCommand.js +18 -41
  50. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  51. package/dist-es/commands/StartIngestionCommand.js +18 -41
  52. package/dist-es/commands/StartUserAccessTasksCommand.js +18 -41
  53. package/dist-es/commands/StopIngestionCommand.js +18 -41
  54. package/dist-es/commands/TagResourceCommand.js +18 -41
  55. package/dist-es/commands/UntagResourceCommand.js +18 -41
  56. package/dist-es/commands/UpdateAppAuthorizationCommand.js +18 -41
  57. package/dist-es/commands/UpdateIngestionDestinationCommand.js +18 -41
  58. package/dist-es/endpoint/EndpointParameters.js +6 -0
  59. package/dist-es/pagination/ListAppAuthorizationsPaginator.js +2 -23
  60. package/dist-es/pagination/ListAppBundlesPaginator.js +2 -23
  61. package/dist-es/pagination/ListIngestionDestinationsPaginator.js +2 -23
  62. package/dist-es/pagination/ListIngestionsPaginator.js +2 -23
  63. package/dist-types/commands/BatchGetUserAccessTasksCommand.d.ts +6 -21
  64. package/dist-types/commands/ConnectAppAuthorizationCommand.d.ts +6 -21
  65. package/dist-types/commands/CreateAppAuthorizationCommand.d.ts +6 -21
  66. package/dist-types/commands/CreateAppBundleCommand.d.ts +6 -21
  67. package/dist-types/commands/CreateIngestionCommand.d.ts +6 -21
  68. package/dist-types/commands/CreateIngestionDestinationCommand.d.ts +6 -21
  69. package/dist-types/commands/DeleteAppAuthorizationCommand.d.ts +6 -21
  70. package/dist-types/commands/DeleteAppBundleCommand.d.ts +6 -21
  71. package/dist-types/commands/DeleteIngestionCommand.d.ts +6 -21
  72. package/dist-types/commands/DeleteIngestionDestinationCommand.d.ts +6 -21
  73. package/dist-types/commands/GetAppAuthorizationCommand.d.ts +6 -21
  74. package/dist-types/commands/GetAppBundleCommand.d.ts +6 -21
  75. package/dist-types/commands/GetIngestionCommand.d.ts +6 -21
  76. package/dist-types/commands/GetIngestionDestinationCommand.d.ts +6 -21
  77. package/dist-types/commands/ListAppAuthorizationsCommand.d.ts +6 -21
  78. package/dist-types/commands/ListAppBundlesCommand.d.ts +6 -21
  79. package/dist-types/commands/ListIngestionDestinationsCommand.d.ts +6 -21
  80. package/dist-types/commands/ListIngestionsCommand.d.ts +6 -21
  81. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  82. package/dist-types/commands/StartIngestionCommand.d.ts +6 -21
  83. package/dist-types/commands/StartUserAccessTasksCommand.d.ts +6 -21
  84. package/dist-types/commands/StopIngestionCommand.d.ts +6 -21
  85. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  86. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  87. package/dist-types/commands/UpdateAppAuthorizationCommand.d.ts +6 -21
  88. package/dist-types/commands/UpdateIngestionDestinationCommand.d.ts +6 -21
  89. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  90. package/dist-types/pagination/ListAppAuthorizationsPaginator.d.ts +1 -1
  91. package/dist-types/pagination/ListAppBundlesPaginator.d.ts +1 -1
  92. package/dist-types/pagination/ListIngestionDestinationsPaginator.d.ts +1 -1
  93. package/dist-types/pagination/ListIngestionsPaginator.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/BatchGetUserAccessTasksCommand.d.ts +12 -24
  95. package/dist-types/ts3.4/commands/ConnectAppAuthorizationCommand.d.ts +12 -24
  96. package/dist-types/ts3.4/commands/CreateAppAuthorizationCommand.d.ts +12 -24
  97. package/dist-types/ts3.4/commands/CreateAppBundleCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/CreateIngestionCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/commands/CreateIngestionDestinationCommand.d.ts +12 -24
  100. package/dist-types/ts3.4/commands/DeleteAppAuthorizationCommand.d.ts +12 -24
  101. package/dist-types/ts3.4/commands/DeleteAppBundleCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/DeleteIngestionCommand.d.ts +14 -23
  103. package/dist-types/ts3.4/commands/DeleteIngestionDestinationCommand.d.ts +12 -24
  104. package/dist-types/ts3.4/commands/GetAppAuthorizationCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/GetAppBundleCommand.d.ts +14 -23
  106. package/dist-types/ts3.4/commands/GetIngestionCommand.d.ts +14 -23
  107. package/dist-types/ts3.4/commands/GetIngestionDestinationCommand.d.ts +12 -24
  108. package/dist-types/ts3.4/commands/ListAppAuthorizationsCommand.d.ts +12 -24
  109. package/dist-types/ts3.4/commands/ListAppBundlesCommand.d.ts +14 -23
  110. package/dist-types/ts3.4/commands/ListIngestionDestinationsCommand.d.ts +12 -24
  111. package/dist-types/ts3.4/commands/ListIngestionsCommand.d.ts +14 -23
  112. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  113. package/dist-types/ts3.4/commands/StartIngestionCommand.d.ts +14 -23
  114. package/dist-types/ts3.4/commands/StartUserAccessTasksCommand.d.ts +12 -24
  115. package/dist-types/ts3.4/commands/StopIngestionCommand.d.ts +14 -23
  116. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  117. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  118. package/dist-types/ts3.4/commands/UpdateAppAuthorizationCommand.d.ts +12 -24
  119. package/dist-types/ts3.4/commands/UpdateIngestionDestinationCommand.d.ts +12 -24
  120. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  121. package/dist-types/ts3.4/pagination/ListAppAuthorizationsPaginator.d.ts +3 -3
  122. package/dist-types/ts3.4/pagination/ListAppBundlesPaginator.d.ts +3 -3
  123. package/dist-types/ts3.4/pagination/ListIngestionDestinationsPaginator.d.ts +3 -3
  124. package/dist-types/ts3.4/pagination/ListIngestionsPaginator.d.ts +3 -3
  125. package/package.json +11 -11
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListIngestionsCommand, se_ListIngestionsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListIngestionsCommand 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, ListIngestionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppFabricClient";
26
- const commandName = "ListIngestionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "FabricFrontEndService",
35
- operation: "ListIngestions",
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_ListIngestionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListIngestionsCommand(output, context);
46
- }
7
+ export class ListIngestionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("FabricFrontEndService", "ListIngestions", {})
19
+ .n("AppFabricClient", "ListIngestionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListIngestionsCommand)
22
+ .de(de_ListIngestionsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand 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, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppFabricClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "FabricFrontEndService",
35
- operation: "ListTagsForResource",
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_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("FabricFrontEndService", "ListTagsForResource", {})
19
+ .n("AppFabricClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StartIngestionCommand, se_StartIngestionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class StartIngestionCommand 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, StartIngestionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppFabricClient";
26
- const commandName = "StartIngestionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "FabricFrontEndService",
35
- operation: "StartIngestion",
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_StartIngestionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartIngestionCommand(output, context);
46
- }
7
+ export class StartIngestionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("FabricFrontEndService", "StartIngestion", {})
19
+ .n("AppFabricClient", "StartIngestionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartIngestionCommand)
22
+ .de(de_StartIngestionCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { StartUserAccessTasksRequestFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_StartUserAccessTasksCommand, se_StartUserAccessTasksCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class StartUserAccessTasksCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, StartUserAccessTasksCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "AppFabricClient";
27
- const commandName = "StartUserAccessTasksCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: StartUserAccessTasksRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "FabricFrontEndService",
36
- operation: "StartUserAccessTasks",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_StartUserAccessTasksCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_StartUserAccessTasksCommand(output, context);
47
- }
8
+ export class StartUserAccessTasksCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("FabricFrontEndService", "StartUserAccessTasks", {})
20
+ .n("AppFabricClient", "StartUserAccessTasksCommand")
21
+ .f(StartUserAccessTasksRequestFilterSensitiveLog, void 0)
22
+ .ser(se_StartUserAccessTasksCommand)
23
+ .de(de_StartUserAccessTasksCommand)
24
+ .build() {
48
25
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_StopIngestionCommand, se_StopIngestionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class StopIngestionCommand 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, StopIngestionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppFabricClient";
26
- const commandName = "StopIngestionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "FabricFrontEndService",
35
- operation: "StopIngestion",
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_StopIngestionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StopIngestionCommand(output, context);
46
- }
7
+ export class StopIngestionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("FabricFrontEndService", "StopIngestion", {})
19
+ .n("AppFabricClient", "StopIngestionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopIngestionCommand)
22
+ .de(de_StopIngestionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class TagResourceCommand 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, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppFabricClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "FabricFrontEndService",
35
- operation: "TagResource",
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_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("FabricFrontEndService", "TagResource", {})
19
+ .n("AppFabricClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand 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, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppFabricClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "FabricFrontEndService",
35
- operation: "UntagResource",
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_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("FabricFrontEndService", "UntagResource", {})
19
+ .n("AppFabricClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,48 +1,25 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { UpdateAppAuthorizationRequestFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_UpdateAppAuthorizationCommand, se_UpdateAppAuthorizationCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class UpdateAppAuthorizationCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAppAuthorizationCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "AppFabricClient";
27
- const commandName = "UpdateAppAuthorizationCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: UpdateAppAuthorizationRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "FabricFrontEndService",
36
- operation: "UpdateAppAuthorization",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_UpdateAppAuthorizationCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_UpdateAppAuthorizationCommand(output, context);
47
- }
8
+ export class UpdateAppAuthorizationCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("FabricFrontEndService", "UpdateAppAuthorization", {})
20
+ .n("AppFabricClient", "UpdateAppAuthorizationCommand")
21
+ .f(UpdateAppAuthorizationRequestFilterSensitiveLog, void 0)
22
+ .ser(se_UpdateAppAuthorizationCommand)
23
+ .de(de_UpdateAppAuthorizationCommand)
24
+ .build() {
48
25
  }
@@ -1,47 +1,24 @@
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
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateIngestionDestinationCommand, se_UpdateIngestionDestinationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateIngestionDestinationCommand 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, UpdateIngestionDestinationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppFabricClient";
26
- const commandName = "UpdateIngestionDestinationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "FabricFrontEndService",
35
- operation: "UpdateIngestionDestination",
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_UpdateIngestionDestinationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateIngestionDestinationCommand(output, context);
46
- }
7
+ export class UpdateIngestionDestinationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("FabricFrontEndService", "UpdateIngestionDestination", {})
19
+ .n("AppFabricClient", "UpdateIngestionDestinationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateIngestionDestinationCommand)
22
+ .de(de_UpdateIngestionDestinationCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "appfabric",
7
7
  };
8
8
  };
9
+ export const commonParams = {
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
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { AppFabricClient } from "../AppFabricClient";
2
3
  import { ListAppAuthorizationsCommand, } from "../commands/ListAppAuthorizationsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListAppAuthorizationsCommand(input), ...args);
5
- };
6
- export async function* paginateListAppAuthorizations(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 AppFabricClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected AppFabric | AppFabricClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListAppAuthorizations = createPaginator(AppFabricClient, ListAppAuthorizationsCommand, "nextToken", "nextToken", "maxResults");