@aws-sdk/client-codestar-connections 3.450.0 → 3.454.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 +120 -0
- 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 +35 -35
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
CodeStarConnectionsClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../CodeStarConnectionsClient";
|
|
14
|
+
import {
|
|
15
|
+
UpdateRepositoryLinkInput,
|
|
16
|
+
UpdateRepositoryLinkOutput,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface UpdateRepositoryLinkCommandInput
|
|
20
|
+
extends UpdateRepositoryLinkInput {}
|
|
21
|
+
export interface UpdateRepositoryLinkCommandOutput
|
|
22
|
+
extends UpdateRepositoryLinkOutput,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class UpdateRepositoryLinkCommand extends $Command<
|
|
25
|
+
UpdateRepositoryLinkCommandInput,
|
|
26
|
+
UpdateRepositoryLinkCommandOutput,
|
|
27
|
+
CodeStarConnectionsClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: UpdateRepositoryLinkCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: UpdateRepositoryLinkCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: CodeStarConnectionsClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
UpdateRepositoryLinkCommandInput,
|
|
38
|
+
UpdateRepositoryLinkCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
CodeStarConnectionsClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../CodeStarConnectionsClient";
|
|
14
|
+
import {
|
|
15
|
+
UpdateSyncBlockerInput,
|
|
16
|
+
UpdateSyncBlockerOutput,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface UpdateSyncBlockerCommandInput extends UpdateSyncBlockerInput {}
|
|
20
|
+
export interface UpdateSyncBlockerCommandOutput
|
|
21
|
+
extends UpdateSyncBlockerOutput,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class UpdateSyncBlockerCommand extends $Command<
|
|
24
|
+
UpdateSyncBlockerCommandInput,
|
|
25
|
+
UpdateSyncBlockerCommandOutput,
|
|
26
|
+
CodeStarConnectionsClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: UpdateSyncBlockerCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateSyncBlockerCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: CodeStarConnectionsClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<UpdateSyncBlockerCommandInput, UpdateSyncBlockerCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@smithy/types";
|
|
9
|
+
import {
|
|
10
|
+
CodeStarConnectionsClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../CodeStarConnectionsClient";
|
|
14
|
+
import {
|
|
15
|
+
UpdateSyncConfigurationInput,
|
|
16
|
+
UpdateSyncConfigurationOutput,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
19
|
+
export interface UpdateSyncConfigurationCommandInput
|
|
20
|
+
extends UpdateSyncConfigurationInput {}
|
|
21
|
+
export interface UpdateSyncConfigurationCommandOutput
|
|
22
|
+
extends UpdateSyncConfigurationOutput,
|
|
23
|
+
__MetadataBearer {}
|
|
24
|
+
export declare class UpdateSyncConfigurationCommand extends $Command<
|
|
25
|
+
UpdateSyncConfigurationCommandInput,
|
|
26
|
+
UpdateSyncConfigurationCommandOutput,
|
|
27
|
+
CodeStarConnectionsClientResolvedConfig
|
|
28
|
+
> {
|
|
29
|
+
readonly input: UpdateSyncConfigurationCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: UpdateSyncConfigurationCommandInput);
|
|
32
|
+
resolveMiddleware(
|
|
33
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
34
|
+
configuration: CodeStarConnectionsClientResolvedConfig,
|
|
35
|
+
options?: __HttpHandlerOptions
|
|
36
|
+
): Handler<
|
|
37
|
+
UpdateSyncConfigurationCommandInput,
|
|
38
|
+
UpdateSyncConfigurationCommandOutput
|
|
39
|
+
>;
|
|
40
|
+
private serialize;
|
|
41
|
+
private deserialize;
|
|
42
|
+
}
|
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
export * from "./CreateConnectionCommand";
|
|
2
2
|
export * from "./CreateHostCommand";
|
|
3
|
+
export * from "./CreateRepositoryLinkCommand";
|
|
4
|
+
export * from "./CreateSyncConfigurationCommand";
|
|
3
5
|
export * from "./DeleteConnectionCommand";
|
|
4
6
|
export * from "./DeleteHostCommand";
|
|
7
|
+
export * from "./DeleteRepositoryLinkCommand";
|
|
8
|
+
export * from "./DeleteSyncConfigurationCommand";
|
|
5
9
|
export * from "./GetConnectionCommand";
|
|
6
10
|
export * from "./GetHostCommand";
|
|
11
|
+
export * from "./GetRepositoryLinkCommand";
|
|
12
|
+
export * from "./GetRepositorySyncStatusCommand";
|
|
13
|
+
export * from "./GetResourceSyncStatusCommand";
|
|
14
|
+
export * from "./GetSyncBlockerSummaryCommand";
|
|
15
|
+
export * from "./GetSyncConfigurationCommand";
|
|
7
16
|
export * from "./ListConnectionsCommand";
|
|
8
17
|
export * from "./ListHostsCommand";
|
|
18
|
+
export * from "./ListRepositoryLinksCommand";
|
|
19
|
+
export * from "./ListRepositorySyncDefinitionsCommand";
|
|
20
|
+
export * from "./ListSyncConfigurationsCommand";
|
|
9
21
|
export * from "./ListTagsForResourceCommand";
|
|
10
22
|
export * from "./TagResourceCommand";
|
|
11
23
|
export * from "./UntagResourceCommand";
|
|
12
24
|
export * from "./UpdateHostCommand";
|
|
25
|
+
export * from "./UpdateRepositoryLinkCommand";
|
|
26
|
+
export * from "./UpdateSyncBlockerCommand";
|
|
27
|
+
export * from "./UpdateSyncConfigurationCommand";
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { CodeStarConnectionsServiceException as __BaseException } from "./CodeStarConnectionsServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message?: string;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare const BlockerStatus: {
|
|
12
|
+
readonly ACTIVE: "ACTIVE";
|
|
13
|
+
readonly RESOLVED: "RESOLVED";
|
|
14
|
+
};
|
|
15
|
+
export type BlockerStatus = (typeof BlockerStatus)[keyof typeof BlockerStatus];
|
|
16
|
+
export declare const BlockerType: {
|
|
17
|
+
readonly AUTOMATED: "AUTOMATED";
|
|
18
|
+
};
|
|
19
|
+
export type BlockerType = (typeof BlockerType)[keyof typeof BlockerType];
|
|
3
20
|
export declare const ProviderType: {
|
|
4
21
|
readonly BITBUCKET: "Bitbucket";
|
|
5
22
|
readonly GITHUB: "GitHub";
|
|
@@ -62,6 +79,95 @@ export interface CreateHostOutput {
|
|
|
62
79
|
HostArn?: string;
|
|
63
80
|
Tags?: Tag[];
|
|
64
81
|
}
|
|
82
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
83
|
+
readonly name: "ConcurrentModificationException";
|
|
84
|
+
readonly $fault: "client";
|
|
85
|
+
Message?: string;
|
|
86
|
+
constructor(
|
|
87
|
+
opts: __ExceptionOptionType<
|
|
88
|
+
ConcurrentModificationException,
|
|
89
|
+
__BaseException
|
|
90
|
+
>
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
export interface CreateRepositoryLinkInput {
|
|
94
|
+
ConnectionArn: string | undefined;
|
|
95
|
+
OwnerId: string | undefined;
|
|
96
|
+
RepositoryName: string | undefined;
|
|
97
|
+
EncryptionKeyArn?: string;
|
|
98
|
+
Tags?: Tag[];
|
|
99
|
+
}
|
|
100
|
+
export interface RepositoryLinkInfo {
|
|
101
|
+
ConnectionArn: string | undefined;
|
|
102
|
+
EncryptionKeyArn?: string;
|
|
103
|
+
OwnerId: string | undefined;
|
|
104
|
+
ProviderType: ProviderType | undefined;
|
|
105
|
+
RepositoryLinkArn: string | undefined;
|
|
106
|
+
RepositoryLinkId: string | undefined;
|
|
107
|
+
RepositoryName: string | undefined;
|
|
108
|
+
}
|
|
109
|
+
export interface CreateRepositoryLinkOutput {
|
|
110
|
+
RepositoryLinkInfo: RepositoryLinkInfo | undefined;
|
|
111
|
+
}
|
|
112
|
+
export declare class InternalServerException extends __BaseException {
|
|
113
|
+
readonly name: "InternalServerException";
|
|
114
|
+
readonly $fault: "server";
|
|
115
|
+
Message?: string;
|
|
116
|
+
constructor(
|
|
117
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
118
|
+
);
|
|
119
|
+
}
|
|
120
|
+
export declare class InvalidInputException extends __BaseException {
|
|
121
|
+
readonly name: "InvalidInputException";
|
|
122
|
+
readonly $fault: "client";
|
|
123
|
+
Message?: string;
|
|
124
|
+
constructor(
|
|
125
|
+
opts: __ExceptionOptionType<InvalidInputException, __BaseException>
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
129
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
130
|
+
readonly $fault: "client";
|
|
131
|
+
Message?: string;
|
|
132
|
+
constructor(
|
|
133
|
+
opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
export declare class ThrottlingException extends __BaseException {
|
|
137
|
+
readonly name: "ThrottlingException";
|
|
138
|
+
readonly $fault: "client";
|
|
139
|
+
Message?: string;
|
|
140
|
+
constructor(
|
|
141
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
export declare const SyncConfigurationType: {
|
|
145
|
+
readonly CFN_STACK_SYNC: "CFN_STACK_SYNC";
|
|
146
|
+
};
|
|
147
|
+
export type SyncConfigurationType =
|
|
148
|
+
(typeof SyncConfigurationType)[keyof typeof SyncConfigurationType];
|
|
149
|
+
export interface CreateSyncConfigurationInput {
|
|
150
|
+
Branch: string | undefined;
|
|
151
|
+
ConfigFile: string | undefined;
|
|
152
|
+
RepositoryLinkId: string | undefined;
|
|
153
|
+
ResourceName: string | undefined;
|
|
154
|
+
RoleArn: string | undefined;
|
|
155
|
+
SyncType: SyncConfigurationType | undefined;
|
|
156
|
+
}
|
|
157
|
+
export interface SyncConfiguration {
|
|
158
|
+
Branch: string | undefined;
|
|
159
|
+
ConfigFile?: string;
|
|
160
|
+
OwnerId: string | undefined;
|
|
161
|
+
ProviderType: ProviderType | undefined;
|
|
162
|
+
RepositoryLinkId: string | undefined;
|
|
163
|
+
RepositoryName: string | undefined;
|
|
164
|
+
ResourceName: string | undefined;
|
|
165
|
+
RoleArn: string | undefined;
|
|
166
|
+
SyncType: SyncConfigurationType | undefined;
|
|
167
|
+
}
|
|
168
|
+
export interface CreateSyncConfigurationOutput {
|
|
169
|
+
SyncConfiguration: SyncConfiguration | undefined;
|
|
170
|
+
}
|
|
65
171
|
export interface DeleteConnectionInput {
|
|
66
172
|
ConnectionArn: string | undefined;
|
|
67
173
|
}
|
|
@@ -70,6 +176,37 @@ export interface DeleteHostInput {
|
|
|
70
176
|
HostArn: string | undefined;
|
|
71
177
|
}
|
|
72
178
|
export interface DeleteHostOutput {}
|
|
179
|
+
export interface DeleteRepositoryLinkInput {
|
|
180
|
+
RepositoryLinkId: string | undefined;
|
|
181
|
+
}
|
|
182
|
+
export interface DeleteRepositoryLinkOutput {}
|
|
183
|
+
export declare class SyncConfigurationStillExistsException extends __BaseException {
|
|
184
|
+
readonly name: "SyncConfigurationStillExistsException";
|
|
185
|
+
readonly $fault: "client";
|
|
186
|
+
Message?: string;
|
|
187
|
+
constructor(
|
|
188
|
+
opts: __ExceptionOptionType<
|
|
189
|
+
SyncConfigurationStillExistsException,
|
|
190
|
+
__BaseException
|
|
191
|
+
>
|
|
192
|
+
);
|
|
193
|
+
}
|
|
194
|
+
export declare class UnsupportedProviderTypeException extends __BaseException {
|
|
195
|
+
readonly name: "UnsupportedProviderTypeException";
|
|
196
|
+
readonly $fault: "client";
|
|
197
|
+
Message?: string;
|
|
198
|
+
constructor(
|
|
199
|
+
opts: __ExceptionOptionType<
|
|
200
|
+
UnsupportedProviderTypeException,
|
|
201
|
+
__BaseException
|
|
202
|
+
>
|
|
203
|
+
);
|
|
204
|
+
}
|
|
205
|
+
export interface DeleteSyncConfigurationInput {
|
|
206
|
+
SyncType: SyncConfigurationType | undefined;
|
|
207
|
+
ResourceName: string | undefined;
|
|
208
|
+
}
|
|
209
|
+
export interface DeleteSyncConfigurationOutput {}
|
|
73
210
|
export interface GetConnectionInput {
|
|
74
211
|
ConnectionArn: string | undefined;
|
|
75
212
|
}
|
|
@@ -101,6 +238,112 @@ export interface GetHostOutput {
|
|
|
101
238
|
ProviderEndpoint?: string;
|
|
102
239
|
VpcConfiguration?: VpcConfiguration;
|
|
103
240
|
}
|
|
241
|
+
export interface GetRepositoryLinkInput {
|
|
242
|
+
RepositoryLinkId: string | undefined;
|
|
243
|
+
}
|
|
244
|
+
export interface GetRepositoryLinkOutput {
|
|
245
|
+
RepositoryLinkInfo: RepositoryLinkInfo | undefined;
|
|
246
|
+
}
|
|
247
|
+
export interface GetRepositorySyncStatusInput {
|
|
248
|
+
Branch: string | undefined;
|
|
249
|
+
RepositoryLinkId: string | undefined;
|
|
250
|
+
SyncType: SyncConfigurationType | undefined;
|
|
251
|
+
}
|
|
252
|
+
export interface RepositorySyncEvent {
|
|
253
|
+
Event: string | undefined;
|
|
254
|
+
ExternalId?: string;
|
|
255
|
+
Time: Date | undefined;
|
|
256
|
+
Type: string | undefined;
|
|
257
|
+
}
|
|
258
|
+
export declare const RepositorySyncStatus: {
|
|
259
|
+
readonly FAILED: "FAILED";
|
|
260
|
+
readonly INITIATED: "INITIATED";
|
|
261
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
262
|
+
readonly QUEUED: "QUEUED";
|
|
263
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
264
|
+
};
|
|
265
|
+
export type RepositorySyncStatus =
|
|
266
|
+
(typeof RepositorySyncStatus)[keyof typeof RepositorySyncStatus];
|
|
267
|
+
export interface RepositorySyncAttempt {
|
|
268
|
+
StartedAt: Date | undefined;
|
|
269
|
+
Status: RepositorySyncStatus | undefined;
|
|
270
|
+
Events: RepositorySyncEvent[] | undefined;
|
|
271
|
+
}
|
|
272
|
+
export interface GetRepositorySyncStatusOutput {
|
|
273
|
+
LatestSync: RepositorySyncAttempt | undefined;
|
|
274
|
+
}
|
|
275
|
+
export interface GetResourceSyncStatusInput {
|
|
276
|
+
ResourceName: string | undefined;
|
|
277
|
+
SyncType: SyncConfigurationType | undefined;
|
|
278
|
+
}
|
|
279
|
+
export interface Revision {
|
|
280
|
+
Branch: string | undefined;
|
|
281
|
+
Directory: string | undefined;
|
|
282
|
+
OwnerId: string | undefined;
|
|
283
|
+
RepositoryName: string | undefined;
|
|
284
|
+
ProviderType: ProviderType | undefined;
|
|
285
|
+
Sha: string | undefined;
|
|
286
|
+
}
|
|
287
|
+
export interface ResourceSyncEvent {
|
|
288
|
+
Event: string | undefined;
|
|
289
|
+
ExternalId?: string;
|
|
290
|
+
Time: Date | undefined;
|
|
291
|
+
Type: string | undefined;
|
|
292
|
+
}
|
|
293
|
+
export declare const ResourceSyncStatus: {
|
|
294
|
+
readonly FAILED: "FAILED";
|
|
295
|
+
readonly INITIATED: "INITIATED";
|
|
296
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
297
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
298
|
+
};
|
|
299
|
+
export type ResourceSyncStatus =
|
|
300
|
+
(typeof ResourceSyncStatus)[keyof typeof ResourceSyncStatus];
|
|
301
|
+
export interface ResourceSyncAttempt {
|
|
302
|
+
Events: ResourceSyncEvent[] | undefined;
|
|
303
|
+
InitialRevision: Revision | undefined;
|
|
304
|
+
StartedAt: Date | undefined;
|
|
305
|
+
Status: ResourceSyncStatus | undefined;
|
|
306
|
+
TargetRevision: Revision | undefined;
|
|
307
|
+
Target: string | undefined;
|
|
308
|
+
}
|
|
309
|
+
export interface GetResourceSyncStatusOutput {
|
|
310
|
+
DesiredState?: Revision;
|
|
311
|
+
LatestSuccessfulSync?: ResourceSyncAttempt;
|
|
312
|
+
LatestSync: ResourceSyncAttempt | undefined;
|
|
313
|
+
}
|
|
314
|
+
export interface GetSyncBlockerSummaryInput {
|
|
315
|
+
SyncType: SyncConfigurationType | undefined;
|
|
316
|
+
ResourceName: string | undefined;
|
|
317
|
+
}
|
|
318
|
+
export interface SyncBlockerContext {
|
|
319
|
+
Key: string | undefined;
|
|
320
|
+
Value: string | undefined;
|
|
321
|
+
}
|
|
322
|
+
export interface SyncBlocker {
|
|
323
|
+
Id: string | undefined;
|
|
324
|
+
Type: BlockerType | undefined;
|
|
325
|
+
Status: BlockerStatus | undefined;
|
|
326
|
+
CreatedReason: string | undefined;
|
|
327
|
+
CreatedAt: Date | undefined;
|
|
328
|
+
Contexts?: SyncBlockerContext[];
|
|
329
|
+
ResolvedReason?: string;
|
|
330
|
+
ResolvedAt?: Date;
|
|
331
|
+
}
|
|
332
|
+
export interface SyncBlockerSummary {
|
|
333
|
+
ResourceName: string | undefined;
|
|
334
|
+
ParentResourceName?: string;
|
|
335
|
+
LatestBlockers?: SyncBlocker[];
|
|
336
|
+
}
|
|
337
|
+
export interface GetSyncBlockerSummaryOutput {
|
|
338
|
+
SyncBlockerSummary: SyncBlockerSummary | undefined;
|
|
339
|
+
}
|
|
340
|
+
export interface GetSyncConfigurationInput {
|
|
341
|
+
SyncType: SyncConfigurationType | undefined;
|
|
342
|
+
ResourceName: string | undefined;
|
|
343
|
+
}
|
|
344
|
+
export interface GetSyncConfigurationOutput {
|
|
345
|
+
SyncConfiguration: SyncConfiguration | undefined;
|
|
346
|
+
}
|
|
104
347
|
export interface ListConnectionsInput {
|
|
105
348
|
ProviderTypeFilter?: ProviderType;
|
|
106
349
|
HostArnFilter?: string;
|
|
@@ -128,6 +371,38 @@ export interface ListHostsOutput {
|
|
|
128
371
|
Hosts?: Host[];
|
|
129
372
|
NextToken?: string;
|
|
130
373
|
}
|
|
374
|
+
export interface ListRepositoryLinksInput {
|
|
375
|
+
MaxResults?: number;
|
|
376
|
+
NextToken?: string;
|
|
377
|
+
}
|
|
378
|
+
export interface ListRepositoryLinksOutput {
|
|
379
|
+
RepositoryLinks: RepositoryLinkInfo[] | undefined;
|
|
380
|
+
NextToken?: string;
|
|
381
|
+
}
|
|
382
|
+
export interface ListRepositorySyncDefinitionsInput {
|
|
383
|
+
RepositoryLinkId: string | undefined;
|
|
384
|
+
SyncType: SyncConfigurationType | undefined;
|
|
385
|
+
}
|
|
386
|
+
export interface RepositorySyncDefinition {
|
|
387
|
+
Branch: string | undefined;
|
|
388
|
+
Directory: string | undefined;
|
|
389
|
+
Parent: string | undefined;
|
|
390
|
+
Target: string | undefined;
|
|
391
|
+
}
|
|
392
|
+
export interface ListRepositorySyncDefinitionsOutput {
|
|
393
|
+
RepositorySyncDefinitions: RepositorySyncDefinition[] | undefined;
|
|
394
|
+
NextToken?: string;
|
|
395
|
+
}
|
|
396
|
+
export interface ListSyncConfigurationsInput {
|
|
397
|
+
MaxResults?: number;
|
|
398
|
+
NextToken?: string;
|
|
399
|
+
RepositoryLinkId: string | undefined;
|
|
400
|
+
SyncType: SyncConfigurationType | undefined;
|
|
401
|
+
}
|
|
402
|
+
export interface ListSyncConfigurationsOutput {
|
|
403
|
+
SyncConfigurations: SyncConfiguration[] | undefined;
|
|
404
|
+
NextToken?: string;
|
|
405
|
+
}
|
|
131
406
|
export interface ListTagsForResourceInput {
|
|
132
407
|
ResourceArn: string | undefined;
|
|
133
408
|
}
|
|
@@ -164,3 +439,74 @@ export interface UpdateHostInput {
|
|
|
164
439
|
VpcConfiguration?: VpcConfiguration;
|
|
165
440
|
}
|
|
166
441
|
export interface UpdateHostOutput {}
|
|
442
|
+
export declare class ConditionalCheckFailedException extends __BaseException {
|
|
443
|
+
readonly name: "ConditionalCheckFailedException";
|
|
444
|
+
readonly $fault: "client";
|
|
445
|
+
Message?: string;
|
|
446
|
+
constructor(
|
|
447
|
+
opts: __ExceptionOptionType<
|
|
448
|
+
ConditionalCheckFailedException,
|
|
449
|
+
__BaseException
|
|
450
|
+
>
|
|
451
|
+
);
|
|
452
|
+
}
|
|
453
|
+
export declare class UpdateOutOfSyncException extends __BaseException {
|
|
454
|
+
readonly name: "UpdateOutOfSyncException";
|
|
455
|
+
readonly $fault: "client";
|
|
456
|
+
Message?: string;
|
|
457
|
+
constructor(
|
|
458
|
+
opts: __ExceptionOptionType<UpdateOutOfSyncException, __BaseException>
|
|
459
|
+
);
|
|
460
|
+
}
|
|
461
|
+
export interface UpdateRepositoryLinkInput {
|
|
462
|
+
ConnectionArn?: string;
|
|
463
|
+
EncryptionKeyArn?: string;
|
|
464
|
+
RepositoryLinkId: string | undefined;
|
|
465
|
+
}
|
|
466
|
+
export interface UpdateRepositoryLinkOutput {
|
|
467
|
+
RepositoryLinkInfo: RepositoryLinkInfo | undefined;
|
|
468
|
+
}
|
|
469
|
+
export declare class RetryLatestCommitFailedException extends __BaseException {
|
|
470
|
+
readonly name: "RetryLatestCommitFailedException";
|
|
471
|
+
readonly $fault: "server";
|
|
472
|
+
Message?: string;
|
|
473
|
+
constructor(
|
|
474
|
+
opts: __ExceptionOptionType<
|
|
475
|
+
RetryLatestCommitFailedException,
|
|
476
|
+
__BaseException
|
|
477
|
+
>
|
|
478
|
+
);
|
|
479
|
+
}
|
|
480
|
+
export declare class SyncBlockerDoesNotExistException extends __BaseException {
|
|
481
|
+
readonly name: "SyncBlockerDoesNotExistException";
|
|
482
|
+
readonly $fault: "client";
|
|
483
|
+
Message?: string;
|
|
484
|
+
constructor(
|
|
485
|
+
opts: __ExceptionOptionType<
|
|
486
|
+
SyncBlockerDoesNotExistException,
|
|
487
|
+
__BaseException
|
|
488
|
+
>
|
|
489
|
+
);
|
|
490
|
+
}
|
|
491
|
+
export interface UpdateSyncBlockerInput {
|
|
492
|
+
Id: string | undefined;
|
|
493
|
+
SyncType: SyncConfigurationType | undefined;
|
|
494
|
+
ResourceName: string | undefined;
|
|
495
|
+
ResolvedReason: string | undefined;
|
|
496
|
+
}
|
|
497
|
+
export interface UpdateSyncBlockerOutput {
|
|
498
|
+
ResourceName: string | undefined;
|
|
499
|
+
ParentResourceName?: string;
|
|
500
|
+
SyncBlocker: SyncBlocker | undefined;
|
|
501
|
+
}
|
|
502
|
+
export interface UpdateSyncConfigurationInput {
|
|
503
|
+
Branch?: string;
|
|
504
|
+
ConfigFile?: string;
|
|
505
|
+
RepositoryLinkId?: string;
|
|
506
|
+
ResourceName: string | undefined;
|
|
507
|
+
RoleArn?: string;
|
|
508
|
+
SyncType: SyncConfigurationType | undefined;
|
|
509
|
+
}
|
|
510
|
+
export interface UpdateSyncConfigurationOutput {
|
|
511
|
+
SyncConfiguration: SyncConfiguration | undefined;
|
|
512
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListRepositoryLinksCommandInput,
|
|
4
|
+
ListRepositoryLinksCommandOutput,
|
|
5
|
+
} from "../commands/ListRepositoryLinksCommand";
|
|
6
|
+
import { CodeStarConnectionsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListRepositoryLinks(
|
|
8
|
+
config: CodeStarConnectionsPaginationConfiguration,
|
|
9
|
+
input: ListRepositoryLinksCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListRepositoryLinksCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListSyncConfigurationsCommandInput,
|
|
4
|
+
ListSyncConfigurationsCommandOutput,
|
|
5
|
+
} from "../commands/ListSyncConfigurationsCommand";
|
|
6
|
+
import { CodeStarConnectionsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListSyncConfigurations(
|
|
8
|
+
config: CodeStarConnectionsPaginationConfiguration,
|
|
9
|
+
input: ListSyncConfigurationsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListSyncConfigurationsCommandOutput>;
|