@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.
- package/README.md +132 -12
- package/dist-cjs/CodeStarConnections.js +30 -0
- package/dist-cjs/commands/CreateRepositoryLinkCommand.js +51 -0
- package/dist-cjs/commands/CreateSyncConfigurationCommand.js +51 -0
- package/dist-cjs/commands/DeleteRepositoryLinkCommand.js +51 -0
- package/dist-cjs/commands/DeleteSyncConfigurationCommand.js +51 -0
- package/dist-cjs/commands/GetRepositoryLinkCommand.js +51 -0
- package/dist-cjs/commands/GetRepositorySyncStatusCommand.js +51 -0
- package/dist-cjs/commands/GetResourceSyncStatusCommand.js +51 -0
- package/dist-cjs/commands/GetSyncBlockerSummaryCommand.js +51 -0
- package/dist-cjs/commands/GetSyncConfigurationCommand.js +51 -0
- package/dist-cjs/commands/ListRepositoryLinksCommand.js +51 -0
- package/dist-cjs/commands/ListRepositorySyncDefinitionsCommand.js +51 -0
- package/dist-cjs/commands/ListSyncConfigurationsCommand.js +51 -0
- package/dist-cjs/commands/UpdateRepositoryLinkCommand.js +51 -0
- package/dist-cjs/commands/UpdateSyncBlockerCommand.js +51 -0
- package/dist-cjs/commands/UpdateSyncConfigurationCommand.js +51 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/models/models_0.js +192 -1
- package/dist-cjs/pagination/ListRepositoryLinksPaginator.js +29 -0
- package/dist-cjs/pagination/ListSyncConfigurationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_0.js +1102 -65
- package/dist-es/CodeStarConnections.js +30 -0
- package/dist-es/commands/CreateRepositoryLinkCommand.js +47 -0
- package/dist-es/commands/CreateSyncConfigurationCommand.js +47 -0
- package/dist-es/commands/DeleteRepositoryLinkCommand.js +47 -0
- package/dist-es/commands/DeleteSyncConfigurationCommand.js +47 -0
- package/dist-es/commands/GetRepositoryLinkCommand.js +47 -0
- package/dist-es/commands/GetRepositorySyncStatusCommand.js +47 -0
- package/dist-es/commands/GetResourceSyncStatusCommand.js +47 -0
- package/dist-es/commands/GetSyncBlockerSummaryCommand.js +47 -0
- package/dist-es/commands/GetSyncConfigurationCommand.js +47 -0
- package/dist-es/commands/ListRepositoryLinksCommand.js +47 -0
- package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +47 -0
- package/dist-es/commands/ListSyncConfigurationsCommand.js +47 -0
- package/dist-es/commands/UpdateRepositoryLinkCommand.js +47 -0
- package/dist-es/commands/UpdateSyncBlockerCommand.js +47 -0
- package/dist-es/commands/UpdateSyncConfigurationCommand.js +47 -0
- package/dist-es/commands/index.js +15 -0
- package/dist-es/models/models_0.js +179 -0
- package/dist-es/pagination/ListRepositoryLinksPaginator.js +25 -0
- package/dist-es/pagination/ListSyncConfigurationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_0.js +1061 -55
- package/dist-types/CodeStarConnections.d.ts +105 -0
- package/dist-types/CodeStarConnectionsClient.d.ts +17 -2
- package/dist-types/commands/CreateRepositoryLinkCommand.d.ts +111 -0
- package/dist-types/commands/CreateSyncConfigurationCommand.d.ts +111 -0
- package/dist-types/commands/DeleteRepositoryLinkCommand.d.ts +95 -0
- package/dist-types/commands/DeleteSyncConfigurationCommand.d.ts +90 -0
- package/dist-types/commands/GetRepositoryLinkCommand.d.ts +100 -0
- package/dist-types/commands/GetRepositorySyncStatusCommand.d.ts +102 -0
- package/dist-types/commands/GetResourceSyncStatusCommand.d.ts +155 -0
- package/dist-types/commands/GetSyncBlockerSummaryCommand.d.ts +109 -0
- package/dist-types/commands/GetSyncConfigurationCommand.d.ts +99 -0
- package/dist-types/commands/ListRepositoryLinksCommand.d.ts +103 -0
- package/dist-types/commands/ListRepositorySyncDefinitionsCommand.d.ts +97 -0
- package/dist-types/commands/ListSyncConfigurationsCommand.d.ts +104 -0
- package/dist-types/commands/UpdateRepositoryLinkCommand.d.ts +106 -0
- package/dist-types/commands/UpdateSyncBlockerCommand.d.ts +113 -0
- package/dist-types/commands/UpdateSyncConfigurationCommand.d.ts +109 -0
- package/dist-types/commands/index.d.ts +15 -0
- package/dist-types/models/models_0.d.ts +1107 -6
- package/dist-types/pagination/ListRepositoryLinksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSyncConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +135 -0
- package/dist-types/ts3.4/CodeStarConnections.d.ts +255 -0
- package/dist-types/ts3.4/CodeStarConnectionsClient.d.ts +92 -2
- package/dist-types/ts3.4/commands/CreateRepositoryLinkCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateSyncConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryLinkCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteSyncConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetRepositoryLinkCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRepositorySyncStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetResourceSyncStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetSyncBlockerSummaryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetSyncConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRepositoryLinksCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRepositorySyncDefinitionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListSyncConfigurationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateRepositoryLinkCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateSyncBlockerCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateSyncConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +15 -0
- package/dist-types/ts3.4/models/models_0.d.ts +346 -0
- package/dist-types/ts3.4/pagination/ListRepositoryLinksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSyncConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +180 -0
- package/package.json +12 -12
|
@@ -2,16 +2,31 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
|
2
2
|
import { CodeStarConnectionsClient } from "./CodeStarConnectionsClient";
|
|
3
3
|
import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./commands/CreateConnectionCommand";
|
|
4
4
|
import { CreateHostCommandInput, CreateHostCommandOutput } from "./commands/CreateHostCommand";
|
|
5
|
+
import { CreateRepositoryLinkCommandInput, CreateRepositoryLinkCommandOutput } from "./commands/CreateRepositoryLinkCommand";
|
|
6
|
+
import { CreateSyncConfigurationCommandInput, CreateSyncConfigurationCommandOutput } from "./commands/CreateSyncConfigurationCommand";
|
|
5
7
|
import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
|
|
6
8
|
import { DeleteHostCommandInput, DeleteHostCommandOutput } from "./commands/DeleteHostCommand";
|
|
9
|
+
import { DeleteRepositoryLinkCommandInput, DeleteRepositoryLinkCommandOutput } from "./commands/DeleteRepositoryLinkCommand";
|
|
10
|
+
import { DeleteSyncConfigurationCommandInput, DeleteSyncConfigurationCommandOutput } from "./commands/DeleteSyncConfigurationCommand";
|
|
7
11
|
import { GetConnectionCommandInput, GetConnectionCommandOutput } from "./commands/GetConnectionCommand";
|
|
8
12
|
import { GetHostCommandInput, GetHostCommandOutput } from "./commands/GetHostCommand";
|
|
13
|
+
import { GetRepositoryLinkCommandInput, GetRepositoryLinkCommandOutput } from "./commands/GetRepositoryLinkCommand";
|
|
14
|
+
import { GetRepositorySyncStatusCommandInput, GetRepositorySyncStatusCommandOutput } from "./commands/GetRepositorySyncStatusCommand";
|
|
15
|
+
import { GetResourceSyncStatusCommandInput, GetResourceSyncStatusCommandOutput } from "./commands/GetResourceSyncStatusCommand";
|
|
16
|
+
import { GetSyncBlockerSummaryCommandInput, GetSyncBlockerSummaryCommandOutput } from "./commands/GetSyncBlockerSummaryCommand";
|
|
17
|
+
import { GetSyncConfigurationCommandInput, GetSyncConfigurationCommandOutput } from "./commands/GetSyncConfigurationCommand";
|
|
9
18
|
import { ListConnectionsCommandInput, ListConnectionsCommandOutput } from "./commands/ListConnectionsCommand";
|
|
10
19
|
import { ListHostsCommandInput, ListHostsCommandOutput } from "./commands/ListHostsCommand";
|
|
20
|
+
import { ListRepositoryLinksCommandInput, ListRepositoryLinksCommandOutput } from "./commands/ListRepositoryLinksCommand";
|
|
21
|
+
import { ListRepositorySyncDefinitionsCommandInput, ListRepositorySyncDefinitionsCommandOutput } from "./commands/ListRepositorySyncDefinitionsCommand";
|
|
22
|
+
import { ListSyncConfigurationsCommandInput, ListSyncConfigurationsCommandOutput } from "./commands/ListSyncConfigurationsCommand";
|
|
11
23
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
12
24
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
13
25
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
14
26
|
import { UpdateHostCommandInput, UpdateHostCommandOutput } from "./commands/UpdateHostCommand";
|
|
27
|
+
import { UpdateRepositoryLinkCommandInput, UpdateRepositoryLinkCommandOutput } from "./commands/UpdateRepositoryLinkCommand";
|
|
28
|
+
import { UpdateSyncBlockerCommandInput, UpdateSyncBlockerCommandOutput } from "./commands/UpdateSyncBlockerCommand";
|
|
29
|
+
import { UpdateSyncConfigurationCommandInput, UpdateSyncConfigurationCommandOutput } from "./commands/UpdateSyncConfigurationCommand";
|
|
15
30
|
export interface CodeStarConnections {
|
|
16
31
|
/**
|
|
17
32
|
* @see {@link CreateConnectionCommand}
|
|
@@ -25,6 +40,18 @@ export interface CodeStarConnections {
|
|
|
25
40
|
createHost(args: CreateHostCommandInput, options?: __HttpHandlerOptions): Promise<CreateHostCommandOutput>;
|
|
26
41
|
createHost(args: CreateHostCommandInput, cb: (err: any, data?: CreateHostCommandOutput) => void): void;
|
|
27
42
|
createHost(args: CreateHostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHostCommandOutput) => void): void;
|
|
43
|
+
/**
|
|
44
|
+
* @see {@link CreateRepositoryLinkCommand}
|
|
45
|
+
*/
|
|
46
|
+
createRepositoryLink(args: CreateRepositoryLinkCommandInput, options?: __HttpHandlerOptions): Promise<CreateRepositoryLinkCommandOutput>;
|
|
47
|
+
createRepositoryLink(args: CreateRepositoryLinkCommandInput, cb: (err: any, data?: CreateRepositoryLinkCommandOutput) => void): void;
|
|
48
|
+
createRepositoryLink(args: CreateRepositoryLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRepositoryLinkCommandOutput) => void): void;
|
|
49
|
+
/**
|
|
50
|
+
* @see {@link CreateSyncConfigurationCommand}
|
|
51
|
+
*/
|
|
52
|
+
createSyncConfiguration(args: CreateSyncConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateSyncConfigurationCommandOutput>;
|
|
53
|
+
createSyncConfiguration(args: CreateSyncConfigurationCommandInput, cb: (err: any, data?: CreateSyncConfigurationCommandOutput) => void): void;
|
|
54
|
+
createSyncConfiguration(args: CreateSyncConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSyncConfigurationCommandOutput) => void): void;
|
|
28
55
|
/**
|
|
29
56
|
* @see {@link DeleteConnectionCommand}
|
|
30
57
|
*/
|
|
@@ -37,6 +64,18 @@ export interface CodeStarConnections {
|
|
|
37
64
|
deleteHost(args: DeleteHostCommandInput, options?: __HttpHandlerOptions): Promise<DeleteHostCommandOutput>;
|
|
38
65
|
deleteHost(args: DeleteHostCommandInput, cb: (err: any, data?: DeleteHostCommandOutput) => void): void;
|
|
39
66
|
deleteHost(args: DeleteHostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteHostCommandOutput) => void): void;
|
|
67
|
+
/**
|
|
68
|
+
* @see {@link DeleteRepositoryLinkCommand}
|
|
69
|
+
*/
|
|
70
|
+
deleteRepositoryLink(args: DeleteRepositoryLinkCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRepositoryLinkCommandOutput>;
|
|
71
|
+
deleteRepositoryLink(args: DeleteRepositoryLinkCommandInput, cb: (err: any, data?: DeleteRepositoryLinkCommandOutput) => void): void;
|
|
72
|
+
deleteRepositoryLink(args: DeleteRepositoryLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRepositoryLinkCommandOutput) => void): void;
|
|
73
|
+
/**
|
|
74
|
+
* @see {@link DeleteSyncConfigurationCommand}
|
|
75
|
+
*/
|
|
76
|
+
deleteSyncConfiguration(args: DeleteSyncConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSyncConfigurationCommandOutput>;
|
|
77
|
+
deleteSyncConfiguration(args: DeleteSyncConfigurationCommandInput, cb: (err: any, data?: DeleteSyncConfigurationCommandOutput) => void): void;
|
|
78
|
+
deleteSyncConfiguration(args: DeleteSyncConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSyncConfigurationCommandOutput) => void): void;
|
|
40
79
|
/**
|
|
41
80
|
* @see {@link GetConnectionCommand}
|
|
42
81
|
*/
|
|
@@ -49,6 +88,36 @@ export interface CodeStarConnections {
|
|
|
49
88
|
getHost(args: GetHostCommandInput, options?: __HttpHandlerOptions): Promise<GetHostCommandOutput>;
|
|
50
89
|
getHost(args: GetHostCommandInput, cb: (err: any, data?: GetHostCommandOutput) => void): void;
|
|
51
90
|
getHost(args: GetHostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHostCommandOutput) => void): void;
|
|
91
|
+
/**
|
|
92
|
+
* @see {@link GetRepositoryLinkCommand}
|
|
93
|
+
*/
|
|
94
|
+
getRepositoryLink(args: GetRepositoryLinkCommandInput, options?: __HttpHandlerOptions): Promise<GetRepositoryLinkCommandOutput>;
|
|
95
|
+
getRepositoryLink(args: GetRepositoryLinkCommandInput, cb: (err: any, data?: GetRepositoryLinkCommandOutput) => void): void;
|
|
96
|
+
getRepositoryLink(args: GetRepositoryLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositoryLinkCommandOutput) => void): void;
|
|
97
|
+
/**
|
|
98
|
+
* @see {@link GetRepositorySyncStatusCommand}
|
|
99
|
+
*/
|
|
100
|
+
getRepositorySyncStatus(args: GetRepositorySyncStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetRepositorySyncStatusCommandOutput>;
|
|
101
|
+
getRepositorySyncStatus(args: GetRepositorySyncStatusCommandInput, cb: (err: any, data?: GetRepositorySyncStatusCommandOutput) => void): void;
|
|
102
|
+
getRepositorySyncStatus(args: GetRepositorySyncStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositorySyncStatusCommandOutput) => void): void;
|
|
103
|
+
/**
|
|
104
|
+
* @see {@link GetResourceSyncStatusCommand}
|
|
105
|
+
*/
|
|
106
|
+
getResourceSyncStatus(args: GetResourceSyncStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetResourceSyncStatusCommandOutput>;
|
|
107
|
+
getResourceSyncStatus(args: GetResourceSyncStatusCommandInput, cb: (err: any, data?: GetResourceSyncStatusCommandOutput) => void): void;
|
|
108
|
+
getResourceSyncStatus(args: GetResourceSyncStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourceSyncStatusCommandOutput) => void): void;
|
|
109
|
+
/**
|
|
110
|
+
* @see {@link GetSyncBlockerSummaryCommand}
|
|
111
|
+
*/
|
|
112
|
+
getSyncBlockerSummary(args: GetSyncBlockerSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetSyncBlockerSummaryCommandOutput>;
|
|
113
|
+
getSyncBlockerSummary(args: GetSyncBlockerSummaryCommandInput, cb: (err: any, data?: GetSyncBlockerSummaryCommandOutput) => void): void;
|
|
114
|
+
getSyncBlockerSummary(args: GetSyncBlockerSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSyncBlockerSummaryCommandOutput) => void): void;
|
|
115
|
+
/**
|
|
116
|
+
* @see {@link GetSyncConfigurationCommand}
|
|
117
|
+
*/
|
|
118
|
+
getSyncConfiguration(args: GetSyncConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetSyncConfigurationCommandOutput>;
|
|
119
|
+
getSyncConfiguration(args: GetSyncConfigurationCommandInput, cb: (err: any, data?: GetSyncConfigurationCommandOutput) => void): void;
|
|
120
|
+
getSyncConfiguration(args: GetSyncConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSyncConfigurationCommandOutput) => void): void;
|
|
52
121
|
/**
|
|
53
122
|
* @see {@link ListConnectionsCommand}
|
|
54
123
|
*/
|
|
@@ -61,6 +130,24 @@ export interface CodeStarConnections {
|
|
|
61
130
|
listHosts(args: ListHostsCommandInput, options?: __HttpHandlerOptions): Promise<ListHostsCommandOutput>;
|
|
62
131
|
listHosts(args: ListHostsCommandInput, cb: (err: any, data?: ListHostsCommandOutput) => void): void;
|
|
63
132
|
listHosts(args: ListHostsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHostsCommandOutput) => void): void;
|
|
133
|
+
/**
|
|
134
|
+
* @see {@link ListRepositoryLinksCommand}
|
|
135
|
+
*/
|
|
136
|
+
listRepositoryLinks(args: ListRepositoryLinksCommandInput, options?: __HttpHandlerOptions): Promise<ListRepositoryLinksCommandOutput>;
|
|
137
|
+
listRepositoryLinks(args: ListRepositoryLinksCommandInput, cb: (err: any, data?: ListRepositoryLinksCommandOutput) => void): void;
|
|
138
|
+
listRepositoryLinks(args: ListRepositoryLinksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRepositoryLinksCommandOutput) => void): void;
|
|
139
|
+
/**
|
|
140
|
+
* @see {@link ListRepositorySyncDefinitionsCommand}
|
|
141
|
+
*/
|
|
142
|
+
listRepositorySyncDefinitions(args: ListRepositorySyncDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListRepositorySyncDefinitionsCommandOutput>;
|
|
143
|
+
listRepositorySyncDefinitions(args: ListRepositorySyncDefinitionsCommandInput, cb: (err: any, data?: ListRepositorySyncDefinitionsCommandOutput) => void): void;
|
|
144
|
+
listRepositorySyncDefinitions(args: ListRepositorySyncDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRepositorySyncDefinitionsCommandOutput) => void): void;
|
|
145
|
+
/**
|
|
146
|
+
* @see {@link ListSyncConfigurationsCommand}
|
|
147
|
+
*/
|
|
148
|
+
listSyncConfigurations(args: ListSyncConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListSyncConfigurationsCommandOutput>;
|
|
149
|
+
listSyncConfigurations(args: ListSyncConfigurationsCommandInput, cb: (err: any, data?: ListSyncConfigurationsCommandOutput) => void): void;
|
|
150
|
+
listSyncConfigurations(args: ListSyncConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSyncConfigurationsCommandOutput) => void): void;
|
|
64
151
|
/**
|
|
65
152
|
* @see {@link ListTagsForResourceCommand}
|
|
66
153
|
*/
|
|
@@ -85,6 +172,24 @@ export interface CodeStarConnections {
|
|
|
85
172
|
updateHost(args: UpdateHostCommandInput, options?: __HttpHandlerOptions): Promise<UpdateHostCommandOutput>;
|
|
86
173
|
updateHost(args: UpdateHostCommandInput, cb: (err: any, data?: UpdateHostCommandOutput) => void): void;
|
|
87
174
|
updateHost(args: UpdateHostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateHostCommandOutput) => void): void;
|
|
175
|
+
/**
|
|
176
|
+
* @see {@link UpdateRepositoryLinkCommand}
|
|
177
|
+
*/
|
|
178
|
+
updateRepositoryLink(args: UpdateRepositoryLinkCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRepositoryLinkCommandOutput>;
|
|
179
|
+
updateRepositoryLink(args: UpdateRepositoryLinkCommandInput, cb: (err: any, data?: UpdateRepositoryLinkCommandOutput) => void): void;
|
|
180
|
+
updateRepositoryLink(args: UpdateRepositoryLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRepositoryLinkCommandOutput) => void): void;
|
|
181
|
+
/**
|
|
182
|
+
* @see {@link UpdateSyncBlockerCommand}
|
|
183
|
+
*/
|
|
184
|
+
updateSyncBlocker(args: UpdateSyncBlockerCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSyncBlockerCommandOutput>;
|
|
185
|
+
updateSyncBlocker(args: UpdateSyncBlockerCommandInput, cb: (err: any, data?: UpdateSyncBlockerCommandOutput) => void): void;
|
|
186
|
+
updateSyncBlocker(args: UpdateSyncBlockerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSyncBlockerCommandOutput) => void): void;
|
|
187
|
+
/**
|
|
188
|
+
* @see {@link UpdateSyncConfigurationCommand}
|
|
189
|
+
*/
|
|
190
|
+
updateSyncConfiguration(args: UpdateSyncConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSyncConfigurationCommandOutput>;
|
|
191
|
+
updateSyncConfiguration(args: UpdateSyncConfigurationCommandInput, cb: (err: any, data?: UpdateSyncConfigurationCommandOutput) => void): void;
|
|
192
|
+
updateSyncConfiguration(args: UpdateSyncConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSyncConfigurationCommandOutput) => void): void;
|
|
88
193
|
}
|
|
89
194
|
/**
|
|
90
195
|
* @public
|
|
@@ -10,27 +10,42 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
|
|
|
10
10
|
import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
11
11
|
import { CreateConnectionCommandInput, CreateConnectionCommandOutput } from "./commands/CreateConnectionCommand";
|
|
12
12
|
import { CreateHostCommandInput, CreateHostCommandOutput } from "./commands/CreateHostCommand";
|
|
13
|
+
import { CreateRepositoryLinkCommandInput, CreateRepositoryLinkCommandOutput } from "./commands/CreateRepositoryLinkCommand";
|
|
14
|
+
import { CreateSyncConfigurationCommandInput, CreateSyncConfigurationCommandOutput } from "./commands/CreateSyncConfigurationCommand";
|
|
13
15
|
import { DeleteConnectionCommandInput, DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand";
|
|
14
16
|
import { DeleteHostCommandInput, DeleteHostCommandOutput } from "./commands/DeleteHostCommand";
|
|
17
|
+
import { DeleteRepositoryLinkCommandInput, DeleteRepositoryLinkCommandOutput } from "./commands/DeleteRepositoryLinkCommand";
|
|
18
|
+
import { DeleteSyncConfigurationCommandInput, DeleteSyncConfigurationCommandOutput } from "./commands/DeleteSyncConfigurationCommand";
|
|
15
19
|
import { GetConnectionCommandInput, GetConnectionCommandOutput } from "./commands/GetConnectionCommand";
|
|
16
20
|
import { GetHostCommandInput, GetHostCommandOutput } from "./commands/GetHostCommand";
|
|
21
|
+
import { GetRepositoryLinkCommandInput, GetRepositoryLinkCommandOutput } from "./commands/GetRepositoryLinkCommand";
|
|
22
|
+
import { GetRepositorySyncStatusCommandInput, GetRepositorySyncStatusCommandOutput } from "./commands/GetRepositorySyncStatusCommand";
|
|
23
|
+
import { GetResourceSyncStatusCommandInput, GetResourceSyncStatusCommandOutput } from "./commands/GetResourceSyncStatusCommand";
|
|
24
|
+
import { GetSyncBlockerSummaryCommandInput, GetSyncBlockerSummaryCommandOutput } from "./commands/GetSyncBlockerSummaryCommand";
|
|
25
|
+
import { GetSyncConfigurationCommandInput, GetSyncConfigurationCommandOutput } from "./commands/GetSyncConfigurationCommand";
|
|
17
26
|
import { ListConnectionsCommandInput, ListConnectionsCommandOutput } from "./commands/ListConnectionsCommand";
|
|
18
27
|
import { ListHostsCommandInput, ListHostsCommandOutput } from "./commands/ListHostsCommand";
|
|
28
|
+
import { ListRepositoryLinksCommandInput, ListRepositoryLinksCommandOutput } from "./commands/ListRepositoryLinksCommand";
|
|
29
|
+
import { ListRepositorySyncDefinitionsCommandInput, ListRepositorySyncDefinitionsCommandOutput } from "./commands/ListRepositorySyncDefinitionsCommand";
|
|
30
|
+
import { ListSyncConfigurationsCommandInput, ListSyncConfigurationsCommandOutput } from "./commands/ListSyncConfigurationsCommand";
|
|
19
31
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
20
32
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
21
33
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
22
34
|
import { UpdateHostCommandInput, UpdateHostCommandOutput } from "./commands/UpdateHostCommand";
|
|
35
|
+
import { UpdateRepositoryLinkCommandInput, UpdateRepositoryLinkCommandOutput } from "./commands/UpdateRepositoryLinkCommand";
|
|
36
|
+
import { UpdateSyncBlockerCommandInput, UpdateSyncBlockerCommandOutput } from "./commands/UpdateSyncBlockerCommand";
|
|
37
|
+
import { UpdateSyncConfigurationCommandInput, UpdateSyncConfigurationCommandOutput } from "./commands/UpdateSyncConfigurationCommand";
|
|
23
38
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
24
39
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
25
40
|
export { __Client };
|
|
26
41
|
/**
|
|
27
42
|
* @public
|
|
28
43
|
*/
|
|
29
|
-
export type ServiceInputTypes = CreateConnectionCommandInput | CreateHostCommandInput | DeleteConnectionCommandInput | DeleteHostCommandInput | GetConnectionCommandInput | GetHostCommandInput | ListConnectionsCommandInput | ListHostsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateHostCommandInput;
|
|
44
|
+
export type ServiceInputTypes = CreateConnectionCommandInput | CreateHostCommandInput | CreateRepositoryLinkCommandInput | CreateSyncConfigurationCommandInput | DeleteConnectionCommandInput | DeleteHostCommandInput | DeleteRepositoryLinkCommandInput | DeleteSyncConfigurationCommandInput | GetConnectionCommandInput | GetHostCommandInput | GetRepositoryLinkCommandInput | GetRepositorySyncStatusCommandInput | GetResourceSyncStatusCommandInput | GetSyncBlockerSummaryCommandInput | GetSyncConfigurationCommandInput | ListConnectionsCommandInput | ListHostsCommandInput | ListRepositoryLinksCommandInput | ListRepositorySyncDefinitionsCommandInput | ListSyncConfigurationsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateHostCommandInput | UpdateRepositoryLinkCommandInput | UpdateSyncBlockerCommandInput | UpdateSyncConfigurationCommandInput;
|
|
30
45
|
/**
|
|
31
46
|
* @public
|
|
32
47
|
*/
|
|
33
|
-
export type ServiceOutputTypes = CreateConnectionCommandOutput | CreateHostCommandOutput | DeleteConnectionCommandOutput | DeleteHostCommandOutput | GetConnectionCommandOutput | GetHostCommandOutput | ListConnectionsCommandOutput | ListHostsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateHostCommandOutput;
|
|
48
|
+
export type ServiceOutputTypes = CreateConnectionCommandOutput | CreateHostCommandOutput | CreateRepositoryLinkCommandOutput | CreateSyncConfigurationCommandOutput | DeleteConnectionCommandOutput | DeleteHostCommandOutput | DeleteRepositoryLinkCommandOutput | DeleteSyncConfigurationCommandOutput | GetConnectionCommandOutput | GetHostCommandOutput | GetRepositoryLinkCommandOutput | GetRepositorySyncStatusCommandOutput | GetResourceSyncStatusCommandOutput | GetSyncBlockerSummaryCommandOutput | GetSyncConfigurationCommandOutput | ListConnectionsCommandOutput | ListHostsCommandOutput | ListRepositoryLinksCommandOutput | ListRepositorySyncDefinitionsCommandOutput | ListSyncConfigurationsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateHostCommandOutput | UpdateRepositoryLinkCommandOutput | UpdateSyncBlockerCommandOutput | UpdateSyncConfigurationCommandOutput;
|
|
34
49
|
/**
|
|
35
50
|
* @public
|
|
36
51
|
*/
|
|
@@ -0,0 +1,111 @@
|
|
|
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 { CreateRepositoryLinkInput, CreateRepositoryLinkOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateRepositoryLinkCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateRepositoryLinkCommandInput extends CreateRepositoryLinkInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateRepositoryLinkCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateRepositoryLinkCommandOutput extends CreateRepositoryLinkOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>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.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CodeStarConnectionsClient, CreateRepositoryLinkCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
31
|
+
* // const { CodeStarConnectionsClient, CreateRepositoryLinkCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
32
|
+
* const client = new CodeStarConnectionsClient(config);
|
|
33
|
+
* const input = { // CreateRepositoryLinkInput
|
|
34
|
+
* ConnectionArn: "STRING_VALUE", // required
|
|
35
|
+
* OwnerId: "STRING_VALUE", // required
|
|
36
|
+
* RepositoryName: "STRING_VALUE", // required
|
|
37
|
+
* EncryptionKeyArn: "STRING_VALUE",
|
|
38
|
+
* Tags: [ // TagList
|
|
39
|
+
* { // Tag
|
|
40
|
+
* Key: "STRING_VALUE", // required
|
|
41
|
+
* Value: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
45
|
+
* const command = new CreateRepositoryLinkCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // CreateRepositoryLinkOutput
|
|
48
|
+
* // RepositoryLinkInfo: { // RepositoryLinkInfo
|
|
49
|
+
* // ConnectionArn: "STRING_VALUE", // required
|
|
50
|
+
* // EncryptionKeyArn: "STRING_VALUE",
|
|
51
|
+
* // OwnerId: "STRING_VALUE", // required
|
|
52
|
+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
|
|
53
|
+
* // RepositoryLinkArn: "STRING_VALUE", // required
|
|
54
|
+
* // RepositoryLinkId: "STRING_VALUE", // required
|
|
55
|
+
* // RepositoryName: "STRING_VALUE", // required
|
|
56
|
+
* // },
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param CreateRepositoryLinkCommandInput - {@link CreateRepositoryLinkCommandInput}
|
|
62
|
+
* @returns {@link CreateRepositoryLinkCommandOutput}
|
|
63
|
+
* @see {@link CreateRepositoryLinkCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link CreateRepositoryLinkCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
71
|
+
* <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>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>Received an internal server exception. Try again later.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
77
|
+
* <p>The input is not valid. Verify that the action is typed correctly.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
80
|
+
* <p>Exceeded the maximum limit for connections.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ResourceAlreadyExistsException} (client fault)
|
|
83
|
+
* <p>Unable to create resource. Resource already exists.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>The request was denied due to request throttling.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link CodeStarConnectionsServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
|
|
90
|
+
*
|
|
91
|
+
*/
|
|
92
|
+
export declare class CreateRepositoryLinkCommand extends $Command<CreateRepositoryLinkCommandInput, CreateRepositoryLinkCommandOutput, CodeStarConnectionsClientResolvedConfig> {
|
|
93
|
+
readonly input: CreateRepositoryLinkCommandInput;
|
|
94
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
95
|
+
/**
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
constructor(input: CreateRepositoryLinkCommandInput);
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRepositoryLinkCommandInput, CreateRepositoryLinkCommandOutput>;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
private serialize;
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
private deserialize;
|
|
111
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
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 { CreateSyncConfigurationInput, CreateSyncConfigurationOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateSyncConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateSyncConfigurationCommandInput extends CreateSyncConfigurationInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateSyncConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateSyncConfigurationCommandOutput extends CreateSyncConfigurationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates a sync configuration which allows Amazon Web Services to sync content from a Git
|
|
27
|
+
* repository to update a specified Amazon Web Services resource. Parameters for the sync
|
|
28
|
+
* configuration are determined by the sync type.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { CodeStarConnectionsClient, CreateSyncConfigurationCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
33
|
+
* // const { CodeStarConnectionsClient, CreateSyncConfigurationCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
34
|
+
* const client = new CodeStarConnectionsClient(config);
|
|
35
|
+
* const input = { // CreateSyncConfigurationInput
|
|
36
|
+
* Branch: "STRING_VALUE", // required
|
|
37
|
+
* ConfigFile: "STRING_VALUE", // required
|
|
38
|
+
* RepositoryLinkId: "STRING_VALUE", // required
|
|
39
|
+
* ResourceName: "STRING_VALUE", // required
|
|
40
|
+
* RoleArn: "STRING_VALUE", // required
|
|
41
|
+
* SyncType: "CFN_STACK_SYNC", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new CreateSyncConfigurationCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // CreateSyncConfigurationOutput
|
|
46
|
+
* // SyncConfiguration: { // SyncConfiguration
|
|
47
|
+
* // Branch: "STRING_VALUE", // required
|
|
48
|
+
* // ConfigFile: "STRING_VALUE",
|
|
49
|
+
* // OwnerId: "STRING_VALUE", // required
|
|
50
|
+
* // ProviderType: "Bitbucket" || "GitHub" || "GitHubEnterpriseServer" || "GitLab", // required
|
|
51
|
+
* // RepositoryLinkId: "STRING_VALUE", // required
|
|
52
|
+
* // RepositoryName: "STRING_VALUE", // required
|
|
53
|
+
* // ResourceName: "STRING_VALUE", // required
|
|
54
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
55
|
+
* // SyncType: "CFN_STACK_SYNC", // required
|
|
56
|
+
* // },
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param CreateSyncConfigurationCommandInput - {@link CreateSyncConfigurationCommandInput}
|
|
62
|
+
* @returns {@link CreateSyncConfigurationCommandOutput}
|
|
63
|
+
* @see {@link CreateSyncConfigurationCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link CreateSyncConfigurationCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
71
|
+
* <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>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>Received an internal server exception. Try again later.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
77
|
+
* <p>The input is not valid. Verify that the action is typed correctly.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
80
|
+
* <p>Exceeded the maximum limit for connections.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ResourceAlreadyExistsException} (client fault)
|
|
83
|
+
* <p>Unable to create resource. Resource already exists.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>The request was denied due to request throttling.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link CodeStarConnectionsServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
|
|
90
|
+
*
|
|
91
|
+
*/
|
|
92
|
+
export declare class CreateSyncConfigurationCommand extends $Command<CreateSyncConfigurationCommandInput, CreateSyncConfigurationCommandOutput, CodeStarConnectionsClientResolvedConfig> {
|
|
93
|
+
readonly input: CreateSyncConfigurationCommandInput;
|
|
94
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
95
|
+
/**
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
constructor(input: CreateSyncConfigurationCommandInput);
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSyncConfigurationCommandInput, CreateSyncConfigurationCommandOutput>;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
private serialize;
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
private deserialize;
|
|
111
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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 { DeleteRepositoryLinkInput, DeleteRepositoryLinkOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteRepositoryLinkCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteRepositoryLinkCommandInput extends DeleteRepositoryLinkInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteRepositoryLinkCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteRepositoryLinkCommandOutput extends DeleteRepositoryLinkOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes the association between your connection and a specified external 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, DeleteRepositoryLinkCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
31
|
+
* // const { CodeStarConnectionsClient, DeleteRepositoryLinkCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
32
|
+
* const client = new CodeStarConnectionsClient(config);
|
|
33
|
+
* const input = { // DeleteRepositoryLinkInput
|
|
34
|
+
* RepositoryLinkId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DeleteRepositoryLinkCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @param DeleteRepositoryLinkCommandInput - {@link DeleteRepositoryLinkCommandInput}
|
|
43
|
+
* @returns {@link DeleteRepositoryLinkCommandOutput}
|
|
44
|
+
* @see {@link DeleteRepositoryLinkCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link DeleteRepositoryLinkCommandOutput} for command's `response` shape.
|
|
46
|
+
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
49
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
52
|
+
* <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>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InternalServerException} (server fault)
|
|
55
|
+
* <p>Received an internal server exception. Try again later.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
58
|
+
* <p>The input is not valid. Verify that the action is typed correctly.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>Resource not found. Verify the connection resource ARN and try again.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link SyncConfigurationStillExistsException} (client fault)
|
|
64
|
+
* <p>Unable to continue. The sync blocker still exists.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <p>The request was denied due to request throttling.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link UnsupportedProviderTypeException} (client fault)
|
|
70
|
+
* <p>The specified provider type is not supported for connections.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link CodeStarConnectionsServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
export declare class DeleteRepositoryLinkCommand extends $Command<DeleteRepositoryLinkCommandInput, DeleteRepositoryLinkCommandOutput, CodeStarConnectionsClientResolvedConfig> {
|
|
77
|
+
readonly input: DeleteRepositoryLinkCommandInput;
|
|
78
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
constructor(input: DeleteRepositoryLinkCommandInput);
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRepositoryLinkCommandInput, DeleteRepositoryLinkCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private serialize;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
private deserialize;
|
|
95
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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 { DeleteSyncConfigurationInput, DeleteSyncConfigurationOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteSyncConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteSyncConfigurationCommandInput extends DeleteSyncConfigurationInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteSyncConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteSyncConfigurationCommandOutput extends DeleteSyncConfigurationOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes the sync configuration for a specified repository and connection.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { CodeStarConnectionsClient, DeleteSyncConfigurationCommand } from "@aws-sdk/client-codestar-connections"; // ES Modules import
|
|
31
|
+
* // const { CodeStarConnectionsClient, DeleteSyncConfigurationCommand } = require("@aws-sdk/client-codestar-connections"); // CommonJS import
|
|
32
|
+
* const client = new CodeStarConnectionsClient(config);
|
|
33
|
+
* const input = { // DeleteSyncConfigurationInput
|
|
34
|
+
* SyncType: "CFN_STACK_SYNC", // required
|
|
35
|
+
* ResourceName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DeleteSyncConfigurationCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // {};
|
|
40
|
+
*
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @param DeleteSyncConfigurationCommandInput - {@link DeleteSyncConfigurationCommandInput}
|
|
44
|
+
* @returns {@link DeleteSyncConfigurationCommandOutput}
|
|
45
|
+
* @see {@link DeleteSyncConfigurationCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link DeleteSyncConfigurationCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link CodeStarConnectionsClientResolvedConfig | config} for CodeStarConnectionsClient's `config` shape.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
50
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
53
|
+
* <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>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServerException} (server fault)
|
|
56
|
+
* <p>Received an internal server exception. Try again later.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
59
|
+
* <p>The input is not valid. Verify that the action is typed correctly.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
62
|
+
* <p>Exceeded the maximum limit for connections.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>The request was denied due to request throttling.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link CodeStarConnectionsServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from CodeStarConnections service.</p>
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
export declare class DeleteSyncConfigurationCommand extends $Command<DeleteSyncConfigurationCommandInput, DeleteSyncConfigurationCommandOutput, CodeStarConnectionsClientResolvedConfig> {
|
|
72
|
+
readonly input: DeleteSyncConfigurationCommandInput;
|
|
73
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
constructor(input: DeleteSyncConfigurationCommandInput);
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeStarConnectionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSyncConfigurationCommandInput, DeleteSyncConfigurationCommandOutput>;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
private serialize;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
private deserialize;
|
|
90
|
+
}
|