@cdklabs/cdk-ecs-codedeploy 0.0.145 → 0.0.147

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 (86) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +4 -0
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +42 -0
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +15 -0
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +171 -0
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +29 -0
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +117 -0
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +182 -0
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +21 -0
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +4 -0
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +6 -0
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +6 -0
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +6 -0
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +6 -0
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteApplicationCommand.d.ts +4 -0
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +4 -0
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +11 -0
  22. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +6 -0
  23. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +4 -0
  24. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +4 -0
  25. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +13 -0
  26. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +37 -0
  27. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +180 -0
  28. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +26 -0
  29. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +168 -0
  30. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +26 -0
  31. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +115 -0
  32. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +19 -0
  33. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +30 -0
  34. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +9 -0
  35. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +9 -0
  36. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +10 -0
  37. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +9 -0
  38. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +9 -0
  39. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +9 -0
  40. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +9 -0
  41. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +9 -0
  42. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -0
  43. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +6 -0
  44. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +4 -0
  45. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +4 -0
  46. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +4 -0
  47. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +4 -0
  48. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +7 -0
  49. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +4 -0
  50. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  51. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +4 -0
  52. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +11 -0
  53. package/node_modules/@aws-sdk/client-codedeploy/package.json +7 -7
  54. package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +11 -0
  55. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +12 -0
  56. package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +13 -0
  57. package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +4 -0
  58. package/node_modules/@aws-sdk/client-sso/package.json +5 -5
  59. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +10 -0
  60. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +11 -0
  61. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +11 -0
  62. package/node_modules/@aws-sdk/client-sso-oidc/package.json +5 -5
  63. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +17 -0
  64. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +22 -0
  65. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +20 -0
  66. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +6 -0
  67. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +6 -0
  68. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +8 -0
  69. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +16 -0
  70. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +11 -0
  71. package/node_modules/@aws-sdk/client-sts/package.json +7 -7
  72. package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
  73. package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
  74. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  75. package/node_modules/@aws-sdk/middleware-retry/package.json +3 -3
  76. package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +3 -2
  77. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  78. package/node_modules/@aws-sdk/service-error-classification/dist-cjs/constants.js +1 -1
  79. package/node_modules/@aws-sdk/service-error-classification/dist-es/constants.js +1 -1
  80. package/node_modules/@aws-sdk/service-error-classification/package.json +1 -1
  81. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  82. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +11 -0
  83. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +11 -0
  84. package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
  85. package/node_modules/@aws-sdk/util-retry/package.json +2 -2
  86. package/package.json +5 -5
@@ -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> {
@@ -34,6 +34,25 @@ export interface BatchGetOnPremisesInstancesCommandOutput extends BatchGetOnPrem
34
34
  * };
35
35
  * const command = new BatchGetOnPremisesInstancesCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // { // BatchGetOnPremisesInstancesOutput
38
+ * // instanceInfos: [ // InstanceInfoList
39
+ * // { // InstanceInfo
40
+ * // instanceName: "STRING_VALUE",
41
+ * // iamSessionArn: "STRING_VALUE",
42
+ * // iamUserArn: "STRING_VALUE",
43
+ * // instanceArn: "STRING_VALUE",
44
+ * // registerTime: new Date("TIMESTAMP"),
45
+ * // deregisterTime: new Date("TIMESTAMP"),
46
+ * // tags: [ // TagList
47
+ * // { // Tag
48
+ * // Key: "STRING_VALUE",
49
+ * // Value: "STRING_VALUE",
50
+ * // },
51
+ * // ],
52
+ * // },
53
+ * // ],
54
+ * // };
55
+ *
37
56
  * ```
38
57
  *
39
58
  * @param BatchGetOnPremisesInstancesCommandInput - {@link BatchGetOnPremisesInstancesCommandInput}
@@ -51,6 +70,8 @@ export interface BatchGetOnPremisesInstancesCommandOutput extends BatchGetOnPrem
51
70
  * @throws {@link InvalidInstanceNameException} (client fault)
52
71
  * <p>The on-premises instance name was specified in an invalid format.</p>
53
72
  *
73
+ * @throws {@link CodeDeployServiceException}
74
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
54
75
  *
55
76
  */
56
77
  export declare class BatchGetOnPremisesInstancesCommand extends $Command<BatchGetOnPremisesInstancesCommandInput, BatchGetOnPremisesInstancesCommandOutput, CodeDeployClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface ContinueDeploymentCommandOutput extends __MetadataBearer {
36
36
  * };
37
37
  * const command = new ContinueDeploymentCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param ContinueDeploymentCommandInput - {@link ContinueDeploymentCommandInput}
@@ -69,6 +71,8 @@ export interface ContinueDeploymentCommandOutput extends __MetadataBearer {
69
71
  * @throws {@link UnsupportedActionForDeploymentTypeException} (client fault)
70
72
  * <p>A call was submitted that is not supported for the specified deployment type.</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 ContinueDeploymentCommand extends $Command<ContinueDeploymentCommandInput, ContinueDeploymentCommandOutput, CodeDeployClientResolvedConfig> {
@@ -38,6 +38,10 @@ export interface CreateApplicationCommandOutput extends CreateApplicationOutput,
38
38
  * };
39
39
  * const command = new CreateApplicationCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // CreateApplicationOutput
42
+ * // applicationId: "STRING_VALUE",
43
+ * // };
44
+ *
41
45
  * ```
42
46
  *
43
47
  * @param CreateApplicationCommandInput - {@link CreateApplicationCommandInput}
@@ -64,6 +68,8 @@ export interface CreateApplicationCommandOutput extends CreateApplicationOutput,
64
68
  * @throws {@link InvalidTagsToAddException} (client fault)
65
69
  * <p> The specified tags are not valid. </p>
66
70
  *
71
+ * @throws {@link CodeDeployServiceException}
72
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
67
73
  *
68
74
  */
69
75
  export declare class CreateApplicationCommand extends $Command<CreateApplicationCommandInput, CreateApplicationCommandOutput, CodeDeployClientResolvedConfig> {
@@ -97,6 +97,10 @@ export interface CreateDeploymentCommandOutput extends CreateDeploymentOutput, _
97
97
  * };
98
98
  * const command = new CreateDeploymentCommand(input);
99
99
  * const response = await client.send(command);
100
+ * // { // CreateDeploymentOutput
101
+ * // deploymentId: "STRING_VALUE",
102
+ * // };
103
+ *
100
104
  * ```
101
105
  *
102
106
  * @param CreateDeploymentCommandInput - {@link CreateDeploymentCommandInput}
@@ -228,6 +232,8 @@ export interface CreateDeploymentCommandOutput extends CreateDeploymentOutput, _
228
232
  * @throws {@link ThrottlingException} (client fault)
229
233
  * <p>An API function was called too frequently.</p>
230
234
  *
235
+ * @throws {@link CodeDeployServiceException}
236
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
231
237
  *
232
238
  */
233
239
  export declare class CreateDeploymentCommand extends $Command<CreateDeploymentCommandInput, CreateDeploymentCommandOutput, CodeDeployClientResolvedConfig> {
@@ -47,6 +47,10 @@ export interface CreateDeploymentConfigCommandOutput extends CreateDeploymentCon
47
47
  * };
48
48
  * const command = new CreateDeploymentConfigCommand(input);
49
49
  * const response = await client.send(command);
50
+ * // { // CreateDeploymentConfigOutput
51
+ * // deploymentConfigId: "STRING_VALUE",
52
+ * // };
53
+ *
50
54
  * ```
51
55
  *
52
56
  * @param CreateDeploymentConfigCommandInput - {@link CreateDeploymentConfigCommandInput}
@@ -78,6 +82,8 @@ export interface CreateDeploymentConfigCommandOutput extends CreateDeploymentCon
78
82
  * <p> The configuration that specifies how traffic is routed during a deployment is
79
83
  * invalid.</p>
80
84
  *
85
+ * @throws {@link CodeDeployServiceException}
86
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
81
87
  *
82
88
  */
83
89
  export declare class CreateDeploymentConfigCommand extends $Command<CreateDeploymentConfigCommandInput, CreateDeploymentConfigCommandOutput, CodeDeployClientResolvedConfig> {
@@ -158,6 +158,10 @@ export interface CreateDeploymentGroupCommandOutput extends CreateDeploymentGrou
158
158
  * };
159
159
  * const command = new CreateDeploymentGroupCommand(input);
160
160
  * const response = await client.send(command);
161
+ * // { // CreateDeploymentGroupOutput
162
+ * // deploymentGroupId: "STRING_VALUE",
163
+ * // };
164
+ *
161
165
  * ```
162
166
  *
163
167
  * @param CreateDeploymentGroupCommandInput - {@link CreateDeploymentGroupCommandInput}
@@ -296,6 +300,8 @@ export interface CreateDeploymentGroupCommandOutput extends CreateDeploymentGrou
296
300
  * @throws {@link TriggerTargetsLimitExceededException} (client fault)
297
301
  * <p>The maximum allowed number of triggers was exceeded.</p>
298
302
  *
303
+ * @throws {@link CodeDeployServiceException}
304
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
299
305
  *
300
306
  */
301
307
  export declare class CreateDeploymentGroupCommand extends $Command<CreateDeploymentGroupCommandInput, CreateDeploymentGroupCommandOutput, CodeDeployClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteApplicationCommandOutput extends __MetadataBearer {
31
31
  * };
32
32
  * const command = new DeleteApplicationCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteApplicationCommandInput - {@link DeleteApplicationCommandInput}
@@ -50,6 +52,8 @@ export interface DeleteApplicationCommandOutput extends __MetadataBearer {
50
52
  * group was specified, the specified service role does not grant the appropriate
51
53
  * permissions to Amazon EC2 Auto Scaling.</p>
52
54
  *
55
+ * @throws {@link CodeDeployServiceException}
56
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
53
57
  *
54
58
  */
55
59
  export declare class DeleteApplicationCommand extends $Command<DeleteApplicationCommandInput, DeleteApplicationCommandOutput, CodeDeployClientResolvedConfig> {
@@ -35,6 +35,8 @@ export interface DeleteDeploymentConfigCommandOutput extends __MetadataBearer {
35
35
  * };
36
36
  * const command = new DeleteDeploymentConfigCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // {};
39
+ *
38
40
  * ```
39
41
  *
40
42
  * @param DeleteDeploymentConfigCommandInput - {@link DeleteDeploymentConfigCommandInput}
@@ -55,6 +57,8 @@ export interface DeleteDeploymentConfigCommandOutput extends __MetadataBearer {
55
57
  * @throws {@link InvalidOperationException} (client fault)
56
58
  * <p>An invalid operation was detected.</p>
57
59
  *
60
+ * @throws {@link CodeDeployServiceException}
61
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
58
62
  *
59
63
  */
60
64
  export declare class DeleteDeploymentConfigCommand extends $Command<DeleteDeploymentConfigCommandInput, DeleteDeploymentConfigCommandOutput, CodeDeployClientResolvedConfig> {
@@ -32,6 +32,15 @@ export interface DeleteDeploymentGroupCommandOutput extends DeleteDeploymentGrou
32
32
  * };
33
33
  * const command = new DeleteDeploymentGroupCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // DeleteDeploymentGroupOutput
36
+ * // hooksNotCleanedUp: [ // AutoScalingGroupList
37
+ * // { // AutoScalingGroup
38
+ * // name: "STRING_VALUE",
39
+ * // hook: "STRING_VALUE",
40
+ * // },
41
+ * // ],
42
+ * // };
43
+ *
35
44
  * ```
36
45
  *
37
46
  * @param DeleteDeploymentGroupCommandInput - {@link DeleteDeploymentGroupCommandInput}
@@ -57,6 +66,8 @@ export interface DeleteDeploymentGroupCommandOutput extends DeleteDeploymentGrou
57
66
  * group was specified, the specified service role does not grant the appropriate
58
67
  * permissions to Amazon EC2 Auto Scaling.</p>
59
68
  *
69
+ * @throws {@link CodeDeployServiceException}
70
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
60
71
  *
61
72
  */
62
73
  export declare class DeleteDeploymentGroupCommand extends $Command<DeleteDeploymentGroupCommandInput, DeleteDeploymentGroupCommandOutput, CodeDeployClientResolvedConfig> {
@@ -31,6 +31,10 @@ export interface DeleteGitHubAccountTokenCommandOutput extends DeleteGitHubAccou
31
31
  * };
32
32
  * const command = new DeleteGitHubAccountTokenCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // DeleteGitHubAccountTokenOutput
35
+ * // tokenName: "STRING_VALUE",
36
+ * // };
37
+ *
34
38
  * ```
35
39
  *
36
40
  * @param DeleteGitHubAccountTokenCommandInput - {@link DeleteGitHubAccountTokenCommandInput}
@@ -54,6 +58,8 @@ export interface DeleteGitHubAccountTokenCommandOutput extends DeleteGitHubAccou
54
58
  * @throws {@link ResourceValidationException} (client fault)
55
59
  * <p>The specified resource could not be validated.</p>
56
60
  *
61
+ * @throws {@link CodeDeployServiceException}
62
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
57
63
  *
58
64
  */
59
65
  export declare class DeleteGitHubAccountTokenCommand extends $Command<DeleteGitHubAccountTokenCommandInput, DeleteGitHubAccountTokenCommandOutput, CodeDeployClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteResourcesByExternalIdCommandOutput extends DeleteResource
31
31
  * };
32
32
  * const command = new DeleteResourcesByExternalIdCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteResourcesByExternalIdCommandInput - {@link DeleteResourcesByExternalIdCommandInput}
@@ -39,6 +41,8 @@ export interface DeleteResourcesByExternalIdCommandOutput extends DeleteResource
39
41
  * @see {@link DeleteResourcesByExternalIdCommandOutput} for command's `response` shape.
40
42
  * @see {@link CodeDeployClientResolvedConfig | config} for CodeDeployClient's `config` shape.
41
43
  *
44
+ * @throws {@link CodeDeployServiceException}
45
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
42
46
  *
43
47
  */
44
48
  export declare class DeleteResourcesByExternalIdCommand extends $Command<DeleteResourcesByExternalIdCommandInput, DeleteResourcesByExternalIdCommandOutput, CodeDeployClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeregisterOnPremisesInstanceCommandOutput extends __MetadataBea
31
31
  * };
32
32
  * const command = new DeregisterOnPremisesInstanceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeregisterOnPremisesInstanceCommandInput - {@link DeregisterOnPremisesInstanceCommandInput}
@@ -45,6 +47,8 @@ export interface DeregisterOnPremisesInstanceCommandOutput extends __MetadataBea
45
47
  * @throws {@link InvalidInstanceNameException} (client fault)
46
48
  * <p>The on-premises instance name was specified in an invalid format.</p>
47
49
  *
50
+ * @throws {@link CodeDeployServiceException}
51
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
48
52
  *
49
53
  */
50
54
  export declare class DeregisterOnPremisesInstanceCommand extends $Command<DeregisterOnPremisesInstanceCommandInput, DeregisterOnPremisesInstanceCommandOutput, CodeDeployClientResolvedConfig> {
@@ -31,6 +31,17 @@ export interface GetApplicationCommandOutput extends GetApplicationOutput, __Met
31
31
  * };
32
32
  * const command = new GetApplicationCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetApplicationOutput
35
+ * // application: { // ApplicationInfo
36
+ * // applicationId: "STRING_VALUE",
37
+ * // applicationName: "STRING_VALUE",
38
+ * // createTime: new Date("TIMESTAMP"),
39
+ * // linkedToGitHub: true || false,
40
+ * // gitHubAccountName: "STRING_VALUE",
41
+ * // computePlatform: "Server" || "Lambda" || "ECS",
42
+ * // },
43
+ * // };
44
+ *
34
45
  * ```
35
46
  *
36
47
  * @param GetApplicationCommandInput - {@link GetApplicationCommandInput}
@@ -48,6 +59,8 @@ export interface GetApplicationCommandOutput extends GetApplicationOutput, __Met
48
59
  * @throws {@link InvalidApplicationNameException} (client fault)
49
60
  * <p>The application name was specified in an invalid format.</p>
50
61
  *
62
+ * @throws {@link CodeDeployServiceException}
63
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
51
64
  *
52
65
  */
53
66
  export declare class GetApplicationCommand extends $Command<GetApplicationCommandInput, GetApplicationCommandOutput, CodeDeployClientResolvedConfig> {
@@ -53,6 +53,41 @@ export interface GetApplicationRevisionCommandOutput extends GetApplicationRevis
53
53
  * };
54
54
  * const command = new GetApplicationRevisionCommand(input);
55
55
  * const response = await client.send(command);
56
+ * // { // GetApplicationRevisionOutput
57
+ * // applicationName: "STRING_VALUE",
58
+ * // revision: { // RevisionLocation
59
+ * // revisionType: "S3" || "GitHub" || "String" || "AppSpecContent",
60
+ * // s3Location: { // S3Location
61
+ * // bucket: "STRING_VALUE",
62
+ * // key: "STRING_VALUE",
63
+ * // bundleType: "tar" || "tgz" || "zip" || "YAML" || "JSON",
64
+ * // version: "STRING_VALUE",
65
+ * // eTag: "STRING_VALUE",
66
+ * // },
67
+ * // gitHubLocation: { // GitHubLocation
68
+ * // repository: "STRING_VALUE",
69
+ * // commitId: "STRING_VALUE",
70
+ * // },
71
+ * // string: { // RawString
72
+ * // content: "STRING_VALUE",
73
+ * // sha256: "STRING_VALUE",
74
+ * // },
75
+ * // appSpecContent: { // AppSpecContent
76
+ * // content: "STRING_VALUE",
77
+ * // sha256: "STRING_VALUE",
78
+ * // },
79
+ * // },
80
+ * // revisionInfo: { // GenericRevisionInfo
81
+ * // description: "STRING_VALUE",
82
+ * // deploymentGroups: [ // DeploymentGroupsList
83
+ * // "STRING_VALUE",
84
+ * // ],
85
+ * // firstUsedTime: new Date("TIMESTAMP"),
86
+ * // lastUsedTime: new Date("TIMESTAMP"),
87
+ * // registerTime: new Date("TIMESTAMP"),
88
+ * // },
89
+ * // };
90
+ *
56
91
  * ```
57
92
  *
58
93
  * @param GetApplicationRevisionCommandInput - {@link GetApplicationRevisionCommandInput}
@@ -79,6 +114,8 @@ export interface GetApplicationRevisionCommandOutput extends GetApplicationRevis
79
114
  * @throws {@link RevisionRequiredException} (client fault)
80
115
  * <p>The revision ID was not specified.</p>
81
116
  *
117
+ * @throws {@link CodeDeployServiceException}
118
+ * <p>Base exception class for all service exceptions from CodeDeploy service.</p>
82
119
  *
83
120
  */
84
121
  export declare class GetApplicationRevisionCommand extends $Command<GetApplicationRevisionCommandInput, GetApplicationRevisionCommandOutput, CodeDeployClientResolvedConfig> {