aws-sdk-elasticbeanstalk 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0ba8b7ea72e1cf9e0e48a9b773bbae343c7f239
4
- data.tar.gz: 85260ce97e9eb35b218c472f646aff9c93ef309b
3
+ metadata.gz: 81eb8c5d39f770aaa8f597ca7196d611c078f95d
4
+ data.tar.gz: 403c3f13ec04403bf84a61ecae574b5202e04cf0
5
5
  SHA512:
6
- metadata.gz: a4c0d63fb4f6e1da47c6e2d0fdc7f478ee5d33142bcc9b0f6f74a1bddd6c1224c57c5cf7bba03c9a9f41bfb66eaeb34fea7bafc7173fd3ccc418e76461551608
7
- data.tar.gz: 224d9a77071d230dabc2ee34774e1afb189bbbf62a4edf39d7e0b292c553bacdb437d76dc8057b1f08ead17505c751e1e6b868f6976159559c6657af19056207
6
+ metadata.gz: b83f106bebdc2fbc7a07c49fac8700999e6303abb27d3601dbe2f3306904935ff67500843c086b878d6b55e443352cfcaf80b8fe635ec99cda9bd97217bfb21c
7
+ data.tar.gz: 4ad6f02141397399e2c9d3fe48aa6563b8faf9121593034c8fac5cf69486b2b979c03e057794a06dd23008315171fcb68ddc27531f3496e95f3ac628f94d8e03
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-elasticbeanstalk/customizations'
42
42
  # @service
43
43
  module Aws::ElasticBeanstalk
44
44
 
45
- GEM_VERSION = '1.0.0.rc1'
45
+ GEM_VERSION = '1.0.0.rc2'
46
46
 
47
47
  end
@@ -341,32 +341,25 @@ module Aws
341
341
  # @option params [String] :description
342
342
  # Describes this version.
343
343
  # @option params [Types::SourceBuildInformation] :source_build_information
344
+ # Specify a commit in an AWS CodeCommit Git repository to use as the
345
+ # source code for the application version.
346
+ #
347
+ # Specify a commit in an AWS CodeCommit repository or a source bundle in
348
+ # S3 (with `SourceBundle`), but not both. If neither `SourceBundle` nor
349
+ # `SourceBuildInformation` are provided, Elastic Beanstalk uses a sample
350
+ # application.
344
351
  # @option params [Types::S3Location] :source_bundle
345
352
  # The Amazon S3 bucket and key that identify the location of the source
346
353
  # bundle for this version.
347
354
  #
348
- # If data found at the Amazon S3 location exceeds the maximum allowed
349
- # source bundle size, AWS Elastic Beanstalk returns an
350
- # `InvalidParameterValue` error. The maximum size allowed is 512 MB.
351
- #
352
- # Default: If not specified, AWS Elastic Beanstalk uses a sample
353
- # application. If only partially specified (for example, a bucket is
354
- # provided but not the key) or if no data is found at the Amazon S3
355
- # location, AWS Elastic Beanstalk returns an
356
- # `InvalidParameterCombination` error.
355
+ # Specify a source bundle in S3 or a commit in an AWS CodeCommit
356
+ # repository (with `SourceBuildInformation`), but not both. If neither
357
+ # `SourceBundle` nor `SourceBuildInformation` are provided, Elastic
358
+ # Beanstalk uses a sample application.
359
+ # @option params [Types::BuildConfiguration] :build_configuration
357
360
  # @option params [Boolean] :auto_create_application
358
- # Determines how the system behaves if the specified application for
359
- # this version does not already exist:
360
- #
361
- # * `true`\: Automatically creates the specified application for this
362
- # release if it does not already exist.
363
- #
364
- # * `false`\: Throws an `InvalidParameterValue` if the specified
365
- # application for this release does not already exist.
366
- #
367
- # Default: `false`
368
- #
369
- # Valid Values: `true` \| `false`
361
+ # Set to `true` to create an application with the specified name if it
362
+ # doesn't already exist.
370
363
  # @option params [Boolean] :process
371
364
  # Preprocesses and validates the environment manifest and configuration
372
365
  # files in the source bundle. Validating configuration files can
@@ -382,14 +375,21 @@ module Aws
382
375
  # version_label: "VersionLabel", # required
383
376
  # description: "Description",
384
377
  # source_build_information: {
385
- # source_type: "Git", # required, accepts Git
386
- # source_repository: "CodeCommit", # required, accepts CodeCommit
378
+ # source_type: "Git", # required, accepts Git, Zip
379
+ # source_repository: "CodeCommit", # required, accepts CodeCommit, S3
387
380
  # source_location: "SourceLocation", # required
388
381
  # },
389
382
  # source_bundle: {
390
383
  # s3_bucket: "S3Bucket",
391
384
  # s3_key: "S3Key",
392
385
  # },
386
+ # build_configuration: {
387
+ # artifact_name: "String",
388
+ # code_build_service_role: "NonEmptyString", # required
389
+ # compute_type: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE
390
+ # image: "NonEmptyString", # required
391
+ # timeout_in_minutes: 1,
392
+ # },
393
393
  # auto_create_application: false,
394
394
  # process: false,
395
395
  # })
@@ -398,14 +398,15 @@ module Aws
398
398
  # resp.application_version.application_name #=> String
399
399
  # resp.application_version.description #=> String
400
400
  # resp.application_version.version_label #=> String
401
- # resp.application_version.source_build_information.source_type #=> String, one of "Git"
402
- # resp.application_version.source_build_information.source_repository #=> String, one of "CodeCommit"
401
+ # resp.application_version.source_build_information.source_type #=> String, one of "Git", "Zip"
402
+ # resp.application_version.source_build_information.source_repository #=> String, one of "CodeCommit", "S3"
403
403
  # resp.application_version.source_build_information.source_location #=> String
404
+ # resp.application_version.build_arn #=> String
404
405
  # resp.application_version.source_bundle.s3_bucket #=> String
405
406
  # resp.application_version.source_bundle.s3_key #=> String
406
407
  # resp.application_version.date_created #=> Time
407
408
  # resp.application_version.date_updated #=> Time
408
- # resp.application_version.status #=> String, one of "Processed", "Unprocessed", "Failed", "Processing"
409
+ # resp.application_version.status #=> String, one of "Processed", "Unprocessed", "Failed", "Processing", "Building"
409
410
  # @overload create_application_version(params = {})
410
411
  # @param [Hash] params ({})
411
412
  def create_application_version(params = {}, options = {})
@@ -745,20 +746,13 @@ module Aws
745
746
  #
746
747
  # </note>
747
748
  # @option params [required, String] :application_name
748
- # The name of the application to delete releases from.
749
+ # The name of the application to which the version belongs.
749
750
  # @option params [required, String] :version_label
750
751
  # The label of the version to delete.
751
752
  # @option params [Boolean] :delete_source_bundle
752
- # Indicates whether to delete the associated source bundle from Amazon
753
- # S3:
754
- #
755
- # * `true`\: An attempt is made to delete the associated Amazon S3
756
- # source bundle specified at time of creation.
757
- #
758
- # * `false`\: No action is taken on the Amazon S3 source bundle
759
- # specified at time of creation.
760
- #
761
- # Valid Values: `true` \| `false`
753
+ # Set to `true` to delete the source bundle from your storage bucket.
754
+ # Otherwise, the application version is deleted only from Elastic
755
+ # Beanstalk and the source bundle remains in Amazon S3.
762
756
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
763
757
  #
764
758
  # @example Request syntax with placeholder values
@@ -828,15 +822,12 @@ module Aws
828
822
  req.send_request(options)
829
823
  end
830
824
 
831
- # Retrieve a list of application versions stored in your AWS Elastic
832
- # Beanstalk storage bucket.
825
+ # Retrieve a list of application versions.
833
826
  # @option params [String] :application_name
834
- # If specified, AWS Elastic Beanstalk restricts the returned
835
- # descriptions to only include ones that are associated with the
836
- # specified application.
827
+ # Specify an application name to show only application versions for that
828
+ # application.
837
829
  # @option params [Array<String>] :version_labels
838
- # If specified, restricts the returned descriptions to only include ones
839
- # that have the specified version labels.
830
+ # Specify a version label to show a specific application version.
840
831
  # @option params [Integer] :max_records
841
832
  # Specify a maximum number of application versions to paginate in the
842
833
  # request.
@@ -860,14 +851,15 @@ module Aws
860
851
  # resp.application_versions[0].application_name #=> String
861
852
  # resp.application_versions[0].description #=> String
862
853
  # resp.application_versions[0].version_label #=> String
863
- # resp.application_versions[0].source_build_information.source_type #=> String, one of "Git"
864
- # resp.application_versions[0].source_build_information.source_repository #=> String, one of "CodeCommit"
854
+ # resp.application_versions[0].source_build_information.source_type #=> String, one of "Git", "Zip"
855
+ # resp.application_versions[0].source_build_information.source_repository #=> String, one of "CodeCommit", "S3"
865
856
  # resp.application_versions[0].source_build_information.source_location #=> String
857
+ # resp.application_versions[0].build_arn #=> String
866
858
  # resp.application_versions[0].source_bundle.s3_bucket #=> String
867
859
  # resp.application_versions[0].source_bundle.s3_key #=> String
868
860
  # resp.application_versions[0].date_created #=> Time
869
861
  # resp.application_versions[0].date_updated #=> Time
870
- # resp.application_versions[0].status #=> String, one of "Processed", "Unprocessed", "Failed", "Processing"
862
+ # resp.application_versions[0].status #=> String, one of "Processed", "Unprocessed", "Failed", "Processing", "Building"
871
863
  # resp.next_token #=> String
872
864
  # @overload describe_application_versions(params = {})
873
865
  # @param [Hash] params ({})
@@ -1040,20 +1032,16 @@ module Aws
1040
1032
  # environment. The **DescribeEnvironmentHealth** operation is only
1041
1033
  # available with AWS Elastic Beanstalk Enhanced Health.
1042
1034
  # @option params [String] :environment_name
1043
- # Specifies the AWS Elastic Beanstalk environment name.
1035
+ # Specify the environment by name.
1044
1036
  #
1045
- # Condition: You must specify either this or an EnvironmentId, or both.
1046
- # If you do not specify either, AWS Elastic Beanstalk returns
1047
- # `MissingRequiredParameter` error.
1037
+ # You must specify either this or an EnvironmentName, or both.
1048
1038
  # @option params [String] :environment_id
1049
- # Specifies the AWS Elastic Beanstalk environment ID.
1039
+ # Specify the environment by ID.
1050
1040
  #
1051
- # Condition: You must specify either this or an EnvironmentName, or
1052
- # both. If you do not specify either, AWS Elastic Beanstalk returns
1053
- # `MissingRequiredParameter` error.
1041
+ # You must specify either this or an EnvironmentName, or both.
1054
1042
  # @option params [Array<String>] :attribute_names
1055
- # Specifies the response elements you wish to receive. If no attribute
1056
- # names are specified, AWS Elastic Beanstalk only returns the name of
1043
+ # Specify the response elements to return. To retrieve all attributes,
1044
+ # set to `All`. If no attribute names are specified, returns the name of
1057
1045
  # the environment.
1058
1046
  # @return [Types::DescribeEnvironmentHealthResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1059
1047
  #
@@ -1381,20 +1369,23 @@ module Aws
1381
1369
  req.send_request(options)
1382
1370
  end
1383
1371
 
1384
- # Returns more detailed information about the health of the specified
1385
- # instances (for example, CPU utilization, load average, and causes).
1386
- # The **DescribeInstancesHealth** operation is only available with AWS
1387
- # Elastic Beanstalk Enhanced Health.
1372
+ # Retrives detailed information about the health of instances in your
1373
+ # AWS Elastic Beanstalk. This operation requires [enhanced health
1374
+ # reporting][1].
1375
+ #
1376
+ #
1377
+ #
1378
+ # [1]: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced.html
1388
1379
  # @option params [String] :environment_name
1389
- # Specifies the AWS Elastic Beanstalk environment name.
1380
+ # Specify the AWS Elastic Beanstalk environment by name.
1390
1381
  # @option params [String] :environment_id
1391
- # Specifies the AWS Elastic Beanstalk environment ID.
1382
+ # Specify the AWS Elastic Beanstalk environment by ID.
1392
1383
  # @option params [Array<String>] :attribute_names
1393
- # Specifies the response elements you wish to receive. If no attribute
1394
- # names are specified, AWS Elastic Beanstalk only returns a list of
1395
- # instances.
1384
+ # Specifies the response elements you wish to receive. To retrieve all
1385
+ # attributes, set to `All`. If no attribute names are specified, returns
1386
+ # a list of instances.
1396
1387
  # @option params [String] :next_token
1397
- # Specifies the next token of the request.
1388
+ # Specify the pagination token returned by a previous call.
1398
1389
  # @return [Types::DescribeInstancesHealthResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1399
1390
  #
1400
1391
  # * {Types::DescribeInstancesHealthResult#instance_health_list #InstanceHealthList} => Array&lt;Types::SingleInstanceHealth&gt;
@@ -1838,7 +1829,7 @@ module Aws
1838
1829
  # If no application version is found with this label,
1839
1830
  # `UpdateApplication` returns an `InvalidParameterValue` error.
1840
1831
  # @option params [String] :description
1841
- # A new description for this release.
1832
+ # A new description for this version.
1842
1833
  # @return [Types::ApplicationVersionDescriptionMessage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1843
1834
  #
1844
1835
  # * {Types::ApplicationVersionDescriptionMessage#application_version #ApplicationVersion} => Types::ApplicationVersionDescription
@@ -1854,14 +1845,15 @@ module Aws
1854
1845
  # resp.application_version.application_name #=> String
1855
1846
  # resp.application_version.description #=> String
1856
1847
  # resp.application_version.version_label #=> String
1857
- # resp.application_version.source_build_information.source_type #=> String, one of "Git"
1858
- # resp.application_version.source_build_information.source_repository #=> String, one of "CodeCommit"
1848
+ # resp.application_version.source_build_information.source_type #=> String, one of "Git", "Zip"
1849
+ # resp.application_version.source_build_information.source_repository #=> String, one of "CodeCommit", "S3"
1859
1850
  # resp.application_version.source_build_information.source_location #=> String
1851
+ # resp.application_version.build_arn #=> String
1860
1852
  # resp.application_version.source_bundle.s3_bucket #=> String
1861
1853
  # resp.application_version.source_bundle.s3_key #=> String
1862
1854
  # resp.application_version.date_created #=> Time
1863
1855
  # resp.application_version.date_updated #=> Time
1864
- # resp.application_version.status #=> String, one of "Processed", "Unprocessed", "Failed", "Processing"
1856
+ # resp.application_version.status #=> String, one of "Processed", "Unprocessed", "Failed", "Processing", "Building"
1865
1857
  # @overload update_application_version(params = {})
1866
1858
  # @param [Hash] params ({})
1867
1859
  def update_application_version(params = {}, options = {})
@@ -2181,7 +2173,7 @@ module Aws
2181
2173
  params: params,
2182
2174
  config: config)
2183
2175
  context[:gem_name] = 'aws-sdk-elasticbeanstalk'
2184
- context[:gem_version] = '1.0.0.rc1'
2176
+ context[:gem_version] = '1.0.0.rc2'
2185
2177
  Seahorse::Client::Request.new(handlers, context)
2186
2178
  end
2187
2179
 
@@ -37,13 +37,17 @@ module Aws
37
37
  AutoScalingGroupList = Shapes::ListShape.new(name: 'AutoScalingGroupList')
38
38
  AvailableSolutionStackDetailsList = Shapes::ListShape.new(name: 'AvailableSolutionStackDetailsList')
39
39
  AvailableSolutionStackNamesList = Shapes::ListShape.new(name: 'AvailableSolutionStackNamesList')
40
+ BoxedInt = Shapes::IntegerShape.new(name: 'BoxedInt')
41
+ BuildConfiguration = Shapes::StructureShape.new(name: 'BuildConfiguration')
40
42
  CPUUtilization = Shapes::StructureShape.new(name: 'CPUUtilization')
41
43
  Cause = Shapes::StringShape.new(name: 'Cause')
42
44
  Causes = Shapes::ListShape.new(name: 'Causes')
43
45
  CheckDNSAvailabilityMessage = Shapes::StructureShape.new(name: 'CheckDNSAvailabilityMessage')
44
46
  CheckDNSAvailabilityResultMessage = Shapes::StructureShape.new(name: 'CheckDNSAvailabilityResultMessage')
45
47
  CnameAvailability = Shapes::BooleanShape.new(name: 'CnameAvailability')
48
+ CodeBuildNotInServiceRegionException = Shapes::StructureShape.new(name: 'CodeBuildNotInServiceRegionException')
46
49
  ComposeEnvironmentsMessage = Shapes::StructureShape.new(name: 'ComposeEnvironmentsMessage')
50
+ ComputeType = Shapes::StringShape.new(name: 'ComputeType')
47
51
  ConfigurationDeploymentStatus = Shapes::StringShape.new(name: 'ConfigurationDeploymentStatus')
48
52
  ConfigurationOptionDefaultValue = Shapes::StringShape.new(name: 'ConfigurationOptionDefaultValue')
49
53
  ConfigurationOptionDescription = Shapes::StructureShape.new(name: 'ConfigurationOptionDescription')
@@ -161,6 +165,7 @@ module Aws
161
165
  MaxRecords = Shapes::IntegerShape.new(name: 'MaxRecords')
162
166
  Message = Shapes::StringShape.new(name: 'Message')
163
167
  NextToken = Shapes::StringShape.new(name: 'NextToken')
168
+ NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
164
169
  NullableDouble = Shapes::FloatShape.new(name: 'NullableDouble')
165
170
  NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
166
171
  NullableLong = Shapes::IntegerShape.new(name: 'NullableLong')
@@ -271,6 +276,7 @@ module Aws
271
276
  ApplicationVersionDescription.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
272
277
  ApplicationVersionDescription.add_member(:version_label, Shapes::ShapeRef.new(shape: VersionLabel, location_name: "VersionLabel"))
273
278
  ApplicationVersionDescription.add_member(:source_build_information, Shapes::ShapeRef.new(shape: SourceBuildInformation, location_name: "SourceBuildInformation"))
279
+ ApplicationVersionDescription.add_member(:build_arn, Shapes::ShapeRef.new(shape: String, location_name: "BuildArn"))
274
280
  ApplicationVersionDescription.add_member(:source_bundle, Shapes::ShapeRef.new(shape: S3Location, location_name: "SourceBundle"))
275
281
  ApplicationVersionDescription.add_member(:date_created, Shapes::ShapeRef.new(shape: CreationDate, location_name: "DateCreated"))
276
282
  ApplicationVersionDescription.add_member(:date_updated, Shapes::ShapeRef.new(shape: UpdateDate, location_name: "DateUpdated"))
@@ -306,6 +312,13 @@ module Aws
306
312
 
307
313
  AvailableSolutionStackNamesList.member = Shapes::ShapeRef.new(shape: SolutionStackName)
308
314
 
315
+ BuildConfiguration.add_member(:artifact_name, Shapes::ShapeRef.new(shape: String, location_name: "ArtifactName"))
316
+ BuildConfiguration.add_member(:code_build_service_role, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "CodeBuildServiceRole"))
317
+ BuildConfiguration.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "ComputeType"))
318
+ BuildConfiguration.add_member(:image, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Image"))
319
+ BuildConfiguration.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: BoxedInt, location_name: "TimeoutInMinutes"))
320
+ BuildConfiguration.struct_class = Types::BuildConfiguration
321
+
309
322
  CPUUtilization.add_member(:user, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "User"))
310
323
  CPUUtilization.add_member(:nice, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "Nice"))
311
324
  CPUUtilization.add_member(:system, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "System"))
@@ -388,6 +401,7 @@ module Aws
388
401
  CreateApplicationVersionMessage.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
389
402
  CreateApplicationVersionMessage.add_member(:source_build_information, Shapes::ShapeRef.new(shape: SourceBuildInformation, location_name: "SourceBuildInformation"))
390
403
  CreateApplicationVersionMessage.add_member(:source_bundle, Shapes::ShapeRef.new(shape: S3Location, location_name: "SourceBundle"))
404
+ CreateApplicationVersionMessage.add_member(:build_configuration, Shapes::ShapeRef.new(shape: BuildConfiguration, location_name: "BuildConfiguration"))
391
405
  CreateApplicationVersionMessage.add_member(:auto_create_application, Shapes::ShapeRef.new(shape: AutoCreateApplication, location_name: "AutoCreateApplication"))
392
406
  CreateApplicationVersionMessage.add_member(:process, Shapes::ShapeRef.new(shape: ApplicationVersionProccess, location_name: "Process"))
393
407
  CreateApplicationVersionMessage.struct_class = Types::CreateApplicationVersionMessage
@@ -908,6 +922,7 @@ module Aws
908
922
  o.errors << Shapes::ShapeRef.new(shape: TooManyApplicationVersionsException)
909
923
  o.errors << Shapes::ShapeRef.new(shape: InsufficientPrivilegesException)
910
924
  o.errors << Shapes::ShapeRef.new(shape: S3LocationNotInServiceRegionException)
925
+ o.errors << Shapes::ShapeRef.new(shape: CodeBuildNotInServiceRegionException)
911
926
  end)
912
927
 
913
928
  api.add_operation(:create_configuration_template, Seahorse::Model::Operation.new.tap do |o|
@@ -84,7 +84,7 @@ module Aws
84
84
  include Aws::Structure
85
85
  end
86
86
 
87
- # Represents the application metrics for a specified environment.
87
+ # Application request metrics for an AWS Elastic Beanstalk environment.
88
88
  # @!attribute [rw] duration
89
89
  # The amount of time that the metrics cover (usually 10 seconds). For
90
90
  # example, you might have 5 requests (`request_count`) within the most
@@ -116,23 +116,29 @@ module Aws
116
116
 
117
117
  # Describes the properties of an application version.
118
118
  # @!attribute [rw] application_name
119
- # The name of the application associated with this release.
119
+ # The name of the application to which the application version
120
+ # belongs.
120
121
  # @return [String]
121
122
  #
122
123
  # @!attribute [rw] description
123
- # The description of this application version.
124
+ # The description of the application version.
124
125
  # @return [String]
125
126
  #
126
127
  # @!attribute [rw] version_label
127
- # A label uniquely identifying the version for the associated
128
- # application.
128
+ # A unique identifier for the application version.
129
129
  # @return [String]
130
130
  #
131
131
  # @!attribute [rw] source_build_information
132
+ # If the version's source code was retrieved from AWS CodeCommit, the
133
+ # location of the source code for the application version.
132
134
  # @return [Types::SourceBuildInformation]
133
135
  #
136
+ # @!attribute [rw] build_arn
137
+ # @return [String]
138
+ #
134
139
  # @!attribute [rw] source_bundle
135
- # The location where the source bundle is located for this version.
140
+ # The storage location of the application version's source bundle in
141
+ # Amazon S3.
136
142
  # @return [Types::S3Location]
137
143
  #
138
144
  # @!attribute [rw] date_created
@@ -151,6 +157,7 @@ module Aws
151
157
  :description,
152
158
  :version_label,
153
159
  :source_build_information,
160
+ :build_arn,
154
161
  :source_bundle,
155
162
  :date_created,
156
163
  :date_updated,
@@ -170,7 +177,7 @@ module Aws
170
177
 
171
178
  # Result message wrapping a list of application version descriptions.
172
179
  # @!attribute [rw] application_versions
173
- # List of `ApplicationVersionDescription` objects sorted by order of
180
+ # List of `ApplicationVersionDescription` objects sorted in order of
174
181
  # creation.
175
182
  # @return [Array<Types::ApplicationVersionDescription>]
176
183
  #
@@ -244,10 +251,40 @@ module Aws
244
251
  include Aws::Structure
245
252
  end
246
253
 
247
- # Represents CPU utilization information from the specified instance
248
- # that belongs to the AWS Elastic Beanstalk environment. Use the
249
- # `instanceId` property to specify the application instance for which
250
- # you'd like to return data.
254
+ # @note When making an API call, pass BuildConfiguration
255
+ # data as a hash:
256
+ #
257
+ # {
258
+ # artifact_name: "String",
259
+ # code_build_service_role: "NonEmptyString", # required
260
+ # compute_type: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE
261
+ # image: "NonEmptyString", # required
262
+ # timeout_in_minutes: 1,
263
+ # }
264
+ # @!attribute [rw] artifact_name
265
+ # @return [String]
266
+ #
267
+ # @!attribute [rw] code_build_service_role
268
+ # @return [String]
269
+ #
270
+ # @!attribute [rw] compute_type
271
+ # @return [String]
272
+ #
273
+ # @!attribute [rw] image
274
+ # @return [String]
275
+ #
276
+ # @!attribute [rw] timeout_in_minutes
277
+ # @return [Integer]
278
+ class BuildConfiguration < Struct.new(
279
+ :artifact_name,
280
+ :code_build_service_role,
281
+ :compute_type,
282
+ :image,
283
+ :timeout_in_minutes)
284
+ include Aws::Structure
285
+ end
286
+
287
+ # CPU utilization metrics for an instance.
251
288
  # @!attribute [rw] user
252
289
  # Percentage of time that the CPU has spent in the `User` state over
253
290
  # the last 10 seconds.
@@ -643,14 +680,21 @@ module Aws
643
680
  # version_label: "VersionLabel", # required
644
681
  # description: "Description",
645
682
  # source_build_information: {
646
- # source_type: "Git", # required, accepts Git
647
- # source_repository: "CodeCommit", # required, accepts CodeCommit
683
+ # source_type: "Git", # required, accepts Git, Zip
684
+ # source_repository: "CodeCommit", # required, accepts CodeCommit, S3
648
685
  # source_location: "SourceLocation", # required
649
686
  # },
650
687
  # source_bundle: {
651
688
  # s3_bucket: "S3Bucket",
652
689
  # s3_key: "S3Key",
653
690
  # },
691
+ # build_configuration: {
692
+ # artifact_name: "String",
693
+ # code_build_service_role: "NonEmptyString", # required
694
+ # compute_type: "BUILD_GENERAL1_SMALL", # accepts BUILD_GENERAL1_SMALL, BUILD_GENERAL1_MEDIUM, BUILD_GENERAL1_LARGE
695
+ # image: "NonEmptyString", # required
696
+ # timeout_in_minutes: 1,
697
+ # },
654
698
  # auto_create_application: false,
655
699
  # process: false,
656
700
  # }
@@ -674,36 +718,31 @@ module Aws
674
718
  # @return [String]
675
719
  #
676
720
  # @!attribute [rw] source_build_information
721
+ # Specify a commit in an AWS CodeCommit Git repository to use as the
722
+ # source code for the application version.
723
+ #
724
+ # Specify a commit in an AWS CodeCommit repository or a source bundle
725
+ # in S3 (with `SourceBundle`), but not both. If neither `SourceBundle`
726
+ # nor `SourceBuildInformation` are provided, Elastic Beanstalk uses a
727
+ # sample application.
677
728
  # @return [Types::SourceBuildInformation]
678
729
  #
679
730
  # @!attribute [rw] source_bundle
680
731
  # The Amazon S3 bucket and key that identify the location of the
681
732
  # source bundle for this version.
682
733
  #
683
- # If data found at the Amazon S3 location exceeds the maximum allowed
684
- # source bundle size, AWS Elastic Beanstalk returns an
685
- # `InvalidParameterValue` error. The maximum size allowed is 512 MB.
686
- #
687
- # Default: If not specified, AWS Elastic Beanstalk uses a sample
688
- # application. If only partially specified (for example, a bucket is
689
- # provided but not the key) or if no data is found at the Amazon S3
690
- # location, AWS Elastic Beanstalk returns an
691
- # `InvalidParameterCombination` error.
734
+ # Specify a source bundle in S3 or a commit in an AWS CodeCommit
735
+ # repository (with `SourceBuildInformation`), but not both. If neither
736
+ # `SourceBundle` nor `SourceBuildInformation` are provided, Elastic
737
+ # Beanstalk uses a sample application.
692
738
  # @return [Types::S3Location]
693
739
  #
694
- # @!attribute [rw] auto_create_application
695
- # Determines how the system behaves if the specified application for
696
- # this version does not already exist:
697
- #
698
- # * `true`\: Automatically creates the specified application for this
699
- # release if it does not already exist.
700
- #
701
- # * `false`\: Throws an `InvalidParameterValue` if the specified
702
- # application for this release does not already exist.
703
- #
704
- # Default: `false`
740
+ # @!attribute [rw] build_configuration
741
+ # @return [Types::BuildConfiguration]
705
742
  #
706
- # Valid Values: `true` \| `false`
743
+ # @!attribute [rw] auto_create_application
744
+ # Set to `true` to create an application with the specified name if it
745
+ # doesn't already exist.
707
746
  # @return [Boolean]
708
747
  #
709
748
  # @!attribute [rw] process
@@ -718,6 +757,7 @@ module Aws
718
757
  :description,
719
758
  :source_build_information,
720
759
  :source_bundle,
760
+ :build_configuration,
721
761
  :auto_create_application,
722
762
  :process)
723
763
  include Aws::Structure
@@ -1017,7 +1057,7 @@ module Aws
1017
1057
  # delete_source_bundle: false,
1018
1058
  # }
1019
1059
  # @!attribute [rw] application_name
1020
- # The name of the application to delete releases from.
1060
+ # The name of the application to which the version belongs.
1021
1061
  # @return [String]
1022
1062
  #
1023
1063
  # @!attribute [rw] version_label
@@ -1025,16 +1065,9 @@ module Aws
1025
1065
  # @return [String]
1026
1066
  #
1027
1067
  # @!attribute [rw] delete_source_bundle
1028
- # Indicates whether to delete the associated source bundle from Amazon
1029
- # S3:
1030
- #
1031
- # * `true`\: An attempt is made to delete the associated Amazon S3
1032
- # source bundle specified at time of creation.
1033
- #
1034
- # * `false`\: No action is taken on the Amazon S3 source bundle
1035
- # specified at time of creation.
1036
- #
1037
- # Valid Values: `true` \| `false`
1068
+ # Set to `true` to delete the source bundle from your storage bucket.
1069
+ # Otherwise, the application version is deleted only from Elastic
1070
+ # Beanstalk and the source bundle remains in Amazon S3.
1038
1071
  # @return [Boolean]
1039
1072
  class DeleteApplicationVersionMessage < Struct.new(
1040
1073
  :application_name,
@@ -1120,7 +1153,7 @@ module Aws
1120
1153
  include Aws::Structure
1121
1154
  end
1122
1155
 
1123
- # Result message containing a list of configuration descriptions.
1156
+ # Request to describe application versions.
1124
1157
  # @note When making an API call, pass DescribeApplicationVersionsMessage
1125
1158
  # data as a hash:
1126
1159
  #
@@ -1131,14 +1164,12 @@ module Aws
1131
1164
  # next_token: "Token",
1132
1165
  # }
1133
1166
  # @!attribute [rw] application_name
1134
- # If specified, AWS Elastic Beanstalk restricts the returned
1135
- # descriptions to only include ones that are associated with the
1136
- # specified application.
1167
+ # Specify an application name to show only application versions for
1168
+ # that application.
1137
1169
  # @return [String]
1138
1170
  #
1139
1171
  # @!attribute [rw] version_labels
1140
- # If specified, restricts the returned descriptions to only include
1141
- # ones that have the specified version labels.
1172
+ # Specify a version label to show a specific application version.
1142
1173
  # @return [Array<String>]
1143
1174
  #
1144
1175
  # @!attribute [rw] max_records
@@ -1275,25 +1306,21 @@ module Aws
1275
1306
  # attribute_names: ["Status"], # accepts Status, Color, Causes, ApplicationMetrics, InstancesHealth, All, HealthStatus, RefreshedAt
1276
1307
  # }
1277
1308
  # @!attribute [rw] environment_name
1278
- # Specifies the AWS Elastic Beanstalk environment name.
1309
+ # Specify the environment by name.
1279
1310
  #
1280
- # Condition: You must specify either this or an EnvironmentId, or
1281
- # both. If you do not specify either, AWS Elastic Beanstalk returns
1282
- # `MissingRequiredParameter` error.
1311
+ # You must specify either this or an EnvironmentName, or both.
1283
1312
  # @return [String]
1284
1313
  #
1285
1314
  # @!attribute [rw] environment_id
1286
- # Specifies the AWS Elastic Beanstalk environment ID.
1315
+ # Specify the environment by ID.
1287
1316
  #
1288
- # Condition: You must specify either this or an EnvironmentName, or
1289
- # both. If you do not specify either, AWS Elastic Beanstalk returns
1290
- # `MissingRequiredParameter` error.
1317
+ # You must specify either this or an EnvironmentName, or both.
1291
1318
  # @return [String]
1292
1319
  #
1293
1320
  # @!attribute [rw] attribute_names
1294
- # Specifies the response elements you wish to receive. If no attribute
1295
- # names are specified, AWS Elastic Beanstalk only returns the name of
1296
- # the environment.
1321
+ # Specify the response elements to return. To retrieve all attributes,
1322
+ # set to `All`. If no attribute names are specified, returns the name
1323
+ # of the environment.
1297
1324
  # @return [Array<String>]
1298
1325
  class DescribeEnvironmentHealthRequest < Struct.new(
1299
1326
  :environment_name,
@@ -1302,29 +1329,26 @@ module Aws
1302
1329
  include Aws::Structure
1303
1330
  end
1304
1331
 
1305
- # See the example below for a sample response.
1332
+ # Health details for an AWS Elastic Beanstalk environment.
1306
1333
  # @!attribute [rw] environment_name
1307
- # The AWS Elastic Beanstalk environment name.
1334
+ # The environment's name.
1308
1335
  # @return [String]
1309
1336
  #
1310
1337
  # @!attribute [rw] health_status
1311
- # Contains the response body with information about the health of the
1312
- # environment.
1313
- # @return [String]
1314
- #
1315
- # @!attribute [rw] status
1316
- # Returns the health status value of the environment. For more
1317
- # information, see [Health Colors and Statuses][1].
1338
+ # The [health status][1] of the environment. For example, `Ok`.
1318
1339
  #
1319
1340
  #
1320
1341
  #
1321
1342
  # [1]: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html
1322
1343
  # @return [String]
1323
1344
  #
1345
+ # @!attribute [rw] status
1346
+ # The environment's operational status. `Ready`, `Launching`,
1347
+ # `Updating`, `Terminating`, or `Terminated`.
1348
+ # @return [String]
1349
+ #
1324
1350
  # @!attribute [rw] color
1325
- # Returns the color indicator that tells you information about the
1326
- # health of the environment. For more information, see [Health Colors
1327
- # and Statuses][1].
1351
+ # The [health color][1] of the environment.
1328
1352
  #
1329
1353
  #
1330
1354
  #
@@ -1332,24 +1356,20 @@ module Aws
1332
1356
  # @return [String]
1333
1357
  #
1334
1358
  # @!attribute [rw] causes
1335
- # Returns potential causes for the reported status.
1359
+ # Descriptions of the data that contributed to the environment's
1360
+ # current health status.
1336
1361
  # @return [Array<String>]
1337
1362
  #
1338
1363
  # @!attribute [rw] application_metrics
1339
- # Represents the application metrics for a specified environment.
1364
+ # Application request metrics for the environment.
1340
1365
  # @return [Types::ApplicationMetrics]
1341
1366
  #
1342
1367
  # @!attribute [rw] instances_health
1343
- # Represents summary information about the health of an instance. For
1344
- # more information, see [Health Colors and Statuses][1].
1345
- #
1346
- #
1347
- #
1348
- # [1]: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-status.html
1368
+ # Summary health information for the instances in the environment.
1349
1369
  # @return [Types::InstanceHealthSummary]
1350
1370
  #
1351
1371
  # @!attribute [rw] refreshed_at
1352
- # The date and time the information was last refreshed.
1372
+ # The date and time that the health information was retrieved.
1353
1373
  # @return [Time]
1354
1374
  class DescribeEnvironmentHealthResult < Struct.new(
1355
1375
  :environment_name,
@@ -1624,7 +1644,7 @@ module Aws
1624
1644
  include Aws::Structure
1625
1645
  end
1626
1646
 
1627
- # See the example below to learn how to create a request body.
1647
+ # Parameters for a call to `DescribeInstancesHealth`.
1628
1648
  # @note When making an API call, pass DescribeInstancesHealthRequest
1629
1649
  # data as a hash:
1630
1650
  #
@@ -1635,21 +1655,21 @@ module Aws
1635
1655
  # next_token: "NextToken",
1636
1656
  # }
1637
1657
  # @!attribute [rw] environment_name
1638
- # Specifies the AWS Elastic Beanstalk environment name.
1658
+ # Specify the AWS Elastic Beanstalk environment by name.
1639
1659
  # @return [String]
1640
1660
  #
1641
1661
  # @!attribute [rw] environment_id
1642
- # Specifies the AWS Elastic Beanstalk environment ID.
1662
+ # Specify the AWS Elastic Beanstalk environment by ID.
1643
1663
  # @return [String]
1644
1664
  #
1645
1665
  # @!attribute [rw] attribute_names
1646
- # Specifies the response elements you wish to receive. If no attribute
1647
- # names are specified, AWS Elastic Beanstalk only returns a list of
1648
- # instances.
1666
+ # Specifies the response elements you wish to receive. To retrieve all
1667
+ # attributes, set to `All`. If no attribute names are specified,
1668
+ # returns a list of instances.
1649
1669
  # @return [Array<String>]
1650
1670
  #
1651
1671
  # @!attribute [rw] next_token
1652
- # Specifies the next token of the request.
1672
+ # Specify the pagination token returned by a previous call.
1653
1673
  # @return [String]
1654
1674
  class DescribeInstancesHealthRequest < Struct.new(
1655
1675
  :environment_name,
@@ -1659,18 +1679,18 @@ module Aws
1659
1679
  include Aws::Structure
1660
1680
  end
1661
1681
 
1662
- # See the example below for a sample response.
1682
+ # Detailed health information about the Amazon EC2 instances in an AWS
1683
+ # Elastic Beanstalk environment.
1663
1684
  # @!attribute [rw] instance_health_list
1664
- # Contains the response body with information about the health of the
1665
- # instance.
1685
+ # Detailed health information about each instance.
1666
1686
  # @return [Array<Types::SingleInstanceHealth>]
1667
1687
  #
1668
1688
  # @!attribute [rw] refreshed_at
1669
- # The date and time the information was last refreshed.
1689
+ # The date and time that the health information was retrieved.
1670
1690
  # @return [Time]
1671
1691
  #
1672
1692
  # @!attribute [rw] next_token
1673
- # The next token.
1693
+ # Pagination token for the next page of results, if available.
1674
1694
  # @return [String]
1675
1695
  class DescribeInstancesHealthResult < Struct.new(
1676
1696
  :instance_health_list,
@@ -2484,7 +2504,7 @@ module Aws
2484
2504
  include Aws::Structure
2485
2505
  end
2486
2506
 
2487
- # A specification of a location in Amazon S3.
2507
+ # The bucket and key of an item stored in Amazon S3.
2488
2508
  # @note When making an API call, pass S3Location
2489
2509
  # data as a hash:
2490
2510
  #
@@ -2505,10 +2525,8 @@ module Aws
2505
2525
  include Aws::Structure
2506
2526
  end
2507
2527
 
2508
- # Represents health information from the specified instance that belongs
2509
- # to the AWS Elastic Beanstalk environment. Use the `InstanceId`
2510
- # property to specify the application instance for which you'd like to
2511
- # return data.
2528
+ # Detailed health information about an Amazon EC2 instance in your
2529
+ # Elastic Beanstalk environment.
2512
2530
  # @!attribute [rw] instance_id
2513
2531
  # The ID of the Amazon EC2 instance.
2514
2532
  # @return [String]
@@ -2542,12 +2560,11 @@ module Aws
2542
2560
  # @return [Time]
2543
2561
  #
2544
2562
  # @!attribute [rw] application_metrics
2545
- # Represents the application metrics for a specified environment.
2563
+ # Request metrics from your application.
2546
2564
  # @return [Types::ApplicationMetrics]
2547
2565
  #
2548
2566
  # @!attribute [rw] system
2549
- # Represents CPU utilization and load average information for
2550
- # applications running in the specified environment.
2567
+ # Operating system metrics from the instance.
2551
2568
  # @return [Types::SystemStatus]
2552
2569
  #
2553
2570
  # @!attribute [rw] deployment
@@ -2589,21 +2606,26 @@ module Aws
2589
2606
  include Aws::Structure
2590
2607
  end
2591
2608
 
2609
+ # Location of the source code for an application version.
2592
2610
  # @note When making an API call, pass SourceBuildInformation
2593
2611
  # data as a hash:
2594
2612
  #
2595
2613
  # {
2596
- # source_type: "Git", # required, accepts Git
2597
- # source_repository: "CodeCommit", # required, accepts CodeCommit
2614
+ # source_type: "Git", # required, accepts Git, Zip
2615
+ # source_repository: "CodeCommit", # required, accepts CodeCommit, S3
2598
2616
  # source_location: "SourceLocation", # required
2599
2617
  # }
2600
2618
  # @!attribute [rw] source_type
2619
+ # The type of repository, such as `Git`.
2601
2620
  # @return [String]
2602
2621
  #
2603
2622
  # @!attribute [rw] source_repository
2623
+ # Location where the repository is stored, such as `CodeCommit`.
2604
2624
  # @return [String]
2605
2625
  #
2606
2626
  # @!attribute [rw] source_location
2627
+ # The repository name and commit ID, separated by a forward slash. For
2628
+ # example, `my-repo/265cfa0cf6af46153527f55d6503ec030551f57a`.
2607
2629
  # @return [String]
2608
2630
  class SourceBuildInformation < Struct.new(
2609
2631
  :source_type,
@@ -2720,13 +2742,9 @@ module Aws
2720
2742
  include Aws::Structure
2721
2743
  end
2722
2744
 
2723
- # Represents CPU utilization and load average information for
2724
- # applications running in the specified environment.
2745
+ # CPU utilization and load average metrics for an Amazon EC2 instance.
2725
2746
  # @!attribute [rw] cpu_utilization
2726
- # Represents CPU utilization information from the specified instance
2727
- # that belongs to the AWS Elastic Beanstalk environment. Use the
2728
- # `instanceId` property to specify the application instance for which
2729
- # you'd like to return data.
2747
+ # CPU utilization metrics for the instance.
2730
2748
  # @return [Types::CPUUtilization]
2731
2749
  #
2732
2750
  # @!attribute [rw] load_average
@@ -2882,7 +2900,7 @@ module Aws
2882
2900
  # @return [String]
2883
2901
  #
2884
2902
  # @!attribute [rw] description
2885
- # A new description for this release.
2903
+ # A new description for this version.
2886
2904
  # @return [String]
2887
2905
  class UpdateApplicationVersionMessage < Struct.new(
2888
2906
  :application_name,
@@ -3147,9 +3165,11 @@ module Aws
3147
3165
  # @return [String]
3148
3166
  #
3149
3167
  # @!attribute [rw] namespace
3168
+ # The namespace to which the option belongs.
3150
3169
  # @return [String]
3151
3170
  #
3152
3171
  # @!attribute [rw] option_name
3172
+ # The name of the option.
3153
3173
  # @return [String]
3154
3174
  class ValidationMessage < Struct.new(
3155
3175
  :message,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticbeanstalk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc1
4
+ version: 1.0.0.rc2
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: 2016-12-05 00:00:00.000000000 Z
11
+ date: 2016-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core