cdk-lambda-subminute 2.0.416 → 2.0.417
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.
- package/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/codeconnections-2023-12-01.examples.json +5 -0
- package/node_modules/aws-sdk/apis/codeconnections-2023-12-01.min.json +923 -0
- package/node_modules/aws-sdk/apis/codeconnections-2023-12-01.paginators.json +24 -0
- package/node_modules/aws-sdk/apis/internetmonitor-2021-06-03.min.json +40 -22
- package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +196 -51
- package/node_modules/aws-sdk/apis/marketplace-catalog-2018-09-17.min.json +15 -5
- package/node_modules/aws-sdk/apis/metadata.json +3 -0
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +1048 -1019
- package/node_modules/aws-sdk/clients/all.d.ts +1 -0
- package/node_modules/aws-sdk/clients/all.js +2 -1
- package/node_modules/aws-sdk/clients/b2bi.d.ts +2 -2
- package/node_modules/aws-sdk/clients/codebuild.d.ts +1 -1
- package/node_modules/aws-sdk/clients/codeconnections.d.ts +1200 -0
- package/node_modules/aws-sdk/clients/codeconnections.js +18 -0
- package/node_modules/aws-sdk/clients/internetmonitor.d.ts +22 -0
- package/node_modules/aws-sdk/clients/iotwireless.d.ts +191 -2
- package/node_modules/aws-sdk/clients/marketplacecatalog.d.ts +17 -1
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +24 -0
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +45 -8
- package/node_modules/aws-sdk/dist/aws-sdk.js +21 -8
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +40 -40
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +2 -2
@@ -0,0 +1,1200 @@
|
|
1
|
+
import {Request} from '../lib/request';
|
2
|
+
import {Response} from '../lib/response';
|
3
|
+
import {AWSError} from '../lib/error';
|
4
|
+
import {Service} from '../lib/service';
|
5
|
+
import {ServiceConfigurationOptions} from '../lib/service';
|
6
|
+
import {ConfigBase as Config} from '../lib/config-base';
|
7
|
+
interface Blob {}
|
8
|
+
declare class CodeConnections extends Service {
|
9
|
+
/**
|
10
|
+
* Constructs a service object. This object has one method for each API operation.
|
11
|
+
*/
|
12
|
+
constructor(options?: CodeConnections.Types.ClientConfiguration)
|
13
|
+
config: Config & CodeConnections.Types.ClientConfiguration;
|
14
|
+
/**
|
15
|
+
* Creates a connection that can then be given to other Amazon Web Services services like CodePipeline so that it can access third-party code repositories. The connection is in pending status until the third-party connection handshake is completed from the console.
|
16
|
+
*/
|
17
|
+
createConnection(params: CodeConnections.Types.CreateConnectionInput, callback?: (err: AWSError, data: CodeConnections.Types.CreateConnectionOutput) => void): Request<CodeConnections.Types.CreateConnectionOutput, AWSError>;
|
18
|
+
/**
|
19
|
+
* Creates a connection that can then be given to other Amazon Web Services services like CodePipeline so that it can access third-party code repositories. The connection is in pending status until the third-party connection handshake is completed from the console.
|
20
|
+
*/
|
21
|
+
createConnection(callback?: (err: AWSError, data: CodeConnections.Types.CreateConnectionOutput) => void): Request<CodeConnections.Types.CreateConnectionOutput, AWSError>;
|
22
|
+
/**
|
23
|
+
* Creates a resource that represents the infrastructure where a third-party provider is installed. The host is used when you create connections to an installed third-party provider type, such as GitHub Enterprise Server. You create one host for all connections to that provider. A host created through the CLI or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by setting up the host in the console.
|
24
|
+
*/
|
25
|
+
createHost(params: CodeConnections.Types.CreateHostInput, callback?: (err: AWSError, data: CodeConnections.Types.CreateHostOutput) => void): Request<CodeConnections.Types.CreateHostOutput, AWSError>;
|
26
|
+
/**
|
27
|
+
* Creates a resource that represents the infrastructure where a third-party provider is installed. The host is used when you create connections to an installed third-party provider type, such as GitHub Enterprise Server. You create one host for all connections to that provider. A host created through the CLI or the SDK is in `PENDING` status by default. You can make its status `AVAILABLE` by setting up the host in the console.
|
28
|
+
*/
|
29
|
+
createHost(callback?: (err: AWSError, data: CodeConnections.Types.CreateHostOutput) => void): Request<CodeConnections.Types.CreateHostOutput, AWSError>;
|
30
|
+
/**
|
31
|
+
* Creates a link to a specified external Git repository. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.
|
32
|
+
*/
|
33
|
+
createRepositoryLink(params: CodeConnections.Types.CreateRepositoryLinkInput, callback?: (err: AWSError, data: CodeConnections.Types.CreateRepositoryLinkOutput) => void): Request<CodeConnections.Types.CreateRepositoryLinkOutput, AWSError>;
|
34
|
+
/**
|
35
|
+
* Creates a link to a specified external Git repository. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.
|
36
|
+
*/
|
37
|
+
createRepositoryLink(callback?: (err: AWSError, data: CodeConnections.Types.CreateRepositoryLinkOutput) => void): Request<CodeConnections.Types.CreateRepositoryLinkOutput, AWSError>;
|
38
|
+
/**
|
39
|
+
* Creates a sync configuration which allows Amazon Web Services to sync content from a Git repository to update a specified Amazon Web Services resource. Parameters for the sync configuration are determined by the sync type.
|
40
|
+
*/
|
41
|
+
createSyncConfiguration(params: CodeConnections.Types.CreateSyncConfigurationInput, callback?: (err: AWSError, data: CodeConnections.Types.CreateSyncConfigurationOutput) => void): Request<CodeConnections.Types.CreateSyncConfigurationOutput, AWSError>;
|
42
|
+
/**
|
43
|
+
* Creates a sync configuration which allows Amazon Web Services to sync content from a Git repository to update a specified Amazon Web Services resource. Parameters for the sync configuration are determined by the sync type.
|
44
|
+
*/
|
45
|
+
createSyncConfiguration(callback?: (err: AWSError, data: CodeConnections.Types.CreateSyncConfigurationOutput) => void): Request<CodeConnections.Types.CreateSyncConfigurationOutput, AWSError>;
|
46
|
+
/**
|
47
|
+
* The connection to be deleted.
|
48
|
+
*/
|
49
|
+
deleteConnection(params: CodeConnections.Types.DeleteConnectionInput, callback?: (err: AWSError, data: CodeConnections.Types.DeleteConnectionOutput) => void): Request<CodeConnections.Types.DeleteConnectionOutput, AWSError>;
|
50
|
+
/**
|
51
|
+
* The connection to be deleted.
|
52
|
+
*/
|
53
|
+
deleteConnection(callback?: (err: AWSError, data: CodeConnections.Types.DeleteConnectionOutput) => void): Request<CodeConnections.Types.DeleteConnectionOutput, AWSError>;
|
54
|
+
/**
|
55
|
+
* The host to be deleted. Before you delete a host, all connections associated to the host must be deleted. A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state.
|
56
|
+
*/
|
57
|
+
deleteHost(params: CodeConnections.Types.DeleteHostInput, callback?: (err: AWSError, data: CodeConnections.Types.DeleteHostOutput) => void): Request<CodeConnections.Types.DeleteHostOutput, AWSError>;
|
58
|
+
/**
|
59
|
+
* The host to be deleted. Before you delete a host, all connections associated to the host must be deleted. A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state.
|
60
|
+
*/
|
61
|
+
deleteHost(callback?: (err: AWSError, data: CodeConnections.Types.DeleteHostOutput) => void): Request<CodeConnections.Types.DeleteHostOutput, AWSError>;
|
62
|
+
/**
|
63
|
+
* Deletes the association between your connection and a specified external Git repository.
|
64
|
+
*/
|
65
|
+
deleteRepositoryLink(params: CodeConnections.Types.DeleteRepositoryLinkInput, callback?: (err: AWSError, data: CodeConnections.Types.DeleteRepositoryLinkOutput) => void): Request<CodeConnections.Types.DeleteRepositoryLinkOutput, AWSError>;
|
66
|
+
/**
|
67
|
+
* Deletes the association between your connection and a specified external Git repository.
|
68
|
+
*/
|
69
|
+
deleteRepositoryLink(callback?: (err: AWSError, data: CodeConnections.Types.DeleteRepositoryLinkOutput) => void): Request<CodeConnections.Types.DeleteRepositoryLinkOutput, AWSError>;
|
70
|
+
/**
|
71
|
+
* Deletes the sync configuration for a specified repository and connection.
|
72
|
+
*/
|
73
|
+
deleteSyncConfiguration(params: CodeConnections.Types.DeleteSyncConfigurationInput, callback?: (err: AWSError, data: CodeConnections.Types.DeleteSyncConfigurationOutput) => void): Request<CodeConnections.Types.DeleteSyncConfigurationOutput, AWSError>;
|
74
|
+
/**
|
75
|
+
* Deletes the sync configuration for a specified repository and connection.
|
76
|
+
*/
|
77
|
+
deleteSyncConfiguration(callback?: (err: AWSError, data: CodeConnections.Types.DeleteSyncConfigurationOutput) => void): Request<CodeConnections.Types.DeleteSyncConfigurationOutput, AWSError>;
|
78
|
+
/**
|
79
|
+
* Returns the connection ARN and details such as status, owner, and provider type.
|
80
|
+
*/
|
81
|
+
getConnection(params: CodeConnections.Types.GetConnectionInput, callback?: (err: AWSError, data: CodeConnections.Types.GetConnectionOutput) => void): Request<CodeConnections.Types.GetConnectionOutput, AWSError>;
|
82
|
+
/**
|
83
|
+
* Returns the connection ARN and details such as status, owner, and provider type.
|
84
|
+
*/
|
85
|
+
getConnection(callback?: (err: AWSError, data: CodeConnections.Types.GetConnectionOutput) => void): Request<CodeConnections.Types.GetConnectionOutput, AWSError>;
|
86
|
+
/**
|
87
|
+
* Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC configuration.
|
88
|
+
*/
|
89
|
+
getHost(params: CodeConnections.Types.GetHostInput, callback?: (err: AWSError, data: CodeConnections.Types.GetHostOutput) => void): Request<CodeConnections.Types.GetHostOutput, AWSError>;
|
90
|
+
/**
|
91
|
+
* Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC configuration.
|
92
|
+
*/
|
93
|
+
getHost(callback?: (err: AWSError, data: CodeConnections.Types.GetHostOutput) => void): Request<CodeConnections.Types.GetHostOutput, AWSError>;
|
94
|
+
/**
|
95
|
+
* Returns details about a repository link. A repository link allows Git sync to monitor and sync changes from files in a specified Git repository.
|
96
|
+
*/
|
97
|
+
getRepositoryLink(params: CodeConnections.Types.GetRepositoryLinkInput, callback?: (err: AWSError, data: CodeConnections.Types.GetRepositoryLinkOutput) => void): Request<CodeConnections.Types.GetRepositoryLinkOutput, AWSError>;
|
98
|
+
/**
|
99
|
+
* Returns details about a repository link. A repository link allows Git sync to monitor and sync changes from files in a specified Git repository.
|
100
|
+
*/
|
101
|
+
getRepositoryLink(callback?: (err: AWSError, data: CodeConnections.Types.GetRepositoryLinkOutput) => void): Request<CodeConnections.Types.GetRepositoryLinkOutput, AWSError>;
|
102
|
+
/**
|
103
|
+
* Returns details about the sync status for a repository. A repository sync uses Git sync to push and pull changes from your remote repository.
|
104
|
+
*/
|
105
|
+
getRepositorySyncStatus(params: CodeConnections.Types.GetRepositorySyncStatusInput, callback?: (err: AWSError, data: CodeConnections.Types.GetRepositorySyncStatusOutput) => void): Request<CodeConnections.Types.GetRepositorySyncStatusOutput, AWSError>;
|
106
|
+
/**
|
107
|
+
* Returns details about the sync status for a repository. A repository sync uses Git sync to push and pull changes from your remote repository.
|
108
|
+
*/
|
109
|
+
getRepositorySyncStatus(callback?: (err: AWSError, data: CodeConnections.Types.GetRepositorySyncStatusOutput) => void): Request<CodeConnections.Types.GetRepositorySyncStatusOutput, AWSError>;
|
110
|
+
/**
|
111
|
+
* Returns the status of the sync with the Git repository for a specific Amazon Web Services resource.
|
112
|
+
*/
|
113
|
+
getResourceSyncStatus(params: CodeConnections.Types.GetResourceSyncStatusInput, callback?: (err: AWSError, data: CodeConnections.Types.GetResourceSyncStatusOutput) => void): Request<CodeConnections.Types.GetResourceSyncStatusOutput, AWSError>;
|
114
|
+
/**
|
115
|
+
* Returns the status of the sync with the Git repository for a specific Amazon Web Services resource.
|
116
|
+
*/
|
117
|
+
getResourceSyncStatus(callback?: (err: AWSError, data: CodeConnections.Types.GetResourceSyncStatusOutput) => void): Request<CodeConnections.Types.GetResourceSyncStatusOutput, AWSError>;
|
118
|
+
/**
|
119
|
+
* Returns a list of the most recent sync blockers.
|
120
|
+
*/
|
121
|
+
getSyncBlockerSummary(params: CodeConnections.Types.GetSyncBlockerSummaryInput, callback?: (err: AWSError, data: CodeConnections.Types.GetSyncBlockerSummaryOutput) => void): Request<CodeConnections.Types.GetSyncBlockerSummaryOutput, AWSError>;
|
122
|
+
/**
|
123
|
+
* Returns a list of the most recent sync blockers.
|
124
|
+
*/
|
125
|
+
getSyncBlockerSummary(callback?: (err: AWSError, data: CodeConnections.Types.GetSyncBlockerSummaryOutput) => void): Request<CodeConnections.Types.GetSyncBlockerSummaryOutput, AWSError>;
|
126
|
+
/**
|
127
|
+
* 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.
|
128
|
+
*/
|
129
|
+
getSyncConfiguration(params: CodeConnections.Types.GetSyncConfigurationInput, callback?: (err: AWSError, data: CodeConnections.Types.GetSyncConfigurationOutput) => void): Request<CodeConnections.Types.GetSyncConfigurationOutput, AWSError>;
|
130
|
+
/**
|
131
|
+
* 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.
|
132
|
+
*/
|
133
|
+
getSyncConfiguration(callback?: (err: AWSError, data: CodeConnections.Types.GetSyncConfigurationOutput) => void): Request<CodeConnections.Types.GetSyncConfigurationOutput, AWSError>;
|
134
|
+
/**
|
135
|
+
* Lists the connections associated with your account.
|
136
|
+
*/
|
137
|
+
listConnections(params: CodeConnections.Types.ListConnectionsInput, callback?: (err: AWSError, data: CodeConnections.Types.ListConnectionsOutput) => void): Request<CodeConnections.Types.ListConnectionsOutput, AWSError>;
|
138
|
+
/**
|
139
|
+
* Lists the connections associated with your account.
|
140
|
+
*/
|
141
|
+
listConnections(callback?: (err: AWSError, data: CodeConnections.Types.ListConnectionsOutput) => void): Request<CodeConnections.Types.ListConnectionsOutput, AWSError>;
|
142
|
+
/**
|
143
|
+
* Lists the hosts associated with your account.
|
144
|
+
*/
|
145
|
+
listHosts(params: CodeConnections.Types.ListHostsInput, callback?: (err: AWSError, data: CodeConnections.Types.ListHostsOutput) => void): Request<CodeConnections.Types.ListHostsOutput, AWSError>;
|
146
|
+
/**
|
147
|
+
* Lists the hosts associated with your account.
|
148
|
+
*/
|
149
|
+
listHosts(callback?: (err: AWSError, data: CodeConnections.Types.ListHostsOutput) => void): Request<CodeConnections.Types.ListHostsOutput, AWSError>;
|
150
|
+
/**
|
151
|
+
* Lists the repository links created for connections in your account.
|
152
|
+
*/
|
153
|
+
listRepositoryLinks(params: CodeConnections.Types.ListRepositoryLinksInput, callback?: (err: AWSError, data: CodeConnections.Types.ListRepositoryLinksOutput) => void): Request<CodeConnections.Types.ListRepositoryLinksOutput, AWSError>;
|
154
|
+
/**
|
155
|
+
* Lists the repository links created for connections in your account.
|
156
|
+
*/
|
157
|
+
listRepositoryLinks(callback?: (err: AWSError, data: CodeConnections.Types.ListRepositoryLinksOutput) => void): Request<CodeConnections.Types.ListRepositoryLinksOutput, AWSError>;
|
158
|
+
/**
|
159
|
+
* Lists the repository sync definitions for repository links in your account.
|
160
|
+
*/
|
161
|
+
listRepositorySyncDefinitions(params: CodeConnections.Types.ListRepositorySyncDefinitionsInput, callback?: (err: AWSError, data: CodeConnections.Types.ListRepositorySyncDefinitionsOutput) => void): Request<CodeConnections.Types.ListRepositorySyncDefinitionsOutput, AWSError>;
|
162
|
+
/**
|
163
|
+
* Lists the repository sync definitions for repository links in your account.
|
164
|
+
*/
|
165
|
+
listRepositorySyncDefinitions(callback?: (err: AWSError, data: CodeConnections.Types.ListRepositorySyncDefinitionsOutput) => void): Request<CodeConnections.Types.ListRepositorySyncDefinitionsOutput, AWSError>;
|
166
|
+
/**
|
167
|
+
* Returns a list of sync configurations for a specified repository.
|
168
|
+
*/
|
169
|
+
listSyncConfigurations(params: CodeConnections.Types.ListSyncConfigurationsInput, callback?: (err: AWSError, data: CodeConnections.Types.ListSyncConfigurationsOutput) => void): Request<CodeConnections.Types.ListSyncConfigurationsOutput, AWSError>;
|
170
|
+
/**
|
171
|
+
* Returns a list of sync configurations for a specified repository.
|
172
|
+
*/
|
173
|
+
listSyncConfigurations(callback?: (err: AWSError, data: CodeConnections.Types.ListSyncConfigurationsOutput) => void): Request<CodeConnections.Types.ListSyncConfigurationsOutput, AWSError>;
|
174
|
+
/**
|
175
|
+
* Gets the set of key-value pairs (metadata) that are used to manage the resource.
|
176
|
+
*/
|
177
|
+
listTagsForResource(params: CodeConnections.Types.ListTagsForResourceInput, callback?: (err: AWSError, data: CodeConnections.Types.ListTagsForResourceOutput) => void): Request<CodeConnections.Types.ListTagsForResourceOutput, AWSError>;
|
178
|
+
/**
|
179
|
+
* Gets the set of key-value pairs (metadata) that are used to manage the resource.
|
180
|
+
*/
|
181
|
+
listTagsForResource(callback?: (err: AWSError, data: CodeConnections.Types.ListTagsForResourceOutput) => void): Request<CodeConnections.Types.ListTagsForResourceOutput, AWSError>;
|
182
|
+
/**
|
183
|
+
* Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
|
184
|
+
*/
|
185
|
+
tagResource(params: CodeConnections.Types.TagResourceInput, callback?: (err: AWSError, data: CodeConnections.Types.TagResourceOutput) => void): Request<CodeConnections.Types.TagResourceOutput, AWSError>;
|
186
|
+
/**
|
187
|
+
* Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
|
188
|
+
*/
|
189
|
+
tagResource(callback?: (err: AWSError, data: CodeConnections.Types.TagResourceOutput) => void): Request<CodeConnections.Types.TagResourceOutput, AWSError>;
|
190
|
+
/**
|
191
|
+
* Removes tags from an Amazon Web Services resource.
|
192
|
+
*/
|
193
|
+
untagResource(params: CodeConnections.Types.UntagResourceInput, callback?: (err: AWSError, data: CodeConnections.Types.UntagResourceOutput) => void): Request<CodeConnections.Types.UntagResourceOutput, AWSError>;
|
194
|
+
/**
|
195
|
+
* Removes tags from an Amazon Web Services resource.
|
196
|
+
*/
|
197
|
+
untagResource(callback?: (err: AWSError, data: CodeConnections.Types.UntagResourceOutput) => void): Request<CodeConnections.Types.UntagResourceOutput, AWSError>;
|
198
|
+
/**
|
199
|
+
* Updates a specified host with the provided configurations.
|
200
|
+
*/
|
201
|
+
updateHost(params: CodeConnections.Types.UpdateHostInput, callback?: (err: AWSError, data: CodeConnections.Types.UpdateHostOutput) => void): Request<CodeConnections.Types.UpdateHostOutput, AWSError>;
|
202
|
+
/**
|
203
|
+
* Updates a specified host with the provided configurations.
|
204
|
+
*/
|
205
|
+
updateHost(callback?: (err: AWSError, data: CodeConnections.Types.UpdateHostOutput) => void): Request<CodeConnections.Types.UpdateHostOutput, AWSError>;
|
206
|
+
/**
|
207
|
+
* Updates the association between your connection and a specified external Git repository. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.
|
208
|
+
*/
|
209
|
+
updateRepositoryLink(params: CodeConnections.Types.UpdateRepositoryLinkInput, callback?: (err: AWSError, data: CodeConnections.Types.UpdateRepositoryLinkOutput) => void): Request<CodeConnections.Types.UpdateRepositoryLinkOutput, AWSError>;
|
210
|
+
/**
|
211
|
+
* Updates the association between your connection and a specified external Git repository. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.
|
212
|
+
*/
|
213
|
+
updateRepositoryLink(callback?: (err: AWSError, data: CodeConnections.Types.UpdateRepositoryLinkOutput) => void): Request<CodeConnections.Types.UpdateRepositoryLinkOutput, AWSError>;
|
214
|
+
/**
|
215
|
+
* Allows you to update the status of a sync blocker, resolving the blocker and allowing syncing to continue.
|
216
|
+
*/
|
217
|
+
updateSyncBlocker(params: CodeConnections.Types.UpdateSyncBlockerInput, callback?: (err: AWSError, data: CodeConnections.Types.UpdateSyncBlockerOutput) => void): Request<CodeConnections.Types.UpdateSyncBlockerOutput, AWSError>;
|
218
|
+
/**
|
219
|
+
* Allows you to update the status of a sync blocker, resolving the blocker and allowing syncing to continue.
|
220
|
+
*/
|
221
|
+
updateSyncBlocker(callback?: (err: AWSError, data: CodeConnections.Types.UpdateSyncBlockerOutput) => void): Request<CodeConnections.Types.UpdateSyncBlockerOutput, AWSError>;
|
222
|
+
/**
|
223
|
+
* Updates the sync configuration for your connection and a specified external Git repository.
|
224
|
+
*/
|
225
|
+
updateSyncConfiguration(params: CodeConnections.Types.UpdateSyncConfigurationInput, callback?: (err: AWSError, data: CodeConnections.Types.UpdateSyncConfigurationOutput) => void): Request<CodeConnections.Types.UpdateSyncConfigurationOutput, AWSError>;
|
226
|
+
/**
|
227
|
+
* Updates the sync configuration for your connection and a specified external Git repository.
|
228
|
+
*/
|
229
|
+
updateSyncConfiguration(callback?: (err: AWSError, data: CodeConnections.Types.UpdateSyncConfigurationOutput) => void): Request<CodeConnections.Types.UpdateSyncConfigurationOutput, AWSError>;
|
230
|
+
}
|
231
|
+
declare namespace CodeConnections {
|
232
|
+
export type AccountId = string;
|
233
|
+
export type AmazonResourceName = string;
|
234
|
+
export type BlockerStatus = "ACTIVE"|"RESOLVED"|string;
|
235
|
+
export type BlockerType = "AUTOMATED"|string;
|
236
|
+
export type BranchName = string;
|
237
|
+
export interface Connection {
|
238
|
+
/**
|
239
|
+
* The name of the connection. Connection names must be unique in an Amazon Web Services account.
|
240
|
+
*/
|
241
|
+
ConnectionName?: ConnectionName;
|
242
|
+
/**
|
243
|
+
* The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between Amazon Web Services. The ARN is never reused if the connection is deleted.
|
244
|
+
*/
|
245
|
+
ConnectionArn?: ConnectionArn;
|
246
|
+
/**
|
247
|
+
* The name of the external provider where your third-party code repository is configured.
|
248
|
+
*/
|
249
|
+
ProviderType?: ProviderType;
|
250
|
+
/**
|
251
|
+
* The identifier of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.
|
252
|
+
*/
|
253
|
+
OwnerAccountId?: AccountId;
|
254
|
+
/**
|
255
|
+
* The current status of the connection.
|
256
|
+
*/
|
257
|
+
ConnectionStatus?: ConnectionStatus;
|
258
|
+
/**
|
259
|
+
* The Amazon Resource Name (ARN) of the host associated with the connection.
|
260
|
+
*/
|
261
|
+
HostArn?: HostArn;
|
262
|
+
}
|
263
|
+
export type ConnectionArn = string;
|
264
|
+
export type ConnectionList = Connection[];
|
265
|
+
export type ConnectionName = string;
|
266
|
+
export type ConnectionStatus = "PENDING"|"AVAILABLE"|"ERROR"|string;
|
267
|
+
export interface CreateConnectionInput {
|
268
|
+
/**
|
269
|
+
* The name of the external provider where your third-party code repository is configured.
|
270
|
+
*/
|
271
|
+
ProviderType?: ProviderType;
|
272
|
+
/**
|
273
|
+
* The name of the connection to be created.
|
274
|
+
*/
|
275
|
+
ConnectionName: ConnectionName;
|
276
|
+
/**
|
277
|
+
* The key-value pair to use when tagging the resource.
|
278
|
+
*/
|
279
|
+
Tags?: TagList;
|
280
|
+
/**
|
281
|
+
* The Amazon Resource Name (ARN) of the host associated with the connection to be created.
|
282
|
+
*/
|
283
|
+
HostArn?: HostArn;
|
284
|
+
}
|
285
|
+
export interface CreateConnectionOutput {
|
286
|
+
/**
|
287
|
+
* The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services. The ARN is never reused if the connection is deleted.
|
288
|
+
*/
|
289
|
+
ConnectionArn: ConnectionArn;
|
290
|
+
/**
|
291
|
+
* Specifies the tags applied to the resource.
|
292
|
+
*/
|
293
|
+
Tags?: TagList;
|
294
|
+
}
|
295
|
+
export interface CreateHostInput {
|
296
|
+
/**
|
297
|
+
* The name of the host to be created.
|
298
|
+
*/
|
299
|
+
Name: HostName;
|
300
|
+
/**
|
301
|
+
* The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
|
302
|
+
*/
|
303
|
+
ProviderType: ProviderType;
|
304
|
+
/**
|
305
|
+
* The endpoint of the infrastructure to be represented by the host after it is created.
|
306
|
+
*/
|
307
|
+
ProviderEndpoint: Url;
|
308
|
+
/**
|
309
|
+
* The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
|
310
|
+
*/
|
311
|
+
VpcConfiguration?: VpcConfiguration;
|
312
|
+
/**
|
313
|
+
* Tags for the host to be created.
|
314
|
+
*/
|
315
|
+
Tags?: TagList;
|
316
|
+
}
|
317
|
+
export interface CreateHostOutput {
|
318
|
+
/**
|
319
|
+
* The Amazon Resource Name (ARN) of the host to be created.
|
320
|
+
*/
|
321
|
+
HostArn?: HostArn;
|
322
|
+
/**
|
323
|
+
* Tags for the created host.
|
324
|
+
*/
|
325
|
+
Tags?: TagList;
|
326
|
+
}
|
327
|
+
export interface CreateRepositoryLinkInput {
|
328
|
+
/**
|
329
|
+
* The Amazon Resource Name (ARN) of the connection to be associated with the repository link.
|
330
|
+
*/
|
331
|
+
ConnectionArn: ConnectionArn;
|
332
|
+
/**
|
333
|
+
* The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
|
334
|
+
*/
|
335
|
+
OwnerId: OwnerId;
|
336
|
+
/**
|
337
|
+
* The name of the repository to be associated with the repository link.
|
338
|
+
*/
|
339
|
+
RepositoryName: RepositoryName;
|
340
|
+
/**
|
341
|
+
* The Amazon Resource Name (ARN) encryption key for the repository to be associated with the repository link.
|
342
|
+
*/
|
343
|
+
EncryptionKeyArn?: KmsKeyArn;
|
344
|
+
/**
|
345
|
+
* The tags for the repository to be associated with the repository link.
|
346
|
+
*/
|
347
|
+
Tags?: TagList;
|
348
|
+
}
|
349
|
+
export interface CreateRepositoryLinkOutput {
|
350
|
+
/**
|
351
|
+
* The returned information about the created repository link.
|
352
|
+
*/
|
353
|
+
RepositoryLinkInfo: RepositoryLinkInfo;
|
354
|
+
}
|
355
|
+
export interface CreateSyncConfigurationInput {
|
356
|
+
/**
|
357
|
+
* The branch in the repository from which changes will be synced.
|
358
|
+
*/
|
359
|
+
Branch: BranchName;
|
360
|
+
/**
|
361
|
+
* The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.
|
362
|
+
*/
|
363
|
+
ConfigFile: DeploymentFilePath;
|
364
|
+
/**
|
365
|
+
* The ID of the repository link created for the connection. A repository link allows Git sync to monitor and sync changes to files in a specified Git repository.
|
366
|
+
*/
|
367
|
+
RepositoryLinkId: RepositoryLinkId;
|
368
|
+
/**
|
369
|
+
* The name of the Amazon Web Services resource (for example, a CloudFormation stack in the case of CFN_STACK_SYNC) that will be synchronized from the linked repository.
|
370
|
+
*/
|
371
|
+
ResourceName: ResourceName;
|
372
|
+
/**
|
373
|
+
* The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to update a given Amazon Web Services resource on your behalf.
|
374
|
+
*/
|
375
|
+
RoleArn: IamRoleArn;
|
376
|
+
/**
|
377
|
+
* The type of sync configuration.
|
378
|
+
*/
|
379
|
+
SyncType: SyncConfigurationType;
|
380
|
+
/**
|
381
|
+
* Whether to enable or disable publishing of deployment status to source providers.
|
382
|
+
*/
|
383
|
+
PublishDeploymentStatus?: PublishDeploymentStatus;
|
384
|
+
/**
|
385
|
+
* When to trigger Git sync to begin the stack update.
|
386
|
+
*/
|
387
|
+
TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
|
388
|
+
}
|
389
|
+
export interface CreateSyncConfigurationOutput {
|
390
|
+
/**
|
391
|
+
* The created sync configuration for the connection. A sync configuration allows Amazon Web Services to sync content from a Git repository to update a specified Amazon Web Services resource.
|
392
|
+
*/
|
393
|
+
SyncConfiguration: SyncConfiguration;
|
394
|
+
}
|
395
|
+
export type CreatedReason = string;
|
396
|
+
export interface DeleteConnectionInput {
|
397
|
+
/**
|
398
|
+
* The Amazon Resource Name (ARN) of the connection to be deleted. The ARN is never reused if the connection is deleted.
|
399
|
+
*/
|
400
|
+
ConnectionArn: ConnectionArn;
|
401
|
+
}
|
402
|
+
export interface DeleteConnectionOutput {
|
403
|
+
}
|
404
|
+
export interface DeleteHostInput {
|
405
|
+
/**
|
406
|
+
* The Amazon Resource Name (ARN) of the host to be deleted.
|
407
|
+
*/
|
408
|
+
HostArn: HostArn;
|
409
|
+
}
|
410
|
+
export interface DeleteHostOutput {
|
411
|
+
}
|
412
|
+
export interface DeleteRepositoryLinkInput {
|
413
|
+
/**
|
414
|
+
* The ID of the repository link to be deleted.
|
415
|
+
*/
|
416
|
+
RepositoryLinkId: RepositoryLinkId;
|
417
|
+
}
|
418
|
+
export interface DeleteRepositoryLinkOutput {
|
419
|
+
}
|
420
|
+
export interface DeleteSyncConfigurationInput {
|
421
|
+
/**
|
422
|
+
* The type of sync configuration to be deleted.
|
423
|
+
*/
|
424
|
+
SyncType: SyncConfigurationType;
|
425
|
+
/**
|
426
|
+
* The name of the Amazon Web Services resource associated with the sync configuration to be deleted.
|
427
|
+
*/
|
428
|
+
ResourceName: ResourceName;
|
429
|
+
}
|
430
|
+
export interface DeleteSyncConfigurationOutput {
|
431
|
+
}
|
432
|
+
export type DeploymentFilePath = string;
|
433
|
+
export type Directory = string;
|
434
|
+
export type Event = string;
|
435
|
+
export type ExternalId = string;
|
436
|
+
export interface GetConnectionInput {
|
437
|
+
/**
|
438
|
+
* The Amazon Resource Name (ARN) of a connection.
|
439
|
+
*/
|
440
|
+
ConnectionArn: ConnectionArn;
|
441
|
+
}
|
442
|
+
export interface GetConnectionOutput {
|
443
|
+
/**
|
444
|
+
* The connection details, such as status, owner, and provider type.
|
445
|
+
*/
|
446
|
+
Connection?: Connection;
|
447
|
+
}
|
448
|
+
export interface GetHostInput {
|
449
|
+
/**
|
450
|
+
* The Amazon Resource Name (ARN) of the requested host.
|
451
|
+
*/
|
452
|
+
HostArn: HostArn;
|
453
|
+
}
|
454
|
+
export interface GetHostOutput {
|
455
|
+
/**
|
456
|
+
* The name of the requested host.
|
457
|
+
*/
|
458
|
+
Name?: HostName;
|
459
|
+
/**
|
460
|
+
* The status of the requested host.
|
461
|
+
*/
|
462
|
+
Status?: HostStatus;
|
463
|
+
/**
|
464
|
+
* The provider type of the requested host, such as GitHub Enterprise Server.
|
465
|
+
*/
|
466
|
+
ProviderType?: ProviderType;
|
467
|
+
/**
|
468
|
+
* The endpoint of the infrastructure represented by the requested host.
|
469
|
+
*/
|
470
|
+
ProviderEndpoint?: Url;
|
471
|
+
/**
|
472
|
+
* The VPC configuration of the requested host.
|
473
|
+
*/
|
474
|
+
VpcConfiguration?: VpcConfiguration;
|
475
|
+
}
|
476
|
+
export interface GetRepositoryLinkInput {
|
477
|
+
/**
|
478
|
+
* The ID of the repository link to get.
|
479
|
+
*/
|
480
|
+
RepositoryLinkId: RepositoryLinkId;
|
481
|
+
}
|
482
|
+
export interface GetRepositoryLinkOutput {
|
483
|
+
/**
|
484
|
+
* The information returned for a specified repository link.
|
485
|
+
*/
|
486
|
+
RepositoryLinkInfo: RepositoryLinkInfo;
|
487
|
+
}
|
488
|
+
export interface GetRepositorySyncStatusInput {
|
489
|
+
/**
|
490
|
+
* The branch of the repository link for the requested repository sync status.
|
491
|
+
*/
|
492
|
+
Branch: BranchName;
|
493
|
+
/**
|
494
|
+
* The repository link ID for the requested repository sync status.
|
495
|
+
*/
|
496
|
+
RepositoryLinkId: RepositoryLinkId;
|
497
|
+
/**
|
498
|
+
* The sync type of the requested sync status.
|
499
|
+
*/
|
500
|
+
SyncType: SyncConfigurationType;
|
501
|
+
}
|
502
|
+
export interface GetRepositorySyncStatusOutput {
|
503
|
+
/**
|
504
|
+
* The status of the latest sync returned for a specified repository and branch.
|
505
|
+
*/
|
506
|
+
LatestSync: RepositorySyncAttempt;
|
507
|
+
}
|
508
|
+
export interface GetResourceSyncStatusInput {
|
509
|
+
/**
|
510
|
+
* The name of the Amazon Web Services resource for the sync status with the Git repository.
|
511
|
+
*/
|
512
|
+
ResourceName: ResourceName;
|
513
|
+
/**
|
514
|
+
* The sync type for the sync status with the Git repository.
|
515
|
+
*/
|
516
|
+
SyncType: SyncConfigurationType;
|
517
|
+
}
|
518
|
+
export interface GetResourceSyncStatusOutput {
|
519
|
+
/**
|
520
|
+
* The desired state of the Amazon Web Services resource for the sync status with the Git repository.
|
521
|
+
*/
|
522
|
+
DesiredState?: Revision;
|
523
|
+
/**
|
524
|
+
* The latest successful sync for the sync status with the Git repository.
|
525
|
+
*/
|
526
|
+
LatestSuccessfulSync?: ResourceSyncAttempt;
|
527
|
+
/**
|
528
|
+
* The latest sync for the sync status with the Git repository, whether successful or not.
|
529
|
+
*/
|
530
|
+
LatestSync: ResourceSyncAttempt;
|
531
|
+
}
|
532
|
+
export interface GetSyncBlockerSummaryInput {
|
533
|
+
/**
|
534
|
+
* The sync type for the sync blocker summary.
|
535
|
+
*/
|
536
|
+
SyncType: SyncConfigurationType;
|
537
|
+
/**
|
538
|
+
* The name of the Amazon Web Services resource currently blocked from automatically being synced from a Git repository.
|
539
|
+
*/
|
540
|
+
ResourceName: ResourceName;
|
541
|
+
}
|
542
|
+
export interface GetSyncBlockerSummaryOutput {
|
543
|
+
/**
|
544
|
+
* The list of sync blockers for a specified resource.
|
545
|
+
*/
|
546
|
+
SyncBlockerSummary: SyncBlockerSummary;
|
547
|
+
}
|
548
|
+
export interface GetSyncConfigurationInput {
|
549
|
+
/**
|
550
|
+
* The sync type for the sync configuration for which you want to retrieve information.
|
551
|
+
*/
|
552
|
+
SyncType: SyncConfigurationType;
|
553
|
+
/**
|
554
|
+
* The name of the Amazon Web Services resource for the sync configuration for which you want to retrieve information.
|
555
|
+
*/
|
556
|
+
ResourceName: ResourceName;
|
557
|
+
}
|
558
|
+
export interface GetSyncConfigurationOutput {
|
559
|
+
/**
|
560
|
+
* The details about the sync configuration for which you want to retrieve information.
|
561
|
+
*/
|
562
|
+
SyncConfiguration: SyncConfiguration;
|
563
|
+
}
|
564
|
+
export interface Host {
|
565
|
+
/**
|
566
|
+
* The name of the host.
|
567
|
+
*/
|
568
|
+
Name?: HostName;
|
569
|
+
/**
|
570
|
+
* The Amazon Resource Name (ARN) of the host.
|
571
|
+
*/
|
572
|
+
HostArn?: HostArn;
|
573
|
+
/**
|
574
|
+
* The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
|
575
|
+
*/
|
576
|
+
ProviderType?: ProviderType;
|
577
|
+
/**
|
578
|
+
* The endpoint of the infrastructure where your provider type is installed.
|
579
|
+
*/
|
580
|
+
ProviderEndpoint?: Url;
|
581
|
+
/**
|
582
|
+
* The VPC configuration provisioned for the host.
|
583
|
+
*/
|
584
|
+
VpcConfiguration?: VpcConfiguration;
|
585
|
+
/**
|
586
|
+
* The status of the host, such as PENDING, AVAILABLE, VPC_CONFIG_DELETING, VPC_CONFIG_INITIALIZING, and VPC_CONFIG_FAILED_INITIALIZATION.
|
587
|
+
*/
|
588
|
+
Status?: HostStatus;
|
589
|
+
/**
|
590
|
+
* The status description for the host.
|
591
|
+
*/
|
592
|
+
StatusMessage?: HostStatusMessage;
|
593
|
+
}
|
594
|
+
export type HostArn = string;
|
595
|
+
export type HostList = Host[];
|
596
|
+
export type HostName = string;
|
597
|
+
export type HostStatus = string;
|
598
|
+
export type HostStatusMessage = string;
|
599
|
+
export type IamRoleArn = string;
|
600
|
+
export type Id = string;
|
601
|
+
export type KmsKeyArn = string;
|
602
|
+
export type LatestSyncBlockerList = SyncBlocker[];
|
603
|
+
export interface ListConnectionsInput {
|
604
|
+
/**
|
605
|
+
* Filters the list of connections to those associated with a specified provider, such as Bitbucket.
|
606
|
+
*/
|
607
|
+
ProviderTypeFilter?: ProviderType;
|
608
|
+
/**
|
609
|
+
* Filters the list of connections to those associated with a specified host.
|
610
|
+
*/
|
611
|
+
HostArnFilter?: HostArn;
|
612
|
+
/**
|
613
|
+
* The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.
|
614
|
+
*/
|
615
|
+
MaxResults?: MaxResults;
|
616
|
+
/**
|
617
|
+
* The token that was returned from the previous ListConnections call, which can be used to return the next set of connections in the list.
|
618
|
+
*/
|
619
|
+
NextToken?: NextToken;
|
620
|
+
}
|
621
|
+
export interface ListConnectionsOutput {
|
622
|
+
/**
|
623
|
+
* A list of connections and the details for each connection, such as status, owner, and provider type.
|
624
|
+
*/
|
625
|
+
Connections?: ConnectionList;
|
626
|
+
/**
|
627
|
+
* A token that can be used in the next ListConnections call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.
|
628
|
+
*/
|
629
|
+
NextToken?: NextToken;
|
630
|
+
}
|
631
|
+
export interface ListHostsInput {
|
632
|
+
/**
|
633
|
+
* The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value.
|
634
|
+
*/
|
635
|
+
MaxResults?: MaxResults;
|
636
|
+
/**
|
637
|
+
* The token that was returned from the previous ListHosts call, which can be used to return the next set of hosts in the list.
|
638
|
+
*/
|
639
|
+
NextToken?: NextToken;
|
640
|
+
}
|
641
|
+
export interface ListHostsOutput {
|
642
|
+
/**
|
643
|
+
* A list of hosts and the details for each host, such as status, endpoint, and provider type.
|
644
|
+
*/
|
645
|
+
Hosts?: HostList;
|
646
|
+
/**
|
647
|
+
* A token that can be used in the next ListHosts call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken values are returned.
|
648
|
+
*/
|
649
|
+
NextToken?: NextToken;
|
650
|
+
}
|
651
|
+
export interface ListRepositoryLinksInput {
|
652
|
+
/**
|
653
|
+
* A non-zero, non-negative integer used to limit the number of returned results.
|
654
|
+
*/
|
655
|
+
MaxResults?: MaxResults;
|
656
|
+
/**
|
657
|
+
* An enumeration token that, when provided in a request, returns the next batch of the results.
|
658
|
+
*/
|
659
|
+
NextToken?: SharpNextToken;
|
660
|
+
}
|
661
|
+
export interface ListRepositoryLinksOutput {
|
662
|
+
/**
|
663
|
+
* Lists the repository links called by the list repository links operation.
|
664
|
+
*/
|
665
|
+
RepositoryLinks: RepositoryLinkList;
|
666
|
+
/**
|
667
|
+
* An enumeration token that allows the operation to batch the results of the operation.
|
668
|
+
*/
|
669
|
+
NextToken?: SharpNextToken;
|
670
|
+
}
|
671
|
+
export interface ListRepositorySyncDefinitionsInput {
|
672
|
+
/**
|
673
|
+
* The ID of the repository link for the sync definition for which you want to retrieve information.
|
674
|
+
*/
|
675
|
+
RepositoryLinkId: RepositoryLinkId;
|
676
|
+
/**
|
677
|
+
* The sync type of the repository link for the the sync definition for which you want to retrieve information.
|
678
|
+
*/
|
679
|
+
SyncType: SyncConfigurationType;
|
680
|
+
}
|
681
|
+
export interface ListRepositorySyncDefinitionsOutput {
|
682
|
+
/**
|
683
|
+
* The list of repository sync definitions returned by the request. A RepositorySyncDefinition is a mapping from a repository branch to all the Amazon Web Services resources that are being synced from that branch.
|
684
|
+
*/
|
685
|
+
RepositorySyncDefinitions: RepositorySyncDefinitionList;
|
686
|
+
/**
|
687
|
+
* An enumeration token that, when provided in a request, returns the next batch of the results.
|
688
|
+
*/
|
689
|
+
NextToken?: SharpNextToken;
|
690
|
+
}
|
691
|
+
export interface ListSyncConfigurationsInput {
|
692
|
+
/**
|
693
|
+
* A non-zero, non-negative integer used to limit the number of returned results.
|
694
|
+
*/
|
695
|
+
MaxResults?: MaxResults;
|
696
|
+
/**
|
697
|
+
* An enumeration token that allows the operation to batch the results of the operation.
|
698
|
+
*/
|
699
|
+
NextToken?: SharpNextToken;
|
700
|
+
/**
|
701
|
+
* The ID of the repository link for the requested list of sync configurations.
|
702
|
+
*/
|
703
|
+
RepositoryLinkId: RepositoryLinkId;
|
704
|
+
/**
|
705
|
+
* The sync type for the requested list of sync configurations.
|
706
|
+
*/
|
707
|
+
SyncType: SyncConfigurationType;
|
708
|
+
}
|
709
|
+
export interface ListSyncConfigurationsOutput {
|
710
|
+
/**
|
711
|
+
* The list of repository sync definitions returned by the request.
|
712
|
+
*/
|
713
|
+
SyncConfigurations: SyncConfigurationList;
|
714
|
+
/**
|
715
|
+
* An enumeration token that allows the operation to batch the next results of the operation.
|
716
|
+
*/
|
717
|
+
NextToken?: SharpNextToken;
|
718
|
+
}
|
719
|
+
export interface ListTagsForResourceInput {
|
720
|
+
/**
|
721
|
+
* The Amazon Resource Name (ARN) of the resource for which you want to get information about tags, if any.
|
722
|
+
*/
|
723
|
+
ResourceArn: AmazonResourceName;
|
724
|
+
}
|
725
|
+
export interface ListTagsForResourceOutput {
|
726
|
+
/**
|
727
|
+
* A list of tag key and value pairs associated with the specified resource.
|
728
|
+
*/
|
729
|
+
Tags?: TagList;
|
730
|
+
}
|
731
|
+
export type MaxResults = number;
|
732
|
+
export type NextToken = string;
|
733
|
+
export type OwnerId = string;
|
734
|
+
export type Parent = string;
|
735
|
+
export type ProviderType = "Bitbucket"|"GitHub"|"GitHubEnterpriseServer"|"GitLab"|"GitLabSelfManaged"|string;
|
736
|
+
export type PublishDeploymentStatus = "ENABLED"|"DISABLED"|string;
|
737
|
+
export type RepositoryLinkArn = string;
|
738
|
+
export type RepositoryLinkId = string;
|
739
|
+
export interface RepositoryLinkInfo {
|
740
|
+
/**
|
741
|
+
* The Amazon Resource Name (ARN) of the connection associated with the repository link.
|
742
|
+
*/
|
743
|
+
ConnectionArn: ConnectionArn;
|
744
|
+
/**
|
745
|
+
* The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.
|
746
|
+
*/
|
747
|
+
EncryptionKeyArn?: KmsKeyArn;
|
748
|
+
/**
|
749
|
+
* The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.
|
750
|
+
*/
|
751
|
+
OwnerId: OwnerId;
|
752
|
+
/**
|
753
|
+
* The provider type for the connection, such as GitHub, associated with the repository link.
|
754
|
+
*/
|
755
|
+
ProviderType: ProviderType;
|
756
|
+
/**
|
757
|
+
* The Amazon Resource Name (ARN) of the repository link.
|
758
|
+
*/
|
759
|
+
RepositoryLinkArn: RepositoryLinkArn;
|
760
|
+
/**
|
761
|
+
* The ID of the repository link.
|
762
|
+
*/
|
763
|
+
RepositoryLinkId: RepositoryLinkId;
|
764
|
+
/**
|
765
|
+
* The name of the repository associated with the repository link.
|
766
|
+
*/
|
767
|
+
RepositoryName: RepositoryName;
|
768
|
+
}
|
769
|
+
export type RepositoryLinkList = RepositoryLinkInfo[];
|
770
|
+
export type RepositoryName = string;
|
771
|
+
export interface RepositorySyncAttempt {
|
772
|
+
/**
|
773
|
+
* The start time of a specific sync attempt.
|
774
|
+
*/
|
775
|
+
StartedAt: Timestamp;
|
776
|
+
/**
|
777
|
+
* The status of a specific sync attempt. The following are valid statuses: INITIATED - A repository sync attempt has been created and will begin soon. IN_PROGRESS - A repository sync attempt has started and work is being done to reconcile the branch. SUCCEEDED - The repository sync attempt has completed successfully. FAILED - The repository sync attempt has failed. QUEUED - The repository sync attempt didn't execute and was queued.
|
778
|
+
*/
|
779
|
+
Status: RepositorySyncStatus;
|
780
|
+
/**
|
781
|
+
* The events associated with a specific sync attempt.
|
782
|
+
*/
|
783
|
+
Events: RepositorySyncEventList;
|
784
|
+
}
|
785
|
+
export interface RepositorySyncDefinition {
|
786
|
+
/**
|
787
|
+
* The branch specified for a repository sync definition.
|
788
|
+
*/
|
789
|
+
Branch: BranchName;
|
790
|
+
/**
|
791
|
+
* The configuration file for a repository sync definition. This value comes from creating or updating the config-file field of a sync-configuration.
|
792
|
+
*/
|
793
|
+
Directory: Directory;
|
794
|
+
/**
|
795
|
+
* The parent resource specified for a repository sync definition.
|
796
|
+
*/
|
797
|
+
Parent: Parent;
|
798
|
+
/**
|
799
|
+
* The target resource specified for a repository sync definition. In some cases, such as CFN_STACK_SYNC, the parent and target resource are the same.
|
800
|
+
*/
|
801
|
+
Target: Target;
|
802
|
+
}
|
803
|
+
export type RepositorySyncDefinitionList = RepositorySyncDefinition[];
|
804
|
+
export interface RepositorySyncEvent {
|
805
|
+
/**
|
806
|
+
* A description of a repository sync event.
|
807
|
+
*/
|
808
|
+
Event: Event;
|
809
|
+
/**
|
810
|
+
* The ID for a repository sync event.
|
811
|
+
*/
|
812
|
+
ExternalId?: ExternalId;
|
813
|
+
/**
|
814
|
+
* The time that a repository sync event occurred.
|
815
|
+
*/
|
816
|
+
Time: Timestamp;
|
817
|
+
/**
|
818
|
+
* The event type for a repository sync event.
|
819
|
+
*/
|
820
|
+
Type: Type;
|
821
|
+
}
|
822
|
+
export type RepositorySyncEventList = RepositorySyncEvent[];
|
823
|
+
export type RepositorySyncStatus = "FAILED"|"INITIATED"|"IN_PROGRESS"|"SUCCEEDED"|"QUEUED"|string;
|
824
|
+
export type ResolvedReason = string;
|
825
|
+
export type ResourceName = string;
|
826
|
+
export interface ResourceSyncAttempt {
|
827
|
+
/**
|
828
|
+
* The events related to a resource sync attempt.
|
829
|
+
*/
|
830
|
+
Events: ResourceSyncEventList;
|
831
|
+
/**
|
832
|
+
* The current state of the resource as defined in the resource's config-file in the linked repository.
|
833
|
+
*/
|
834
|
+
InitialRevision: Revision;
|
835
|
+
/**
|
836
|
+
* The start time for a resource sync attempt.
|
837
|
+
*/
|
838
|
+
StartedAt: Timestamp;
|
839
|
+
/**
|
840
|
+
* The status for a resource sync attempt. The follow are valid statuses: SYNC-INITIATED - A resource sync attempt has been created and will begin soon. SYNCING - Syncing has started and work is being done to reconcile state. SYNCED - Syncing has completed successfully. SYNC_FAILED - A resource sync attempt has failed.
|
841
|
+
*/
|
842
|
+
Status: ResourceSyncStatus;
|
843
|
+
/**
|
844
|
+
* The desired state of the resource as defined in the resource's config-file in the linked repository. Git sync attempts to update the resource to this state.
|
845
|
+
*/
|
846
|
+
TargetRevision: Revision;
|
847
|
+
/**
|
848
|
+
* The name of the Amazon Web Services resource that is attempted to be synchronized.
|
849
|
+
*/
|
850
|
+
Target: Target;
|
851
|
+
}
|
852
|
+
export interface ResourceSyncEvent {
|
853
|
+
/**
|
854
|
+
* The event for a resource sync event.
|
855
|
+
*/
|
856
|
+
Event: Event;
|
857
|
+
/**
|
858
|
+
* The ID for a resource sync event.
|
859
|
+
*/
|
860
|
+
ExternalId?: ExternalId;
|
861
|
+
/**
|
862
|
+
* The time that a resource sync event occurred.
|
863
|
+
*/
|
864
|
+
Time: Timestamp;
|
865
|
+
/**
|
866
|
+
* The type of resource sync event.
|
867
|
+
*/
|
868
|
+
Type: Type;
|
869
|
+
}
|
870
|
+
export type ResourceSyncEventList = ResourceSyncEvent[];
|
871
|
+
export type ResourceSyncStatus = "FAILED"|"INITIATED"|"IN_PROGRESS"|"SUCCEEDED"|string;
|
872
|
+
export interface Revision {
|
873
|
+
/**
|
874
|
+
* The branch name for a specific revision.
|
875
|
+
*/
|
876
|
+
Branch: BranchName;
|
877
|
+
/**
|
878
|
+
* The directory, if any, for a specific revision.
|
879
|
+
*/
|
880
|
+
Directory: Directory;
|
881
|
+
/**
|
882
|
+
* The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.
|
883
|
+
*/
|
884
|
+
OwnerId: OwnerId;
|
885
|
+
/**
|
886
|
+
* The repository name for a specific revision.
|
887
|
+
*/
|
888
|
+
RepositoryName: RepositoryName;
|
889
|
+
/**
|
890
|
+
* The provider type for a revision, such as GitHub.
|
891
|
+
*/
|
892
|
+
ProviderType: ProviderType;
|
893
|
+
/**
|
894
|
+
* The SHA, such as the commit ID, for a specific revision.
|
895
|
+
*/
|
896
|
+
Sha: SHA;
|
897
|
+
}
|
898
|
+
export type SHA = string;
|
899
|
+
export type SecurityGroupId = string;
|
900
|
+
export type SecurityGroupIds = SecurityGroupId[];
|
901
|
+
export type SharpNextToken = string;
|
902
|
+
export type SubnetId = string;
|
903
|
+
export type SubnetIds = SubnetId[];
|
904
|
+
export interface SyncBlocker {
|
905
|
+
/**
|
906
|
+
* The ID for a specific sync blocker.
|
907
|
+
*/
|
908
|
+
Id: Id;
|
909
|
+
/**
|
910
|
+
* The sync blocker type.
|
911
|
+
*/
|
912
|
+
Type: BlockerType;
|
913
|
+
/**
|
914
|
+
* The status for a specific sync blocker.
|
915
|
+
*/
|
916
|
+
Status: BlockerStatus;
|
917
|
+
/**
|
918
|
+
* The provided reason for a specific sync blocker.
|
919
|
+
*/
|
920
|
+
CreatedReason: CreatedReason;
|
921
|
+
/**
|
922
|
+
* The creation time for a specific sync blocker.
|
923
|
+
*/
|
924
|
+
CreatedAt: Timestamp;
|
925
|
+
/**
|
926
|
+
* The contexts for a specific sync blocker.
|
927
|
+
*/
|
928
|
+
Contexts?: SyncBlockerContextList;
|
929
|
+
/**
|
930
|
+
* The resolved reason for a specific sync blocker.
|
931
|
+
*/
|
932
|
+
ResolvedReason?: ResolvedReason;
|
933
|
+
/**
|
934
|
+
* The time that a specific sync blocker was resolved.
|
935
|
+
*/
|
936
|
+
ResolvedAt?: Timestamp;
|
937
|
+
}
|
938
|
+
export interface SyncBlockerContext {
|
939
|
+
/**
|
940
|
+
* The key provided for a context key-value pair for a specific sync blocker.
|
941
|
+
*/
|
942
|
+
Key: SyncBlockerContextKey;
|
943
|
+
/**
|
944
|
+
* The value provided for a context key-value pair for a specific sync blocker.
|
945
|
+
*/
|
946
|
+
Value: SyncBlockerContextValue;
|
947
|
+
}
|
948
|
+
export type SyncBlockerContextKey = string;
|
949
|
+
export type SyncBlockerContextList = SyncBlockerContext[];
|
950
|
+
export type SyncBlockerContextValue = string;
|
951
|
+
export interface SyncBlockerSummary {
|
952
|
+
/**
|
953
|
+
* The resource name for sync blocker summary.
|
954
|
+
*/
|
955
|
+
ResourceName: ResourceName;
|
956
|
+
/**
|
957
|
+
* The parent resource name for a sync blocker summary.
|
958
|
+
*/
|
959
|
+
ParentResourceName?: ResourceName;
|
960
|
+
/**
|
961
|
+
* The latest events for a sync blocker summary.
|
962
|
+
*/
|
963
|
+
LatestBlockers?: LatestSyncBlockerList;
|
964
|
+
}
|
965
|
+
export interface SyncConfiguration {
|
966
|
+
/**
|
967
|
+
* The branch associated with a specific sync configuration.
|
968
|
+
*/
|
969
|
+
Branch: BranchName;
|
970
|
+
/**
|
971
|
+
* The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.
|
972
|
+
*/
|
973
|
+
ConfigFile?: DeploymentFilePath;
|
974
|
+
/**
|
975
|
+
* The owner ID for the repository associated with a specific sync configuration, such as the owner ID in GitHub.
|
976
|
+
*/
|
977
|
+
OwnerId: OwnerId;
|
978
|
+
/**
|
979
|
+
* The connection provider type associated with a specific sync configuration, such as GitHub.
|
980
|
+
*/
|
981
|
+
ProviderType: ProviderType;
|
982
|
+
/**
|
983
|
+
* The ID of the repository link associated with a specific sync configuration.
|
984
|
+
*/
|
985
|
+
RepositoryLinkId: RepositoryLinkId;
|
986
|
+
/**
|
987
|
+
* The name of the repository associated with a specific sync configuration.
|
988
|
+
*/
|
989
|
+
RepositoryName: RepositoryName;
|
990
|
+
/**
|
991
|
+
* The name of the connection resource associated with a specific sync configuration.
|
992
|
+
*/
|
993
|
+
ResourceName: ResourceName;
|
994
|
+
/**
|
995
|
+
* The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.
|
996
|
+
*/
|
997
|
+
RoleArn: IamRoleArn;
|
998
|
+
/**
|
999
|
+
* The type of sync for a specific sync configuration.
|
1000
|
+
*/
|
1001
|
+
SyncType: SyncConfigurationType;
|
1002
|
+
/**
|
1003
|
+
* Whether to enable or disable publishing of deployment status to source providers.
|
1004
|
+
*/
|
1005
|
+
PublishDeploymentStatus?: PublishDeploymentStatus;
|
1006
|
+
/**
|
1007
|
+
* When to trigger Git sync to begin the stack update.
|
1008
|
+
*/
|
1009
|
+
TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
|
1010
|
+
}
|
1011
|
+
export type SyncConfigurationList = SyncConfiguration[];
|
1012
|
+
export type SyncConfigurationType = "CFN_STACK_SYNC"|string;
|
1013
|
+
export interface Tag {
|
1014
|
+
/**
|
1015
|
+
* The tag's key.
|
1016
|
+
*/
|
1017
|
+
Key: TagKey;
|
1018
|
+
/**
|
1019
|
+
* The tag's value.
|
1020
|
+
*/
|
1021
|
+
Value: TagValue;
|
1022
|
+
}
|
1023
|
+
export type TagKey = string;
|
1024
|
+
export type TagKeyList = TagKey[];
|
1025
|
+
export type TagList = Tag[];
|
1026
|
+
export interface TagResourceInput {
|
1027
|
+
/**
|
1028
|
+
* The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.
|
1029
|
+
*/
|
1030
|
+
ResourceArn: AmazonResourceName;
|
1031
|
+
/**
|
1032
|
+
* The tags you want to modify or add to the resource.
|
1033
|
+
*/
|
1034
|
+
Tags: TagList;
|
1035
|
+
}
|
1036
|
+
export interface TagResourceOutput {
|
1037
|
+
}
|
1038
|
+
export type TagValue = string;
|
1039
|
+
export type Target = string;
|
1040
|
+
export type Timestamp = Date;
|
1041
|
+
export type TlsCertificate = string;
|
1042
|
+
export type TriggerResourceUpdateOn = "ANY_CHANGE"|"FILE_CHANGE"|string;
|
1043
|
+
export type Type = string;
|
1044
|
+
export interface UntagResourceInput {
|
1045
|
+
/**
|
1046
|
+
* The Amazon Resource Name (ARN) of the resource to remove tags from.
|
1047
|
+
*/
|
1048
|
+
ResourceArn: AmazonResourceName;
|
1049
|
+
/**
|
1050
|
+
* The list of keys for the tags to be removed from the resource.
|
1051
|
+
*/
|
1052
|
+
TagKeys: TagKeyList;
|
1053
|
+
}
|
1054
|
+
export interface UntagResourceOutput {
|
1055
|
+
}
|
1056
|
+
export interface UpdateHostInput {
|
1057
|
+
/**
|
1058
|
+
* The Amazon Resource Name (ARN) of the host to be updated.
|
1059
|
+
*/
|
1060
|
+
HostArn: HostArn;
|
1061
|
+
/**
|
1062
|
+
* The URL or endpoint of the host to be updated.
|
1063
|
+
*/
|
1064
|
+
ProviderEndpoint?: Url;
|
1065
|
+
/**
|
1066
|
+
* The VPC configuration of the host to be updated. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
|
1067
|
+
*/
|
1068
|
+
VpcConfiguration?: VpcConfiguration;
|
1069
|
+
}
|
1070
|
+
export interface UpdateHostOutput {
|
1071
|
+
}
|
1072
|
+
export interface UpdateRepositoryLinkInput {
|
1073
|
+
/**
|
1074
|
+
* The Amazon Resource Name (ARN) of the connection for the repository link to be updated. The updated connection ARN must have the same providerType (such as GitHub) as the original connection ARN for the repo link.
|
1075
|
+
*/
|
1076
|
+
ConnectionArn?: ConnectionArn;
|
1077
|
+
/**
|
1078
|
+
* The Amazon Resource Name (ARN) of the encryption key for the repository link to be updated.
|
1079
|
+
*/
|
1080
|
+
EncryptionKeyArn?: KmsKeyArn;
|
1081
|
+
/**
|
1082
|
+
* The ID of the repository link to be updated.
|
1083
|
+
*/
|
1084
|
+
RepositoryLinkId: RepositoryLinkId;
|
1085
|
+
}
|
1086
|
+
export interface UpdateRepositoryLinkOutput {
|
1087
|
+
/**
|
1088
|
+
* Information about the repository link to be updated.
|
1089
|
+
*/
|
1090
|
+
RepositoryLinkInfo: RepositoryLinkInfo;
|
1091
|
+
}
|
1092
|
+
export interface UpdateSyncBlockerInput {
|
1093
|
+
/**
|
1094
|
+
* The ID of the sync blocker to be updated.
|
1095
|
+
*/
|
1096
|
+
Id: Id;
|
1097
|
+
/**
|
1098
|
+
* The sync type of the sync blocker to be updated.
|
1099
|
+
*/
|
1100
|
+
SyncType: SyncConfigurationType;
|
1101
|
+
/**
|
1102
|
+
* The name of the resource for the sync blocker to be updated.
|
1103
|
+
*/
|
1104
|
+
ResourceName: ResourceName;
|
1105
|
+
/**
|
1106
|
+
* The reason for resolving the sync blocker.
|
1107
|
+
*/
|
1108
|
+
ResolvedReason: ResolvedReason;
|
1109
|
+
}
|
1110
|
+
export interface UpdateSyncBlockerOutput {
|
1111
|
+
/**
|
1112
|
+
* The resource name for the sync blocker.
|
1113
|
+
*/
|
1114
|
+
ResourceName: ResourceName;
|
1115
|
+
/**
|
1116
|
+
* The parent resource name for the sync blocker.
|
1117
|
+
*/
|
1118
|
+
ParentResourceName?: ResourceName;
|
1119
|
+
/**
|
1120
|
+
* Information about the sync blocker to be updated.
|
1121
|
+
*/
|
1122
|
+
SyncBlocker: SyncBlocker;
|
1123
|
+
}
|
1124
|
+
export interface UpdateSyncConfigurationInput {
|
1125
|
+
/**
|
1126
|
+
* The branch for the sync configuration to be updated.
|
1127
|
+
*/
|
1128
|
+
Branch?: BranchName;
|
1129
|
+
/**
|
1130
|
+
* The configuration file for the sync configuration to be updated.
|
1131
|
+
*/
|
1132
|
+
ConfigFile?: DeploymentFilePath;
|
1133
|
+
/**
|
1134
|
+
* The ID of the repository link for the sync configuration to be updated.
|
1135
|
+
*/
|
1136
|
+
RepositoryLinkId?: RepositoryLinkId;
|
1137
|
+
/**
|
1138
|
+
* The name of the Amazon Web Services resource for the sync configuration to be updated.
|
1139
|
+
*/
|
1140
|
+
ResourceName: ResourceName;
|
1141
|
+
/**
|
1142
|
+
* The ARN of the IAM role for the sync configuration to be updated.
|
1143
|
+
*/
|
1144
|
+
RoleArn?: IamRoleArn;
|
1145
|
+
/**
|
1146
|
+
* The sync type for the sync configuration to be updated.
|
1147
|
+
*/
|
1148
|
+
SyncType: SyncConfigurationType;
|
1149
|
+
/**
|
1150
|
+
* Whether to enable or disable publishing of deployment status to source providers.
|
1151
|
+
*/
|
1152
|
+
PublishDeploymentStatus?: PublishDeploymentStatus;
|
1153
|
+
/**
|
1154
|
+
* When to trigger Git sync to begin the stack update.
|
1155
|
+
*/
|
1156
|
+
TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
|
1157
|
+
}
|
1158
|
+
export interface UpdateSyncConfigurationOutput {
|
1159
|
+
/**
|
1160
|
+
* The information returned for the sync configuration to be updated.
|
1161
|
+
*/
|
1162
|
+
SyncConfiguration: SyncConfiguration;
|
1163
|
+
}
|
1164
|
+
export type Url = string;
|
1165
|
+
export interface VpcConfiguration {
|
1166
|
+
/**
|
1167
|
+
* The ID of the Amazon VPC connected to the infrastructure where your provider type is installed.
|
1168
|
+
*/
|
1169
|
+
VpcId: VpcId;
|
1170
|
+
/**
|
1171
|
+
* The ID of the subnet or subnets associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
|
1172
|
+
*/
|
1173
|
+
SubnetIds: SubnetIds;
|
1174
|
+
/**
|
1175
|
+
* The ID of the security group or security groups associated with the Amazon VPC connected to the infrastructure where your provider type is installed.
|
1176
|
+
*/
|
1177
|
+
SecurityGroupIds: SecurityGroupIds;
|
1178
|
+
/**
|
1179
|
+
* The value of the Transport Layer Security (TLS) certificate associated with the infrastructure where your provider type is installed.
|
1180
|
+
*/
|
1181
|
+
TlsCertificate?: TlsCertificate;
|
1182
|
+
}
|
1183
|
+
export type VpcId = string;
|
1184
|
+
/**
|
1185
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
1186
|
+
*/
|
1187
|
+
export type apiVersion = "2023-12-01"|"latest"|string;
|
1188
|
+
export interface ClientApiVersions {
|
1189
|
+
/**
|
1190
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
1191
|
+
*/
|
1192
|
+
apiVersion?: apiVersion;
|
1193
|
+
}
|
1194
|
+
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
1195
|
+
/**
|
1196
|
+
* Contains interfaces for use with the CodeConnections client.
|
1197
|
+
*/
|
1198
|
+
export import Types = CodeConnections;
|
1199
|
+
}
|
1200
|
+
export = CodeConnections;
|