@aws-sdk/client-codeconnections 3.545.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/LICENSE +201 -0
- package/README.md +500 -0
- package/dist-cjs/CodeConnections.js +65 -0
- package/dist-cjs/CodeConnectionsClient.js +56 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateConnectionCommand.js +28 -0
- package/dist-cjs/commands/CreateHostCommand.js +28 -0
- package/dist-cjs/commands/CreateRepositoryLinkCommand.js +28 -0
- package/dist-cjs/commands/CreateSyncConfigurationCommand.js +28 -0
- package/dist-cjs/commands/DeleteConnectionCommand.js +28 -0
- package/dist-cjs/commands/DeleteHostCommand.js +28 -0
- package/dist-cjs/commands/DeleteRepositoryLinkCommand.js +28 -0
- package/dist-cjs/commands/DeleteSyncConfigurationCommand.js +28 -0
- package/dist-cjs/commands/GetConnectionCommand.js +28 -0
- package/dist-cjs/commands/GetHostCommand.js +28 -0
- package/dist-cjs/commands/GetRepositoryLinkCommand.js +28 -0
- package/dist-cjs/commands/GetRepositorySyncStatusCommand.js +28 -0
- package/dist-cjs/commands/GetResourceSyncStatusCommand.js +28 -0
- package/dist-cjs/commands/GetSyncBlockerSummaryCommand.js +28 -0
- package/dist-cjs/commands/GetSyncConfigurationCommand.js +28 -0
- package/dist-cjs/commands/ListConnectionsCommand.js +28 -0
- package/dist-cjs/commands/ListHostsCommand.js +28 -0
- package/dist-cjs/commands/ListRepositoryLinksCommand.js +28 -0
- package/dist-cjs/commands/ListRepositorySyncDefinitionsCommand.js +28 -0
- package/dist-cjs/commands/ListSyncConfigurationsCommand.js +28 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
- package/dist-cjs/commands/TagResourceCommand.js +28 -0
- package/dist-cjs/commands/UntagResourceCommand.js +28 -0
- package/dist-cjs/commands/UpdateHostCommand.js +28 -0
- package/dist-cjs/commands/UpdateRepositoryLinkCommand.js +28 -0
- package/dist-cjs/commands/UpdateSyncBlockerCommand.js +28 -0
- package/dist-cjs/commands/UpdateSyncConfigurationCommand.js +28 -0
- package/dist-cjs/commands/index.js +30 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +14 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/CodeConnectionsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +285 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListConnectionsPaginator.js +7 -0
- package/dist-cjs/pagination/ListHostsPaginator.js +7 -0
- package/dist-cjs/pagination/ListRepositoryLinksPaginator.js +7 -0
- package/dist-cjs/pagination/ListSyncConfigurationsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_json1_0.js +928 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/CodeConnections.js +61 -0
- package/dist-es/CodeConnectionsClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateConnectionCommand.js +24 -0
- package/dist-es/commands/CreateHostCommand.js +24 -0
- package/dist-es/commands/CreateRepositoryLinkCommand.js +24 -0
- package/dist-es/commands/CreateSyncConfigurationCommand.js +24 -0
- package/dist-es/commands/DeleteConnectionCommand.js +24 -0
- package/dist-es/commands/DeleteHostCommand.js +24 -0
- package/dist-es/commands/DeleteRepositoryLinkCommand.js +24 -0
- package/dist-es/commands/DeleteSyncConfigurationCommand.js +24 -0
- package/dist-es/commands/GetConnectionCommand.js +24 -0
- package/dist-es/commands/GetHostCommand.js +24 -0
- package/dist-es/commands/GetRepositoryLinkCommand.js +24 -0
- package/dist-es/commands/GetRepositorySyncStatusCommand.js +24 -0
- package/dist-es/commands/GetResourceSyncStatusCommand.js +24 -0
- package/dist-es/commands/GetSyncBlockerSummaryCommand.js +24 -0
- package/dist-es/commands/GetSyncConfigurationCommand.js +24 -0
- package/dist-es/commands/ListConnectionsCommand.js +24 -0
- package/dist-es/commands/ListHostsCommand.js +24 -0
- package/dist-es/commands/ListRepositoryLinksCommand.js +24 -0
- package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +24 -0
- package/dist-es/commands/ListSyncConfigurationsCommand.js +24 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
- package/dist-es/commands/TagResourceCommand.js +24 -0
- package/dist-es/commands/UntagResourceCommand.js +24 -0
- package/dist-es/commands/UpdateHostCommand.js +24 -0
- package/dist-es/commands/UpdateRepositoryLinkCommand.js +24 -0
- package/dist-es/commands/UpdateSyncBlockerCommand.js +24 -0
- package/dist-es/commands/UpdateSyncConfigurationCommand.js +24 -0
- package/dist-es/commands/index.js +27 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +10 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/CodeConnectionsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +265 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListConnectionsPaginator.js +4 -0
- package/dist-es/pagination/ListHostsPaginator.js +4 -0
- package/dist-es/pagination/ListRepositoryLinksPaginator.js +4 -0
- package/dist-es/pagination/ListSyncConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_json1_0.js +870 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/CodeConnections.d.ts +280 -0
- package/dist-types/CodeConnectionsClient.d.ts +276 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateConnectionCommand.d.ts +84 -0
- package/dist-types/commands/CreateHostCommand.d.ts +93 -0
- package/dist-types/commands/CreateRepositoryLinkCommand.d.ts +97 -0
- package/dist-types/commands/CreateSyncConfigurationCommand.d.ts +101 -0
- package/dist-types/commands/DeleteConnectionCommand.d.ts +60 -0
- package/dist-types/commands/DeleteHostCommand.d.ts +66 -0
- package/dist-types/commands/DeleteRepositoryLinkCommand.d.ts +81 -0
- package/dist-types/commands/DeleteSyncConfigurationCommand.d.ts +76 -0
- package/dist-types/commands/GetConnectionCommand.d.ts +72 -0
- package/dist-types/commands/GetHostCommand.d.ts +79 -0
- package/dist-types/commands/GetRepositoryLinkCommand.d.ts +86 -0
- package/dist-types/commands/GetRepositorySyncStatusCommand.d.ts +88 -0
- package/dist-types/commands/GetResourceSyncStatusCommand.d.ts +141 -0
- package/dist-types/commands/GetSyncBlockerSummaryCommand.d.ts +95 -0
- package/dist-types/commands/GetSyncConfigurationCommand.d.ts +87 -0
- package/dist-types/commands/ListConnectionsCommand.d.ts +75 -0
- package/dist-types/commands/ListHostsCommand.d.ts +80 -0
- package/dist-types/commands/ListRepositoryLinksCommand.d.ts +89 -0
- package/dist-types/commands/ListRepositorySyncDefinitionsCommand.d.ts +83 -0
- package/dist-types/commands/ListSyncConfigurationsCommand.d.ts +92 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +67 -0
- package/dist-types/commands/TagResourceCommand.d.ts +70 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +63 -0
- package/dist-types/commands/UpdateHostCommand.d.ts +80 -0
- package/dist-types/commands/UpdateRepositoryLinkCommand.d.ts +92 -0
- package/dist-types/commands/UpdateSyncBlockerCommand.d.ts +99 -0
- package/dist-types/commands/UpdateSyncConfigurationCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +27 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +92 -0
- package/dist-types/models/CodeConnectionsServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1735 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListHostsPaginator.d.ts +7 -0
- 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 +5 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +245 -0
- package/dist-types/runtimeConfig.browser.d.ts +45 -0
- package/dist-types/runtimeConfig.d.ts +45 -0
- package/dist-types/runtimeConfig.native.d.ts +44 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/CodeConnections.d.ts +469 -0
- package/dist-types/ts3.4/CodeConnectionsClient.d.ts +283 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateHostCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateRepositoryLinkCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateSyncConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteHostCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteRepositoryLinkCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteSyncConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetHostCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/GetRepositoryLinkCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRepositorySyncStatusCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetResourceSyncStatusCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetSyncBlockerSummaryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetSyncConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListHostsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListRepositoryLinksCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRepositorySyncDefinitionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListSyncConfigurationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateHostCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateRepositoryLinkCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateSyncBlockerCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateSyncConfigurationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +27 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/CodeConnectionsServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +531 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListHostsPaginator.d.ts +11 -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 +5 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +329 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +101 -0
|
@@ -0,0 +1,531 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { CodeConnectionsServiceException as __BaseException } from "./CodeConnectionsServiceException";
|
|
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];
|
|
20
|
+
export declare const ProviderType: {
|
|
21
|
+
readonly BITBUCKET: "Bitbucket";
|
|
22
|
+
readonly GITHUB: "GitHub";
|
|
23
|
+
readonly GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer";
|
|
24
|
+
readonly GITLAB: "GitLab";
|
|
25
|
+
readonly GITLAB_SELF_MANAGED: "GitLabSelfManaged";
|
|
26
|
+
};
|
|
27
|
+
export type ProviderType = (typeof ProviderType)[keyof typeof ProviderType];
|
|
28
|
+
export interface Tag {
|
|
29
|
+
Key: string | undefined;
|
|
30
|
+
Value: string | undefined;
|
|
31
|
+
}
|
|
32
|
+
export interface CreateConnectionInput {
|
|
33
|
+
ProviderType?: ProviderType;
|
|
34
|
+
ConnectionName: string | undefined;
|
|
35
|
+
Tags?: Tag[];
|
|
36
|
+
HostArn?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface CreateConnectionOutput {
|
|
39
|
+
ConnectionArn: string | undefined;
|
|
40
|
+
Tags?: Tag[];
|
|
41
|
+
}
|
|
42
|
+
export declare class LimitExceededException extends __BaseException {
|
|
43
|
+
readonly name: "LimitExceededException";
|
|
44
|
+
readonly $fault: "client";
|
|
45
|
+
Message?: string;
|
|
46
|
+
constructor(
|
|
47
|
+
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
51
|
+
readonly name: "ResourceNotFoundException";
|
|
52
|
+
readonly $fault: "client";
|
|
53
|
+
Message?: string;
|
|
54
|
+
constructor(
|
|
55
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
export declare class ResourceUnavailableException extends __BaseException {
|
|
59
|
+
readonly name: "ResourceUnavailableException";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
Message?: string;
|
|
62
|
+
constructor(
|
|
63
|
+
opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
export interface VpcConfiguration {
|
|
67
|
+
VpcId: string | undefined;
|
|
68
|
+
SubnetIds: string[] | undefined;
|
|
69
|
+
SecurityGroupIds: string[] | undefined;
|
|
70
|
+
TlsCertificate?: string;
|
|
71
|
+
}
|
|
72
|
+
export interface CreateHostInput {
|
|
73
|
+
Name: string | undefined;
|
|
74
|
+
ProviderType: ProviderType | undefined;
|
|
75
|
+
ProviderEndpoint: string | undefined;
|
|
76
|
+
VpcConfiguration?: VpcConfiguration;
|
|
77
|
+
Tags?: Tag[];
|
|
78
|
+
}
|
|
79
|
+
export interface CreateHostOutput {
|
|
80
|
+
HostArn?: string;
|
|
81
|
+
Tags?: Tag[];
|
|
82
|
+
}
|
|
83
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
84
|
+
readonly name: "ConcurrentModificationException";
|
|
85
|
+
readonly $fault: "client";
|
|
86
|
+
Message?: string;
|
|
87
|
+
constructor(
|
|
88
|
+
opts: __ExceptionOptionType<
|
|
89
|
+
ConcurrentModificationException,
|
|
90
|
+
__BaseException
|
|
91
|
+
>
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
export interface CreateRepositoryLinkInput {
|
|
95
|
+
ConnectionArn: string | undefined;
|
|
96
|
+
OwnerId: string | undefined;
|
|
97
|
+
RepositoryName: string | undefined;
|
|
98
|
+
EncryptionKeyArn?: string;
|
|
99
|
+
Tags?: Tag[];
|
|
100
|
+
}
|
|
101
|
+
export interface RepositoryLinkInfo {
|
|
102
|
+
ConnectionArn: string | undefined;
|
|
103
|
+
EncryptionKeyArn?: string;
|
|
104
|
+
OwnerId: string | undefined;
|
|
105
|
+
ProviderType: ProviderType | undefined;
|
|
106
|
+
RepositoryLinkArn: string | undefined;
|
|
107
|
+
RepositoryLinkId: string | undefined;
|
|
108
|
+
RepositoryName: string | undefined;
|
|
109
|
+
}
|
|
110
|
+
export interface CreateRepositoryLinkOutput {
|
|
111
|
+
RepositoryLinkInfo: RepositoryLinkInfo | undefined;
|
|
112
|
+
}
|
|
113
|
+
export declare class InternalServerException extends __BaseException {
|
|
114
|
+
readonly name: "InternalServerException";
|
|
115
|
+
readonly $fault: "server";
|
|
116
|
+
Message?: string;
|
|
117
|
+
constructor(
|
|
118
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
export declare class InvalidInputException extends __BaseException {
|
|
122
|
+
readonly name: "InvalidInputException";
|
|
123
|
+
readonly $fault: "client";
|
|
124
|
+
Message?: string;
|
|
125
|
+
constructor(
|
|
126
|
+
opts: __ExceptionOptionType<InvalidInputException, __BaseException>
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
export declare class ResourceAlreadyExistsException extends __BaseException {
|
|
130
|
+
readonly name: "ResourceAlreadyExistsException";
|
|
131
|
+
readonly $fault: "client";
|
|
132
|
+
Message?: string;
|
|
133
|
+
constructor(
|
|
134
|
+
opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
export declare class ThrottlingException extends __BaseException {
|
|
138
|
+
readonly name: "ThrottlingException";
|
|
139
|
+
readonly $fault: "client";
|
|
140
|
+
Message?: string;
|
|
141
|
+
constructor(
|
|
142
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
export declare const PublishDeploymentStatus: {
|
|
146
|
+
readonly DISABLED: "DISABLED";
|
|
147
|
+
readonly ENABLED: "ENABLED";
|
|
148
|
+
};
|
|
149
|
+
export type PublishDeploymentStatus =
|
|
150
|
+
(typeof PublishDeploymentStatus)[keyof typeof PublishDeploymentStatus];
|
|
151
|
+
export declare const SyncConfigurationType: {
|
|
152
|
+
readonly CFN_STACK_SYNC: "CFN_STACK_SYNC";
|
|
153
|
+
};
|
|
154
|
+
export type SyncConfigurationType =
|
|
155
|
+
(typeof SyncConfigurationType)[keyof typeof SyncConfigurationType];
|
|
156
|
+
export declare const TriggerResourceUpdateOn: {
|
|
157
|
+
readonly ANY_CHANGE: "ANY_CHANGE";
|
|
158
|
+
readonly FILE_CHANGE: "FILE_CHANGE";
|
|
159
|
+
};
|
|
160
|
+
export type TriggerResourceUpdateOn =
|
|
161
|
+
(typeof TriggerResourceUpdateOn)[keyof typeof TriggerResourceUpdateOn];
|
|
162
|
+
export interface CreateSyncConfigurationInput {
|
|
163
|
+
Branch: string | undefined;
|
|
164
|
+
ConfigFile: string | undefined;
|
|
165
|
+
RepositoryLinkId: string | undefined;
|
|
166
|
+
ResourceName: string | undefined;
|
|
167
|
+
RoleArn: string | undefined;
|
|
168
|
+
SyncType: SyncConfigurationType | undefined;
|
|
169
|
+
PublishDeploymentStatus?: PublishDeploymentStatus;
|
|
170
|
+
TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
|
|
171
|
+
}
|
|
172
|
+
export interface SyncConfiguration {
|
|
173
|
+
Branch: string | undefined;
|
|
174
|
+
ConfigFile?: string;
|
|
175
|
+
OwnerId: string | undefined;
|
|
176
|
+
ProviderType: ProviderType | undefined;
|
|
177
|
+
RepositoryLinkId: string | undefined;
|
|
178
|
+
RepositoryName: string | undefined;
|
|
179
|
+
ResourceName: string | undefined;
|
|
180
|
+
RoleArn: string | undefined;
|
|
181
|
+
SyncType: SyncConfigurationType | undefined;
|
|
182
|
+
PublishDeploymentStatus?: PublishDeploymentStatus;
|
|
183
|
+
TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
|
|
184
|
+
}
|
|
185
|
+
export interface CreateSyncConfigurationOutput {
|
|
186
|
+
SyncConfiguration: SyncConfiguration | undefined;
|
|
187
|
+
}
|
|
188
|
+
export interface DeleteConnectionInput {
|
|
189
|
+
ConnectionArn: string | undefined;
|
|
190
|
+
}
|
|
191
|
+
export interface DeleteConnectionOutput {}
|
|
192
|
+
export interface DeleteHostInput {
|
|
193
|
+
HostArn: string | undefined;
|
|
194
|
+
}
|
|
195
|
+
export interface DeleteHostOutput {}
|
|
196
|
+
export interface DeleteRepositoryLinkInput {
|
|
197
|
+
RepositoryLinkId: string | undefined;
|
|
198
|
+
}
|
|
199
|
+
export interface DeleteRepositoryLinkOutput {}
|
|
200
|
+
export declare class SyncConfigurationStillExistsException extends __BaseException {
|
|
201
|
+
readonly name: "SyncConfigurationStillExistsException";
|
|
202
|
+
readonly $fault: "client";
|
|
203
|
+
Message?: string;
|
|
204
|
+
constructor(
|
|
205
|
+
opts: __ExceptionOptionType<
|
|
206
|
+
SyncConfigurationStillExistsException,
|
|
207
|
+
__BaseException
|
|
208
|
+
>
|
|
209
|
+
);
|
|
210
|
+
}
|
|
211
|
+
export declare class UnsupportedProviderTypeException extends __BaseException {
|
|
212
|
+
readonly name: "UnsupportedProviderTypeException";
|
|
213
|
+
readonly $fault: "client";
|
|
214
|
+
Message?: string;
|
|
215
|
+
constructor(
|
|
216
|
+
opts: __ExceptionOptionType<
|
|
217
|
+
UnsupportedProviderTypeException,
|
|
218
|
+
__BaseException
|
|
219
|
+
>
|
|
220
|
+
);
|
|
221
|
+
}
|
|
222
|
+
export interface DeleteSyncConfigurationInput {
|
|
223
|
+
SyncType: SyncConfigurationType | undefined;
|
|
224
|
+
ResourceName: string | undefined;
|
|
225
|
+
}
|
|
226
|
+
export interface DeleteSyncConfigurationOutput {}
|
|
227
|
+
export interface GetConnectionInput {
|
|
228
|
+
ConnectionArn: string | undefined;
|
|
229
|
+
}
|
|
230
|
+
export declare const ConnectionStatus: {
|
|
231
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
232
|
+
readonly ERROR: "ERROR";
|
|
233
|
+
readonly PENDING: "PENDING";
|
|
234
|
+
};
|
|
235
|
+
export type ConnectionStatus =
|
|
236
|
+
(typeof ConnectionStatus)[keyof typeof ConnectionStatus];
|
|
237
|
+
export interface Connection {
|
|
238
|
+
ConnectionName?: string;
|
|
239
|
+
ConnectionArn?: string;
|
|
240
|
+
ProviderType?: ProviderType;
|
|
241
|
+
OwnerAccountId?: string;
|
|
242
|
+
ConnectionStatus?: ConnectionStatus;
|
|
243
|
+
HostArn?: string;
|
|
244
|
+
}
|
|
245
|
+
export interface GetConnectionOutput {
|
|
246
|
+
Connection?: Connection;
|
|
247
|
+
}
|
|
248
|
+
export interface GetHostInput {
|
|
249
|
+
HostArn: string | undefined;
|
|
250
|
+
}
|
|
251
|
+
export interface GetHostOutput {
|
|
252
|
+
Name?: string;
|
|
253
|
+
Status?: string;
|
|
254
|
+
ProviderType?: ProviderType;
|
|
255
|
+
ProviderEndpoint?: string;
|
|
256
|
+
VpcConfiguration?: VpcConfiguration;
|
|
257
|
+
}
|
|
258
|
+
export interface GetRepositoryLinkInput {
|
|
259
|
+
RepositoryLinkId: string | undefined;
|
|
260
|
+
}
|
|
261
|
+
export interface GetRepositoryLinkOutput {
|
|
262
|
+
RepositoryLinkInfo: RepositoryLinkInfo | undefined;
|
|
263
|
+
}
|
|
264
|
+
export interface GetRepositorySyncStatusInput {
|
|
265
|
+
Branch: string | undefined;
|
|
266
|
+
RepositoryLinkId: string | undefined;
|
|
267
|
+
SyncType: SyncConfigurationType | undefined;
|
|
268
|
+
}
|
|
269
|
+
export interface RepositorySyncEvent {
|
|
270
|
+
Event: string | undefined;
|
|
271
|
+
ExternalId?: string;
|
|
272
|
+
Time: Date | undefined;
|
|
273
|
+
Type: string | undefined;
|
|
274
|
+
}
|
|
275
|
+
export declare const RepositorySyncStatus: {
|
|
276
|
+
readonly FAILED: "FAILED";
|
|
277
|
+
readonly INITIATED: "INITIATED";
|
|
278
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
279
|
+
readonly QUEUED: "QUEUED";
|
|
280
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
281
|
+
};
|
|
282
|
+
export type RepositorySyncStatus =
|
|
283
|
+
(typeof RepositorySyncStatus)[keyof typeof RepositorySyncStatus];
|
|
284
|
+
export interface RepositorySyncAttempt {
|
|
285
|
+
StartedAt: Date | undefined;
|
|
286
|
+
Status: RepositorySyncStatus | undefined;
|
|
287
|
+
Events: RepositorySyncEvent[] | undefined;
|
|
288
|
+
}
|
|
289
|
+
export interface GetRepositorySyncStatusOutput {
|
|
290
|
+
LatestSync: RepositorySyncAttempt | undefined;
|
|
291
|
+
}
|
|
292
|
+
export interface GetResourceSyncStatusInput {
|
|
293
|
+
ResourceName: string | undefined;
|
|
294
|
+
SyncType: SyncConfigurationType | undefined;
|
|
295
|
+
}
|
|
296
|
+
export interface Revision {
|
|
297
|
+
Branch: string | undefined;
|
|
298
|
+
Directory: string | undefined;
|
|
299
|
+
OwnerId: string | undefined;
|
|
300
|
+
RepositoryName: string | undefined;
|
|
301
|
+
ProviderType: ProviderType | undefined;
|
|
302
|
+
Sha: string | undefined;
|
|
303
|
+
}
|
|
304
|
+
export interface ResourceSyncEvent {
|
|
305
|
+
Event: string | undefined;
|
|
306
|
+
ExternalId?: string;
|
|
307
|
+
Time: Date | undefined;
|
|
308
|
+
Type: string | undefined;
|
|
309
|
+
}
|
|
310
|
+
export declare const ResourceSyncStatus: {
|
|
311
|
+
readonly FAILED: "FAILED";
|
|
312
|
+
readonly INITIATED: "INITIATED";
|
|
313
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
314
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
315
|
+
};
|
|
316
|
+
export type ResourceSyncStatus =
|
|
317
|
+
(typeof ResourceSyncStatus)[keyof typeof ResourceSyncStatus];
|
|
318
|
+
export interface ResourceSyncAttempt {
|
|
319
|
+
Events: ResourceSyncEvent[] | undefined;
|
|
320
|
+
InitialRevision: Revision | undefined;
|
|
321
|
+
StartedAt: Date | undefined;
|
|
322
|
+
Status: ResourceSyncStatus | undefined;
|
|
323
|
+
TargetRevision: Revision | undefined;
|
|
324
|
+
Target: string | undefined;
|
|
325
|
+
}
|
|
326
|
+
export interface GetResourceSyncStatusOutput {
|
|
327
|
+
DesiredState?: Revision;
|
|
328
|
+
LatestSuccessfulSync?: ResourceSyncAttempt;
|
|
329
|
+
LatestSync: ResourceSyncAttempt | undefined;
|
|
330
|
+
}
|
|
331
|
+
export interface GetSyncBlockerSummaryInput {
|
|
332
|
+
SyncType: SyncConfigurationType | undefined;
|
|
333
|
+
ResourceName: string | undefined;
|
|
334
|
+
}
|
|
335
|
+
export interface SyncBlockerContext {
|
|
336
|
+
Key: string | undefined;
|
|
337
|
+
Value: string | undefined;
|
|
338
|
+
}
|
|
339
|
+
export interface SyncBlocker {
|
|
340
|
+
Id: string | undefined;
|
|
341
|
+
Type: BlockerType | undefined;
|
|
342
|
+
Status: BlockerStatus | undefined;
|
|
343
|
+
CreatedReason: string | undefined;
|
|
344
|
+
CreatedAt: Date | undefined;
|
|
345
|
+
Contexts?: SyncBlockerContext[];
|
|
346
|
+
ResolvedReason?: string;
|
|
347
|
+
ResolvedAt?: Date;
|
|
348
|
+
}
|
|
349
|
+
export interface SyncBlockerSummary {
|
|
350
|
+
ResourceName: string | undefined;
|
|
351
|
+
ParentResourceName?: string;
|
|
352
|
+
LatestBlockers?: SyncBlocker[];
|
|
353
|
+
}
|
|
354
|
+
export interface GetSyncBlockerSummaryOutput {
|
|
355
|
+
SyncBlockerSummary: SyncBlockerSummary | undefined;
|
|
356
|
+
}
|
|
357
|
+
export interface GetSyncConfigurationInput {
|
|
358
|
+
SyncType: SyncConfigurationType | undefined;
|
|
359
|
+
ResourceName: string | undefined;
|
|
360
|
+
}
|
|
361
|
+
export interface GetSyncConfigurationOutput {
|
|
362
|
+
SyncConfiguration: SyncConfiguration | undefined;
|
|
363
|
+
}
|
|
364
|
+
export interface ListConnectionsInput {
|
|
365
|
+
ProviderTypeFilter?: ProviderType;
|
|
366
|
+
HostArnFilter?: string;
|
|
367
|
+
MaxResults?: number;
|
|
368
|
+
NextToken?: string;
|
|
369
|
+
}
|
|
370
|
+
export interface ListConnectionsOutput {
|
|
371
|
+
Connections?: Connection[];
|
|
372
|
+
NextToken?: string;
|
|
373
|
+
}
|
|
374
|
+
export interface ListHostsInput {
|
|
375
|
+
MaxResults?: number;
|
|
376
|
+
NextToken?: string;
|
|
377
|
+
}
|
|
378
|
+
export interface Host {
|
|
379
|
+
Name?: string;
|
|
380
|
+
HostArn?: string;
|
|
381
|
+
ProviderType?: ProviderType;
|
|
382
|
+
ProviderEndpoint?: string;
|
|
383
|
+
VpcConfiguration?: VpcConfiguration;
|
|
384
|
+
Status?: string;
|
|
385
|
+
StatusMessage?: string;
|
|
386
|
+
}
|
|
387
|
+
export interface ListHostsOutput {
|
|
388
|
+
Hosts?: Host[];
|
|
389
|
+
NextToken?: string;
|
|
390
|
+
}
|
|
391
|
+
export interface ListRepositoryLinksInput {
|
|
392
|
+
MaxResults?: number;
|
|
393
|
+
NextToken?: string;
|
|
394
|
+
}
|
|
395
|
+
export interface ListRepositoryLinksOutput {
|
|
396
|
+
RepositoryLinks: RepositoryLinkInfo[] | undefined;
|
|
397
|
+
NextToken?: string;
|
|
398
|
+
}
|
|
399
|
+
export interface ListRepositorySyncDefinitionsInput {
|
|
400
|
+
RepositoryLinkId: string | undefined;
|
|
401
|
+
SyncType: SyncConfigurationType | undefined;
|
|
402
|
+
}
|
|
403
|
+
export interface RepositorySyncDefinition {
|
|
404
|
+
Branch: string | undefined;
|
|
405
|
+
Directory: string | undefined;
|
|
406
|
+
Parent: string | undefined;
|
|
407
|
+
Target: string | undefined;
|
|
408
|
+
}
|
|
409
|
+
export interface ListRepositorySyncDefinitionsOutput {
|
|
410
|
+
RepositorySyncDefinitions: RepositorySyncDefinition[] | undefined;
|
|
411
|
+
NextToken?: string;
|
|
412
|
+
}
|
|
413
|
+
export interface ListSyncConfigurationsInput {
|
|
414
|
+
MaxResults?: number;
|
|
415
|
+
NextToken?: string;
|
|
416
|
+
RepositoryLinkId: string | undefined;
|
|
417
|
+
SyncType: SyncConfigurationType | undefined;
|
|
418
|
+
}
|
|
419
|
+
export interface ListSyncConfigurationsOutput {
|
|
420
|
+
SyncConfigurations: SyncConfiguration[] | undefined;
|
|
421
|
+
NextToken?: string;
|
|
422
|
+
}
|
|
423
|
+
export interface ListTagsForResourceInput {
|
|
424
|
+
ResourceArn: string | undefined;
|
|
425
|
+
}
|
|
426
|
+
export interface ListTagsForResourceOutput {
|
|
427
|
+
Tags?: Tag[];
|
|
428
|
+
}
|
|
429
|
+
export interface TagResourceInput {
|
|
430
|
+
ResourceArn: string | undefined;
|
|
431
|
+
Tags: Tag[] | undefined;
|
|
432
|
+
}
|
|
433
|
+
export interface TagResourceOutput {}
|
|
434
|
+
export interface UntagResourceInput {
|
|
435
|
+
ResourceArn: string | undefined;
|
|
436
|
+
TagKeys: string[] | undefined;
|
|
437
|
+
}
|
|
438
|
+
export interface UntagResourceOutput {}
|
|
439
|
+
export declare class ConflictException extends __BaseException {
|
|
440
|
+
readonly name: "ConflictException";
|
|
441
|
+
readonly $fault: "client";
|
|
442
|
+
Message?: string;
|
|
443
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
444
|
+
}
|
|
445
|
+
export declare class UnsupportedOperationException extends __BaseException {
|
|
446
|
+
readonly name: "UnsupportedOperationException";
|
|
447
|
+
readonly $fault: "client";
|
|
448
|
+
Message?: string;
|
|
449
|
+
constructor(
|
|
450
|
+
opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>
|
|
451
|
+
);
|
|
452
|
+
}
|
|
453
|
+
export interface UpdateHostInput {
|
|
454
|
+
HostArn: string | undefined;
|
|
455
|
+
ProviderEndpoint?: string;
|
|
456
|
+
VpcConfiguration?: VpcConfiguration;
|
|
457
|
+
}
|
|
458
|
+
export interface UpdateHostOutput {}
|
|
459
|
+
export declare class ConditionalCheckFailedException extends __BaseException {
|
|
460
|
+
readonly name: "ConditionalCheckFailedException";
|
|
461
|
+
readonly $fault: "client";
|
|
462
|
+
Message?: string;
|
|
463
|
+
constructor(
|
|
464
|
+
opts: __ExceptionOptionType<
|
|
465
|
+
ConditionalCheckFailedException,
|
|
466
|
+
__BaseException
|
|
467
|
+
>
|
|
468
|
+
);
|
|
469
|
+
}
|
|
470
|
+
export declare class UpdateOutOfSyncException extends __BaseException {
|
|
471
|
+
readonly name: "UpdateOutOfSyncException";
|
|
472
|
+
readonly $fault: "client";
|
|
473
|
+
Message?: string;
|
|
474
|
+
constructor(
|
|
475
|
+
opts: __ExceptionOptionType<UpdateOutOfSyncException, __BaseException>
|
|
476
|
+
);
|
|
477
|
+
}
|
|
478
|
+
export interface UpdateRepositoryLinkInput {
|
|
479
|
+
ConnectionArn?: string;
|
|
480
|
+
EncryptionKeyArn?: string;
|
|
481
|
+
RepositoryLinkId: string | undefined;
|
|
482
|
+
}
|
|
483
|
+
export interface UpdateRepositoryLinkOutput {
|
|
484
|
+
RepositoryLinkInfo: RepositoryLinkInfo | undefined;
|
|
485
|
+
}
|
|
486
|
+
export declare class RetryLatestCommitFailedException extends __BaseException {
|
|
487
|
+
readonly name: "RetryLatestCommitFailedException";
|
|
488
|
+
readonly $fault: "server";
|
|
489
|
+
Message?: string;
|
|
490
|
+
constructor(
|
|
491
|
+
opts: __ExceptionOptionType<
|
|
492
|
+
RetryLatestCommitFailedException,
|
|
493
|
+
__BaseException
|
|
494
|
+
>
|
|
495
|
+
);
|
|
496
|
+
}
|
|
497
|
+
export declare class SyncBlockerDoesNotExistException extends __BaseException {
|
|
498
|
+
readonly name: "SyncBlockerDoesNotExistException";
|
|
499
|
+
readonly $fault: "client";
|
|
500
|
+
Message?: string;
|
|
501
|
+
constructor(
|
|
502
|
+
opts: __ExceptionOptionType<
|
|
503
|
+
SyncBlockerDoesNotExistException,
|
|
504
|
+
__BaseException
|
|
505
|
+
>
|
|
506
|
+
);
|
|
507
|
+
}
|
|
508
|
+
export interface UpdateSyncBlockerInput {
|
|
509
|
+
Id: string | undefined;
|
|
510
|
+
SyncType: SyncConfigurationType | undefined;
|
|
511
|
+
ResourceName: string | undefined;
|
|
512
|
+
ResolvedReason: string | undefined;
|
|
513
|
+
}
|
|
514
|
+
export interface UpdateSyncBlockerOutput {
|
|
515
|
+
ResourceName: string | undefined;
|
|
516
|
+
ParentResourceName?: string;
|
|
517
|
+
SyncBlocker: SyncBlocker | undefined;
|
|
518
|
+
}
|
|
519
|
+
export interface UpdateSyncConfigurationInput {
|
|
520
|
+
Branch?: string;
|
|
521
|
+
ConfigFile?: string;
|
|
522
|
+
RepositoryLinkId?: string;
|
|
523
|
+
ResourceName: string | undefined;
|
|
524
|
+
RoleArn?: string;
|
|
525
|
+
SyncType: SyncConfigurationType | undefined;
|
|
526
|
+
PublishDeploymentStatus?: PublishDeploymentStatus;
|
|
527
|
+
TriggerResourceUpdateOn?: TriggerResourceUpdateOn;
|
|
528
|
+
}
|
|
529
|
+
export interface UpdateSyncConfigurationOutput {
|
|
530
|
+
SyncConfiguration: SyncConfiguration | undefined;
|
|
531
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListConnectionsCommandInput,
|
|
4
|
+
ListConnectionsCommandOutput,
|
|
5
|
+
} from "../commands/ListConnectionsCommand";
|
|
6
|
+
import { CodeConnectionsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListConnections: (
|
|
8
|
+
config: CodeConnectionsPaginationConfiguration,
|
|
9
|
+
input: ListConnectionsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListConnectionsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListHostsCommandInput,
|
|
4
|
+
ListHostsCommandOutput,
|
|
5
|
+
} from "../commands/ListHostsCommand";
|
|
6
|
+
import { CodeConnectionsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListHosts: (
|
|
8
|
+
config: CodeConnectionsPaginationConfiguration,
|
|
9
|
+
input: ListHostsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListHostsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListRepositoryLinksCommandInput,
|
|
4
|
+
ListRepositoryLinksCommandOutput,
|
|
5
|
+
} from "../commands/ListRepositoryLinksCommand";
|
|
6
|
+
import { CodeConnectionsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListRepositoryLinks: (
|
|
8
|
+
config: CodeConnectionsPaginationConfiguration,
|
|
9
|
+
input: ListRepositoryLinksCommandInput,
|
|
10
|
+
...rest: 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 { CodeConnectionsPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListSyncConfigurations: (
|
|
8
|
+
config: CodeConnectionsPaginationConfiguration,
|
|
9
|
+
input: ListSyncConfigurationsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListSyncConfigurationsCommandOutput>;
|