@aws-sdk/client-codestar-connections 3.455.0 → 3.460.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 +132 -12
  2. package/dist-cjs/CodeStarConnections.js +30 -0
  3. package/dist-cjs/commands/CreateRepositoryLinkCommand.js +51 -0
  4. package/dist-cjs/commands/CreateSyncConfigurationCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteRepositoryLinkCommand.js +51 -0
  6. package/dist-cjs/commands/DeleteSyncConfigurationCommand.js +51 -0
  7. package/dist-cjs/commands/GetRepositoryLinkCommand.js +51 -0
  8. package/dist-cjs/commands/GetRepositorySyncStatusCommand.js +51 -0
  9. package/dist-cjs/commands/GetResourceSyncStatusCommand.js +51 -0
  10. package/dist-cjs/commands/GetSyncBlockerSummaryCommand.js +51 -0
  11. package/dist-cjs/commands/GetSyncConfigurationCommand.js +51 -0
  12. package/dist-cjs/commands/ListRepositoryLinksCommand.js +51 -0
  13. package/dist-cjs/commands/ListRepositorySyncDefinitionsCommand.js +51 -0
  14. package/dist-cjs/commands/ListSyncConfigurationsCommand.js +51 -0
  15. package/dist-cjs/commands/UpdateRepositoryLinkCommand.js +51 -0
  16. package/dist-cjs/commands/UpdateSyncBlockerCommand.js +51 -0
  17. package/dist-cjs/commands/UpdateSyncConfigurationCommand.js +51 -0
  18. package/dist-cjs/commands/index.js +15 -0
  19. package/dist-cjs/models/models_0.js +192 -1
  20. package/dist-cjs/pagination/ListRepositoryLinksPaginator.js +29 -0
  21. package/dist-cjs/pagination/ListSyncConfigurationsPaginator.js +29 -0
  22. package/dist-cjs/pagination/index.js +2 -0
  23. package/dist-cjs/protocols/Aws_json1_0.js +1102 -65
  24. package/dist-es/CodeStarConnections.js +30 -0
  25. package/dist-es/commands/CreateRepositoryLinkCommand.js +47 -0
  26. package/dist-es/commands/CreateSyncConfigurationCommand.js +47 -0
  27. package/dist-es/commands/DeleteRepositoryLinkCommand.js +47 -0
  28. package/dist-es/commands/DeleteSyncConfigurationCommand.js +47 -0
  29. package/dist-es/commands/GetRepositoryLinkCommand.js +47 -0
  30. package/dist-es/commands/GetRepositorySyncStatusCommand.js +47 -0
  31. package/dist-es/commands/GetResourceSyncStatusCommand.js +47 -0
  32. package/dist-es/commands/GetSyncBlockerSummaryCommand.js +47 -0
  33. package/dist-es/commands/GetSyncConfigurationCommand.js +47 -0
  34. package/dist-es/commands/ListRepositoryLinksCommand.js +47 -0
  35. package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +47 -0
  36. package/dist-es/commands/ListSyncConfigurationsCommand.js +47 -0
  37. package/dist-es/commands/UpdateRepositoryLinkCommand.js +47 -0
  38. package/dist-es/commands/UpdateSyncBlockerCommand.js +47 -0
  39. package/dist-es/commands/UpdateSyncConfigurationCommand.js +47 -0
  40. package/dist-es/commands/index.js +15 -0
  41. package/dist-es/models/models_0.js +179 -0
  42. package/dist-es/pagination/ListRepositoryLinksPaginator.js +25 -0
  43. package/dist-es/pagination/ListSyncConfigurationsPaginator.js +25 -0
  44. package/dist-es/pagination/index.js +2 -0
  45. package/dist-es/protocols/Aws_json1_0.js +1061 -55
  46. package/dist-types/CodeStarConnections.d.ts +105 -0
  47. package/dist-types/CodeStarConnectionsClient.d.ts +17 -2
  48. package/dist-types/commands/CreateRepositoryLinkCommand.d.ts +111 -0
  49. package/dist-types/commands/CreateSyncConfigurationCommand.d.ts +111 -0
  50. package/dist-types/commands/DeleteRepositoryLinkCommand.d.ts +95 -0
  51. package/dist-types/commands/DeleteSyncConfigurationCommand.d.ts +90 -0
  52. package/dist-types/commands/GetRepositoryLinkCommand.d.ts +100 -0
  53. package/dist-types/commands/GetRepositorySyncStatusCommand.d.ts +102 -0
  54. package/dist-types/commands/GetResourceSyncStatusCommand.d.ts +155 -0
  55. package/dist-types/commands/GetSyncBlockerSummaryCommand.d.ts +109 -0
  56. package/dist-types/commands/GetSyncConfigurationCommand.d.ts +99 -0
  57. package/dist-types/commands/ListRepositoryLinksCommand.d.ts +103 -0
  58. package/dist-types/commands/ListRepositorySyncDefinitionsCommand.d.ts +97 -0
  59. package/dist-types/commands/ListSyncConfigurationsCommand.d.ts +104 -0
  60. package/dist-types/commands/UpdateRepositoryLinkCommand.d.ts +106 -0
  61. package/dist-types/commands/UpdateSyncBlockerCommand.d.ts +113 -0
  62. package/dist-types/commands/UpdateSyncConfigurationCommand.d.ts +109 -0
  63. package/dist-types/commands/index.d.ts +15 -0
  64. package/dist-types/models/models_0.d.ts +1107 -6
  65. package/dist-types/pagination/ListRepositoryLinksPaginator.d.ts +7 -0
  66. package/dist-types/pagination/ListSyncConfigurationsPaginator.d.ts +7 -0
  67. package/dist-types/pagination/index.d.ts +2 -0
  68. package/dist-types/protocols/Aws_json1_0.d.ts +135 -0
  69. package/dist-types/ts3.4/CodeStarConnections.d.ts +255 -0
  70. package/dist-types/ts3.4/CodeStarConnectionsClient.d.ts +92 -2
  71. package/dist-types/ts3.4/commands/CreateRepositoryLinkCommand.d.ts +42 -0
  72. package/dist-types/ts3.4/commands/CreateSyncConfigurationCommand.d.ts +42 -0
  73. package/dist-types/ts3.4/commands/DeleteRepositoryLinkCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/DeleteSyncConfigurationCommand.d.ts +42 -0
  75. package/dist-types/ts3.4/commands/GetRepositoryLinkCommand.d.ts +38 -0
  76. package/dist-types/ts3.4/commands/GetRepositorySyncStatusCommand.d.ts +42 -0
  77. package/dist-types/ts3.4/commands/GetResourceSyncStatusCommand.d.ts +42 -0
  78. package/dist-types/ts3.4/commands/GetSyncBlockerSummaryCommand.d.ts +42 -0
  79. package/dist-types/ts3.4/commands/GetSyncConfigurationCommand.d.ts +42 -0
  80. package/dist-types/ts3.4/commands/ListRepositoryLinksCommand.d.ts +39 -0
  81. package/dist-types/ts3.4/commands/ListRepositorySyncDefinitionsCommand.d.ts +42 -0
  82. package/dist-types/ts3.4/commands/ListSyncConfigurationsCommand.d.ts +42 -0
  83. package/dist-types/ts3.4/commands/UpdateRepositoryLinkCommand.d.ts +42 -0
  84. package/dist-types/ts3.4/commands/UpdateSyncBlockerCommand.d.ts +38 -0
  85. package/dist-types/ts3.4/commands/UpdateSyncConfigurationCommand.d.ts +42 -0
  86. package/dist-types/ts3.4/commands/index.d.ts +15 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +346 -0
  88. package/dist-types/ts3.4/pagination/ListRepositoryLinksPaginator.d.ts +11 -0
  89. package/dist-types/ts3.4/pagination/ListSyncConfigurationsPaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  91. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +180 -0
  92. package/package.json +12 -12
@@ -0,0 +1,100 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
5
+ import { GetRepositoryLinkInput, GetRepositoryLinkOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetRepositoryLinkCommand}.
14
+ */
15
+ export interface GetRepositoryLinkCommandInput extends GetRepositoryLinkInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetRepositoryLinkCommand}.
21
+ */
22
+ export interface GetRepositoryLinkCommandOutput extends GetRepositoryLinkOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns details about a repository link. A repository link allows Git sync to monitor
27
+ * and sync changes from files in a specified Git repository.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { CodeStarConnectionsClient, GetRepositoryLinkCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
32
+ * // const { CodeStarConnectionsClient, GetRepositoryLinkCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
33
+ * const client = new CodeStarConnectionsClient(config);
34
+ * const input = { // GetRepositoryLinkInput
35
+ * RepositoryLinkId: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new GetRepositoryLinkCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // GetRepositoryLinkOutput
40
+ * // RepositoryLinkInfo: { // RepositoryLinkInfo
41
+ * // ConnectionArn: "STRING_VALUE", // required
42
+ * // EncryptionKeyArn: "STRING_VALUE",
43
+ * // OwnerId: "STRING_VALUE", // required
44
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
45
+ * // RepositoryLinkArn: "STRING_VALUE", // required
46
+ * // RepositoryLinkId: "STRING_VALUE", // required
47
+ * // RepositoryName: "STRING_VALUE", // required
48
+ * // },
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param GetRepositoryLinkCommandInput - {@link GetRepositoryLinkCommandInput}
54
+ * @returns {@link GetRepositoryLinkCommandOutput}
55
+ * @see {@link GetRepositoryLinkCommandInput} for command's `input` shape.
56
+ * @see {@link GetRepositoryLinkCommandOutput} for command's `response` shape.
57
+ * @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * <p>You do not have sufficient access to perform this action.</p>
61
+ *
62
+ * @throws {@link ConcurrentModificationException} (client fault)
63
+ * <p>Exception thrown as a result of concurrent modification to an application. For example, two individuals attempting to edit the same application at the same time. </p>
64
+ *
65
+ * @throws {@link InternalServerException} (server fault)
66
+ * <p>Received an internal server exception. Try again later.</p>
67
+ *
68
+ * @throws {@link InvalidInputException} (client fault)
69
+ * <p>The input is not valid. Verify that the action is typed correctly.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>Resource not found. Verify the connection resource ARN and try again.</p>
73
+ *
74
+ * @throws {@link ThrottlingException} (client fault)
75
+ * <p>The request was denied due to request throttling.</p>
76
+ *
77
+ * @throws {@link CodeStarConnectionsServiceException}
78
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
79
+ *
80
+ */
81
+ export declare class GetRepositoryLinkCommand extends $Command<GetRepositoryLinkCommandInput, GetRepositoryLinkCommandOutput, CodeStarConnectionsClientResolvedConfig> {
82
+ readonly input: GetRepositoryLinkCommandInput;
83
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
+ /**
85
+ * @public
86
+ */
87
+ constructor(input: GetRepositoryLinkCommandInput);
88
+ /**
89
+ * @internal
90
+ */
91
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRepositoryLinkCommandInput, GetRepositoryLinkCommandOutput>;
92
+ /**
93
+ * @internal
94
+ */
95
+ private serialize;
96
+ /**
97
+ * @internal
98
+ */
99
+ private deserialize;
100
+ }
@@ -0,0 +1,102 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
5
+ import { GetRepositorySyncStatusInput, GetRepositorySyncStatusOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetRepositorySyncStatusCommand}.
14
+ */
15
+ export interface GetRepositorySyncStatusCommandInput extends GetRepositorySyncStatusInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetRepositorySyncStatusCommand}.
21
+ */
22
+ export interface GetRepositorySyncStatusCommandOutput extends GetRepositorySyncStatusOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns details about the sync status for a repository. A repository sync uses Git sync
27
+ * to push and pull changes from your remote repository.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { CodeStarConnectionsClient, GetRepositorySyncStatusCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
32
+ * // const { CodeStarConnectionsClient, GetRepositorySyncStatusCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
33
+ * const client = new CodeStarConnectionsClient(config);
34
+ * const input = { // GetRepositorySyncStatusInput
35
+ * Branch: "STRING_VALUE", // required
36
+ * RepositoryLinkId: "STRING_VALUE", // required
37
+ * SyncType: "CFN_STACK_SYNC", // required
38
+ * };
39
+ * const command = new GetRepositorySyncStatusCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetRepositorySyncStatusOutput
42
+ * // LatestSync: { // RepositorySyncAttempt
43
+ * // StartedAt: new Date("TIMESTAMP"), // required
44
+ * // Status: "FAILED" || "INITIATED" || "IN_PROGRESS" || "SUCCEEDED" || "QUEUED", // required
45
+ * // Events: [ // RepositorySyncEventList // required
46
+ * // { // RepositorySyncEvent
47
+ * // Event: "STRING_VALUE", // required
48
+ * // ExternalId: "STRING_VALUE",
49
+ * // Time: new Date("TIMESTAMP"), // required
50
+ * // Type: "STRING_VALUE", // required
51
+ * // },
52
+ * // ],
53
+ * // },
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param GetRepositorySyncStatusCommandInput - {@link GetRepositorySyncStatusCommandInput}
59
+ * @returns {@link GetRepositorySyncStatusCommandOutput}
60
+ * @see {@link GetRepositorySyncStatusCommandInput} for command's `input` shape.
61
+ * @see {@link GetRepositorySyncStatusCommandOutput} for command's `response` shape.
62
+ * @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>You do not have sufficient access to perform this action.</p>
66
+ *
67
+ * @throws {@link InternalServerException} (server fault)
68
+ * <p>Received an internal server exception. Try again later.</p>
69
+ *
70
+ * @throws {@link InvalidInputException} (client fault)
71
+ * <p>The input is not valid. Verify that the action is typed correctly.</p>
72
+ *
73
+ * @throws {@link ResourceNotFoundException} (client fault)
74
+ * <p>Resource not found. Verify the connection resource ARN and try again.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The request was denied due to request throttling.</p>
78
+ *
79
+ * @throws {@link CodeStarConnectionsServiceException}
80
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
81
+ *
82
+ */
83
+ export declare class GetRepositorySyncStatusCommand extends $Command<GetRepositorySyncStatusCommandInput, GetRepositorySyncStatusCommandOutput, CodeStarConnectionsClientResolvedConfig> {
84
+ readonly input: GetRepositorySyncStatusCommandInput;
85
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
86
+ /**
87
+ * @public
88
+ */
89
+ constructor(input: GetRepositorySyncStatusCommandInput);
90
+ /**
91
+ * @internal
92
+ */
93
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRepositorySyncStatusCommandInput, GetRepositorySyncStatusCommandOutput>;
94
+ /**
95
+ * @internal
96
+ */
97
+ private serialize;
98
+ /**
99
+ * @internal
100
+ */
101
+ private deserialize;
102
+ }
@@ -0,0 +1,155 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
5
+ import { GetResourceSyncStatusInput, GetResourceSyncStatusOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetResourceSyncStatusCommand}.
14
+ */
15
+ export interface GetResourceSyncStatusCommandInput extends GetResourceSyncStatusInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetResourceSyncStatusCommand}.
21
+ */
22
+ export interface GetResourceSyncStatusCommandOutput extends GetResourceSyncStatusOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns the status of the sync with the Git repository for a specific Amazon Web Services
27
+ * resource.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { CodeStarConnectionsClient, GetResourceSyncStatusCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
32
+ * // const { CodeStarConnectionsClient, GetResourceSyncStatusCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
33
+ * const client = new CodeStarConnectionsClient(config);
34
+ * const input = { // GetResourceSyncStatusInput
35
+ * ResourceName: "STRING_VALUE", // required
36
+ * SyncType: "CFN_STACK_SYNC", // required
37
+ * };
38
+ * const command = new GetResourceSyncStatusCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // GetResourceSyncStatusOutput
41
+ * // DesiredState: { // Revision
42
+ * // Branch: "STRING_VALUE", // required
43
+ * // Directory: "STRING_VALUE", // required
44
+ * // OwnerId: "STRING_VALUE", // required
45
+ * // RepositoryName: "STRING_VALUE", // required
46
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
47
+ * // Sha: "STRING_VALUE", // required
48
+ * // },
49
+ * // LatestSuccessfulSync: { // ResourceSyncAttempt
50
+ * // Events: [ // ResourceSyncEventList // required
51
+ * // { // ResourceSyncEvent
52
+ * // Event: "STRING_VALUE", // required
53
+ * // ExternalId: "STRING_VALUE",
54
+ * // Time: new Date("TIMESTAMP"), // required
55
+ * // Type: "STRING_VALUE", // required
56
+ * // },
57
+ * // ],
58
+ * // InitialRevision: {
59
+ * // Branch: "STRING_VALUE", // required
60
+ * // Directory: "STRING_VALUE", // required
61
+ * // OwnerId: "STRING_VALUE", // required
62
+ * // RepositoryName: "STRING_VALUE", // required
63
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
64
+ * // Sha: "STRING_VALUE", // required
65
+ * // },
66
+ * // StartedAt: new Date("TIMESTAMP"), // required
67
+ * // Status: "FAILED" || "INITIATED" || "IN_PROGRESS" || "SUCCEEDED", // required
68
+ * // TargetRevision: {
69
+ * // Branch: "STRING_VALUE", // required
70
+ * // Directory: "STRING_VALUE", // required
71
+ * // OwnerId: "STRING_VALUE", // required
72
+ * // RepositoryName: "STRING_VALUE", // required
73
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
74
+ * // Sha: "STRING_VALUE", // required
75
+ * // },
76
+ * // Target: "STRING_VALUE", // required
77
+ * // },
78
+ * // LatestSync: {
79
+ * // Events: [ // required
80
+ * // {
81
+ * // Event: "STRING_VALUE", // required
82
+ * // ExternalId: "STRING_VALUE",
83
+ * // Time: new Date("TIMESTAMP"), // required
84
+ * // Type: "STRING_VALUE", // required
85
+ * // },
86
+ * // ],
87
+ * // InitialRevision: {
88
+ * // Branch: "STRING_VALUE", // required
89
+ * // Directory: "STRING_VALUE", // required
90
+ * // OwnerId: "STRING_VALUE", // required
91
+ * // RepositoryName: "STRING_VALUE", // required
92
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
93
+ * // Sha: "STRING_VALUE", // required
94
+ * // },
95
+ * // StartedAt: new Date("TIMESTAMP"), // required
96
+ * // Status: "FAILED" || "INITIATED" || "IN_PROGRESS" || "SUCCEEDED", // required
97
+ * // TargetRevision: {
98
+ * // Branch: "STRING_VALUE", // required
99
+ * // Directory: "STRING_VALUE", // required
100
+ * // OwnerId: "STRING_VALUE", // required
101
+ * // RepositoryName: "STRING_VALUE", // required
102
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
103
+ * // Sha: "STRING_VALUE", // required
104
+ * // },
105
+ * // Target: "STRING_VALUE", // required
106
+ * // },
107
+ * // };
108
+ *
109
+ * ```
110
+ *
111
+ * @param GetResourceSyncStatusCommandInput - {@link GetResourceSyncStatusCommandInput}
112
+ * @returns {@link GetResourceSyncStatusCommandOutput}
113
+ * @see {@link GetResourceSyncStatusCommandInput} for command's `input` shape.
114
+ * @see {@link GetResourceSyncStatusCommandOutput} for command's `response` shape.
115
+ * @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
116
+ *
117
+ * @throws {@link AccessDeniedException} (client fault)
118
+ * <p>You do not have sufficient access to perform this action.</p>
119
+ *
120
+ * @throws {@link InternalServerException} (server fault)
121
+ * <p>Received an internal server exception. Try again later.</p>
122
+ *
123
+ * @throws {@link InvalidInputException} (client fault)
124
+ * <p>The input is not valid. Verify that the action is typed correctly.</p>
125
+ *
126
+ * @throws {@link ResourceNotFoundException} (client fault)
127
+ * <p>Resource not found. Verify the connection resource ARN and try again.</p>
128
+ *
129
+ * @throws {@link ThrottlingException} (client fault)
130
+ * <p>The request was denied due to request throttling.</p>
131
+ *
132
+ * @throws {@link CodeStarConnectionsServiceException}
133
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
134
+ *
135
+ */
136
+ export declare class GetResourceSyncStatusCommand extends $Command<GetResourceSyncStatusCommandInput, GetResourceSyncStatusCommandOutput, CodeStarConnectionsClientResolvedConfig> {
137
+ readonly input: GetResourceSyncStatusCommandInput;
138
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
139
+ /**
140
+ * @public
141
+ */
142
+ constructor(input: GetResourceSyncStatusCommandInput);
143
+ /**
144
+ * @internal
145
+ */
146
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourceSyncStatusCommandInput, GetResourceSyncStatusCommandOutput>;
147
+ /**
148
+ * @internal
149
+ */
150
+ private serialize;
151
+ /**
152
+ * @internal
153
+ */
154
+ private deserialize;
155
+ }
@@ -0,0 +1,109 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
5
+ import { GetSyncBlockerSummaryInput, GetSyncBlockerSummaryOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetSyncBlockerSummaryCommand}.
14
+ */
15
+ export interface GetSyncBlockerSummaryCommandInput extends GetSyncBlockerSummaryInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetSyncBlockerSummaryCommand}.
21
+ */
22
+ export interface GetSyncBlockerSummaryCommandOutput extends GetSyncBlockerSummaryOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns a list of the most recent sync blockers.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CodeStarConnectionsClient, GetSyncBlockerSummaryCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
31
+ * // const { CodeStarConnectionsClient, GetSyncBlockerSummaryCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
32
+ * const client = new CodeStarConnectionsClient(config);
33
+ * const input = { // GetSyncBlockerSummaryInput
34
+ * SyncType: "CFN_STACK_SYNC", // required
35
+ * ResourceName: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new GetSyncBlockerSummaryCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // GetSyncBlockerSummaryOutput
40
+ * // SyncBlockerSummary: { // SyncBlockerSummary
41
+ * // ResourceName: "STRING_VALUE", // required
42
+ * // ParentResourceName: "STRING_VALUE",
43
+ * // LatestBlockers: [ // LatestSyncBlockerList
44
+ * // { // SyncBlocker
45
+ * // Id: "STRING_VALUE", // required
46
+ * // Type: "AUTOMATED", // required
47
+ * // Status: "ACTIVE" || "RESOLVED", // required
48
+ * // CreatedReason: "STRING_VALUE", // required
49
+ * // CreatedAt: new Date("TIMESTAMP"), // required
50
+ * // Contexts: [ // SyncBlockerContextList
51
+ * // { // SyncBlockerContext
52
+ * // Key: "STRING_VALUE", // required
53
+ * // Value: "STRING_VALUE", // required
54
+ * // },
55
+ * // ],
56
+ * // ResolvedReason: "STRING_VALUE",
57
+ * // ResolvedAt: new Date("TIMESTAMP"),
58
+ * // },
59
+ * // ],
60
+ * // },
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param GetSyncBlockerSummaryCommandInput - {@link GetSyncBlockerSummaryCommandInput}
66
+ * @returns {@link GetSyncBlockerSummaryCommandOutput}
67
+ * @see {@link GetSyncBlockerSummaryCommandInput} for command's `input` shape.
68
+ * @see {@link GetSyncBlockerSummaryCommandOutput} for command's `response` shape.
69
+ * @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
70
+ *
71
+ * @throws {@link AccessDeniedException} (client fault)
72
+ * <p>You do not have sufficient access to perform this action.</p>
73
+ *
74
+ * @throws {@link InternalServerException} (server fault)
75
+ * <p>Received an internal server exception. Try again later.</p>
76
+ *
77
+ * @throws {@link InvalidInputException} (client fault)
78
+ * <p>The input is not valid. Verify that the action is typed correctly.</p>
79
+ *
80
+ * @throws {@link ResourceNotFoundException} (client fault)
81
+ * <p>Resource not found. Verify the connection resource ARN and try again.</p>
82
+ *
83
+ * @throws {@link ThrottlingException} (client fault)
84
+ * <p>The request was denied due to request throttling.</p>
85
+ *
86
+ * @throws {@link CodeStarConnectionsServiceException}
87
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
88
+ *
89
+ */
90
+ export declare class GetSyncBlockerSummaryCommand extends $Command<GetSyncBlockerSummaryCommandInput, GetSyncBlockerSummaryCommandOutput, CodeStarConnectionsClientResolvedConfig> {
91
+ readonly input: GetSyncBlockerSummaryCommandInput;
92
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
93
+ /**
94
+ * @public
95
+ */
96
+ constructor(input: GetSyncBlockerSummaryCommandInput);
97
+ /**
98
+ * @internal
99
+ */
100
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSyncBlockerSummaryCommandInput, GetSyncBlockerSummaryCommandOutput>;
101
+ /**
102
+ * @internal
103
+ */
104
+ private serialize;
105
+ /**
106
+ * @internal
107
+ */
108
+ private deserialize;
109
+ }
@@ -0,0 +1,99 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
5
+ import { GetSyncConfigurationInput, GetSyncConfigurationOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetSyncConfigurationCommand}.
14
+ */
15
+ export interface GetSyncConfigurationCommandInput extends GetSyncConfigurationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetSyncConfigurationCommand}.
21
+ */
22
+ export interface GetSyncConfigurationCommandOutput extends GetSyncConfigurationOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns details about a sync configuration, including the sync type and resource name. A sync configuration allows the configuration to sync (push and pull) changes from the remote repository for a specified branch in a Git repository.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CodeStarConnectionsClient, GetSyncConfigurationCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
31
+ * // const { CodeStarConnectionsClient, GetSyncConfigurationCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
32
+ * const client = new CodeStarConnectionsClient(config);
33
+ * const input = { // GetSyncConfigurationInput
34
+ * SyncType: "CFN_STACK_SYNC", // required
35
+ * ResourceName: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new GetSyncConfigurationCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // GetSyncConfigurationOutput
40
+ * // SyncConfiguration: { // SyncConfiguration
41
+ * // Branch: "STRING_VALUE", // required
42
+ * // ConfigFile: "STRING_VALUE",
43
+ * // OwnerId: "STRING_VALUE", // required
44
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
45
+ * // RepositoryLinkId: "STRING_VALUE", // required
46
+ * // RepositoryName: "STRING_VALUE", // required
47
+ * // ResourceName: "STRING_VALUE", // required
48
+ * // RoleArn: "STRING_VALUE", // required
49
+ * // SyncType: "CFN_STACK_SYNC", // required
50
+ * // },
51
+ * // };
52
+ *
53
+ * ```
54
+ *
55
+ * @param GetSyncConfigurationCommandInput - {@link GetSyncConfigurationCommandInput}
56
+ * @returns {@link GetSyncConfigurationCommandOutput}
57
+ * @see {@link GetSyncConfigurationCommandInput} for command's `input` shape.
58
+ * @see {@link GetSyncConfigurationCommandOutput} for command's `response` shape.
59
+ * @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
60
+ *
61
+ * @throws {@link AccessDeniedException} (client fault)
62
+ * <p>You do not have sufficient access to perform this action.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>Received an internal server exception. Try again later.</p>
66
+ *
67
+ * @throws {@link InvalidInputException} (client fault)
68
+ * <p>The input is not valid. Verify that the action is typed correctly.</p>
69
+ *
70
+ * @throws {@link ResourceNotFoundException} (client fault)
71
+ * <p>Resource not found. Verify the connection resource ARN and try again.</p>
72
+ *
73
+ * @throws {@link ThrottlingException} (client fault)
74
+ * <p>The request was denied due to request throttling.</p>
75
+ *
76
+ * @throws {@link CodeStarConnectionsServiceException}
77
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
78
+ *
79
+ */
80
+ export declare class GetSyncConfigurationCommand extends $Command<GetSyncConfigurationCommandInput, GetSyncConfigurationCommandOutput, CodeStarConnectionsClientResolvedConfig> {
81
+ readonly input: GetSyncConfigurationCommandInput;
82
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
+ /**
84
+ * @public
85
+ */
86
+ constructor(input: GetSyncConfigurationCommandInput);
87
+ /**
88
+ * @internal
89
+ */
90
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSyncConfigurationCommandInput, GetSyncConfigurationCommandOutput>;
91
+ /**
92
+ * @internal
93
+ */
94
+ private serialize;
95
+ /**
96
+ * @internal
97
+ */
98
+ private deserialize;
99
+ }
@@ -0,0 +1,103 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeStarConnectionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeStarConnectionsClient";
5
+ import { ListRepositoryLinksInput, ListRepositoryLinksOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListRepositoryLinksCommand}.
14
+ */
15
+ export interface ListRepositoryLinksCommandInput extends ListRepositoryLinksInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListRepositoryLinksCommand}.
21
+ */
22
+ export interface ListRepositoryLinksCommandOutput extends ListRepositoryLinksOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists the repository links created for connections in your account.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CodeStarConnectionsClient, ListRepositoryLinksCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
31
+ * // const { CodeStarConnectionsClient, ListRepositoryLinksCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
32
+ * const client = new CodeStarConnectionsClient(config);
33
+ * const input = { // ListRepositoryLinksInput
34
+ * MaxResults: Number("int"),
35
+ * NextToken: "STRING_VALUE",
36
+ * };
37
+ * const command = new ListRepositoryLinksCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // ListRepositoryLinksOutput
40
+ * // RepositoryLinks: [ // RepositoryLinkList // required
41
+ * // { // RepositoryLinkInfo
42
+ * // ConnectionArn: "STRING_VALUE", // required
43
+ * // EncryptionKeyArn: "STRING_VALUE",
44
+ * // OwnerId: "STRING_VALUE", // required
45
+ * // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
46
+ * // RepositoryLinkArn: "STRING_VALUE", // required
47
+ * // RepositoryLinkId: "STRING_VALUE", // required
48
+ * // RepositoryName: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // NextToken: "STRING_VALUE",
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param ListRepositoryLinksCommandInput - {@link ListRepositoryLinksCommandInput}
57
+ * @returns {@link ListRepositoryLinksCommandOutput}
58
+ * @see {@link ListRepositoryLinksCommandInput} for command's `input` shape.
59
+ * @see {@link ListRepositoryLinksCommandOutput} for command's `response` shape.
60
+ * @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
61
+ *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * <p>You do not have sufficient access to perform this action.</p>
64
+ *
65
+ * @throws {@link ConcurrentModificationException} (client fault)
66
+ * <p>Exception thrown as a result of concurrent modification to an application. For example, two individuals attempting to edit the same application at the same time. </p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>Received an internal server exception. Try again later.</p>
70
+ *
71
+ * @throws {@link InvalidInputException} (client fault)
72
+ * <p>The input is not valid. Verify that the action is typed correctly.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>Resource not found. Verify the connection resource ARN and try again.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>The request was denied due to request throttling.</p>
79
+ *
80
+ * @throws {@link CodeStarConnectionsServiceException}
81
+ * <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
82
+ *
83
+ */
84
+ export declare class ListRepositoryLinksCommand extends $Command<ListRepositoryLinksCommandInput, ListRepositoryLinksCommandOutput, CodeStarConnectionsClientResolvedConfig> {
85
+ readonly input: ListRepositoryLinksCommandInput;
86
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
+ /**
88
+ * @public
89
+ */
90
+ constructor(input: ListRepositoryLinksCommandInput);
91
+ /**
92
+ * @internal
93
+ */
94
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRepositoryLinksCommandInput, ListRepositoryLinksCommandOutput>;
95
+ /**
96
+ * @internal
97
+ */
98
+ private serialize;
99
+ /**
100
+ * @internal
101
+ */
102
+ private deserialize;
103
+ }