@aws-sdk/client-codestar-connections 3.454.0 → 3.455.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 (92) hide show
  1. package/README.md +0 -120
  2. package/dist-cjs/CodeStarConnections.js +0 -30
  3. package/dist-cjs/commands/index.js +0 -15
  4. package/dist-cjs/models/models_0.js +1 -192
  5. package/dist-cjs/pagination/index.js +0 -2
  6. package/dist-cjs/protocols/Aws_json1_0.js +46 -1083
  7. package/dist-es/CodeStarConnections.js +0 -30
  8. package/dist-es/commands/index.js +0 -15
  9. package/dist-es/models/models_0.js +0 -179
  10. package/dist-es/pagination/index.js +0 -2
  11. package/dist-es/protocols/Aws_json1_0.js +49 -1055
  12. package/dist-types/CodeStarConnections.d.ts +0 -105
  13. package/dist-types/CodeStarConnectionsClient.d.ts +2 -17
  14. package/dist-types/commands/index.d.ts +0 -15
  15. package/dist-types/models/models_0.d.ts +6 -1107
  16. package/dist-types/pagination/index.d.ts +0 -2
  17. package/dist-types/protocols/Aws_json1_0.d.ts +0 -135
  18. package/dist-types/ts3.4/CodeStarConnections.d.ts +0 -255
  19. package/dist-types/ts3.4/CodeStarConnectionsClient.d.ts +2 -92
  20. package/dist-types/ts3.4/commands/index.d.ts +0 -15
  21. package/dist-types/ts3.4/models/models_0.d.ts +0 -346
  22. package/dist-types/ts3.4/pagination/index.d.ts +0 -2
  23. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -180
  24. package/package.json +1 -1
  25. package/dist-cjs/commands/CreateRepositoryLinkCommand.js +0 -51
  26. package/dist-cjs/commands/CreateSyncConfigurationCommand.js +0 -51
  27. package/dist-cjs/commands/DeleteRepositoryLinkCommand.js +0 -51
  28. package/dist-cjs/commands/DeleteSyncConfigurationCommand.js +0 -51
  29. package/dist-cjs/commands/GetRepositoryLinkCommand.js +0 -51
  30. package/dist-cjs/commands/GetRepositorySyncStatusCommand.js +0 -51
  31. package/dist-cjs/commands/GetResourceSyncStatusCommand.js +0 -51
  32. package/dist-cjs/commands/GetSyncBlockerSummaryCommand.js +0 -51
  33. package/dist-cjs/commands/GetSyncConfigurationCommand.js +0 -51
  34. package/dist-cjs/commands/ListRepositoryLinksCommand.js +0 -51
  35. package/dist-cjs/commands/ListRepositorySyncDefinitionsCommand.js +0 -51
  36. package/dist-cjs/commands/ListSyncConfigurationsCommand.js +0 -51
  37. package/dist-cjs/commands/UpdateRepositoryLinkCommand.js +0 -51
  38. package/dist-cjs/commands/UpdateSyncBlockerCommand.js +0 -51
  39. package/dist-cjs/commands/UpdateSyncConfigurationCommand.js +0 -51
  40. package/dist-cjs/pagination/ListRepositoryLinksPaginator.js +0 -29
  41. package/dist-cjs/pagination/ListSyncConfigurationsPaginator.js +0 -29
  42. package/dist-es/commands/CreateRepositoryLinkCommand.js +0 -47
  43. package/dist-es/commands/CreateSyncConfigurationCommand.js +0 -47
  44. package/dist-es/commands/DeleteRepositoryLinkCommand.js +0 -47
  45. package/dist-es/commands/DeleteSyncConfigurationCommand.js +0 -47
  46. package/dist-es/commands/GetRepositoryLinkCommand.js +0 -47
  47. package/dist-es/commands/GetRepositorySyncStatusCommand.js +0 -47
  48. package/dist-es/commands/GetResourceSyncStatusCommand.js +0 -47
  49. package/dist-es/commands/GetSyncBlockerSummaryCommand.js +0 -47
  50. package/dist-es/commands/GetSyncConfigurationCommand.js +0 -47
  51. package/dist-es/commands/ListRepositoryLinksCommand.js +0 -47
  52. package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +0 -47
  53. package/dist-es/commands/ListSyncConfigurationsCommand.js +0 -47
  54. package/dist-es/commands/UpdateRepositoryLinkCommand.js +0 -47
  55. package/dist-es/commands/UpdateSyncBlockerCommand.js +0 -47
  56. package/dist-es/commands/UpdateSyncConfigurationCommand.js +0 -47
  57. package/dist-es/pagination/ListRepositoryLinksPaginator.js +0 -25
  58. package/dist-es/pagination/ListSyncConfigurationsPaginator.js +0 -25
  59. package/dist-types/commands/CreateRepositoryLinkCommand.d.ts +0 -111
  60. package/dist-types/commands/CreateSyncConfigurationCommand.d.ts +0 -111
  61. package/dist-types/commands/DeleteRepositoryLinkCommand.d.ts +0 -95
  62. package/dist-types/commands/DeleteSyncConfigurationCommand.d.ts +0 -90
  63. package/dist-types/commands/GetRepositoryLinkCommand.d.ts +0 -100
  64. package/dist-types/commands/GetRepositorySyncStatusCommand.d.ts +0 -102
  65. package/dist-types/commands/GetResourceSyncStatusCommand.d.ts +0 -155
  66. package/dist-types/commands/GetSyncBlockerSummaryCommand.d.ts +0 -109
  67. package/dist-types/commands/GetSyncConfigurationCommand.d.ts +0 -99
  68. package/dist-types/commands/ListRepositoryLinksCommand.d.ts +0 -103
  69. package/dist-types/commands/ListRepositorySyncDefinitionsCommand.d.ts +0 -97
  70. package/dist-types/commands/ListSyncConfigurationsCommand.d.ts +0 -104
  71. package/dist-types/commands/UpdateRepositoryLinkCommand.d.ts +0 -106
  72. package/dist-types/commands/UpdateSyncBlockerCommand.d.ts +0 -113
  73. package/dist-types/commands/UpdateSyncConfigurationCommand.d.ts +0 -109
  74. package/dist-types/pagination/ListRepositoryLinksPaginator.d.ts +0 -7
  75. package/dist-types/pagination/ListSyncConfigurationsPaginator.d.ts +0 -7
  76. package/dist-types/ts3.4/commands/CreateRepositoryLinkCommand.d.ts +0 -42
  77. package/dist-types/ts3.4/commands/CreateSyncConfigurationCommand.d.ts +0 -42
  78. package/dist-types/ts3.4/commands/DeleteRepositoryLinkCommand.d.ts +0 -42
  79. package/dist-types/ts3.4/commands/DeleteSyncConfigurationCommand.d.ts +0 -42
  80. package/dist-types/ts3.4/commands/GetRepositoryLinkCommand.d.ts +0 -38
  81. package/dist-types/ts3.4/commands/GetRepositorySyncStatusCommand.d.ts +0 -42
  82. package/dist-types/ts3.4/commands/GetResourceSyncStatusCommand.d.ts +0 -42
  83. package/dist-types/ts3.4/commands/GetSyncBlockerSummaryCommand.d.ts +0 -42
  84. package/dist-types/ts3.4/commands/GetSyncConfigurationCommand.d.ts +0 -42
  85. package/dist-types/ts3.4/commands/ListRepositoryLinksCommand.d.ts +0 -39
  86. package/dist-types/ts3.4/commands/ListRepositorySyncDefinitionsCommand.d.ts +0 -42
  87. package/dist-types/ts3.4/commands/ListSyncConfigurationsCommand.d.ts +0 -42
  88. package/dist-types/ts3.4/commands/UpdateRepositoryLinkCommand.d.ts +0 -42
  89. package/dist-types/ts3.4/commands/UpdateSyncBlockerCommand.d.ts +0 -38
  90. package/dist-types/ts3.4/commands/UpdateSyncConfigurationCommand.d.ts +0 -42
  91. package/dist-types/ts3.4/pagination/ListRepositoryLinksPaginator.d.ts +0 -11
  92. package/dist-types/ts3.4/pagination/ListSyncConfigurationsPaginator.d.ts +0 -11
@@ -1,47 +0,0 @@
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_DeleteSyncConfigurationCommand, se_DeleteSyncConfigurationCommand } from "../protocols/Aws_json1_0";
6
- export { $Command };
7
- export class DeleteSyncConfigurationCommand 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, DeleteSyncConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeStarConnectionsClient";
26
- const commandName = "DeleteSyncConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeStar_connections_20191201",
35
- operation: "DeleteSyncConfiguration",
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_DeleteSyncConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteSyncConfigurationCommand(output, context);
46
- }
47
- }
@@ -1,47 +0,0 @@
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_GetRepositoryLinkCommand, se_GetRepositoryLinkCommand } from "../protocols/Aws_json1_0";
6
- export { $Command };
7
- export class GetRepositoryLinkCommand 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, GetRepositoryLinkCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeStarConnectionsClient";
26
- const commandName = "GetRepositoryLinkCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeStar_connections_20191201",
35
- operation: "GetRepositoryLink",
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_GetRepositoryLinkCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetRepositoryLinkCommand(output, context);
46
- }
47
- }
@@ -1,47 +0,0 @@
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_GetRepositorySyncStatusCommand, se_GetRepositorySyncStatusCommand } from "../protocols/Aws_json1_0";
6
- export { $Command };
7
- export class GetRepositorySyncStatusCommand 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, GetRepositorySyncStatusCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeStarConnectionsClient";
26
- const commandName = "GetRepositorySyncStatusCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeStar_connections_20191201",
35
- operation: "GetRepositorySyncStatus",
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_GetRepositorySyncStatusCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetRepositorySyncStatusCommand(output, context);
46
- }
47
- }
@@ -1,47 +0,0 @@
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_GetResourceSyncStatusCommand, se_GetResourceSyncStatusCommand } from "../protocols/Aws_json1_0";
6
- export { $Command };
7
- export class GetResourceSyncStatusCommand 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, GetResourceSyncStatusCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeStarConnectionsClient";
26
- const commandName = "GetResourceSyncStatusCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeStar_connections_20191201",
35
- operation: "GetResourceSyncStatus",
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_GetResourceSyncStatusCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetResourceSyncStatusCommand(output, context);
46
- }
47
- }
@@ -1,47 +0,0 @@
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_GetSyncBlockerSummaryCommand, se_GetSyncBlockerSummaryCommand } from "../protocols/Aws_json1_0";
6
- export { $Command };
7
- export class GetSyncBlockerSummaryCommand 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, GetSyncBlockerSummaryCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeStarConnectionsClient";
26
- const commandName = "GetSyncBlockerSummaryCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeStar_connections_20191201",
35
- operation: "GetSyncBlockerSummary",
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_GetSyncBlockerSummaryCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetSyncBlockerSummaryCommand(output, context);
46
- }
47
- }
@@ -1,47 +0,0 @@
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_GetSyncConfigurationCommand, se_GetSyncConfigurationCommand } from "../protocols/Aws_json1_0";
6
- export { $Command };
7
- export class GetSyncConfigurationCommand 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, GetSyncConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeStarConnectionsClient";
26
- const commandName = "GetSyncConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeStar_connections_20191201",
35
- operation: "GetSyncConfiguration",
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_GetSyncConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetSyncConfigurationCommand(output, context);
46
- }
47
- }
@@ -1,47 +0,0 @@
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_ListRepositoryLinksCommand, se_ListRepositoryLinksCommand } from "../protocols/Aws_json1_0";
6
- export { $Command };
7
- export class ListRepositoryLinksCommand 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, ListRepositoryLinksCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeStarConnectionsClient";
26
- const commandName = "ListRepositoryLinksCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeStar_connections_20191201",
35
- operation: "ListRepositoryLinks",
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_ListRepositoryLinksCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListRepositoryLinksCommand(output, context);
46
- }
47
- }
@@ -1,47 +0,0 @@
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_ListRepositorySyncDefinitionsCommand, se_ListRepositorySyncDefinitionsCommand, } from "../protocols/Aws_json1_0";
6
- export { $Command };
7
- export class ListRepositorySyncDefinitionsCommand 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, ListRepositorySyncDefinitionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeStarConnectionsClient";
26
- const commandName = "ListRepositorySyncDefinitionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeStar_connections_20191201",
35
- operation: "ListRepositorySyncDefinitions",
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_ListRepositorySyncDefinitionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListRepositorySyncDefinitionsCommand(output, context);
46
- }
47
- }
@@ -1,47 +0,0 @@
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_ListSyncConfigurationsCommand, se_ListSyncConfigurationsCommand } from "../protocols/Aws_json1_0";
6
- export { $Command };
7
- export class ListSyncConfigurationsCommand 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, ListSyncConfigurationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeStarConnectionsClient";
26
- const commandName = "ListSyncConfigurationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeStar_connections_20191201",
35
- operation: "ListSyncConfigurations",
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_ListSyncConfigurationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListSyncConfigurationsCommand(output, context);
46
- }
47
- }
@@ -1,47 +0,0 @@
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_UpdateRepositoryLinkCommand, se_UpdateRepositoryLinkCommand } from "../protocols/Aws_json1_0";
6
- export { $Command };
7
- export class UpdateRepositoryLinkCommand 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, UpdateRepositoryLinkCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeStarConnectionsClient";
26
- const commandName = "UpdateRepositoryLinkCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeStar_connections_20191201",
35
- operation: "UpdateRepositoryLink",
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_UpdateRepositoryLinkCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateRepositoryLinkCommand(output, context);
46
- }
47
- }
@@ -1,47 +0,0 @@
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_UpdateSyncBlockerCommand, se_UpdateSyncBlockerCommand } from "../protocols/Aws_json1_0";
6
- export { $Command };
7
- export class UpdateSyncBlockerCommand 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, UpdateSyncBlockerCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeStarConnectionsClient";
26
- const commandName = "UpdateSyncBlockerCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeStar_connections_20191201",
35
- operation: "UpdateSyncBlocker",
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_UpdateSyncBlockerCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateSyncBlockerCommand(output, context);
46
- }
47
- }
@@ -1,47 +0,0 @@
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_UpdateSyncConfigurationCommand, se_UpdateSyncConfigurationCommand } from "../protocols/Aws_json1_0";
6
- export { $Command };
7
- export class UpdateSyncConfigurationCommand 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, UpdateSyncConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CodeStarConnectionsClient";
26
- const commandName = "UpdateSyncConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "CodeStar_connections_20191201",
35
- operation: "UpdateSyncConfiguration",
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_UpdateSyncConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateSyncConfigurationCommand(output, context);
46
- }
47
- }
@@ -1,25 +0,0 @@
1
- import { CodeStarConnectionsClient } from "../CodeStarConnectionsClient";
2
- import { ListRepositoryLinksCommand, } from "../commands/ListRepositoryLinksCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListRepositoryLinksCommand(input), ...args);
5
- };
6
- export async function* paginateListRepositoryLinks(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 CodeStarConnectionsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodeStarConnections | CodeStarConnectionsClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
@@ -1,25 +0,0 @@
1
- import { CodeStarConnectionsClient } from "../CodeStarConnectionsClient";
2
- import { ListSyncConfigurationsCommand, } from "../commands/ListSyncConfigurationsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSyncConfigurationsCommand(input), ...args);
5
- };
6
- export async function* paginateListSyncConfigurations(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 CodeStarConnectionsClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CodeStarConnections | CodeStarConnectionsClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }