aws-sdk-codedeploy 1.0.0.rc7 → 1.0.0.rc8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7e360a278c2d21c3f7946d3122ff9cff2f427fd
4
- data.tar.gz: 64589842b7b22e9aa00a59768fe8f261b56c8416
3
+ metadata.gz: a3e3aeea6411a91578e4512ad47fc7f00ea20789
4
+ data.tar.gz: 227a9705a11c2578270d78a703fd93f81edcaa1b
5
5
  SHA512:
6
- metadata.gz: 984e6f51cd15e1250a829790fa4c1dd8c1314c4ede0cfa2d340039dc8ab4586cbe83ec725b54e724631141e65612f5f09fa4f6bcc5a337eafbcefde2d6f75afa
7
- data.tar.gz: 86410162ef520dde29b6c4da98b13ad73cd4ac53dddf3d729e9b1fa048604021d077b54d639b6bf41ba771a1d1d6390628fa8ee728b2cadec80fb544c17dbcff
6
+ metadata.gz: 22ea3fde131f5502e3945ba1f1c6396160dad097060e0504080aa4c6d92f231d610d5d674f376dcf0709870efd632321182ea55fe7482561fa4fcba00c849d46
7
+ data.tar.gz: a5419546aa5e269655ac7a7f387294e976836f9385e0430296fa3f2e765fa91a8d097480de75bcbe560ddbc230a7f19f096879d81fefc167a35ca67d8a404685
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-codedeploy/customizations'
43
43
  # @service
44
44
  module Aws::CodeDeploy
45
45
 
46
- GEM_VERSION = '1.0.0.rc7'
46
+ GEM_VERSION = '1.0.0.rc8'
47
47
 
48
48
  end
@@ -278,6 +278,7 @@ module Aws::CodeDeploy
278
278
  # resp.applications_info[0].application_name #=> String
279
279
  # resp.applications_info[0].create_time #=> Time
280
280
  # resp.applications_info[0].linked_to_git_hub #=> Boolean
281
+ # resp.applications_info[0].git_hub_account_name #=> String
281
282
  #
282
283
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplications AWS API Documentation
283
284
  #
@@ -357,6 +358,14 @@ module Aws::CodeDeploy
357
358
  # resp.deployment_groups_info[0].blue_green_deployment_configuration.green_fleet_provisioning_option.action #=> String, one of "DISCOVER_EXISTING", "COPY_AUTO_SCALING_GROUP"
358
359
  # resp.deployment_groups_info[0].load_balancer_info.elb_info_list #=> Array
359
360
  # resp.deployment_groups_info[0].load_balancer_info.elb_info_list[0].name #=> String
361
+ # resp.deployment_groups_info[0].last_successful_deployment.deployment_id #=> String
362
+ # resp.deployment_groups_info[0].last_successful_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
363
+ # resp.deployment_groups_info[0].last_successful_deployment.end_time #=> Time
364
+ # resp.deployment_groups_info[0].last_successful_deployment.create_time #=> Time
365
+ # resp.deployment_groups_info[0].last_attempted_deployment.deployment_id #=> String
366
+ # resp.deployment_groups_info[0].last_attempted_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
367
+ # resp.deployment_groups_info[0].last_attempted_deployment.end_time #=> Time
368
+ # resp.deployment_groups_info[0].last_attempted_deployment.create_time #=> Time
360
369
  # resp.error_message #=> String
361
370
  #
362
371
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroups AWS API Documentation
@@ -1062,6 +1071,7 @@ module Aws::CodeDeploy
1062
1071
  # resp.application.application_name #=> String
1063
1072
  # resp.application.create_time #=> Time
1064
1073
  # resp.application.linked_to_git_hub #=> Boolean
1074
+ # resp.application.git_hub_account_name #=> String
1065
1075
  #
1066
1076
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplication AWS API Documentation
1067
1077
  #
@@ -1323,6 +1333,14 @@ module Aws::CodeDeploy
1323
1333
  # resp.deployment_group_info.blue_green_deployment_configuration.green_fleet_provisioning_option.action #=> String, one of "DISCOVER_EXISTING", "COPY_AUTO_SCALING_GROUP"
1324
1334
  # resp.deployment_group_info.load_balancer_info.elb_info_list #=> Array
1325
1335
  # resp.deployment_group_info.load_balancer_info.elb_info_list[0].name #=> String
1336
+ # resp.deployment_group_info.last_successful_deployment.deployment_id #=> String
1337
+ # resp.deployment_group_info.last_successful_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
1338
+ # resp.deployment_group_info.last_successful_deployment.end_time #=> Time
1339
+ # resp.deployment_group_info.last_successful_deployment.create_time #=> Time
1340
+ # resp.deployment_group_info.last_attempted_deployment.deployment_id #=> String
1341
+ # resp.deployment_group_info.last_attempted_deployment.status #=> String, one of "Created", "Queued", "InProgress", "Succeeded", "Failed", "Stopped", "Ready"
1342
+ # resp.deployment_group_info.last_attempted_deployment.end_time #=> Time
1343
+ # resp.deployment_group_info.last_attempted_deployment.create_time #=> Time
1326
1344
  #
1327
1345
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup AWS API Documentation
1328
1346
  #
@@ -1749,6 +1767,38 @@ module Aws::CodeDeploy
1749
1767
  req.send_request(options)
1750
1768
  end
1751
1769
 
1770
+ # Lists the names of stored connections to GitHub accounts.
1771
+ #
1772
+ # @option params [String] :next_token
1773
+ # An identifier returned from the previous ListGitHubAccountTokenNames
1774
+ # call. It can be used to return the next set of names in the list.
1775
+ #
1776
+ # @return [Types::ListGitHubAccountTokenNamesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1777
+ #
1778
+ # * {Types::ListGitHubAccountTokenNamesOutput#token_name_list #token_name_list} => Array<String>
1779
+ # * {Types::ListGitHubAccountTokenNamesOutput#next_token #next_token} => String
1780
+ #
1781
+ # @example Request syntax with placeholder values
1782
+ #
1783
+ # resp = client.list_git_hub_account_token_names({
1784
+ # next_token: "NextToken",
1785
+ # })
1786
+ #
1787
+ # @example Response structure
1788
+ #
1789
+ # resp.token_name_list #=> Array
1790
+ # resp.token_name_list[0] #=> String
1791
+ # resp.next_token #=> String
1792
+ #
1793
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNames AWS API Documentation
1794
+ #
1795
+ # @overload list_git_hub_account_token_names(params = {})
1796
+ # @param [Hash] params ({})
1797
+ def list_git_hub_account_token_names(params = {}, options = {})
1798
+ req = build_request(:list_git_hub_account_token_names, params)
1799
+ req.send_request(options)
1800
+ end
1801
+
1752
1802
  # Gets a list of names for one or more on-premises instances.
1753
1803
  #
1754
1804
  # Unless otherwise specified, both registered and deregistered
@@ -2171,7 +2221,7 @@ module Aws::CodeDeploy
2171
2221
  params: params,
2172
2222
  config: config)
2173
2223
  context[:gem_name] = 'aws-sdk-codedeploy'
2174
- context[:gem_version] = '1.0.0.rc7'
2224
+ context[:gem_version] = '1.0.0.rc8'
2175
2225
  Seahorse::Client::Request.new(handlers, context)
2176
2226
  end
2177
2227
 
@@ -136,6 +136,9 @@ module Aws::CodeDeploy
136
136
  GetDeploymentOutput = Shapes::StructureShape.new(name: 'GetDeploymentOutput')
137
137
  GetOnPremisesInstanceInput = Shapes::StructureShape.new(name: 'GetOnPremisesInstanceInput')
138
138
  GetOnPremisesInstanceOutput = Shapes::StructureShape.new(name: 'GetOnPremisesInstanceOutput')
139
+ GitHubAccountTokenDoesNotExistException = Shapes::StructureShape.new(name: 'GitHubAccountTokenDoesNotExistException')
140
+ GitHubAccountTokenName = Shapes::StringShape.new(name: 'GitHubAccountTokenName')
141
+ GitHubAccountTokenNameList = Shapes::ListShape.new(name: 'GitHubAccountTokenNameList')
139
142
  GitHubLocation = Shapes::StructureShape.new(name: 'GitHubLocation')
140
143
  GreenFleetProvisioningAction = Shapes::StringShape.new(name: 'GreenFleetProvisioningAction')
141
144
  GreenFleetProvisioningOption = Shapes::StructureShape.new(name: 'GreenFleetProvisioningOption')
@@ -202,6 +205,7 @@ module Aws::CodeDeploy
202
205
  InvalidTimeRangeException = Shapes::StructureShape.new(name: 'InvalidTimeRangeException')
203
206
  InvalidTriggerConfigException = Shapes::StructureShape.new(name: 'InvalidTriggerConfigException')
204
207
  Key = Shapes::StringShape.new(name: 'Key')
208
+ LastDeploymentInfo = Shapes::StructureShape.new(name: 'LastDeploymentInfo')
205
209
  LifecycleErrorCode = Shapes::StringShape.new(name: 'LifecycleErrorCode')
206
210
  LifecycleEvent = Shapes::StructureShape.new(name: 'LifecycleEvent')
207
211
  LifecycleEventList = Shapes::ListShape.new(name: 'LifecycleEventList')
@@ -221,6 +225,8 @@ module Aws::CodeDeploy
221
225
  ListDeploymentInstancesOutput = Shapes::StructureShape.new(name: 'ListDeploymentInstancesOutput')
222
226
  ListDeploymentsInput = Shapes::StructureShape.new(name: 'ListDeploymentsInput')
223
227
  ListDeploymentsOutput = Shapes::StructureShape.new(name: 'ListDeploymentsOutput')
228
+ ListGitHubAccountTokenNamesInput = Shapes::StructureShape.new(name: 'ListGitHubAccountTokenNamesInput')
229
+ ListGitHubAccountTokenNamesOutput = Shapes::StructureShape.new(name: 'ListGitHubAccountTokenNamesOutput')
224
230
  ListOnPremisesInstancesInput = Shapes::StructureShape.new(name: 'ListOnPremisesInstancesInput')
225
231
  ListOnPremisesInstancesOutput = Shapes::StructureShape.new(name: 'ListOnPremisesInstancesOutput')
226
232
  ListStateFilterAction = Shapes::StringShape.new(name: 'ListStateFilterAction')
@@ -238,6 +244,7 @@ module Aws::CodeDeploy
238
244
  RegistrationStatus = Shapes::StringShape.new(name: 'RegistrationStatus')
239
245
  RemoveTagsFromOnPremisesInstancesInput = Shapes::StructureShape.new(name: 'RemoveTagsFromOnPremisesInstancesInput')
240
246
  Repository = Shapes::StringShape.new(name: 'Repository')
247
+ ResourceValidationException = Shapes::StructureShape.new(name: 'ResourceValidationException')
241
248
  RevisionDoesNotExistException = Shapes::StructureShape.new(name: 'RevisionDoesNotExistException')
242
249
  RevisionInfo = Shapes::StructureShape.new(name: 'RevisionInfo')
243
250
  RevisionInfoList = Shapes::ListShape.new(name: 'RevisionInfoList')
@@ -299,6 +306,7 @@ module Aws::CodeDeploy
299
306
  ApplicationInfo.add_member(:application_name, Shapes::ShapeRef.new(shape: ApplicationName, location_name: "applicationName"))
300
307
  ApplicationInfo.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createTime"))
301
308
  ApplicationInfo.add_member(:linked_to_git_hub, Shapes::ShapeRef.new(shape: Boolean, location_name: "linkedToGitHub"))
309
+ ApplicationInfo.add_member(:git_hub_account_name, Shapes::ShapeRef.new(shape: GitHubAccountTokenName, location_name: "gitHubAccountName"))
302
310
  ApplicationInfo.struct_class = Types::ApplicationInfo
303
311
 
304
312
  ApplicationsInfoList.member = Shapes::ShapeRef.new(shape: ApplicationInfo)
@@ -456,6 +464,8 @@ module Aws::CodeDeploy
456
464
  DeploymentGroupInfo.add_member(:deployment_style, Shapes::ShapeRef.new(shape: DeploymentStyle, location_name: "deploymentStyle"))
457
465
  DeploymentGroupInfo.add_member(:blue_green_deployment_configuration, Shapes::ShapeRef.new(shape: BlueGreenDeploymentConfiguration, location_name: "blueGreenDeploymentConfiguration"))
458
466
  DeploymentGroupInfo.add_member(:load_balancer_info, Shapes::ShapeRef.new(shape: LoadBalancerInfo, location_name: "loadBalancerInfo"))
467
+ DeploymentGroupInfo.add_member(:last_successful_deployment, Shapes::ShapeRef.new(shape: LastDeploymentInfo, location_name: "lastSuccessfulDeployment"))
468
+ DeploymentGroupInfo.add_member(:last_attempted_deployment, Shapes::ShapeRef.new(shape: LastDeploymentInfo, location_name: "lastAttemptedDeployment"))
459
469
  DeploymentGroupInfo.struct_class = Types::DeploymentGroupInfo
460
470
 
461
471
  DeploymentGroupInfoList.member = Shapes::ShapeRef.new(shape: DeploymentGroupInfo)
@@ -590,6 +600,8 @@ module Aws::CodeDeploy
590
600
  GetOnPremisesInstanceOutput.add_member(:instance_info, Shapes::ShapeRef.new(shape: InstanceInfo, location_name: "instanceInfo"))
591
601
  GetOnPremisesInstanceOutput.struct_class = Types::GetOnPremisesInstanceOutput
592
602
 
603
+ GitHubAccountTokenNameList.member = Shapes::ShapeRef.new(shape: GitHubAccountTokenName)
604
+
593
605
  GitHubLocation.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, location_name: "repository"))
594
606
  GitHubLocation.add_member(:commit_id, Shapes::ShapeRef.new(shape: CommitId, location_name: "commitId"))
595
607
  GitHubLocation.struct_class = Types::GitHubLocation
@@ -626,6 +638,12 @@ module Aws::CodeDeploy
626
638
 
627
639
  InstancesList.member = Shapes::ShapeRef.new(shape: InstanceId)
628
640
 
641
+ LastDeploymentInfo.add_member(:deployment_id, Shapes::ShapeRef.new(shape: DeploymentId, location_name: "deploymentId"))
642
+ LastDeploymentInfo.add_member(:status, Shapes::ShapeRef.new(shape: DeploymentStatus, location_name: "status"))
643
+ LastDeploymentInfo.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
644
+ LastDeploymentInfo.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createTime"))
645
+ LastDeploymentInfo.struct_class = Types::LastDeploymentInfo
646
+
629
647
  LifecycleEvent.add_member(:lifecycle_event_name, Shapes::ShapeRef.new(shape: LifecycleEventName, location_name: "lifecycleEventName"))
630
648
  LifecycleEvent.add_member(:diagnostics, Shapes::ShapeRef.new(shape: Diagnostics, location_name: "diagnostics"))
631
649
  LifecycleEvent.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
@@ -692,6 +710,13 @@ module Aws::CodeDeploy
692
710
  ListDeploymentsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
693
711
  ListDeploymentsOutput.struct_class = Types::ListDeploymentsOutput
694
712
 
713
+ ListGitHubAccountTokenNamesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
714
+ ListGitHubAccountTokenNamesInput.struct_class = Types::ListGitHubAccountTokenNamesInput
715
+
716
+ ListGitHubAccountTokenNamesOutput.add_member(:token_name_list, Shapes::ShapeRef.new(shape: GitHubAccountTokenNameList, location_name: "tokenNameList"))
717
+ ListGitHubAccountTokenNamesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
718
+ ListGitHubAccountTokenNamesOutput.struct_class = Types::ListGitHubAccountTokenNamesOutput
719
+
695
720
  ListOnPremisesInstancesInput.add_member(:registration_status, Shapes::ShapeRef.new(shape: RegistrationStatus, location_name: "registrationStatus"))
696
721
  ListOnPremisesInstancesInput.add_member(:tag_filters, Shapes::ShapeRef.new(shape: TagFilterList, location_name: "tagFilters"))
697
722
  ListOnPremisesInstancesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
@@ -1254,6 +1279,16 @@ module Aws::CodeDeploy
1254
1279
  )
1255
1280
  end)
1256
1281
 
1282
+ api.add_operation(:list_git_hub_account_token_names, Seahorse::Model::Operation.new.tap do |o|
1283
+ o.name = "ListGitHubAccountTokenNames"
1284
+ o.http_method = "POST"
1285
+ o.http_request_uri = "/"
1286
+ o.input = Shapes::ShapeRef.new(shape: ListGitHubAccountTokenNamesInput)
1287
+ o.output = Shapes::ShapeRef.new(shape: ListGitHubAccountTokenNamesOutput)
1288
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1289
+ o.errors << Shapes::ShapeRef.new(shape: ResourceValidationException)
1290
+ end)
1291
+
1257
1292
  api.add_operation(:list_on_premises_instances, Seahorse::Model::Operation.new.tap do |o|
1258
1293
  o.name = "ListOnPremisesInstances"
1259
1294
  o.http_method = "POST"
@@ -128,13 +128,18 @@ module Aws::CodeDeploy
128
128
  # application; otherwise, false.
129
129
  # @return [Boolean]
130
130
  #
131
+ # @!attribute [rw] git_hub_account_name
132
+ # The name for a connection to a GitHub account.
133
+ # @return [String]
134
+ #
131
135
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ApplicationInfo AWS API Documentation
132
136
  #
133
137
  class ApplicationInfo < Struct.new(
134
138
  :application_id,
135
139
  :application_name,
136
140
  :create_time,
137
- :linked_to_git_hub)
141
+ :linked_to_git_hub,
142
+ :git_hub_account_name)
138
143
  include Aws::Structure
139
144
  end
140
145
 
@@ -185,7 +190,7 @@ module Aws::CodeDeploy
185
190
  include Aws::Structure
186
191
  end
187
192
 
188
- # Represents the input of a batch get application revisions operation.
193
+ # Represents the input of a BatchGetApplicationRevisions operation.
189
194
  #
190
195
  # @note When making an API call, you may pass BatchGetApplicationRevisionsInput
191
196
  # data as a hash:
@@ -228,7 +233,7 @@ module Aws::CodeDeploy
228
233
  include Aws::Structure
229
234
  end
230
235
 
231
- # Represents the output of a batch get application revisions operation.
236
+ # Represents the output of a BatchGetApplicationRevisions operation.
232
237
  #
233
238
  # @!attribute [rw] application_name
234
239
  # The name of the application that corresponds to the revisions.
@@ -252,7 +257,7 @@ module Aws::CodeDeploy
252
257
  include Aws::Structure
253
258
  end
254
259
 
255
- # Represents the input of a batch get applications operation.
260
+ # Represents the input of a BatchGetApplications operation.
256
261
  #
257
262
  # @note When making an API call, you may pass BatchGetApplicationsInput
258
263
  # data as a hash:
@@ -272,7 +277,7 @@ module Aws::CodeDeploy
272
277
  include Aws::Structure
273
278
  end
274
279
 
275
- # Represents the output of a batch get applications operation.
280
+ # Represents the output of a BatchGetApplications operation.
276
281
  #
277
282
  # @!attribute [rw] applications_info
278
283
  # Information about the applications.
@@ -285,7 +290,7 @@ module Aws::CodeDeploy
285
290
  include Aws::Structure
286
291
  end
287
292
 
288
- # Represents the input of a batch get deployment groups operation.
293
+ # Represents the input of a BatchGetDeploymentGroups operation.
289
294
  #
290
295
  # @note When making an API call, you may pass BatchGetDeploymentGroupsInput
291
296
  # data as a hash:
@@ -312,7 +317,7 @@ module Aws::CodeDeploy
312
317
  include Aws::Structure
313
318
  end
314
319
 
315
- # Represents the output of a batch get deployment groups operation.
320
+ # Represents the output of a BatchGetDeploymentGroups operation.
316
321
  #
317
322
  # @!attribute [rw] deployment_groups_info
318
323
  # Information about the deployment groups.
@@ -330,7 +335,7 @@ module Aws::CodeDeploy
330
335
  include Aws::Structure
331
336
  end
332
337
 
333
- # Represents the input of a batch get deployment instances operation.
338
+ # Represents the input of a BatchGetDeploymentInstances operation.
334
339
  #
335
340
  # @note When making an API call, you may pass BatchGetDeploymentInstancesInput
336
341
  # data as a hash:
@@ -356,7 +361,7 @@ module Aws::CodeDeploy
356
361
  include Aws::Structure
357
362
  end
358
363
 
359
- # Represents the output of a batch get deployment instance operation.
364
+ # Represents the output of a BatchGetDeploymentInstances operation.
360
365
  #
361
366
  # @!attribute [rw] instances_summary
362
367
  # Information about the instance.
@@ -374,7 +379,7 @@ module Aws::CodeDeploy
374
379
  include Aws::Structure
375
380
  end
376
381
 
377
- # Represents the input of a batch get deployments operation.
382
+ # Represents the input of a BatchGetDeployments operation.
378
383
  #
379
384
  # @note When making an API call, you may pass BatchGetDeploymentsInput
380
385
  # data as a hash:
@@ -394,7 +399,7 @@ module Aws::CodeDeploy
394
399
  include Aws::Structure
395
400
  end
396
401
 
397
- # Represents the output of a batch get deployments operation.
402
+ # Represents the output of a BatchGetDeployments operation.
398
403
  #
399
404
  # @!attribute [rw] deployments_info
400
405
  # Information about the deployments.
@@ -407,7 +412,7 @@ module Aws::CodeDeploy
407
412
  include Aws::Structure
408
413
  end
409
414
 
410
- # Represents the input of a batch get on-premises instances operation.
415
+ # Represents the input of a BatchGetOnPremisesInstances operation.
411
416
  #
412
417
  # @note When making an API call, you may pass BatchGetOnPremisesInstancesInput
413
418
  # data as a hash:
@@ -428,7 +433,7 @@ module Aws::CodeDeploy
428
433
  include Aws::Structure
429
434
  end
430
435
 
431
- # Represents the output of a batch get on-premises instances operation.
436
+ # Represents the output of a BatchGetOnPremisesInstances operation.
432
437
  #
433
438
  # @!attribute [rw] instance_infos
434
439
  # Information about the on-premises instances.
@@ -540,7 +545,7 @@ module Aws::CodeDeploy
540
545
  include Aws::Structure
541
546
  end
542
547
 
543
- # Represents the input of a create application operation.
548
+ # Represents the input of a CreateApplication operation.
544
549
  #
545
550
  # @note When making an API call, you may pass CreateApplicationInput
546
551
  # data as a hash:
@@ -561,7 +566,7 @@ module Aws::CodeDeploy
561
566
  include Aws::Structure
562
567
  end
563
568
 
564
- # Represents the output of a create application operation.
569
+ # Represents the output of a CreateApplication operation.
565
570
  #
566
571
  # @!attribute [rw] application_id
567
572
  # A unique application ID.
@@ -574,7 +579,7 @@ module Aws::CodeDeploy
574
579
  include Aws::Structure
575
580
  end
576
581
 
577
- # Represents the input of a create deployment configuration operation.
582
+ # Represents the input of a CreateDeploymentConfig operation.
578
583
  #
579
584
  # @note When making an API call, you may pass CreateDeploymentConfigInput
580
585
  # data as a hash:
@@ -622,7 +627,7 @@ module Aws::CodeDeploy
622
627
  include Aws::Structure
623
628
  end
624
629
 
625
- # Represents the output of a create deployment configuration operation.
630
+ # Represents the output of a CreateDeploymentConfig operation.
626
631
  #
627
632
  # @!attribute [rw] deployment_config_id
628
633
  # A unique deployment configuration ID.
@@ -635,7 +640,7 @@ module Aws::CodeDeploy
635
640
  include Aws::Structure
636
641
  end
637
642
 
638
- # Represents the input of a create deployment group operation.
643
+ # Represents the input of a CreateDeploymentGroup operation.
639
644
  #
640
645
  # @note When making an API call, you may pass CreateDeploymentGroupInput
641
646
  # data as a hash:
@@ -808,7 +813,7 @@ module Aws::CodeDeploy
808
813
  include Aws::Structure
809
814
  end
810
815
 
811
- # Represents the output of a create deployment group operation.
816
+ # Represents the output of a CreateDeploymentGroup operation.
812
817
  #
813
818
  # @!attribute [rw] deployment_group_id
814
819
  # A unique deployment group ID.
@@ -821,7 +826,7 @@ module Aws::CodeDeploy
821
826
  include Aws::Structure
822
827
  end
823
828
 
824
- # Represents the input of a create deployment operation.
829
+ # Represents the input of a CreateDeployment operation.
825
830
  #
826
831
  # @note When making an API call, you may pass CreateDeploymentInput
827
832
  # data as a hash:
@@ -953,7 +958,7 @@ module Aws::CodeDeploy
953
958
  include Aws::Structure
954
959
  end
955
960
 
956
- # Represents the output of a create deployment operation.
961
+ # Represents the output of a CreateDeployment operation.
957
962
  #
958
963
  # @!attribute [rw] deployment_id
959
964
  # A unique deployment ID.
@@ -966,7 +971,7 @@ module Aws::CodeDeploy
966
971
  include Aws::Structure
967
972
  end
968
973
 
969
- # Represents the input of a delete application operation.
974
+ # Represents the input of a DeleteApplication operation.
970
975
  #
971
976
  # @note When making an API call, you may pass DeleteApplicationInput
972
977
  # data as a hash:
@@ -987,7 +992,7 @@ module Aws::CodeDeploy
987
992
  include Aws::Structure
988
993
  end
989
994
 
990
- # Represents the input of a delete deployment configuration operation.
995
+ # Represents the input of a DeleteDeploymentConfig operation.
991
996
  #
992
997
  # @note When making an API call, you may pass DeleteDeploymentConfigInput
993
998
  # data as a hash:
@@ -1008,7 +1013,7 @@ module Aws::CodeDeploy
1008
1013
  include Aws::Structure
1009
1014
  end
1010
1015
 
1011
- # Represents the input of a delete deployment group operation.
1016
+ # Represents the input of a DeleteDeploymentGroup operation.
1012
1017
  #
1013
1018
  # @note When making an API call, you may pass DeleteDeploymentGroupInput
1014
1019
  # data as a hash:
@@ -1036,7 +1041,7 @@ module Aws::CodeDeploy
1036
1041
  include Aws::Structure
1037
1042
  end
1038
1043
 
1039
- # Represents the output of a delete deployment group operation.
1044
+ # Represents the output of a DeleteDeploymentGroup operation.
1040
1045
  #
1041
1046
  # @!attribute [rw] hooks_not_cleaned_up
1042
1047
  # If the output contains no data, and the corresponding deployment
@@ -1151,6 +1156,16 @@ module Aws::CodeDeploy
1151
1156
  # Information about the load balancer to use in a deployment.
1152
1157
  # @return [Types::LoadBalancerInfo]
1153
1158
  #
1159
+ # @!attribute [rw] last_successful_deployment
1160
+ # Information about the most recent successful deployment to the
1161
+ # deployment group.
1162
+ # @return [Types::LastDeploymentInfo]
1163
+ #
1164
+ # @!attribute [rw] last_attempted_deployment
1165
+ # Information about the most recent attempted deployment to the
1166
+ # deployment group.
1167
+ # @return [Types::LastDeploymentInfo]
1168
+ #
1154
1169
  # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeploymentGroupInfo AWS API Documentation
1155
1170
  #
1156
1171
  class DeploymentGroupInfo < Struct.new(
@@ -1168,7 +1183,9 @@ module Aws::CodeDeploy
1168
1183
  :auto_rollback_configuration,
1169
1184
  :deployment_style,
1170
1185
  :blue_green_deployment_configuration,
1171
- :load_balancer_info)
1186
+ :load_balancer_info,
1187
+ :last_successful_deployment,
1188
+ :last_attempted_deployment)
1172
1189
  include Aws::Structure
1173
1190
  end
1174
1191
 
@@ -1461,7 +1478,7 @@ module Aws::CodeDeploy
1461
1478
  include Aws::Structure
1462
1479
  end
1463
1480
 
1464
- # Represents the input of a deregister on-premises instance operation.
1481
+ # Represents the input of a DeregisterOnPremisesInstance operation.
1465
1482
  #
1466
1483
  # @note When making an API call, you may pass DeregisterOnPremisesInstanceInput
1467
1484
  # data as a hash:
@@ -1691,7 +1708,7 @@ module Aws::CodeDeploy
1691
1708
  include Aws::Structure
1692
1709
  end
1693
1710
 
1694
- # Represents the input of a get application operation.
1711
+ # Represents the input of a GetApplication operation.
1695
1712
  #
1696
1713
  # @note When making an API call, you may pass GetApplicationInput
1697
1714
  # data as a hash:
@@ -1712,7 +1729,7 @@ module Aws::CodeDeploy
1712
1729
  include Aws::Structure
1713
1730
  end
1714
1731
 
1715
- # Represents the output of a get application operation.
1732
+ # Represents the output of a GetApplication operation.
1716
1733
  #
1717
1734
  # @!attribute [rw] application
1718
1735
  # Information about the application.
@@ -1725,7 +1742,7 @@ module Aws::CodeDeploy
1725
1742
  include Aws::Structure
1726
1743
  end
1727
1744
 
1728
- # Represents the input of a get application revision operation.
1745
+ # Represents the input of a GetApplicationRevision operation.
1729
1746
  #
1730
1747
  # @note When making an API call, you may pass GetApplicationRevisionInput
1731
1748
  # data as a hash:
@@ -1765,7 +1782,7 @@ module Aws::CodeDeploy
1765
1782
  include Aws::Structure
1766
1783
  end
1767
1784
 
1768
- # Represents the output of a get application revision operation.
1785
+ # Represents the output of a GetApplicationRevision operation.
1769
1786
  #
1770
1787
  # @!attribute [rw] application_name
1771
1788
  # The name of the application that corresponds to the revision.
@@ -1789,7 +1806,7 @@ module Aws::CodeDeploy
1789
1806
  include Aws::Structure
1790
1807
  end
1791
1808
 
1792
- # Represents the input of a get deployment configuration operation.
1809
+ # Represents the input of a GetDeploymentConfig operation.
1793
1810
  #
1794
1811
  # @note When making an API call, you may pass GetDeploymentConfigInput
1795
1812
  # data as a hash:
@@ -1810,7 +1827,7 @@ module Aws::CodeDeploy
1810
1827
  include Aws::Structure
1811
1828
  end
1812
1829
 
1813
- # Represents the output of a get deployment configuration operation.
1830
+ # Represents the output of a GetDeploymentConfig operation.
1814
1831
  #
1815
1832
  # @!attribute [rw] deployment_config_info
1816
1833
  # Information about the deployment configuration.
@@ -1823,7 +1840,7 @@ module Aws::CodeDeploy
1823
1840
  include Aws::Structure
1824
1841
  end
1825
1842
 
1826
- # Represents the input of a get deployment group operation.
1843
+ # Represents the input of a GetDeploymentGroup operation.
1827
1844
  #
1828
1845
  # @note When making an API call, you may pass GetDeploymentGroupInput
1829
1846
  # data as a hash:
@@ -1851,7 +1868,7 @@ module Aws::CodeDeploy
1851
1868
  include Aws::Structure
1852
1869
  end
1853
1870
 
1854
- # Represents the output of a get deployment group operation.
1871
+ # Represents the output of a GetDeploymentGroup operation.
1855
1872
  #
1856
1873
  # @!attribute [rw] deployment_group_info
1857
1874
  # Information about the deployment group.
@@ -1864,7 +1881,7 @@ module Aws::CodeDeploy
1864
1881
  include Aws::Structure
1865
1882
  end
1866
1883
 
1867
- # Represents the input of a get deployment operation.
1884
+ # Represents the input of a GetDeployment operation.
1868
1885
  #
1869
1886
  # @note When making an API call, you may pass GetDeploymentInput
1870
1887
  # data as a hash:
@@ -1885,7 +1902,7 @@ module Aws::CodeDeploy
1885
1902
  include Aws::Structure
1886
1903
  end
1887
1904
 
1888
- # Represents the input of a get deployment instance operation.
1905
+ # Represents the input of a GetDeploymentInstance operation.
1889
1906
  #
1890
1907
  # @note When making an API call, you may pass GetDeploymentInstanceInput
1891
1908
  # data as a hash:
@@ -1911,7 +1928,7 @@ module Aws::CodeDeploy
1911
1928
  include Aws::Structure
1912
1929
  end
1913
1930
 
1914
- # Represents the output of a get deployment instance operation.
1931
+ # Represents the output of a GetDeploymentInstance operation.
1915
1932
  #
1916
1933
  # @!attribute [rw] instance_summary
1917
1934
  # Information about the instance.
@@ -1924,7 +1941,7 @@ module Aws::CodeDeploy
1924
1941
  include Aws::Structure
1925
1942
  end
1926
1943
 
1927
- # Represents the output of a get deployment operation.
1944
+ # Represents the output of a GetDeployment operation.
1928
1945
  #
1929
1946
  # @!attribute [rw] deployment_info
1930
1947
  # Information about the deployment.
@@ -1937,7 +1954,7 @@ module Aws::CodeDeploy
1937
1954
  include Aws::Structure
1938
1955
  end
1939
1956
 
1940
- # Represents the input of a get on-premises instance operation.
1957
+ # Represents the input of a GetOnPremisesInstance operation.
1941
1958
  #
1942
1959
  # @note When making an API call, you may pass GetOnPremisesInstanceInput
1943
1960
  # data as a hash:
@@ -1957,7 +1974,7 @@ module Aws::CodeDeploy
1957
1974
  include Aws::Structure
1958
1975
  end
1959
1976
 
1960
- # Represents the output of a get on-premises instance operation.
1977
+ # Represents the output of a GetOnPremisesInstance operation.
1961
1978
  #
1962
1979
  # @!attribute [rw] instance_info
1963
1980
  # Information about the on-premises instance.
@@ -2130,6 +2147,37 @@ module Aws::CodeDeploy
2130
2147
  include Aws::Structure
2131
2148
  end
2132
2149
 
2150
+ # Information about the most recent attempted or successful deployment
2151
+ # to a deployment group.
2152
+ #
2153
+ # @!attribute [rw] deployment_id
2154
+ # The deployment ID.
2155
+ # @return [String]
2156
+ #
2157
+ # @!attribute [rw] status
2158
+ # The status of the most recent deployment.
2159
+ # @return [String]
2160
+ #
2161
+ # @!attribute [rw] end_time
2162
+ # A timestamp indicating when the most recent deployment to the
2163
+ # deployment group completed.
2164
+ # @return [Time]
2165
+ #
2166
+ # @!attribute [rw] create_time
2167
+ # A timestamp indicating when the most recent deployment to the
2168
+ # deployment group started.
2169
+ # @return [Time]
2170
+ #
2171
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/LastDeploymentInfo AWS API Documentation
2172
+ #
2173
+ class LastDeploymentInfo < Struct.new(
2174
+ :deployment_id,
2175
+ :status,
2176
+ :end_time,
2177
+ :create_time)
2178
+ include Aws::Structure
2179
+ end
2180
+
2133
2181
  # Information about a deployment lifecycle event.
2134
2182
  #
2135
2183
  # @!attribute [rw] lifecycle_event_name
@@ -2176,7 +2224,7 @@ module Aws::CodeDeploy
2176
2224
  include Aws::Structure
2177
2225
  end
2178
2226
 
2179
- # Represents the input of a list application revisions operation.
2227
+ # Represents the input of a ListApplicationRevisions operation.
2180
2228
  #
2181
2229
  # @note When making an API call, you may pass ListApplicationRevisionsInput
2182
2230
  # data as a hash:
@@ -2267,7 +2315,7 @@ module Aws::CodeDeploy
2267
2315
  include Aws::Structure
2268
2316
  end
2269
2317
 
2270
- # Represents the output of a list application revisions operation.
2318
+ # Represents the output of a ListApplicationRevisions operation.
2271
2319
  #
2272
2320
  # @!attribute [rw] revisions
2273
2321
  # A list of locations that contain the matching revisions.
@@ -2288,7 +2336,7 @@ module Aws::CodeDeploy
2288
2336
  include Aws::Structure
2289
2337
  end
2290
2338
 
2291
- # Represents the input of a list applications operation.
2339
+ # Represents the input of a ListApplications operation.
2292
2340
  #
2293
2341
  # @note When making an API call, you may pass ListApplicationsInput
2294
2342
  # data as a hash:
@@ -2309,7 +2357,7 @@ module Aws::CodeDeploy
2309
2357
  include Aws::Structure
2310
2358
  end
2311
2359
 
2312
- # Represents the output of a list applications operation.
2360
+ # Represents the output of a ListApplications operation.
2313
2361
  #
2314
2362
  # @!attribute [rw] applications
2315
2363
  # A list of application names.
@@ -2330,7 +2378,7 @@ module Aws::CodeDeploy
2330
2378
  include Aws::Structure
2331
2379
  end
2332
2380
 
2333
- # Represents the input of a list deployment configurations operation.
2381
+ # Represents the input of a ListDeploymentConfigs operation.
2334
2382
  #
2335
2383
  # @note When making an API call, you may pass ListDeploymentConfigsInput
2336
2384
  # data as a hash:
@@ -2352,7 +2400,7 @@ module Aws::CodeDeploy
2352
2400
  include Aws::Structure
2353
2401
  end
2354
2402
 
2355
- # Represents the output of a list deployment configurations operation.
2403
+ # Represents the output of a ListDeploymentConfigs operation.
2356
2404
  #
2357
2405
  # @!attribute [rw] deployment_configs_list
2358
2406
  # A list of deployment configurations, including built-in
@@ -2374,7 +2422,7 @@ module Aws::CodeDeploy
2374
2422
  include Aws::Structure
2375
2423
  end
2376
2424
 
2377
- # Represents the input of a list deployment groups operation.
2425
+ # Represents the input of a ListDeploymentGroups operation.
2378
2426
  #
2379
2427
  # @note When making an API call, you may pass ListDeploymentGroupsInput
2380
2428
  # data as a hash:
@@ -2403,7 +2451,7 @@ module Aws::CodeDeploy
2403
2451
  include Aws::Structure
2404
2452
  end
2405
2453
 
2406
- # Represents the output of a list deployment groups operation.
2454
+ # Represents the output of a ListDeploymentGroups operation.
2407
2455
  #
2408
2456
  # @!attribute [rw] application_name
2409
2457
  # The application name.
@@ -2428,7 +2476,7 @@ module Aws::CodeDeploy
2428
2476
  include Aws::Structure
2429
2477
  end
2430
2478
 
2431
- # Represents the input of a list deployment instances operation.
2479
+ # Represents the input of a ListDeploymentInstances operation.
2432
2480
  #
2433
2481
  # @note When making an API call, you may pass ListDeploymentInstancesInput
2434
2482
  # data as a hash:
@@ -2485,7 +2533,7 @@ module Aws::CodeDeploy
2485
2533
  include Aws::Structure
2486
2534
  end
2487
2535
 
2488
- # Represents the output of a list deployment instances operation.
2536
+ # Represents the output of a ListDeploymentInstances operation.
2489
2537
  #
2490
2538
  # @!attribute [rw] instances_list
2491
2539
  # A list of instance IDs.
@@ -2505,7 +2553,7 @@ module Aws::CodeDeploy
2505
2553
  include Aws::Structure
2506
2554
  end
2507
2555
 
2508
- # Represents the input of a list deployments operation.
2556
+ # Represents the input of a ListDeployments operation.
2509
2557
  #
2510
2558
  # @note When making an API call, you may pass ListDeploymentsInput
2511
2559
  # data as a hash:
@@ -2569,7 +2617,7 @@ module Aws::CodeDeploy
2569
2617
  include Aws::Structure
2570
2618
  end
2571
2619
 
2572
- # Represents the output of a list deployments operation.
2620
+ # Represents the output of a ListDeployments operation.
2573
2621
  #
2574
2622
  # @!attribute [rw] deployments
2575
2623
  # A list of deployment IDs.
@@ -2589,7 +2637,48 @@ module Aws::CodeDeploy
2589
2637
  include Aws::Structure
2590
2638
  end
2591
2639
 
2592
- # Represents the input of a list on-premises instances operation.
2640
+ # Represents the input of a ListGitHubAccountTokenNames operation.
2641
+ #
2642
+ # @note When making an API call, you may pass ListGitHubAccountTokenNamesInput
2643
+ # data as a hash:
2644
+ #
2645
+ # {
2646
+ # next_token: "NextToken",
2647
+ # }
2648
+ #
2649
+ # @!attribute [rw] next_token
2650
+ # An identifier returned from the previous ListGitHubAccountTokenNames
2651
+ # call. It can be used to return the next set of names in the list.
2652
+ # @return [String]
2653
+ #
2654
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNamesInput AWS API Documentation
2655
+ #
2656
+ class ListGitHubAccountTokenNamesInput < Struct.new(
2657
+ :next_token)
2658
+ include Aws::Structure
2659
+ end
2660
+
2661
+ # Represents the output of a ListGitHubAccountTokenNames operation.
2662
+ #
2663
+ # @!attribute [rw] token_name_list
2664
+ # A list of names of connections to GitHub accounts.
2665
+ # @return [Array<String>]
2666
+ #
2667
+ # @!attribute [rw] next_token
2668
+ # If a large amount of information is returned, an identifier is also
2669
+ # returned. It can be used in a subsequent ListGitHubAccountTokenNames
2670
+ # call to return the next set of names in the list.
2671
+ # @return [String]
2672
+ #
2673
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNamesOutput AWS API Documentation
2674
+ #
2675
+ class ListGitHubAccountTokenNamesOutput < Struct.new(
2676
+ :token_name_list,
2677
+ :next_token)
2678
+ include Aws::Structure
2679
+ end
2680
+
2681
+ # Represents the input of a ListOnPremisesInstances operation.
2593
2682
  #
2594
2683
  # @note When making an API call, you may pass ListOnPremisesInstancesInput
2595
2684
  # data as a hash:
@@ -2742,7 +2831,7 @@ module Aws::CodeDeploy
2742
2831
  include Aws::Structure
2743
2832
  end
2744
2833
 
2745
- # Represents the input of a register application revision operation.
2834
+ # Represents the input of a RegisterApplicationRevision operation.
2746
2835
  #
2747
2836
  # @note When making an API call, you may pass RegisterApplicationRevisionInput
2748
2837
  # data as a hash:
@@ -2822,8 +2911,7 @@ module Aws::CodeDeploy
2822
2911
  include Aws::Structure
2823
2912
  end
2824
2913
 
2825
- # Represents the input of a remove tags from on-premises instances
2826
- # operation.
2914
+ # Represents the input of a RemoveTagsFromOnPremisesInstances operation.
2827
2915
  #
2828
2916
  # @note When making an API call, you may pass RemoveTagsFromOnPremisesInstancesInput
2829
2917
  # data as a hash:
@@ -3027,7 +3115,7 @@ module Aws::CodeDeploy
3027
3115
  include Aws::Structure
3028
3116
  end
3029
3117
 
3030
- # Represents the input of a stop deployment operation.
3118
+ # Represents the input of a StopDeployment operation.
3031
3119
  #
3032
3120
  # @note When making an API call, you may pass StopDeploymentInput
3033
3121
  # data as a hash:
@@ -3055,7 +3143,7 @@ module Aws::CodeDeploy
3055
3143
  include Aws::Structure
3056
3144
  end
3057
3145
 
3058
- # Represents the output of a stop deployment operation.
3146
+ # Represents the output of a StopDeployment operation.
3059
3147
  #
3060
3148
  # @!attribute [rw] status
3061
3149
  # The status of the stop deployment operation:
@@ -3243,7 +3331,7 @@ module Aws::CodeDeploy
3243
3331
  include Aws::Structure
3244
3332
  end
3245
3333
 
3246
- # Represents the input of an update application operation.
3334
+ # Represents the input of an UpdateApplication operation.
3247
3335
  #
3248
3336
  # @note When making an API call, you may pass UpdateApplicationInput
3249
3337
  # data as a hash:
@@ -3269,7 +3357,7 @@ module Aws::CodeDeploy
3269
3357
  include Aws::Structure
3270
3358
  end
3271
3359
 
3272
- # Represents the input of an update deployment group operation.
3360
+ # Represents the input of an UpdateDeploymentGroup operation.
3273
3361
  #
3274
3362
  # @note When making an API call, you may pass UpdateDeploymentGroupInput
3275
3363
  # data as a hash:
@@ -3437,7 +3525,7 @@ module Aws::CodeDeploy
3437
3525
  include Aws::Structure
3438
3526
  end
3439
3527
 
3440
- # Represents the output of an update deployment group operation.
3528
+ # Represents the output of an UpdateDeploymentGroup operation.
3441
3529
  #
3442
3530
  # @!attribute [rw] hooks_not_cleaned_up
3443
3531
  # If the output contains no data, and the corresponding deployment
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-codedeploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc7
4
+ version: 1.0.0.rc8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-23 00:00:00.000000000 Z
11
+ date: 2017-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0.rc12
19
+ version: 3.0.0.rc13
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0.rc12
26
+ version: 3.0.0.rc13
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sigv4
29
29
  requirement: !ruby/object:Gem::Requirement