@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,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListIngestionDestinations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const AppFabricClient_1 = require("../AppFabricClient");
5
6
  const ListIngestionDestinationsCommand_1 = require("../commands/ListIngestionDestinationsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListIngestionDestinationsCommand_1.ListIngestionDestinationsCommand(input), ...args);
8
- };
9
- async function* paginateListIngestionDestinations(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 AppFabricClient_1.AppFabricClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected AppFabric | AppFabricClient");
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.paginateListIngestionDestinations = paginateListIngestionDestinations;
7
+ exports.paginateListIngestionDestinations = (0, core_1.createPaginator)(AppFabricClient_1.AppFabricClient, ListIngestionDestinationsCommand_1.ListIngestionDestinationsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListIngestions = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const AppFabricClient_1 = require("../AppFabricClient");
5
6
  const ListIngestionsCommand_1 = require("../commands/ListIngestionsCommand");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListIngestionsCommand_1.ListIngestionsCommand(input), ...args);
8
- };
9
- async function* paginateListIngestions(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 AppFabricClient_1.AppFabricClient) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected AppFabric | AppFabricClient");
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.paginateListIngestions = paginateListIngestions;
7
+ exports.paginateListIngestions = (0, core_1.createPaginator)(AppFabricClient_1.AppFabricClient, ListIngestionsCommand_1.ListIngestionsCommand, "nextToken", "nextToken", "maxResults");
@@ -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 { BatchGetUserAccessTasksResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_BatchGetUserAccessTasksCommand, se_BatchGetUserAccessTasksCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class BatchGetUserAccessTasksCommand 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, BatchGetUserAccessTasksCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "AppFabricClient";
27
- const commandName = "BatchGetUserAccessTasksCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: (_) => _,
33
- outputFilterSensitiveLog: BatchGetUserAccessTasksResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "FabricFrontEndService",
36
- operation: "BatchGetUserAccessTasks",
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_BatchGetUserAccessTasksCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_BatchGetUserAccessTasksCommand(output, context);
47
- }
8
+ export class BatchGetUserAccessTasksCommand 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", "BatchGetUserAccessTasks", {})
20
+ .n("AppFabricClient", "BatchGetUserAccessTasksCommand")
21
+ .f(void 0, BatchGetUserAccessTasksResponseFilterSensitiveLog)
22
+ .ser(se_BatchGetUserAccessTasksCommand)
23
+ .de(de_BatchGetUserAccessTasksCommand)
24
+ .build() {
48
25
  }
@@ -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 { ConnectAppAuthorizationRequestFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_ConnectAppAuthorizationCommand, se_ConnectAppAuthorizationCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class ConnectAppAuthorizationCommand 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, ConnectAppAuthorizationCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "AppFabricClient";
27
- const commandName = "ConnectAppAuthorizationCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: ConnectAppAuthorizationRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "FabricFrontEndService",
36
- operation: "ConnectAppAuthorization",
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_ConnectAppAuthorizationCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_ConnectAppAuthorizationCommand(output, context);
47
- }
8
+ export class ConnectAppAuthorizationCommand 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", "ConnectAppAuthorization", {})
20
+ .n("AppFabricClient", "ConnectAppAuthorizationCommand")
21
+ .f(ConnectAppAuthorizationRequestFilterSensitiveLog, void 0)
22
+ .ser(se_ConnectAppAuthorizationCommand)
23
+ .de(de_ConnectAppAuthorizationCommand)
24
+ .build() {
48
25
  }
@@ -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 { CreateAppAuthorizationRequestFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_CreateAppAuthorizationCommand, se_CreateAppAuthorizationCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class CreateAppAuthorizationCommand 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, CreateAppAuthorizationCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "AppFabricClient";
27
- const commandName = "CreateAppAuthorizationCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: CreateAppAuthorizationRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: (_) => _,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "FabricFrontEndService",
36
- operation: "CreateAppAuthorization",
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_CreateAppAuthorizationCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_CreateAppAuthorizationCommand(output, context);
47
- }
8
+ export class CreateAppAuthorizationCommand 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", "CreateAppAuthorization", {})
20
+ .n("AppFabricClient", "CreateAppAuthorizationCommand")
21
+ .f(CreateAppAuthorizationRequestFilterSensitiveLog, void 0)
22
+ .ser(se_CreateAppAuthorizationCommand)
23
+ .de(de_CreateAppAuthorizationCommand)
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_CreateAppBundleCommand, se_CreateAppBundleCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateAppBundleCommand 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, CreateAppBundleCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppFabricClient";
26
- const commandName = "CreateAppBundleCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "FabricFrontEndService",
35
- operation: "CreateAppBundle",
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_CreateAppBundleCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateAppBundleCommand(output, context);
46
- }
7
+ export class CreateAppBundleCommand 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", "CreateAppBundle", {})
19
+ .n("AppFabricClient", "CreateAppBundleCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateAppBundleCommand)
22
+ .de(de_CreateAppBundleCommand)
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_CreateIngestionCommand, se_CreateIngestionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateIngestionCommand 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, CreateIngestionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppFabricClient";
26
- const commandName = "CreateIngestionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "FabricFrontEndService",
35
- operation: "CreateIngestion",
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_CreateIngestionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateIngestionCommand(output, context);
46
- }
7
+ export class CreateIngestionCommand 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", "CreateIngestion", {})
19
+ .n("AppFabricClient", "CreateIngestionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateIngestionCommand)
22
+ .de(de_CreateIngestionCommand)
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_CreateIngestionDestinationCommand, se_CreateIngestionDestinationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateIngestionDestinationCommand 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, CreateIngestionDestinationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppFabricClient";
26
- const commandName = "CreateIngestionDestinationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "FabricFrontEndService",
35
- operation: "CreateIngestionDestination",
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_CreateIngestionDestinationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateIngestionDestinationCommand(output, context);
46
- }
7
+ export class CreateIngestionDestinationCommand 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", "CreateIngestionDestination", {})
19
+ .n("AppFabricClient", "CreateIngestionDestinationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateIngestionDestinationCommand)
22
+ .de(de_CreateIngestionDestinationCommand)
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_DeleteAppAuthorizationCommand, se_DeleteAppAuthorizationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteAppAuthorizationCommand 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, DeleteAppAuthorizationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppFabricClient";
26
- const commandName = "DeleteAppAuthorizationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "FabricFrontEndService",
35
- operation: "DeleteAppAuthorization",
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_DeleteAppAuthorizationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteAppAuthorizationCommand(output, context);
46
- }
7
+ export class DeleteAppAuthorizationCommand 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", "DeleteAppAuthorization", {})
19
+ .n("AppFabricClient", "DeleteAppAuthorizationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteAppAuthorizationCommand)
22
+ .de(de_DeleteAppAuthorizationCommand)
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_DeleteAppBundleCommand, se_DeleteAppBundleCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteAppBundleCommand 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, DeleteAppBundleCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "AppFabricClient";
26
- const commandName = "DeleteAppBundleCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "FabricFrontEndService",
35
- operation: "DeleteAppBundle",
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_DeleteAppBundleCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteAppBundleCommand(output, context);
46
- }
7
+ export class DeleteAppBundleCommand 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", "DeleteAppBundle", {})
19
+ .n("AppFabricClient", "DeleteAppBundleCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteAppBundleCommand)
22
+ .de(de_DeleteAppBundleCommand)
23
+ .build() {
47
24
  }