@aws-sdk/client-codedeploy 3.934.0 → 3.936.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.
@@ -6,5 +6,7 @@ export { CodeDeployExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./waiters";
9
- export * from "./models";
9
+ export * from "./models/enums";
10
+ export * from "./models/errors";
11
+ export * from "./models/models_0";
10
12
  export { CodeDeployServiceException } from "./models/CodeDeployServiceException";
@@ -0,0 +1,281 @@
1
+ export declare const ComputePlatform: {
2
+ readonly ECS: "ECS";
3
+ readonly LAMBDA: "Lambda";
4
+ readonly SERVER: "Server";
5
+ };
6
+ export type ComputePlatform =
7
+ (typeof ComputePlatform)[keyof typeof ComputePlatform];
8
+ export declare const ApplicationRevisionSortBy: {
9
+ readonly FirstUsedTime: "firstUsedTime";
10
+ readonly LastUsedTime: "lastUsedTime";
11
+ readonly RegisterTime: "registerTime";
12
+ };
13
+ export type ApplicationRevisionSortBy =
14
+ (typeof ApplicationRevisionSortBy)[keyof typeof ApplicationRevisionSortBy];
15
+ export declare const AutoRollbackEvent: {
16
+ readonly DEPLOYMENT_FAILURE: "DEPLOYMENT_FAILURE";
17
+ readonly DEPLOYMENT_STOP_ON_ALARM: "DEPLOYMENT_STOP_ON_ALARM";
18
+ readonly DEPLOYMENT_STOP_ON_REQUEST: "DEPLOYMENT_STOP_ON_REQUEST";
19
+ };
20
+ export type AutoRollbackEvent =
21
+ (typeof AutoRollbackEvent)[keyof typeof AutoRollbackEvent];
22
+ export declare const RevisionLocationType: {
23
+ readonly AppSpecContent: "AppSpecContent";
24
+ readonly GitHub: "GitHub";
25
+ readonly S3: "S3";
26
+ readonly String: "String";
27
+ };
28
+ export type RevisionLocationType =
29
+ (typeof RevisionLocationType)[keyof typeof RevisionLocationType];
30
+ export declare const BundleType: {
31
+ readonly JSON: "JSON";
32
+ readonly Tar: "tar";
33
+ readonly TarGZip: "tgz";
34
+ readonly YAML: "YAML";
35
+ readonly Zip: "zip";
36
+ };
37
+ export type BundleType = (typeof BundleType)[keyof typeof BundleType];
38
+ export declare const DeploymentReadyAction: {
39
+ readonly CONTINUE_DEPLOYMENT: "CONTINUE_DEPLOYMENT";
40
+ readonly STOP_DEPLOYMENT: "STOP_DEPLOYMENT";
41
+ };
42
+ export type DeploymentReadyAction =
43
+ (typeof DeploymentReadyAction)[keyof typeof DeploymentReadyAction];
44
+ export declare const GreenFleetProvisioningAction: {
45
+ readonly COPY_AUTO_SCALING_GROUP: "COPY_AUTO_SCALING_GROUP";
46
+ readonly DISCOVER_EXISTING: "DISCOVER_EXISTING";
47
+ };
48
+ export type GreenFleetProvisioningAction =
49
+ (typeof GreenFleetProvisioningAction)[keyof typeof GreenFleetProvisioningAction];
50
+ export declare const InstanceAction: {
51
+ readonly KEEP_ALIVE: "KEEP_ALIVE";
52
+ readonly TERMINATE: "TERMINATE";
53
+ };
54
+ export type InstanceAction =
55
+ (typeof InstanceAction)[keyof typeof InstanceAction];
56
+ export declare const DeploymentOption: {
57
+ readonly WITHOUT_TRAFFIC_CONTROL: "WITHOUT_TRAFFIC_CONTROL";
58
+ readonly WITH_TRAFFIC_CONTROL: "WITH_TRAFFIC_CONTROL";
59
+ };
60
+ export type DeploymentOption =
61
+ (typeof DeploymentOption)[keyof typeof DeploymentOption];
62
+ export declare const DeploymentType: {
63
+ readonly BLUE_GREEN: "BLUE_GREEN";
64
+ readonly IN_PLACE: "IN_PLACE";
65
+ };
66
+ export type DeploymentType =
67
+ (typeof DeploymentType)[keyof typeof DeploymentType];
68
+ export declare const EC2TagFilterType: {
69
+ readonly KEY_AND_VALUE: "KEY_AND_VALUE";
70
+ readonly KEY_ONLY: "KEY_ONLY";
71
+ readonly VALUE_ONLY: "VALUE_ONLY";
72
+ };
73
+ export type EC2TagFilterType =
74
+ (typeof EC2TagFilterType)[keyof typeof EC2TagFilterType];
75
+ export declare const DeploymentStatus: {
76
+ readonly BAKING: "Baking";
77
+ readonly CREATED: "Created";
78
+ readonly FAILED: "Failed";
79
+ readonly IN_PROGRESS: "InProgress";
80
+ readonly QUEUED: "Queued";
81
+ readonly READY: "Ready";
82
+ readonly STOPPED: "Stopped";
83
+ readonly SUCCEEDED: "Succeeded";
84
+ };
85
+ export type DeploymentStatus =
86
+ (typeof DeploymentStatus)[keyof typeof DeploymentStatus];
87
+ export declare const TagFilterType: {
88
+ readonly KEY_AND_VALUE: "KEY_AND_VALUE";
89
+ readonly KEY_ONLY: "KEY_ONLY";
90
+ readonly VALUE_ONLY: "VALUE_ONLY";
91
+ };
92
+ export type TagFilterType = (typeof TagFilterType)[keyof typeof TagFilterType];
93
+ export declare const OutdatedInstancesStrategy: {
94
+ readonly Ignore: "IGNORE";
95
+ readonly Update: "UPDATE";
96
+ };
97
+ export type OutdatedInstancesStrategy =
98
+ (typeof OutdatedInstancesStrategy)[keyof typeof OutdatedInstancesStrategy];
99
+ export declare const TriggerEventType: {
100
+ readonly DEPLOYMENT_FAILURE: "DeploymentFailure";
101
+ readonly DEPLOYMENT_READY: "DeploymentReady";
102
+ readonly DEPLOYMENT_ROLLBACK: "DeploymentRollback";
103
+ readonly DEPLOYMENT_START: "DeploymentStart";
104
+ readonly DEPLOYMENT_STOP: "DeploymentStop";
105
+ readonly DEPLOYMENT_SUCCESS: "DeploymentSuccess";
106
+ readonly INSTANCE_FAILURE: "InstanceFailure";
107
+ readonly INSTANCE_READY: "InstanceReady";
108
+ readonly INSTANCE_START: "InstanceStart";
109
+ readonly INSTANCE_SUCCESS: "InstanceSuccess";
110
+ };
111
+ export type TriggerEventType =
112
+ (typeof TriggerEventType)[keyof typeof TriggerEventType];
113
+ export declare const _InstanceType: {
114
+ readonly BLUE: "Blue";
115
+ readonly GREEN: "Green";
116
+ };
117
+ export type _InstanceType = (typeof _InstanceType)[keyof typeof _InstanceType];
118
+ export declare const LifecycleErrorCode: {
119
+ readonly SCRIPT_FAILED: "ScriptFailed";
120
+ readonly SCRIPT_MISSING: "ScriptMissing";
121
+ readonly SCRIPT_NOT_EXECUTABLE: "ScriptNotExecutable";
122
+ readonly SCRIPT_TIMED_OUT: "ScriptTimedOut";
123
+ readonly SUCCESS: "Success";
124
+ readonly UNKNOWN_ERROR: "UnknownError";
125
+ };
126
+ export type LifecycleErrorCode =
127
+ (typeof LifecycleErrorCode)[keyof typeof LifecycleErrorCode];
128
+ export declare const LifecycleEventStatus: {
129
+ readonly FAILED: "Failed";
130
+ readonly IN_PROGRESS: "InProgress";
131
+ readonly PENDING: "Pending";
132
+ readonly SKIPPED: "Skipped";
133
+ readonly SUCCEEDED: "Succeeded";
134
+ readonly UNKNOWN: "Unknown";
135
+ };
136
+ export type LifecycleEventStatus =
137
+ (typeof LifecycleEventStatus)[keyof typeof LifecycleEventStatus];
138
+ export declare const InstanceStatus: {
139
+ readonly FAILED: "Failed";
140
+ readonly IN_PROGRESS: "InProgress";
141
+ readonly PENDING: "Pending";
142
+ readonly READY: "Ready";
143
+ readonly SKIPPED: "Skipped";
144
+ readonly SUCCEEDED: "Succeeded";
145
+ readonly UNKNOWN: "Unknown";
146
+ };
147
+ export type InstanceStatus =
148
+ (typeof InstanceStatus)[keyof typeof InstanceStatus];
149
+ export declare const DeploymentCreator: {
150
+ readonly Autoscaling: "autoscaling";
151
+ readonly AutoscalingTermination: "autoscalingTermination";
152
+ readonly CloudFormation: "CloudFormation";
153
+ readonly CloudFormationRollback: "CloudFormationRollback";
154
+ readonly CodeDeploy: "CodeDeploy";
155
+ readonly CodeDeployAutoUpdate: "CodeDeployAutoUpdate";
156
+ readonly CodeDeployRollback: "codeDeployRollback";
157
+ readonly User: "user";
158
+ };
159
+ export type DeploymentCreator =
160
+ (typeof DeploymentCreator)[keyof typeof DeploymentCreator];
161
+ export declare const ErrorCode: {
162
+ readonly AGENT_ISSUE: "AGENT_ISSUE";
163
+ readonly ALARM_ACTIVE: "ALARM_ACTIVE";
164
+ readonly APPLICATION_MISSING: "APPLICATION_MISSING";
165
+ readonly AUTOSCALING_VALIDATION_ERROR: "AUTOSCALING_VALIDATION_ERROR";
166
+ readonly AUTO_SCALING_CONFIGURATION: "AUTO_SCALING_CONFIGURATION";
167
+ readonly AUTO_SCALING_IAM_ROLE_PERMISSIONS: "AUTO_SCALING_IAM_ROLE_PERMISSIONS";
168
+ readonly CLOUDFORMATION_STACK_FAILURE: "CLOUDFORMATION_STACK_FAILURE";
169
+ readonly CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND: "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND";
170
+ readonly CUSTOMER_APPLICATION_UNHEALTHY: "CUSTOMER_APPLICATION_UNHEALTHY";
171
+ readonly DEPLOYMENT_GROUP_MISSING: "DEPLOYMENT_GROUP_MISSING";
172
+ readonly ECS_UPDATE_ERROR: "ECS_UPDATE_ERROR";
173
+ readonly ELASTIC_LOAD_BALANCING_INVALID: "ELASTIC_LOAD_BALANCING_INVALID";
174
+ readonly ELB_INVALID_INSTANCE: "ELB_INVALID_INSTANCE";
175
+ readonly HEALTH_CONSTRAINTS: "HEALTH_CONSTRAINTS";
176
+ readonly HEALTH_CONSTRAINTS_INVALID: "HEALTH_CONSTRAINTS_INVALID";
177
+ readonly HOOK_EXECUTION_FAILURE: "HOOK_EXECUTION_FAILURE";
178
+ readonly IAM_ROLE_MISSING: "IAM_ROLE_MISSING";
179
+ readonly IAM_ROLE_PERMISSIONS: "IAM_ROLE_PERMISSIONS";
180
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
181
+ readonly INVALID_ECS_SERVICE: "INVALID_ECS_SERVICE";
182
+ readonly INVALID_LAMBDA_CONFIGURATION: "INVALID_LAMBDA_CONFIGURATION";
183
+ readonly INVALID_LAMBDA_FUNCTION: "INVALID_LAMBDA_FUNCTION";
184
+ readonly INVALID_REVISION: "INVALID_REVISION";
185
+ readonly MANUAL_STOP: "MANUAL_STOP";
186
+ readonly MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION: "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION";
187
+ readonly MISSING_ELB_INFORMATION: "MISSING_ELB_INFORMATION";
188
+ readonly MISSING_GITHUB_TOKEN: "MISSING_GITHUB_TOKEN";
189
+ readonly NO_EC2_SUBSCRIPTION: "NO_EC2_SUBSCRIPTION";
190
+ readonly NO_INSTANCES: "NO_INSTANCES";
191
+ readonly OVER_MAX_INSTANCES: "OVER_MAX_INSTANCES";
192
+ readonly RESOURCE_LIMIT_EXCEEDED: "RESOURCE_LIMIT_EXCEEDED";
193
+ readonly REVISION_MISSING: "REVISION_MISSING";
194
+ readonly THROTTLED: "THROTTLED";
195
+ readonly TIMEOUT: "TIMEOUT";
196
+ };
197
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
198
+ export declare const FileExistsBehavior: {
199
+ readonly DISALLOW: "DISALLOW";
200
+ readonly OVERWRITE: "OVERWRITE";
201
+ readonly RETAIN: "RETAIN";
202
+ };
203
+ export type FileExistsBehavior =
204
+ (typeof FileExistsBehavior)[keyof typeof FileExistsBehavior];
205
+ export declare const TargetStatus: {
206
+ readonly FAILED: "Failed";
207
+ readonly IN_PROGRESS: "InProgress";
208
+ readonly PENDING: "Pending";
209
+ readonly READY: "Ready";
210
+ readonly SKIPPED: "Skipped";
211
+ readonly SUCCEEDED: "Succeeded";
212
+ readonly UNKNOWN: "Unknown";
213
+ };
214
+ export type TargetStatus = (typeof TargetStatus)[keyof typeof TargetStatus];
215
+ export declare const DeploymentTargetType: {
216
+ readonly CLOUDFORMATION_TARGET: "CloudFormationTarget";
217
+ readonly ECS_TARGET: "ECSTarget";
218
+ readonly INSTANCE_TARGET: "InstanceTarget";
219
+ readonly LAMBDA_TARGET: "LambdaTarget";
220
+ };
221
+ export type DeploymentTargetType =
222
+ (typeof DeploymentTargetType)[keyof typeof DeploymentTargetType];
223
+ export declare const TargetLabel: {
224
+ readonly BLUE: "Blue";
225
+ readonly GREEN: "Green";
226
+ };
227
+ export type TargetLabel = (typeof TargetLabel)[keyof typeof TargetLabel];
228
+ export declare const DeploymentWaitType: {
229
+ readonly READY_WAIT: "READY_WAIT";
230
+ readonly TERMINATION_WAIT: "TERMINATION_WAIT";
231
+ };
232
+ export type DeploymentWaitType =
233
+ (typeof DeploymentWaitType)[keyof typeof DeploymentWaitType];
234
+ export declare const MinimumHealthyHostsType: {
235
+ readonly FLEET_PERCENT: "FLEET_PERCENT";
236
+ readonly HOST_COUNT: "HOST_COUNT";
237
+ };
238
+ export type MinimumHealthyHostsType =
239
+ (typeof MinimumHealthyHostsType)[keyof typeof MinimumHealthyHostsType];
240
+ export declare const TrafficRoutingType: {
241
+ readonly AllAtOnce: "AllAtOnce";
242
+ readonly TimeBasedCanary: "TimeBasedCanary";
243
+ readonly TimeBasedLinear: "TimeBasedLinear";
244
+ };
245
+ export type TrafficRoutingType =
246
+ (typeof TrafficRoutingType)[keyof typeof TrafficRoutingType];
247
+ export declare const MinimumHealthyHostsPerZoneType: {
248
+ readonly FLEET_PERCENT: "FLEET_PERCENT";
249
+ readonly HOST_COUNT: "HOST_COUNT";
250
+ };
251
+ export type MinimumHealthyHostsPerZoneType =
252
+ (typeof MinimumHealthyHostsPerZoneType)[keyof typeof MinimumHealthyHostsPerZoneType];
253
+ export declare const ListStateFilterAction: {
254
+ readonly Exclude: "exclude";
255
+ readonly Ignore: "ignore";
256
+ readonly Include: "include";
257
+ };
258
+ export type ListStateFilterAction =
259
+ (typeof ListStateFilterAction)[keyof typeof ListStateFilterAction];
260
+ export declare const SortOrder: {
261
+ readonly Ascending: "ascending";
262
+ readonly Descending: "descending";
263
+ };
264
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
265
+ export declare const TargetFilterName: {
266
+ readonly SERVER_INSTANCE_LABEL: "ServerInstanceLabel";
267
+ readonly TARGET_STATUS: "TargetStatus";
268
+ };
269
+ export type TargetFilterName =
270
+ (typeof TargetFilterName)[keyof typeof TargetFilterName];
271
+ export declare const RegistrationStatus: {
272
+ readonly Deregistered: "Deregistered";
273
+ readonly Registered: "Registered";
274
+ };
275
+ export type RegistrationStatus =
276
+ (typeof RegistrationStatus)[keyof typeof RegistrationStatus];
277
+ export declare const StopStatus: {
278
+ readonly PENDING: "Pending";
279
+ readonly SUCCEEDED: "Succeeded";
280
+ };
281
+ export type StopStatus = (typeof StopStatus)[keyof typeof StopStatus];