@aws-sdk/client-codedeploy 3.321.1 → 3.326.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.
Files changed (48) hide show
  1. package/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +4 -0
  2. package/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +42 -0
  3. package/dist-types/commands/BatchGetApplicationsCommand.d.ts +15 -0
  4. package/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +171 -0
  5. package/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +29 -0
  6. package/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +117 -0
  7. package/dist-types/commands/BatchGetDeploymentsCommand.d.ts +182 -0
  8. package/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +21 -0
  9. package/dist-types/commands/ContinueDeploymentCommand.d.ts +4 -0
  10. package/dist-types/commands/CreateApplicationCommand.d.ts +6 -0
  11. package/dist-types/commands/CreateDeploymentCommand.d.ts +6 -0
  12. package/dist-types/commands/CreateDeploymentConfigCommand.d.ts +6 -0
  13. package/dist-types/commands/CreateDeploymentGroupCommand.d.ts +6 -0
  14. package/dist-types/commands/DeleteApplicationCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +4 -0
  16. package/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +11 -0
  17. package/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +6 -0
  18. package/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +4 -0
  19. package/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +4 -0
  20. package/dist-types/commands/GetApplicationCommand.d.ts +13 -0
  21. package/dist-types/commands/GetApplicationRevisionCommand.d.ts +37 -0
  22. package/dist-types/commands/GetDeploymentCommand.d.ts +180 -0
  23. package/dist-types/commands/GetDeploymentConfigCommand.d.ts +26 -0
  24. package/dist-types/commands/GetDeploymentGroupCommand.d.ts +168 -0
  25. package/dist-types/commands/GetDeploymentInstanceCommand.d.ts +26 -0
  26. package/dist-types/commands/GetDeploymentTargetCommand.d.ts +115 -0
  27. package/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +19 -0
  28. package/dist-types/commands/ListApplicationRevisionsCommand.d.ts +30 -0
  29. package/dist-types/commands/ListApplicationsCommand.d.ts +9 -0
  30. package/dist-types/commands/ListDeploymentConfigsCommand.d.ts +9 -0
  31. package/dist-types/commands/ListDeploymentGroupsCommand.d.ts +10 -0
  32. package/dist-types/commands/ListDeploymentInstancesCommand.d.ts +9 -0
  33. package/dist-types/commands/ListDeploymentTargetsCommand.d.ts +9 -0
  34. package/dist-types/commands/ListDeploymentsCommand.d.ts +9 -0
  35. package/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +9 -0
  36. package/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +9 -0
  37. package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -0
  38. package/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +6 -0
  39. package/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +4 -0
  40. package/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +4 -0
  41. package/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +4 -0
  42. package/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +4 -0
  43. package/dist-types/commands/StopDeploymentCommand.d.ts +7 -0
  44. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  45. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  46. package/dist-types/commands/UpdateApplicationCommand.d.ts +4 -0
  47. package/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +11 -0
  48. package/package.json +16 -16
@@ -39,6 +39,8 @@ export interface AddTagsToOnPremisesInstancesCommandOutput extends __MetadataBea
39
39
  * };
40
40
  * const command = new AddTagsToOnPremisesInstancesCommand(input);
41
41
  * const response = await client.send(command);
42
+ * // {};
43
+ *
42
44
  * ```
43
45
  *
44
46
  * @param AddTagsToOnPremisesInstancesCommandInput - {@link AddTagsToOnPremisesInstancesCommandInput}
@@ -69,6 +71,8 @@ export interface AddTagsToOnPremisesInstancesCommandOutput extends __MetadataBea
69
71
  * @throws {@link TagRequiredException} (client fault)
70
72
  * <p>A tag was not specified.</p>
71
73
  *
74
+ * @throws {@link CodeDeployServiceException}
75
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
72
76
  *
73
77
  */
74
78
  export declare class AddTagsToOnPremisesInstancesCommand extends $Command<AddTagsToOnPremisesInstancesCommandInput, AddTagsToOnPremisesInstancesCommandOutput, CodeDeployClientResolvedConfig> {
@@ -56,6 +56,46 @@ export interface BatchGetApplicationRevisionsCommandOutput extends BatchGetAppli
56
56
  * };
57
57
  * const command = new BatchGetApplicationRevisionsCommand(input);
58
58
  * const response = await client.send(command);
59
+ * // { // BatchGetApplicationRevisionsOutput
60
+ * // applicationName: "STRING_VALUE",
61
+ * // errorMessage: "STRING_VALUE",
62
+ * // revisions: [ // RevisionInfoList
63
+ * // { // RevisionInfo
64
+ * // revisionLocation: { // RevisionLocation
65
+ * // revisionType: "S3" || "GitHub" || "String" || "AppSpecContent",
66
+ * // s3Location: { // S3Location
67
+ * // bucket: "STRING_VALUE",
68
+ * // key: "STRING_VALUE",
69
+ * // bundleType: "tar" || "tgz" || "zip" || "YAML" || "JSON",
70
+ * // version: "STRING_VALUE",
71
+ * // eTag: "STRING_VALUE",
72
+ * // },
73
+ * // gitHubLocation: { // GitHubLocation
74
+ * // repository: "STRING_VALUE",
75
+ * // commitId: "STRING_VALUE",
76
+ * // },
77
+ * // string: { // RawString
78
+ * // content: "STRING_VALUE",
79
+ * // sha256: "STRING_VALUE",
80
+ * // },
81
+ * // appSpecContent: { // AppSpecContent
82
+ * // content: "STRING_VALUE",
83
+ * // sha256: "STRING_VALUE",
84
+ * // },
85
+ * // },
86
+ * // genericRevisionInfo: { // GenericRevisionInfo
87
+ * // description: "STRING_VALUE",
88
+ * // deploymentGroups: [ // DeploymentGroupsList
89
+ * // "STRING_VALUE",
90
+ * // ],
91
+ * // firstUsedTime: new Date("TIMESTAMP"),
92
+ * // lastUsedTime: new Date("TIMESTAMP"),
93
+ * // registerTime: new Date("TIMESTAMP"),
94
+ * // },
95
+ * // },
96
+ * // ],
97
+ * // };
98
+ *
59
99
  * ```
60
100
  *
61
101
  * @param BatchGetApplicationRevisionsCommandInput - {@link BatchGetApplicationRevisionsCommandInput}
@@ -82,6 +122,8 @@ export interface BatchGetApplicationRevisionsCommandOutput extends BatchGetAppli
82
122
  * @throws {@link RevisionRequiredException} (client fault)
83
123
  * <p>The revision ID was not specified.</p>
84
124
  *
125
+ * @throws {@link CodeDeployServiceException}
126
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
85
127
  *
86
128
  */
87
129
  export declare class BatchGetApplicationRevisionsCommand extends $Command<BatchGetApplicationRevisionsCommandInput, BatchGetApplicationRevisionsCommandOutput, CodeDeployClientResolvedConfig> {
@@ -34,6 +34,19 @@ export interface BatchGetApplicationsCommandOutput extends BatchGetApplicationsO
34
34
  * };
35
35
  * const command = new BatchGetApplicationsCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // BatchGetApplicationsOutput
38
+ * // applicationsInfo: [ // ApplicationsInfoList
39
+ * // { // ApplicationInfo
40
+ * // applicationId: "STRING_VALUE",
41
+ * // applicationName: "STRING_VALUE",
42
+ * // createTime: new Date("TIMESTAMP"),
43
+ * // linkedToGitHub: true || false,
44
+ * // gitHubAccountName: "STRING_VALUE",
45
+ * // computePlatform: "Server" || "Lambda" || "ECS",
46
+ * // },
47
+ * // ],
48
+ * // };
49
+ *
37
50
  * ```
38
51
  *
39
52
  * @param BatchGetApplicationsCommandInput - {@link BatchGetApplicationsCommandInput}
@@ -54,6 +67,8 @@ export interface BatchGetApplicationsCommandOutput extends BatchGetApplicationsO
54
67
  * @throws {@link InvalidApplicationNameException} (client fault)
55
68
  * <p>The application name was specified in an invalid format.</p>
56
69
  *
70
+ * @throws {@link CodeDeployServiceException}
71
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
57
72
  *
58
73
  */
59
74
  export declare class BatchGetApplicationsCommand extends $Command<BatchGetApplicationsCommandInput, BatchGetApplicationsCommandOutput, CodeDeployClientResolvedConfig> {
@@ -34,6 +34,175 @@ export interface BatchGetDeploymentGroupsCommandOutput extends BatchGetDeploymen
34
34
  * };
35
35
  * const command = new BatchGetDeploymentGroupsCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // BatchGetDeploymentGroupsOutput
38
+ * // deploymentGroupsInfo: [ // DeploymentGroupInfoList
39
+ * // { // DeploymentGroupInfo
40
+ * // applicationName: "STRING_VALUE",
41
+ * // deploymentGroupId: "STRING_VALUE",
42
+ * // deploymentGroupName: "STRING_VALUE",
43
+ * // deploymentConfigName: "STRING_VALUE",
44
+ * // ec2TagFilters: [ // EC2TagFilterList
45
+ * // { // EC2TagFilter
46
+ * // Key: "STRING_VALUE",
47
+ * // Value: "STRING_VALUE",
48
+ * // Type: "KEY_ONLY" || "VALUE_ONLY" || "KEY_AND_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // onPremisesInstanceTagFilters: [ // TagFilterList
52
+ * // { // TagFilter
53
+ * // Key: "STRING_VALUE",
54
+ * // Value: "STRING_VALUE",
55
+ * // Type: "KEY_ONLY" || "VALUE_ONLY" || "KEY_AND_VALUE",
56
+ * // },
57
+ * // ],
58
+ * // autoScalingGroups: [ // AutoScalingGroupList
59
+ * // { // AutoScalingGroup
60
+ * // name: "STRING_VALUE",
61
+ * // hook: "STRING_VALUE",
62
+ * // },
63
+ * // ],
64
+ * // serviceRoleArn: "STRING_VALUE",
65
+ * // targetRevision: { // RevisionLocation
66
+ * // revisionType: "S3" || "GitHub" || "String" || "AppSpecContent",
67
+ * // s3Location: { // S3Location
68
+ * // bucket: "STRING_VALUE",
69
+ * // key: "STRING_VALUE",
70
+ * // bundleType: "tar" || "tgz" || "zip" || "YAML" || "JSON",
71
+ * // version: "STRING_VALUE",
72
+ * // eTag: "STRING_VALUE",
73
+ * // },
74
+ * // gitHubLocation: { // GitHubLocation
75
+ * // repository: "STRING_VALUE",
76
+ * // commitId: "STRING_VALUE",
77
+ * // },
78
+ * // string: { // RawString
79
+ * // content: "STRING_VALUE",
80
+ * // sha256: "STRING_VALUE",
81
+ * // },
82
+ * // appSpecContent: { // AppSpecContent
83
+ * // content: "STRING_VALUE",
84
+ * // sha256: "STRING_VALUE",
85
+ * // },
86
+ * // },
87
+ * // triggerConfigurations: [ // TriggerConfigList
88
+ * // { // TriggerConfig
89
+ * // triggerName: "STRING_VALUE",
90
+ * // triggerTargetArn: "STRING_VALUE",
91
+ * // triggerEvents: [ // TriggerEventTypeList
92
+ * // "DeploymentStart" || "DeploymentSuccess" || "DeploymentFailure" || "DeploymentStop" || "DeploymentRollback" || "DeploymentReady" || "InstanceStart" || "InstanceSuccess" || "InstanceFailure" || "InstanceReady",
93
+ * // ],
94
+ * // },
95
+ * // ],
96
+ * // alarmConfiguration: { // AlarmConfiguration
97
+ * // enabled: true || false,
98
+ * // ignorePollAlarmFailure: true || false,
99
+ * // alarms: [ // AlarmList
100
+ * // { // Alarm
101
+ * // name: "STRING_VALUE",
102
+ * // },
103
+ * // ],
104
+ * // },
105
+ * // autoRollbackConfiguration: { // AutoRollbackConfiguration
106
+ * // enabled: true || false,
107
+ * // events: [ // AutoRollbackEventsList
108
+ * // "DEPLOYMENT_FAILURE" || "DEPLOYMENT_STOP_ON_ALARM" || "DEPLOYMENT_STOP_ON_REQUEST",
109
+ * // ],
110
+ * // },
111
+ * // deploymentStyle: { // DeploymentStyle
112
+ * // deploymentType: "IN_PLACE" || "BLUE_GREEN",
113
+ * // deploymentOption: "WITH_TRAFFIC_CONTROL" || "WITHOUT_TRAFFIC_CONTROL",
114
+ * // },
115
+ * // outdatedInstancesStrategy: "UPDATE" || "IGNORE",
116
+ * // blueGreenDeploymentConfiguration: { // BlueGreenDeploymentConfiguration
117
+ * // terminateBlueInstancesOnDeploymentSuccess: { // BlueInstanceTerminationOption
118
+ * // action: "TERMINATE" || "KEEP_ALIVE",
119
+ * // terminationWaitTimeInMinutes: Number("int"),
120
+ * // },
121
+ * // deploymentReadyOption: { // DeploymentReadyOption
122
+ * // actionOnTimeout: "CONTINUE_DEPLOYMENT" || "STOP_DEPLOYMENT",
123
+ * // waitTimeInMinutes: Number("int"),
124
+ * // },
125
+ * // greenFleetProvisioningOption: { // GreenFleetProvisioningOption
126
+ * // action: "DISCOVER_EXISTING" || "COPY_AUTO_SCALING_GROUP",
127
+ * // },
128
+ * // },
129
+ * // loadBalancerInfo: { // LoadBalancerInfo
130
+ * // elbInfoList: [ // ELBInfoList
131
+ * // { // ELBInfo
132
+ * // name: "STRING_VALUE",
133
+ * // },
134
+ * // ],
135
+ * // targetGroupInfoList: [ // TargetGroupInfoList
136
+ * // { // TargetGroupInfo
137
+ * // name: "STRING_VALUE",
138
+ * // },
139
+ * // ],
140
+ * // targetGroupPairInfoList: [ // TargetGroupPairInfoList
141
+ * // { // TargetGroupPairInfo
142
+ * // targetGroups: [
143
+ * // {
144
+ * // name: "STRING_VALUE",
145
+ * // },
146
+ * // ],
147
+ * // prodTrafficRoute: { // TrafficRoute
148
+ * // listenerArns: [ // ListenerArnList
149
+ * // "STRING_VALUE",
150
+ * // ],
151
+ * // },
152
+ * // testTrafficRoute: {
153
+ * // listenerArns: [
154
+ * // "STRING_VALUE",
155
+ * // ],
156
+ * // },
157
+ * // },
158
+ * // ],
159
+ * // },
160
+ * // lastSuccessfulDeployment: { // LastDeploymentInfo
161
+ * // deploymentId: "STRING_VALUE",
162
+ * // status: "Created" || "Queued" || "InProgress" || "Baking" || "Succeeded" || "Failed" || "Stopped" || "Ready",
163
+ * // endTime: new Date("TIMESTAMP"),
164
+ * // createTime: new Date("TIMESTAMP"),
165
+ * // },
166
+ * // lastAttemptedDeployment: {
167
+ * // deploymentId: "STRING_VALUE",
168
+ * // status: "Created" || "Queued" || "InProgress" || "Baking" || "Succeeded" || "Failed" || "Stopped" || "Ready",
169
+ * // endTime: new Date("TIMESTAMP"),
170
+ * // createTime: new Date("TIMESTAMP"),
171
+ * // },
172
+ * // ec2TagSet: { // EC2TagSet
173
+ * // ec2TagSetList: [ // EC2TagSetList
174
+ * // [
175
+ * // {
176
+ * // Key: "STRING_VALUE",
177
+ * // Value: "STRING_VALUE",
178
+ * // Type: "KEY_ONLY" || "VALUE_ONLY" || "KEY_AND_VALUE",
179
+ * // },
180
+ * // ],
181
+ * // ],
182
+ * // },
183
+ * // onPremisesTagSet: { // OnPremisesTagSet
184
+ * // onPremisesTagSetList: [ // OnPremisesTagSetList
185
+ * // [
186
+ * // {
187
+ * // Key: "STRING_VALUE",
188
+ * // Value: "STRING_VALUE",
189
+ * // Type: "KEY_ONLY" || "VALUE_ONLY" || "KEY_AND_VALUE",
190
+ * // },
191
+ * // ],
192
+ * // ],
193
+ * // },
194
+ * // computePlatform: "Server" || "Lambda" || "ECS",
195
+ * // ecsServices: [ // ECSServiceList
196
+ * // { // ECSService
197
+ * // serviceName: "STRING_VALUE",
198
+ * // clusterName: "STRING_VALUE",
199
+ * // },
200
+ * // ],
201
+ * // },
202
+ * // ],
203
+ * // errorMessage: "STRING_VALUE",
204
+ * // };
205
+ *
37
206
  * ```
38
207
  *
39
208
  * @param BatchGetDeploymentGroupsCommandInput - {@link BatchGetDeploymentGroupsCommandInput}
@@ -64,6 +233,8 @@ export interface BatchGetDeploymentGroupsCommandOutput extends BatchGetDeploymen
64
233
  * @throws {@link InvalidDeploymentGroupNameException} (client fault)
65
234
  * <p>The deployment group name was specified in an invalid format.</p>
66
235
  *
236
+ * @throws {@link CodeDeployServiceException}
237
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
67
238
  *
68
239
  */
69
240
  export declare class BatchGetDeploymentGroupsCommand extends $Command<BatchGetDeploymentGroupsCommandInput, BatchGetDeploymentGroupsCommandOutput, CodeDeployClientResolvedConfig> {
@@ -43,6 +43,33 @@ export interface BatchGetDeploymentInstancesCommandOutput extends BatchGetDeploy
43
43
  * };
44
44
  * const command = new BatchGetDeploymentInstancesCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // BatchGetDeploymentInstancesOutput
47
+ * // instancesSummary: [ // InstanceSummaryList
48
+ * // { // InstanceSummary
49
+ * // deploymentId: "STRING_VALUE",
50
+ * // instanceId: "STRING_VALUE",
51
+ * // status: "Pending" || "InProgress" || "Succeeded" || "Failed" || "Skipped" || "Unknown" || "Ready",
52
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
53
+ * // lifecycleEvents: [ // LifecycleEventList
54
+ * // { // LifecycleEvent
55
+ * // lifecycleEventName: "STRING_VALUE",
56
+ * // diagnostics: { // Diagnostics
57
+ * // errorCode: "Success" || "ScriptMissing" || "ScriptNotExecutable" || "ScriptTimedOut" || "ScriptFailed" || "UnknownError",
58
+ * // scriptName: "STRING_VALUE",
59
+ * // message: "STRING_VALUE",
60
+ * // logTail: "STRING_VALUE",
61
+ * // },
62
+ * // startTime: new Date("TIMESTAMP"),
63
+ * // endTime: new Date("TIMESTAMP"),
64
+ * // status: "Pending" || "InProgress" || "Succeeded" || "Failed" || "Skipped" || "Unknown",
65
+ * // },
66
+ * // ],
67
+ * // instanceType: "Blue" || "Green",
68
+ * // },
69
+ * // ],
70
+ * // errorMessage: "STRING_VALUE",
71
+ * // };
72
+ *
46
73
  * ```
47
74
  *
48
75
  * @param BatchGetDeploymentInstancesCommandInput - {@link BatchGetDeploymentInstancesCommandInput}
@@ -73,6 +100,8 @@ export interface BatchGetDeploymentInstancesCommandOutput extends BatchGetDeploy
73
100
  * @throws {@link InvalidInstanceNameException} (client fault)
74
101
  * <p>The on-premises instance name was specified in an invalid format.</p>
75
102
  *
103
+ * @throws {@link CodeDeployServiceException}
104
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
76
105
  *
77
106
  */
78
107
  export declare class BatchGetDeploymentInstancesCommand extends $Command<BatchGetDeploymentInstancesCommandInput, BatchGetDeploymentInstancesCommandOutput, CodeDeployClientResolvedConfig> {
@@ -60,6 +60,121 @@ export interface BatchGetDeploymentTargetsCommandOutput extends BatchGetDeployme
60
60
  * };
61
61
  * const command = new BatchGetDeploymentTargetsCommand(input);
62
62
  * const response = await client.send(command);
63
+ * // { // BatchGetDeploymentTargetsOutput
64
+ * // deploymentTargets: [ // DeploymentTargetList
65
+ * // { // DeploymentTarget
66
+ * // deploymentTargetType: "InstanceTarget" || "LambdaTarget" || "ECSTarget" || "CloudFormationTarget",
67
+ * // instanceTarget: { // InstanceTarget
68
+ * // deploymentId: "STRING_VALUE",
69
+ * // targetId: "STRING_VALUE",
70
+ * // targetArn: "STRING_VALUE",
71
+ * // status: "Pending" || "InProgress" || "Succeeded" || "Failed" || "Skipped" || "Unknown" || "Ready",
72
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
73
+ * // lifecycleEvents: [ // LifecycleEventList
74
+ * // { // LifecycleEvent
75
+ * // lifecycleEventName: "STRING_VALUE",
76
+ * // diagnostics: { // Diagnostics
77
+ * // errorCode: "Success" || "ScriptMissing" || "ScriptNotExecutable" || "ScriptTimedOut" || "ScriptFailed" || "UnknownError",
78
+ * // scriptName: "STRING_VALUE",
79
+ * // message: "STRING_VALUE",
80
+ * // logTail: "STRING_VALUE",
81
+ * // },
82
+ * // startTime: new Date("TIMESTAMP"),
83
+ * // endTime: new Date("TIMESTAMP"),
84
+ * // status: "Pending" || "InProgress" || "Succeeded" || "Failed" || "Skipped" || "Unknown",
85
+ * // },
86
+ * // ],
87
+ * // instanceLabel: "Blue" || "Green",
88
+ * // },
89
+ * // lambdaTarget: { // LambdaTarget
90
+ * // deploymentId: "STRING_VALUE",
91
+ * // targetId: "STRING_VALUE",
92
+ * // targetArn: "STRING_VALUE",
93
+ * // status: "Pending" || "InProgress" || "Succeeded" || "Failed" || "Skipped" || "Unknown" || "Ready",
94
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
95
+ * // lifecycleEvents: [
96
+ * // {
97
+ * // lifecycleEventName: "STRING_VALUE",
98
+ * // diagnostics: {
99
+ * // errorCode: "Success" || "ScriptMissing" || "ScriptNotExecutable" || "ScriptTimedOut" || "ScriptFailed" || "UnknownError",
100
+ * // scriptName: "STRING_VALUE",
101
+ * // message: "STRING_VALUE",
102
+ * // logTail: "STRING_VALUE",
103
+ * // },
104
+ * // startTime: new Date("TIMESTAMP"),
105
+ * // endTime: new Date("TIMESTAMP"),
106
+ * // status: "Pending" || "InProgress" || "Succeeded" || "Failed" || "Skipped" || "Unknown",
107
+ * // },
108
+ * // ],
109
+ * // lambdaFunctionInfo: { // LambdaFunctionInfo
110
+ * // functionName: "STRING_VALUE",
111
+ * // functionAlias: "STRING_VALUE",
112
+ * // currentVersion: "STRING_VALUE",
113
+ * // targetVersion: "STRING_VALUE",
114
+ * // targetVersionWeight: Number("double"),
115
+ * // },
116
+ * // },
117
+ * // ecsTarget: { // ECSTarget
118
+ * // deploymentId: "STRING_VALUE",
119
+ * // targetId: "STRING_VALUE",
120
+ * // targetArn: "STRING_VALUE",
121
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
122
+ * // lifecycleEvents: [
123
+ * // {
124
+ * // lifecycleEventName: "STRING_VALUE",
125
+ * // diagnostics: {
126
+ * // errorCode: "Success" || "ScriptMissing" || "ScriptNotExecutable" || "ScriptTimedOut" || "ScriptFailed" || "UnknownError",
127
+ * // scriptName: "STRING_VALUE",
128
+ * // message: "STRING_VALUE",
129
+ * // logTail: "STRING_VALUE",
130
+ * // },
131
+ * // startTime: new Date("TIMESTAMP"),
132
+ * // endTime: new Date("TIMESTAMP"),
133
+ * // status: "Pending" || "InProgress" || "Succeeded" || "Failed" || "Skipped" || "Unknown",
134
+ * // },
135
+ * // ],
136
+ * // status: "Pending" || "InProgress" || "Succeeded" || "Failed" || "Skipped" || "Unknown" || "Ready",
137
+ * // taskSetsInfo: [ // ECSTaskSetList
138
+ * // { // ECSTaskSet
139
+ * // identifer: "STRING_VALUE",
140
+ * // desiredCount: Number("long"),
141
+ * // pendingCount: Number("long"),
142
+ * // runningCount: Number("long"),
143
+ * // status: "STRING_VALUE",
144
+ * // trafficWeight: Number("double"),
145
+ * // targetGroup: { // TargetGroupInfo
146
+ * // name: "STRING_VALUE",
147
+ * // },
148
+ * // taskSetLabel: "Blue" || "Green",
149
+ * // },
150
+ * // ],
151
+ * // },
152
+ * // cloudFormationTarget: { // CloudFormationTarget
153
+ * // deploymentId: "STRING_VALUE",
154
+ * // targetId: "STRING_VALUE",
155
+ * // lastUpdatedAt: new Date("TIMESTAMP"),
156
+ * // lifecycleEvents: [
157
+ * // {
158
+ * // lifecycleEventName: "STRING_VALUE",
159
+ * // diagnostics: {
160
+ * // errorCode: "Success" || "ScriptMissing" || "ScriptNotExecutable" || "ScriptTimedOut" || "ScriptFailed" || "UnknownError",
161
+ * // scriptName: "STRING_VALUE",
162
+ * // message: "STRING_VALUE",
163
+ * // logTail: "STRING_VALUE",
164
+ * // },
165
+ * // startTime: new Date("TIMESTAMP"),
166
+ * // endTime: new Date("TIMESTAMP"),
167
+ * // status: "Pending" || "InProgress" || "Succeeded" || "Failed" || "Skipped" || "Unknown",
168
+ * // },
169
+ * // ],
170
+ * // status: "Pending" || "InProgress" || "Succeeded" || "Failed" || "Skipped" || "Unknown" || "Ready",
171
+ * // resourceType: "STRING_VALUE",
172
+ * // targetVersionWeight: Number("double"),
173
+ * // },
174
+ * // },
175
+ * // ],
176
+ * // };
177
+ *
63
178
  * ```
64
179
  *
65
180
  * @param BatchGetDeploymentTargetsCommandInput - {@link BatchGetDeploymentTargetsCommandInput}
@@ -99,6 +214,8 @@ export interface BatchGetDeploymentTargetsCommandOutput extends BatchGetDeployme
99
214
  * @throws {@link InvalidDeploymentTargetIdException} (client fault)
100
215
  * <p> The target ID provided was not valid. </p>
101
216
  *
217
+ * @throws {@link CodeDeployServiceException}
218
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
102
219
  *
103
220
  */
104
221
  export declare class BatchGetDeploymentTargetsCommand extends $Command<BatchGetDeploymentTargetsCommandInput, BatchGetDeploymentTargetsCommandOutput, CodeDeployClientResolvedConfig> {
@@ -34,6 +34,186 @@ export interface BatchGetDeploymentsCommandOutput extends BatchGetDeploymentsOut
34
34
  * };
35
35
  * const command = new BatchGetDeploymentsCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // BatchGetDeploymentsOutput
38
+ * // deploymentsInfo: [ // DeploymentsInfoList
39
+ * // { // DeploymentInfo
40
+ * // applicationName: "STRING_VALUE",
41
+ * // deploymentGroupName: "STRING_VALUE",
42
+ * // deploymentConfigName: "STRING_VALUE",
43
+ * // deploymentId: "STRING_VALUE",
44
+ * // previousRevision: { // RevisionLocation
45
+ * // revisionType: "S3" || "GitHub" || "String" || "AppSpecContent",
46
+ * // s3Location: { // S3Location
47
+ * // bucket: "STRING_VALUE",
48
+ * // key: "STRING_VALUE",
49
+ * // bundleType: "tar" || "tgz" || "zip" || "YAML" || "JSON",
50
+ * // version: "STRING_VALUE",
51
+ * // eTag: "STRING_VALUE",
52
+ * // },
53
+ * // gitHubLocation: { // GitHubLocation
54
+ * // repository: "STRING_VALUE",
55
+ * // commitId: "STRING_VALUE",
56
+ * // },
57
+ * // string: { // RawString
58
+ * // content: "STRING_VALUE",
59
+ * // sha256: "STRING_VALUE",
60
+ * // },
61
+ * // appSpecContent: { // AppSpecContent
62
+ * // content: "STRING_VALUE",
63
+ * // sha256: "STRING_VALUE",
64
+ * // },
65
+ * // },
66
+ * // revision: {
67
+ * // revisionType: "S3" || "GitHub" || "String" || "AppSpecContent",
68
+ * // s3Location: {
69
+ * // bucket: "STRING_VALUE",
70
+ * // key: "STRING_VALUE",
71
+ * // bundleType: "tar" || "tgz" || "zip" || "YAML" || "JSON",
72
+ * // version: "STRING_VALUE",
73
+ * // eTag: "STRING_VALUE",
74
+ * // },
75
+ * // gitHubLocation: {
76
+ * // repository: "STRING_VALUE",
77
+ * // commitId: "STRING_VALUE",
78
+ * // },
79
+ * // string: {
80
+ * // content: "STRING_VALUE",
81
+ * // sha256: "STRING_VALUE",
82
+ * // },
83
+ * // appSpecContent: {
84
+ * // content: "STRING_VALUE",
85
+ * // sha256: "STRING_VALUE",
86
+ * // },
87
+ * // },
88
+ * // status: "Created" || "Queued" || "InProgress" || "Baking" || "Succeeded" || "Failed" || "Stopped" || "Ready",
89
+ * // errorInformation: { // ErrorInformation
90
+ * // code: "AGENT_ISSUE" || "ALARM_ACTIVE" || "APPLICATION_MISSING" || "AUTOSCALING_VALIDATION_ERROR" || "AUTO_SCALING_CONFIGURATION" || "AUTO_SCALING_IAM_ROLE_PERMISSIONS" || "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND" || "CUSTOMER_APPLICATION_UNHEALTHY" || "DEPLOYMENT_GROUP_MISSING" || "ECS_UPDATE_ERROR" || "ELASTIC_LOAD_BALANCING_INVALID" || "ELB_INVALID_INSTANCE" || "HEALTH_CONSTRAINTS" || "HEALTH_CONSTRAINTS_INVALID" || "HOOK_EXECUTION_FAILURE" || "IAM_ROLE_MISSING" || "IAM_ROLE_PERMISSIONS" || "INTERNAL_ERROR" || "INVALID_ECS_SERVICE" || "INVALID_LAMBDA_CONFIGURATION" || "INVALID_LAMBDA_FUNCTION" || "INVALID_REVISION" || "MANUAL_STOP" || "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION" || "MISSING_ELB_INFORMATION" || "MISSING_GITHUB_TOKEN" || "NO_EC2_SUBSCRIPTION" || "NO_INSTANCES" || "OVER_MAX_INSTANCES" || "RESOURCE_LIMIT_EXCEEDED" || "REVISION_MISSING" || "THROTTLED" || "TIMEOUT" || "CLOUDFORMATION_STACK_FAILURE",
91
+ * // message: "STRING_VALUE",
92
+ * // },
93
+ * // createTime: new Date("TIMESTAMP"),
94
+ * // startTime: new Date("TIMESTAMP"),
95
+ * // completeTime: new Date("TIMESTAMP"),
96
+ * // deploymentOverview: { // DeploymentOverview
97
+ * // Pending: Number("long"),
98
+ * // InProgress: Number("long"),
99
+ * // Succeeded: Number("long"),
100
+ * // Failed: Number("long"),
101
+ * // Skipped: Number("long"),
102
+ * // Ready: Number("long"),
103
+ * // },
104
+ * // description: "STRING_VALUE",
105
+ * // creator: "user" || "autoscaling" || "codeDeployRollback" || "CodeDeploy" || "CodeDeployAutoUpdate" || "CloudFormation" || "CloudFormationRollback",
106
+ * // ignoreApplicationStopFailures: true || false,
107
+ * // autoRollbackConfiguration: { // AutoRollbackConfiguration
108
+ * // enabled: true || false,
109
+ * // events: [ // AutoRollbackEventsList
110
+ * // "DEPLOYMENT_FAILURE" || "DEPLOYMENT_STOP_ON_ALARM" || "DEPLOYMENT_STOP_ON_REQUEST",
111
+ * // ],
112
+ * // },
113
+ * // updateOutdatedInstancesOnly: true || false,
114
+ * // rollbackInfo: { // RollbackInfo
115
+ * // rollbackDeploymentId: "STRING_VALUE",
116
+ * // rollbackTriggeringDeploymentId: "STRING_VALUE",
117
+ * // rollbackMessage: "STRING_VALUE",
118
+ * // },
119
+ * // deploymentStyle: { // DeploymentStyle
120
+ * // deploymentType: "IN_PLACE" || "BLUE_GREEN",
121
+ * // deploymentOption: "WITH_TRAFFIC_CONTROL" || "WITHOUT_TRAFFIC_CONTROL",
122
+ * // },
123
+ * // targetInstances: { // TargetInstances
124
+ * // tagFilters: [ // EC2TagFilterList
125
+ * // { // EC2TagFilter
126
+ * // Key: "STRING_VALUE",
127
+ * // Value: "STRING_VALUE",
128
+ * // Type: "KEY_ONLY" || "VALUE_ONLY" || "KEY_AND_VALUE",
129
+ * // },
130
+ * // ],
131
+ * // autoScalingGroups: [ // AutoScalingGroupNameList
132
+ * // "STRING_VALUE",
133
+ * // ],
134
+ * // ec2TagSet: { // EC2TagSet
135
+ * // ec2TagSetList: [ // EC2TagSetList
136
+ * // [
137
+ * // {
138
+ * // Key: "STRING_VALUE",
139
+ * // Value: "STRING_VALUE",
140
+ * // Type: "KEY_ONLY" || "VALUE_ONLY" || "KEY_AND_VALUE",
141
+ * // },
142
+ * // ],
143
+ * // ],
144
+ * // },
145
+ * // },
146
+ * // instanceTerminationWaitTimeStarted: true || false,
147
+ * // blueGreenDeploymentConfiguration: { // BlueGreenDeploymentConfiguration
148
+ * // terminateBlueInstancesOnDeploymentSuccess: { // BlueInstanceTerminationOption
149
+ * // action: "TERMINATE" || "KEEP_ALIVE",
150
+ * // terminationWaitTimeInMinutes: Number("int"),
151
+ * // },
152
+ * // deploymentReadyOption: { // DeploymentReadyOption
153
+ * // actionOnTimeout: "CONTINUE_DEPLOYMENT" || "STOP_DEPLOYMENT",
154
+ * // waitTimeInMinutes: Number("int"),
155
+ * // },
156
+ * // greenFleetProvisioningOption: { // GreenFleetProvisioningOption
157
+ * // action: "DISCOVER_EXISTING" || "COPY_AUTO_SCALING_GROUP",
158
+ * // },
159
+ * // },
160
+ * // loadBalancerInfo: { // LoadBalancerInfo
161
+ * // elbInfoList: [ // ELBInfoList
162
+ * // { // ELBInfo
163
+ * // name: "STRING_VALUE",
164
+ * // },
165
+ * // ],
166
+ * // targetGroupInfoList: [ // TargetGroupInfoList
167
+ * // { // TargetGroupInfo
168
+ * // name: "STRING_VALUE",
169
+ * // },
170
+ * // ],
171
+ * // targetGroupPairInfoList: [ // TargetGroupPairInfoList
172
+ * // { // TargetGroupPairInfo
173
+ * // targetGroups: [
174
+ * // {
175
+ * // name: "STRING_VALUE",
176
+ * // },
177
+ * // ],
178
+ * // prodTrafficRoute: { // TrafficRoute
179
+ * // listenerArns: [ // ListenerArnList
180
+ * // "STRING_VALUE",
181
+ * // ],
182
+ * // },
183
+ * // testTrafficRoute: {
184
+ * // listenerArns: [
185
+ * // "STRING_VALUE",
186
+ * // ],
187
+ * // },
188
+ * // },
189
+ * // ],
190
+ * // },
191
+ * // additionalDeploymentStatusInfo: "STRING_VALUE",
192
+ * // fileExistsBehavior: "DISALLOW" || "OVERWRITE" || "RETAIN",
193
+ * // deploymentStatusMessages: [ // DeploymentStatusMessageList
194
+ * // "STRING_VALUE",
195
+ * // ],
196
+ * // computePlatform: "Server" || "Lambda" || "ECS",
197
+ * // externalId: "STRING_VALUE",
198
+ * // relatedDeployments: { // RelatedDeployments
199
+ * // autoUpdateOutdatedInstancesRootDeploymentId: "STRING_VALUE",
200
+ * // autoUpdateOutdatedInstancesDeploymentIds: [ // DeploymentsList
201
+ * // "STRING_VALUE",
202
+ * // ],
203
+ * // },
204
+ * // overrideAlarmConfiguration: { // AlarmConfiguration
205
+ * // enabled: true || false,
206
+ * // ignorePollAlarmFailure: true || false,
207
+ * // alarms: [ // AlarmList
208
+ * // { // Alarm
209
+ * // name: "STRING_VALUE",
210
+ * // },
211
+ * // ],
212
+ * // },
213
+ * // },
214
+ * // ],
215
+ * // };
216
+ *
37
217
  * ```
38
218
  *
39
219
  * @param BatchGetDeploymentsCommandInput - {@link BatchGetDeploymentsCommandInput}
@@ -51,6 +231,8 @@ export interface BatchGetDeploymentsCommandOutput extends BatchGetDeploymentsOut
51
231
  * @throws {@link InvalidDeploymentIdException} (client fault)
52
232
  * <p>At least one of the deployment IDs was specified in an invalid format.</p>
53
233
  *
234
+ * @throws {@link CodeDeployServiceException}
235
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
54
236
  *
55
237
  */
56
238
  export declare class BatchGetDeploymentsCommand extends $Command<BatchGetDeploymentsCommandInput, BatchGetDeploymentsCommandOutput, CodeDeployClientResolvedConfig> {