aws-sdk-opsworks 1.0.0.rc5 → 1.0.0.rc6

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: dc7fe1358fc37b93cf77b14e1a09f75c40243525
4
- data.tar.gz: f5aef5ab6e75486c81e6770eb562b2cb67344e5a
3
+ metadata.gz: aec24a528c4f0ada63aab5ffe90f15ea1d99e124
4
+ data.tar.gz: 84a3bb8d9e48452f03cd4ef6adc7438ef171385b
5
5
  SHA512:
6
- metadata.gz: 4f2353fb3a1d23a8f6fc2fcad314552256e936e6cfd16f371f5a16f98ab061e9555cd0e6d612d976a5d06b58765c38cde98e206b9b90855bb12c6759020d934b
7
- data.tar.gz: 5a6f27b79ab8a4f2de347d400a1c17173b899799d4153554d37351a55ff85e961a3e79a1d77f1f8694db7b1ab33cf186e9691ef44a8160fd2455738b8aabf216
6
+ metadata.gz: c94fad3953a3ae2d2c47506668070082507ee08f01a5ce115a3990d06f70bbacc94510a4fc1bfc81522f72c8bdc5be22010385ff7c7e1a49582afdb4d423c824
7
+ data.tar.gz: a2ac0faf6e8ba9916b616ac0d4a531d19bffde735c18af326f42d4de661712e760cc8ba18c92b6fdf9cc8eb7b5944caa70ceefb034809a7a0b0e1804a1373e14
@@ -46,6 +46,6 @@ require_relative 'aws-sdk-opsworks/customizations'
46
46
  # @service
47
47
  module Aws::OpsWorks
48
48
 
49
- GEM_VERSION = '1.0.0.rc5'
49
+ GEM_VERSION = '1.0.0.rc6'
50
50
 
51
51
  end
@@ -280,7 +280,9 @@ module Aws::OpsWorks
280
280
  end
281
281
 
282
282
  # Attaches an Elastic Load Balancing load balancer to a specified layer.
283
- # For more information, see [Elastic Load Balancing][1].
283
+ # AWS OpsWorks Stacks does not support Application Load Balancer. You
284
+ # can only use Classic Load Balancer with AWS OpsWorks Stacks. For more
285
+ # information, see [Elastic Load Balancing][1].
284
286
  #
285
287
  # <note markdown="1"> You must create the Elastic Load Balancing instance separately, by
286
288
  # using the Elastic Load Balancing console, API, or CLI. For more
@@ -295,7 +297,7 @@ module Aws::OpsWorks
295
297
  #
296
298
  #
297
299
  #
298
- # [1]: http://docs.aws.amazon.com/opsworks/latest/userguide/load-balancer-elb.html
300
+ # [1]: http://docs.aws.amazon.com/opsworks/latest/userguide/layers-elb.html
299
301
  # [2]: http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/Welcome.html
300
302
  # [3]: http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html
301
303
  #
@@ -424,8 +426,8 @@ module Aws::OpsWorks
424
426
  # following.
425
427
  #
426
428
  # * A supported Linux operating system: An Amazon Linux version, such as
427
- # `Amazon Linux 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux
428
- # 2015.09`, or `Amazon Linux 2015.03`.
429
+ # `Amazon Linux 2017.03`, `Amazon Linux 2016.09`, `Amazon Linux
430
+ # 2016.03`, `Amazon Linux 2015.09`, or `Amazon Linux 2015.03`.
429
431
  #
430
432
  # * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
431
433
  # `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
@@ -955,8 +957,8 @@ module Aws::OpsWorks
955
957
  # following.
956
958
  #
957
959
  # * A supported Linux operating system: An Amazon Linux version, such as
958
- # `Amazon Linux 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux
959
- # 2015.09`, or `Amazon Linux 2015.03`.
960
+ # `Amazon Linux 2017.03`, `Amazon Linux 2016.09`, `Amazon Linux
961
+ # 2016.03`, `Amazon Linux 2015.09`, or `Amazon Linux 2015.03`.
960
962
  #
961
963
  # * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
962
964
  # `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
@@ -1450,8 +1452,8 @@ module Aws::OpsWorks
1450
1452
  # create the instance. You can specify one of the following.
1451
1453
  #
1452
1454
  # * A supported Linux operating system: An Amazon Linux version, such as
1453
- # `Amazon Linux 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux
1454
- # 2015.09`, or `Amazon Linux 2015.03`.
1455
+ # `Amazon Linux 2017.03`, `Amazon Linux 2016.09`, `Amazon Linux
1456
+ # 2016.03`, `Amazon Linux 2015.09`, or `Amazon Linux 2015.03`.
1455
1457
  #
1456
1458
  # * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
1457
1459
  # `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
@@ -2599,6 +2601,7 @@ module Aws::OpsWorks
2599
2601
  # resp.instances[0].agent_version #=> String
2600
2602
  # resp.instances[0].ami_id #=> String
2601
2603
  # resp.instances[0].architecture #=> String, one of "x86_64", "i386"
2604
+ # resp.instances[0].arn #=> String
2602
2605
  # resp.instances[0].auto_scaling_type #=> String, one of "load", "timer"
2603
2606
  # resp.instances[0].availability_zone #=> String
2604
2607
  # resp.instances[0].block_device_mappings #=> Array
@@ -2695,6 +2698,7 @@ module Aws::OpsWorks
2695
2698
  # @example Response structure
2696
2699
  #
2697
2700
  # resp.layers #=> Array
2701
+ # resp.layers[0].arn #=> String
2698
2702
  # resp.layers[0].stack_id #=> String
2699
2703
  # resp.layers[0].layer_id #=> String
2700
2704
  # resp.layers[0].type #=> String, one of "aws-flow-ruby", "ecs-cluster", "java-app", "lb", "web", "php-app", "rails-app", "nodejs-app", "memcached", "db-master", "monitoring-master", "custom"
@@ -3581,6 +3585,48 @@ module Aws::OpsWorks
3581
3585
  req.send_request(options)
3582
3586
  end
3583
3587
 
3588
+ # Returns a list of tags that are applied to the specified stack or
3589
+ # layer.
3590
+ #
3591
+ # @option params [required, String] :resource_arn
3592
+ # The stack or layer's Amazon Resource Number (ARN).
3593
+ #
3594
+ # @option params [Integer] :max_results
3595
+ # Do not use. A validation exception occurs if you add a `MaxResults`
3596
+ # parameter to a `ListTagsRequest` call.
3597
+ #
3598
+ # @option params [String] :next_token
3599
+ # Do not use. A validation exception occurs if you add a `NextToken`
3600
+ # parameter to a `ListTagsRequest` call.
3601
+ #
3602
+ # @return [Types::ListTagsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3603
+ #
3604
+ # * {Types::ListTagsResult#tags #tags} => Hash&lt;String,String&gt;
3605
+ # * {Types::ListTagsResult#next_token #next_token} => String
3606
+ #
3607
+ # @example Request syntax with placeholder values
3608
+ #
3609
+ # resp = client.list_tags({
3610
+ # resource_arn: "ResourceArn", # required
3611
+ # max_results: 1,
3612
+ # next_token: "NextToken",
3613
+ # })
3614
+ #
3615
+ # @example Response structure
3616
+ #
3617
+ # resp.tags #=> Hash
3618
+ # resp.tags["TagKey"] #=> String
3619
+ # resp.next_token #=> String
3620
+ #
3621
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTags AWS API Documentation
3622
+ #
3623
+ # @overload list_tags(params = {})
3624
+ # @param [Hash] params ({})
3625
+ def list_tags(params = {}, options = {})
3626
+ req = build_request(:list_tags, params)
3627
+ req.send_request(options)
3628
+ end
3629
+
3584
3630
  # Reboots a specified instance. For more information, see [Starting,
3585
3631
  # Stopping, and Rebooting Instances][1].
3586
3632
  #
@@ -4211,6 +4257,56 @@ module Aws::OpsWorks
4211
4257
  req.send_request(options)
4212
4258
  end
4213
4259
 
4260
+ # Apply cost-allocation tags to a specified stack or layer in AWS
4261
+ # OpsWorks Stacks. For more information about how tagging works, see
4262
+ # [Tags][1] in the AWS OpsWorks User Guide.
4263
+ #
4264
+ #
4265
+ #
4266
+ # [1]: http://docs.aws.amazon.com/opsworks/latest/userguide/tagging.html
4267
+ #
4268
+ # @option params [required, String] :resource_arn
4269
+ # The stack or layer's Amazon Resource Number (ARN).
4270
+ #
4271
+ # @option params [required, Hash<String,String>] :tags
4272
+ # A map that contains tag keys and tag values that are attached to a
4273
+ # stack or layer.
4274
+ #
4275
+ # * The key cannot be empty.
4276
+ #
4277
+ # * The key can be a maximum of 127 characters, and can contain only
4278
+ # Unicode letters, numbers, or separators, or the following special
4279
+ # characters: `+ - = . _ : /`
4280
+ #
4281
+ # * The value can be a maximum 255 characters, and contain only Unicode
4282
+ # letters, numbers, or separators, or the following special
4283
+ # characters: `+ - = . _ : /`
4284
+ #
4285
+ # * Leading and trailing white spaces are trimmed from both the key and
4286
+ # value.
4287
+ #
4288
+ # * A maximum of 40 tags is allowed for any resource.
4289
+ #
4290
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4291
+ #
4292
+ # @example Request syntax with placeholder values
4293
+ #
4294
+ # resp = client.tag_resource({
4295
+ # resource_arn: "ResourceArn", # required
4296
+ # tags: { # required
4297
+ # "TagKey" => "TagValue",
4298
+ # },
4299
+ # })
4300
+ #
4301
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResource AWS API Documentation
4302
+ #
4303
+ # @overload tag_resource(params = {})
4304
+ # @param [Hash] params ({})
4305
+ def tag_resource(params = {}, options = {})
4306
+ req = build_request(:tag_resource, params)
4307
+ req.send_request(options)
4308
+ end
4309
+
4214
4310
  # Unassigns a registered instance from all of it's layers. The instance
4215
4311
  # remains in the stack as an unassigned instance and can be assigned to
4216
4312
  # another layer, as needed. You cannot use this action with instances
@@ -4278,6 +4374,32 @@ module Aws::OpsWorks
4278
4374
  req.send_request(options)
4279
4375
  end
4280
4376
 
4377
+ # Removes tags from a specified stack or layer.
4378
+ #
4379
+ # @option params [required, String] :resource_arn
4380
+ # The stack or layer's Amazon Resource Number (ARN).
4381
+ #
4382
+ # @option params [required, Array<String>] :tag_keys
4383
+ # A list of the keys of tags to be removed from a stack or layer.
4384
+ #
4385
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4386
+ #
4387
+ # @example Request syntax with placeholder values
4388
+ #
4389
+ # resp = client.untag_resource({
4390
+ # resource_arn: "ResourceArn", # required
4391
+ # tag_keys: ["TagKey"], # required
4392
+ # })
4393
+ #
4394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResource AWS API Documentation
4395
+ #
4396
+ # @overload untag_resource(params = {})
4397
+ # @param [Hash] params ({})
4398
+ def untag_resource(params = {}, options = {})
4399
+ req = build_request(:untag_resource, params)
4400
+ req.send_request(options)
4401
+ end
4402
+
4281
4403
  # Updates a specified app.
4282
4404
  #
4283
4405
  # **Required Permissions**\: To use this action, an IAM user must have a
@@ -4475,8 +4597,8 @@ module Aws::OpsWorks
4475
4597
  # following. You cannot update an instance that is using a custom AMI.
4476
4598
  #
4477
4599
  # * A supported Linux operating system: An Amazon Linux version, such as
4478
- # `Amazon Linux 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux
4479
- # 2015.09`, or `Amazon Linux 2015.03`.
4600
+ # `Amazon Linux 2017.03`, `Amazon Linux 2016.09`, `Amazon Linux
4601
+ # 2016.03`, `Amazon Linux 2015.09`, or `Amazon Linux 2015.03`.
4480
4602
  #
4481
4603
  # * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
4482
4604
  # `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
@@ -4885,8 +5007,8 @@ module Aws::OpsWorks
4885
5007
  # following:
4886
5008
  #
4887
5009
  # * A supported Linux operating system: An Amazon Linux version, such as
4888
- # `Amazon Linux 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux
4889
- # 2015.09`, or `Amazon Linux 2015.03`.
5010
+ # `Amazon Linux 2017.03`, `Amazon Linux 2016.09`, `Amazon Linux
5011
+ # 2016.03`, `Amazon Linux 2015.09`, or `Amazon Linux 2015.03`.
4890
5012
  #
4891
5013
  # * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
4892
5014
  # `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
@@ -5238,7 +5360,7 @@ module Aws::OpsWorks
5238
5360
  params: params,
5239
5361
  config: config)
5240
5362
  context[:gem_name] = 'aws-sdk-opsworks'
5241
- context[:gem_version] = '1.0.0.rc5'
5363
+ context[:gem_version] = '1.0.0.rc6'
5242
5364
  Seahorse::Client::Request.new(handlers, context)
5243
5365
  end
5244
5366
 
@@ -139,9 +139,13 @@ module Aws::OpsWorks
139
139
  LayerType = Shapes::StringShape.new(name: 'LayerType')
140
140
  Layers = Shapes::ListShape.new(name: 'Layers')
141
141
  LifecycleEventConfiguration = Shapes::StructureShape.new(name: 'LifecycleEventConfiguration')
142
+ ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
143
+ ListTagsResult = Shapes::StructureShape.new(name: 'ListTagsResult')
142
144
  LoadBasedAutoScalingConfiguration = Shapes::StructureShape.new(name: 'LoadBasedAutoScalingConfiguration')
143
145
  LoadBasedAutoScalingConfigurations = Shapes::ListShape.new(name: 'LoadBasedAutoScalingConfigurations')
146
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
144
147
  Minute = Shapes::IntegerShape.new(name: 'Minute')
148
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
145
149
  Parameters = Shapes::MapShape.new(name: 'Parameters')
146
150
  Permission = Shapes::StructureShape.new(name: 'Permission')
147
151
  Permissions = Shapes::ListShape.new(name: 'Permissions')
@@ -161,6 +165,7 @@ module Aws::OpsWorks
161
165
  RegisterVolumeRequest = Shapes::StructureShape.new(name: 'RegisterVolumeRequest')
162
166
  RegisterVolumeResult = Shapes::StructureShape.new(name: 'RegisterVolumeResult')
163
167
  ReportedOs = Shapes::StructureShape.new(name: 'ReportedOs')
168
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
164
169
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
165
170
  RootDeviceType = Shapes::StringShape.new(name: 'RootDeviceType')
166
171
  SelfUserProfile = Shapes::StructureShape.new(name: 'SelfUserProfile')
@@ -186,11 +191,17 @@ module Aws::OpsWorks
186
191
  String = Shapes::StringShape.new(name: 'String')
187
192
  Strings = Shapes::ListShape.new(name: 'Strings')
188
193
  Switch = Shapes::StringShape.new(name: 'Switch')
194
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
195
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
196
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
197
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
198
+ Tags = Shapes::MapShape.new(name: 'Tags')
189
199
  TemporaryCredential = Shapes::StructureShape.new(name: 'TemporaryCredential')
190
200
  TimeBasedAutoScalingConfiguration = Shapes::StructureShape.new(name: 'TimeBasedAutoScalingConfiguration')
191
201
  TimeBasedAutoScalingConfigurations = Shapes::ListShape.new(name: 'TimeBasedAutoScalingConfigurations')
192
202
  UnassignInstanceRequest = Shapes::StructureShape.new(name: 'UnassignInstanceRequest')
193
203
  UnassignVolumeRequest = Shapes::StructureShape.new(name: 'UnassignVolumeRequest')
204
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
194
205
  UpdateAppRequest = Shapes::StructureShape.new(name: 'UpdateAppRequest')
195
206
  UpdateElasticIpRequest = Shapes::StructureShape.new(name: 'UpdateElasticIpRequest')
196
207
  UpdateInstanceRequest = Shapes::StructureShape.new(name: 'UpdateInstanceRequest')
@@ -726,6 +737,7 @@ module Aws::OpsWorks
726
737
  Instance.add_member(:agent_version, Shapes::ShapeRef.new(shape: String, location_name: "AgentVersion"))
727
738
  Instance.add_member(:ami_id, Shapes::ShapeRef.new(shape: String, location_name: "AmiId"))
728
739
  Instance.add_member(:architecture, Shapes::ShapeRef.new(shape: Architecture, location_name: "Architecture"))
740
+ Instance.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
729
741
  Instance.add_member(:auto_scaling_type, Shapes::ShapeRef.new(shape: AutoScalingType, location_name: "AutoScalingType"))
730
742
  Instance.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
731
743
  Instance.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: BlockDeviceMappings, location_name: "BlockDeviceMappings"))
@@ -792,6 +804,7 @@ module Aws::OpsWorks
792
804
  InstancesCount.add_member(:unassigning, Shapes::ShapeRef.new(shape: Integer, location_name: "Unassigning"))
793
805
  InstancesCount.struct_class = Types::InstancesCount
794
806
 
807
+ Layer.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
795
808
  Layer.add_member(:stack_id, Shapes::ShapeRef.new(shape: String, location_name: "StackId"))
796
809
  Layer.add_member(:layer_id, Shapes::ShapeRef.new(shape: String, location_name: "LayerId"))
797
810
  Layer.add_member(:type, Shapes::ShapeRef.new(shape: LayerType, location_name: "Type"))
@@ -824,6 +837,15 @@ module Aws::OpsWorks
824
837
  LifecycleEventConfiguration.add_member(:shutdown, Shapes::ShapeRef.new(shape: ShutdownEventConfiguration, location_name: "Shutdown"))
825
838
  LifecycleEventConfiguration.struct_class = Types::LifecycleEventConfiguration
826
839
 
840
+ ListTagsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
841
+ ListTagsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
842
+ ListTagsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
843
+ ListTagsRequest.struct_class = Types::ListTagsRequest
844
+
845
+ ListTagsResult.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
846
+ ListTagsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
847
+ ListTagsResult.struct_class = Types::ListTagsResult
848
+
827
849
  LoadBasedAutoScalingConfiguration.add_member(:layer_id, Shapes::ShapeRef.new(shape: String, location_name: "LayerId"))
828
850
  LoadBasedAutoScalingConfiguration.add_member(:enable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enable"))
829
851
  LoadBasedAutoScalingConfiguration.add_member(:up_scaling, Shapes::ShapeRef.new(shape: AutoScalingThresholds, location_name: "UpScaling"))
@@ -1033,6 +1055,15 @@ module Aws::OpsWorks
1033
1055
 
1034
1056
  Strings.member = Shapes::ShapeRef.new(shape: String)
1035
1057
 
1058
+ TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
1059
+
1060
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
1061
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
1062
+ TagResourceRequest.struct_class = Types::TagResourceRequest
1063
+
1064
+ Tags.key = Shapes::ShapeRef.new(shape: TagKey)
1065
+ Tags.value = Shapes::ShapeRef.new(shape: TagValue)
1066
+
1036
1067
  TemporaryCredential.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "Username"))
1037
1068
  TemporaryCredential.add_member(:password, Shapes::ShapeRef.new(shape: String, location_name: "Password"))
1038
1069
  TemporaryCredential.add_member(:valid_for_in_minutes, Shapes::ShapeRef.new(shape: Integer, location_name: "ValidForInMinutes"))
@@ -1051,6 +1082,10 @@ module Aws::OpsWorks
1051
1082
  UnassignVolumeRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "VolumeId"))
1052
1083
  UnassignVolumeRequest.struct_class = Types::UnassignVolumeRequest
1053
1084
 
1085
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
1086
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys"))
1087
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
1088
+
1054
1089
  UpdateAppRequest.add_member(:app_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AppId"))
1055
1090
  UpdateAppRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
1056
1091
  UpdateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
@@ -1661,6 +1696,16 @@ module Aws::OpsWorks
1661
1696
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1662
1697
  end)
1663
1698
 
1699
+ api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
1700
+ o.name = "ListTags"
1701
+ o.http_method = "POST"
1702
+ o.http_request_uri = "/"
1703
+ o.input = Shapes::ShapeRef.new(shape: ListTagsRequest)
1704
+ o.output = Shapes::ShapeRef.new(shape: ListTagsResult)
1705
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1706
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1707
+ end)
1708
+
1664
1709
  api.add_operation(:reboot_instance, Seahorse::Model::Operation.new.tap do |o|
1665
1710
  o.name = "RebootInstance"
1666
1711
  o.http_method = "POST"
@@ -1791,6 +1836,16 @@ module Aws::OpsWorks
1791
1836
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1792
1837
  end)
1793
1838
 
1839
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1840
+ o.name = "TagResource"
1841
+ o.http_method = "POST"
1842
+ o.http_request_uri = "/"
1843
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1844
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1845
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1846
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1847
+ end)
1848
+
1794
1849
  api.add_operation(:unassign_instance, Seahorse::Model::Operation.new.tap do |o|
1795
1850
  o.name = "UnassignInstance"
1796
1851
  o.http_method = "POST"
@@ -1811,6 +1866,16 @@ module Aws::OpsWorks
1811
1866
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1812
1867
  end)
1813
1868
 
1869
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1870
+ o.name = "UntagResource"
1871
+ o.http_method = "POST"
1872
+ o.http_request_uri = "/"
1873
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1874
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1875
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1876
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1877
+ end)
1878
+
1814
1879
  api.add_operation(:update_app, Seahorse::Model::Operation.new.tap do |o|
1815
1880
  o.name = "UpdateApp"
1816
1881
  o.http_method = "POST"
@@ -30,6 +30,11 @@ module Aws::OpsWorks
30
30
  @id
31
31
  end
32
32
 
33
+ # @return [String]
34
+ def arn
35
+ data.arn
36
+ end
37
+
33
38
  # The layer stack ID.
34
39
  # @return [String]
35
40
  def stack_id
@@ -129,8 +129,8 @@ module Aws::OpsWorks
129
129
  # create the instance. You can specify one of the following.
130
130
  #
131
131
  # * A supported Linux operating system: An Amazon Linux version, such as
132
- # `Amazon Linux 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux
133
- # 2015.09`, or `Amazon Linux 2015.03`.
132
+ # `Amazon Linux 2017.03`, `Amazon Linux 2016.09`, `Amazon Linux
133
+ # 2016.03`, `Amazon Linux 2015.09`, or `Amazon Linux 2015.03`.
134
134
  #
135
135
  # * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
136
136
  # `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
@@ -531,8 +531,8 @@ module Aws::OpsWorks
531
531
  # following.
532
532
  #
533
533
  # * A supported Linux operating system: An Amazon Linux version, such
534
- # as `Amazon Linux 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux
535
- # 2015.09`, or `Amazon Linux 2015.03`.
534
+ # as `Amazon Linux 2017.03`, `Amazon Linux 2016.09`, `Amazon Linux
535
+ # 2016.03`, `Amazon Linux 2015.09`, or `Amazon Linux 2015.03`.
536
536
  #
537
537
  # * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
538
538
  # `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
@@ -1010,25 +1010,29 @@ module Aws::OpsWorks
1010
1010
  # @!attribute [rw] type
1011
1011
  # The command type:
1012
1012
  #
1013
+ # * `configure`
1014
+ #
1013
1015
  # * `deploy`
1014
1016
  #
1017
+ # * `execute_recipes`
1018
+ #
1019
+ # * `install_dependencies`
1020
+ #
1021
+ # * `restart`
1022
+ #
1015
1023
  # * `rollback`
1016
1024
  #
1025
+ # * `setup`
1026
+ #
1017
1027
  # * `start`
1018
1028
  #
1019
1029
  # * `stop`
1020
1030
  #
1021
- # * `restart`
1022
- #
1023
1031
  # * `undeploy`
1024
1032
  #
1025
- # * `update_dependencies`
1026
- #
1027
- # * `install_dependencies`
1028
- #
1029
1033
  # * `update_custom_cookbooks`
1030
1034
  #
1031
- # * `execute_recipes`
1035
+ # * `update_dependencies`
1032
1036
  # @return [String]
1033
1037
  #
1034
1038
  # @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Command AWS API Documentation
@@ -1355,8 +1359,8 @@ module Aws::OpsWorks
1355
1359
  # following.
1356
1360
  #
1357
1361
  # * A supported Linux operating system: An Amazon Linux version, such
1358
- # as `Amazon Linux 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux
1359
- # 2015.09`, or `Amazon Linux 2015.03`.
1362
+ # as `Amazon Linux 2017.03`, `Amazon Linux 2016.09`, `Amazon Linux
1363
+ # 2016.03`, `Amazon Linux 2015.09`, or `Amazon Linux 2015.03`.
1360
1364
  #
1361
1365
  # * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
1362
1366
  # `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
@@ -1903,8 +1907,8 @@ module Aws::OpsWorks
1903
1907
  # create the instance. You can specify one of the following.
1904
1908
  #
1905
1909
  # * A supported Linux operating system: An Amazon Linux version, such
1906
- # as `Amazon Linux 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux
1907
- # 2015.09`, or `Amazon Linux 2015.03`.
1910
+ # as `Amazon Linux 2017.03`, `Amazon Linux 2016.09`, `Amazon Linux
1911
+ # 2016.03`, `Amazon Linux 2015.09`, or `Amazon Linux 2015.03`.
1908
1912
  #
1909
1913
  # * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
1910
1914
  # `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
@@ -2505,17 +2509,17 @@ module Aws::OpsWorks
2505
2509
  #
2506
2510
  # * `upgrade_os_to` - Specifies the desired Amazon Linux version for
2507
2511
  # instances whose OS you want to upgrade, such as `Amazon Linux
2508
- # 2014.09`. You must also set the `allow_reboot` argument to true.
2512
+ # 2016.09`. You must also set the `allow_reboot` argument to true.
2509
2513
  #
2510
2514
  # * `allow_reboot` - Specifies whether to allow AWS OpsWorks Stacks to
2511
2515
  # reboot the instances if necessary, after installing the updates.
2512
2516
  # This argument can be set to either `true` or `false`. The default
2513
2517
  # value is `false`.
2514
2518
  #
2515
- # For example, to upgrade an instance to Amazon Linux 2014.09, set
2519
+ # For example, to upgrade an instance to Amazon Linux 2016.09, set
2516
2520
  # `Args` to the following.
2517
2521
  #
2518
- # ` \{ "upgrade_os_to":["Amazon Linux 2014.09"],
2522
+ # ` \{ "upgrade_os_to":["Amazon Linux 2016.09"],
2519
2523
  # "allow_reboot":["true"] \} `
2520
2524
  # @return [Hash<String,Array<String>>]
2521
2525
  #
@@ -3866,6 +3870,9 @@ module Aws::OpsWorks
3866
3870
  # The instance architecture: "i386" or "x86\_64".
3867
3871
  # @return [String]
3868
3872
  #
3873
+ # @!attribute [rw] arn
3874
+ # @return [String]
3875
+ #
3869
3876
  # @!attribute [rw] auto_scaling_type
3870
3877
  # For load-based or time-based instances, the type.
3871
3878
  # @return [String]
@@ -3970,7 +3977,7 @@ module Aws::OpsWorks
3970
3977
  # @return [String]
3971
3978
  #
3972
3979
  # @!attribute [rw] private_dns
3973
- # The The instance's private DNS name.
3980
+ # The instance's private DNS name.
3974
3981
  # @return [String]
3975
3982
  #
3976
3983
  # @!attribute [rw] private_ip
@@ -4083,6 +4090,7 @@ module Aws::OpsWorks
4083
4090
  :agent_version,
4084
4091
  :ami_id,
4085
4092
  :architecture,
4093
+ :arn,
4086
4094
  :auto_scaling_type,
4087
4095
  :availability_zone,
4088
4096
  :block_device_mappings,
@@ -4261,6 +4269,9 @@ module Aws::OpsWorks
4261
4269
 
4262
4270
  # Describes a layer.
4263
4271
  #
4272
+ # @!attribute [rw] arn
4273
+ # @return [String]
4274
+ #
4264
4275
  # @!attribute [rw] stack_id
4265
4276
  # The layer stack ID.
4266
4277
  # @return [String]
@@ -4405,6 +4416,7 @@ module Aws::OpsWorks
4405
4416
  # @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Layer AWS API Documentation
4406
4417
  #
4407
4418
  class Layer < Struct.new(
4419
+ :arn,
4408
4420
  :stack_id,
4409
4421
  :layer_id,
4410
4422
  :type,
@@ -4454,6 +4466,61 @@ module Aws::OpsWorks
4454
4466
  include Aws::Structure
4455
4467
  end
4456
4468
 
4469
+ # @note When making an API call, you may pass ListTagsRequest
4470
+ # data as a hash:
4471
+ #
4472
+ # {
4473
+ # resource_arn: "ResourceArn", # required
4474
+ # max_results: 1,
4475
+ # next_token: "NextToken",
4476
+ # }
4477
+ #
4478
+ # @!attribute [rw] resource_arn
4479
+ # The stack or layer's Amazon Resource Number (ARN).
4480
+ # @return [String]
4481
+ #
4482
+ # @!attribute [rw] max_results
4483
+ # Do not use. A validation exception occurs if you add a `MaxResults`
4484
+ # parameter to a `ListTagsRequest` call.
4485
+ # @return [Integer]
4486
+ #
4487
+ # @!attribute [rw] next_token
4488
+ # Do not use. A validation exception occurs if you add a `NextToken`
4489
+ # parameter to a `ListTagsRequest` call.
4490
+ # @return [String]
4491
+ #
4492
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTagsRequest AWS API Documentation
4493
+ #
4494
+ class ListTagsRequest < Struct.new(
4495
+ :resource_arn,
4496
+ :max_results,
4497
+ :next_token)
4498
+ include Aws::Structure
4499
+ end
4500
+
4501
+ # Contains the response to a `ListTags` request.
4502
+ #
4503
+ # @!attribute [rw] tags
4504
+ # A set of key-value pairs that contain tag keys and tag values that
4505
+ # are attached to a stack or layer.
4506
+ # @return [Hash<String,String>]
4507
+ #
4508
+ # @!attribute [rw] next_token
4509
+ # If a paginated request does not return all of the remaining results,
4510
+ # this parameter is set to a token that you can assign to the request
4511
+ # object's `NextToken` parameter to get the next set of results. If
4512
+ # the previous paginated request returned all of the remaining
4513
+ # results, this parameter is set to `null`.
4514
+ # @return [String]
4515
+ #
4516
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTagsResult AWS API Documentation
4517
+ #
4518
+ class ListTagsResult < Struct.new(
4519
+ :tags,
4520
+ :next_token)
4521
+ include Aws::Structure
4522
+ end
4523
+
4457
4524
  # Describes a layer's load-based auto scaling configuration.
4458
4525
  #
4459
4526
  # @!attribute [rw] layer_id
@@ -5289,7 +5356,9 @@ module Aws::OpsWorks
5289
5356
  # @return [String]
5290
5357
  #
5291
5358
  # @!attribute [rw] url
5292
- # The source URL.
5359
+ # The source URL. The following is an example of an Amazon S3 source
5360
+ # URL:
5361
+ # `https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz`.
5293
5362
  # @return [String]
5294
5363
  #
5295
5364
  # @!attribute [rw] username
@@ -5692,6 +5761,48 @@ module Aws::OpsWorks
5692
5761
  include Aws::Structure
5693
5762
  end
5694
5763
 
5764
+ # @note When making an API call, you may pass TagResourceRequest
5765
+ # data as a hash:
5766
+ #
5767
+ # {
5768
+ # resource_arn: "ResourceArn", # required
5769
+ # tags: { # required
5770
+ # "TagKey" => "TagValue",
5771
+ # },
5772
+ # }
5773
+ #
5774
+ # @!attribute [rw] resource_arn
5775
+ # The stack or layer's Amazon Resource Number (ARN).
5776
+ # @return [String]
5777
+ #
5778
+ # @!attribute [rw] tags
5779
+ # A map that contains tag keys and tag values that are attached to a
5780
+ # stack or layer.
5781
+ #
5782
+ # * The key cannot be empty.
5783
+ #
5784
+ # * The key can be a maximum of 127 characters, and can contain only
5785
+ # Unicode letters, numbers, or separators, or the following special
5786
+ # characters: `+ - = . _ : /`
5787
+ #
5788
+ # * The value can be a maximum 255 characters, and contain only
5789
+ # Unicode letters, numbers, or separators, or the following special
5790
+ # characters: `+ - = . _ : /`
5791
+ #
5792
+ # * Leading and trailing white spaces are trimmed from both the key
5793
+ # and value.
5794
+ #
5795
+ # * A maximum of 40 tags is allowed for any resource.
5796
+ # @return [Hash<String,String>]
5797
+ #
5798
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResourceRequest AWS API Documentation
5799
+ #
5800
+ class TagResourceRequest < Struct.new(
5801
+ :resource_arn,
5802
+ :tags)
5803
+ include Aws::Structure
5804
+ end
5805
+
5695
5806
  # Contains the data needed by RDP clients such as the Microsoft Remote
5696
5807
  # Desktop Connection to log in to the instance.
5697
5808
  #
@@ -5778,6 +5889,30 @@ module Aws::OpsWorks
5778
5889
  include Aws::Structure
5779
5890
  end
5780
5891
 
5892
+ # @note When making an API call, you may pass UntagResourceRequest
5893
+ # data as a hash:
5894
+ #
5895
+ # {
5896
+ # resource_arn: "ResourceArn", # required
5897
+ # tag_keys: ["TagKey"], # required
5898
+ # }
5899
+ #
5900
+ # @!attribute [rw] resource_arn
5901
+ # The stack or layer's Amazon Resource Number (ARN).
5902
+ # @return [String]
5903
+ #
5904
+ # @!attribute [rw] tag_keys
5905
+ # A list of the keys of tags to be removed from a stack or layer.
5906
+ # @return [Array<String>]
5907
+ #
5908
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResourceRequest AWS API Documentation
5909
+ #
5910
+ class UntagResourceRequest < Struct.new(
5911
+ :resource_arn,
5912
+ :tag_keys)
5913
+ include Aws::Structure
5914
+ end
5915
+
5781
5916
  # @note When making an API call, you may pass UpdateAppRequest
5782
5917
  # data as a hash:
5783
5918
  #
@@ -5981,8 +6116,8 @@ module Aws::OpsWorks
5981
6116
  # following. You cannot update an instance that is using a custom AMI.
5982
6117
  #
5983
6118
  # * A supported Linux operating system: An Amazon Linux version, such
5984
- # as `Amazon Linux 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux
5985
- # 2015.09`, or `Amazon Linux 2015.03`.
6119
+ # as `Amazon Linux 2017.03`, `Amazon Linux 2016.09`, `Amazon Linux
6120
+ # 2016.03`, `Amazon Linux 2015.09`, or `Amazon Linux 2015.03`.
5986
6121
  #
5987
6122
  # * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
5988
6123
  # `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
@@ -6421,8 +6556,8 @@ module Aws::OpsWorks
6421
6556
  # following:
6422
6557
  #
6423
6558
  # * A supported Linux operating system: An Amazon Linux version, such
6424
- # as `Amazon Linux 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux
6425
- # 2015.09`, or `Amazon Linux 2015.03`.
6559
+ # as `Amazon Linux 2017.03`, `Amazon Linux 2016.09`, `Amazon Linux
6560
+ # 2016.03`, `Amazon Linux 2015.09`, or `Amazon Linux 2015.03`.
6426
6561
  #
6427
6562
  # * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
6428
6563
  # `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-opsworks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc5
4
+ version: 1.0.0.rc6
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