aws-sdk-opsworks 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-opsworks.rb +1 -1
- data/lib/aws-sdk-opsworks/client.rb +59 -20
- data/lib/aws-sdk-opsworks/client_api.rb +37 -0
- data/lib/aws-sdk-opsworks/resource.rb +3 -2
- data/lib/aws-sdk-opsworks/stack.rb +1 -0
- data/lib/aws-sdk-opsworks/types.rb +151 -24
- data/lib/aws-sdk-opsworks/waiters.rb +1 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d807383e42782ffd07d707583e5d5c8385a9acf
|
4
|
+
data.tar.gz: 2296d0b6ad51e1612e11e7078c5b0672fb13b831
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b68d8296b470efcb89b90a678e189c08ed0225704fa347325560764593127bf3baa475d4055bf9ed33f5ee38d843050dfbd8725743a36d87af5a058d8e619739
|
7
|
+
data.tar.gz: 3d322861dd20894b4076a74828494ced415bba6c248352772c780da655e63de6628b22616bcbf6715a0f0f2a77255657bbaff2f9739c8e220ee037191eb29de9
|
data/lib/aws-sdk-opsworks.rb
CHANGED
@@ -426,8 +426,9 @@ module Aws::OpsWorks
|
|
426
426
|
# following.
|
427
427
|
#
|
428
428
|
# * A supported Linux operating system: An Amazon Linux version, such as
|
429
|
-
# `Amazon Linux 2017.
|
430
|
-
# 2016.03`, `Amazon Linux 2015.09`, or `Amazon
|
429
|
+
# `Amazon Linux 2017.09`, `Amazon Linux 2017.03`, `Amazon Linux
|
430
|
+
# 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux 2015.09`, or `Amazon
|
431
|
+
# Linux 2015.03`.
|
431
432
|
#
|
432
433
|
# * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
|
433
434
|
# `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
|
@@ -957,8 +958,9 @@ module Aws::OpsWorks
|
|
957
958
|
# following.
|
958
959
|
#
|
959
960
|
# * A supported Linux operating system: An Amazon Linux version, such as
|
960
|
-
# `Amazon Linux 2017.
|
961
|
-
# 2016.03`, `Amazon Linux 2015.09`, or `Amazon
|
961
|
+
# `Amazon Linux 2017.09`, `Amazon Linux 2017.03`, `Amazon Linux
|
962
|
+
# 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux 2015.09`, or `Amazon
|
963
|
+
# Linux 2015.03`.
|
962
964
|
#
|
963
965
|
# * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
|
964
966
|
# `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
|
@@ -1330,6 +1332,7 @@ module Aws::OpsWorks
|
|
1330
1332
|
# size: 1, # required
|
1331
1333
|
# volume_type: "String",
|
1332
1334
|
# iops: 1,
|
1335
|
+
# encrypted: false,
|
1333
1336
|
# },
|
1334
1337
|
# ],
|
1335
1338
|
# enable_auto_healing: false,
|
@@ -1452,8 +1455,9 @@ module Aws::OpsWorks
|
|
1452
1455
|
# create the instance. You can specify one of the following.
|
1453
1456
|
#
|
1454
1457
|
# * A supported Linux operating system: An Amazon Linux version, such as
|
1455
|
-
# `Amazon Linux 2017.
|
1456
|
-
# 2016.03`, `Amazon Linux 2015.09`, or `Amazon
|
1458
|
+
# `Amazon Linux 2017.09`, `Amazon Linux 2017.03`, `Amazon Linux
|
1459
|
+
# 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux 2015.09`, or `Amazon
|
1460
|
+
# Linux 2015.03`.
|
1457
1461
|
#
|
1458
1462
|
# * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
|
1459
1463
|
# `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
|
@@ -2307,20 +2311,17 @@ module Aws::OpsWorks
|
|
2307
2311
|
# [1]: http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html
|
2308
2312
|
#
|
2309
2313
|
# @option params [String] :stack_id
|
2310
|
-
# The stack ID. If you include this parameter,
|
2311
|
-
#
|
2312
|
-
# stack.
|
2314
|
+
# The stack ID. If you include this parameter, the command returns a
|
2315
|
+
# description of the commands associated with the specified stack.
|
2313
2316
|
#
|
2314
2317
|
# @option params [String] :app_id
|
2315
|
-
# The app ID. If you include this parameter,
|
2316
|
-
#
|
2317
|
-
# app.
|
2318
|
+
# The app ID. If you include this parameter, the command returns a
|
2319
|
+
# description of the commands associated with the specified app.
|
2318
2320
|
#
|
2319
2321
|
# @option params [Array<String>] :deployment_ids
|
2320
2322
|
# An array of deployment IDs to be described. If you include this
|
2321
|
-
# parameter,
|
2322
|
-
#
|
2323
|
-
# deployment.
|
2323
|
+
# parameter, the command returns a description of the specified
|
2324
|
+
# deployments. Otherwise, it returns a description of every deployment.
|
2324
2325
|
#
|
2325
2326
|
# @return [Types::DescribeDeploymentsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2326
2327
|
#
|
@@ -2734,6 +2735,7 @@ module Aws::OpsWorks
|
|
2734
2735
|
# resp.layers[0].volume_configurations[0].size #=> Integer
|
2735
2736
|
# resp.layers[0].volume_configurations[0].volume_type #=> String
|
2736
2737
|
# resp.layers[0].volume_configurations[0].iops #=> Integer
|
2738
|
+
# resp.layers[0].volume_configurations[0].encrypted #=> Boolean
|
2737
2739
|
# resp.layers[0].enable_auto_healing #=> Boolean
|
2738
2740
|
# resp.layers[0].auto_assign_elastic_ips #=> Boolean
|
2739
2741
|
# resp.layers[0].auto_assign_public_ips #=> Boolean
|
@@ -2862,6 +2864,35 @@ module Aws::OpsWorks
|
|
2862
2864
|
req.send_request(options)
|
2863
2865
|
end
|
2864
2866
|
|
2867
|
+
# Describes the operating systems that are supported by AWS OpsWorks
|
2868
|
+
# Stacks.
|
2869
|
+
#
|
2870
|
+
# @return [Types::DescribeOperatingSystemsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2871
|
+
#
|
2872
|
+
# * {Types::DescribeOperatingSystemsResponse#operating_systems #operating_systems} => Array<Types::OperatingSystem>
|
2873
|
+
#
|
2874
|
+
# @example Response structure
|
2875
|
+
#
|
2876
|
+
# resp.operating_systems #=> Array
|
2877
|
+
# resp.operating_systems[0].name #=> String
|
2878
|
+
# resp.operating_systems[0].id #=> String
|
2879
|
+
# resp.operating_systems[0].type #=> String
|
2880
|
+
# resp.operating_systems[0].configuration_managers #=> Array
|
2881
|
+
# resp.operating_systems[0].configuration_managers[0].name #=> String
|
2882
|
+
# resp.operating_systems[0].configuration_managers[0].version #=> String
|
2883
|
+
# resp.operating_systems[0].reported_name #=> String
|
2884
|
+
# resp.operating_systems[0].reported_version #=> String
|
2885
|
+
# resp.operating_systems[0].supported #=> Boolean
|
2886
|
+
#
|
2887
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeOperatingSystems AWS API Documentation
|
2888
|
+
#
|
2889
|
+
# @overload describe_operating_systems(params = {})
|
2890
|
+
# @param [Hash] params ({})
|
2891
|
+
def describe_operating_systems(params = {}, options = {})
|
2892
|
+
req = build_request(:describe_operating_systems, params)
|
2893
|
+
req.send_request(options)
|
2894
|
+
end
|
2895
|
+
|
2865
2896
|
# Describes the permissions for a specified stack.
|
2866
2897
|
#
|
2867
2898
|
# **Required Permissions**\: To use this action, an IAM user must have a
|
@@ -3178,6 +3209,7 @@ module Aws::OpsWorks
|
|
3178
3209
|
# resp.stack_summary.instances_count.setup_failed #=> Integer
|
3179
3210
|
# resp.stack_summary.instances_count.shutting_down #=> Integer
|
3180
3211
|
# resp.stack_summary.instances_count.start_failed #=> Integer
|
3212
|
+
# resp.stack_summary.instances_count.stop_failed #=> Integer
|
3181
3213
|
# resp.stack_summary.instances_count.stopped #=> Integer
|
3182
3214
|
# resp.stack_summary.instances_count.stopping #=> Integer
|
3183
3215
|
# resp.stack_summary.instances_count.terminated #=> Integer
|
@@ -3423,6 +3455,7 @@ module Aws::OpsWorks
|
|
3423
3455
|
# resp.volumes[0].availability_zone #=> String
|
3424
3456
|
# resp.volumes[0].volume_type #=> String
|
3425
3457
|
# resp.volumes[0].iops #=> Integer
|
3458
|
+
# resp.volumes[0].encrypted #=> Boolean
|
3426
3459
|
#
|
3427
3460
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumes AWS API Documentation
|
3428
3461
|
#
|
@@ -4209,12 +4242,15 @@ module Aws::OpsWorks
|
|
4209
4242
|
# @option params [required, String] :instance_id
|
4210
4243
|
# The instance ID.
|
4211
4244
|
#
|
4245
|
+
# @option params [Boolean] :force
|
4246
|
+
#
|
4212
4247
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4213
4248
|
#
|
4214
4249
|
# @example Request syntax with placeholder values
|
4215
4250
|
#
|
4216
4251
|
# resp = client.stop_instance({
|
4217
4252
|
# instance_id: "String", # required
|
4253
|
+
# force: false,
|
4218
4254
|
# })
|
4219
4255
|
#
|
4220
4256
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstance AWS API Documentation
|
@@ -4597,8 +4633,9 @@ module Aws::OpsWorks
|
|
4597
4633
|
# following. You cannot update an instance that is using a custom AMI.
|
4598
4634
|
#
|
4599
4635
|
# * A supported Linux operating system: An Amazon Linux version, such as
|
4600
|
-
# `Amazon Linux 2017.
|
4601
|
-
# 2016.03`, `Amazon Linux 2015.09`, or `Amazon
|
4636
|
+
# `Amazon Linux 2017.09`, `Amazon Linux 2017.03`, `Amazon Linux
|
4637
|
+
# 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux 2015.09`, or `Amazon
|
4638
|
+
# Linux 2015.03`.
|
4602
4639
|
#
|
4603
4640
|
# * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
|
4604
4641
|
# `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
|
@@ -4868,6 +4905,7 @@ module Aws::OpsWorks
|
|
4868
4905
|
# size: 1, # required
|
4869
4906
|
# volume_type: "String",
|
4870
4907
|
# iops: 1,
|
4908
|
+
# encrypted: false,
|
4871
4909
|
# },
|
4872
4910
|
# ],
|
4873
4911
|
# enable_auto_healing: false,
|
@@ -5007,8 +5045,9 @@ module Aws::OpsWorks
|
|
5007
5045
|
# following:
|
5008
5046
|
#
|
5009
5047
|
# * A supported Linux operating system: An Amazon Linux version, such as
|
5010
|
-
# `Amazon Linux 2017.
|
5011
|
-
# 2016.03`, `Amazon Linux 2015.09`, or `Amazon
|
5048
|
+
# `Amazon Linux 2017.09`, `Amazon Linux 2017.03`, `Amazon Linux
|
5049
|
+
# 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux 2015.09`, or `Amazon
|
5050
|
+
# Linux 2015.03`.
|
5012
5051
|
#
|
5013
5052
|
# * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
|
5014
5053
|
# `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
|
@@ -5360,7 +5399,7 @@ module Aws::OpsWorks
|
|
5360
5399
|
params: params,
|
5361
5400
|
config: config)
|
5362
5401
|
context[:gem_name] = 'aws-sdk-opsworks'
|
5363
|
-
context[:gem_version] = '1.
|
5402
|
+
context[:gem_version] = '1.2.0'
|
5364
5403
|
Seahorse::Client::Request.new(handlers, context)
|
5365
5404
|
end
|
5366
5405
|
|
@@ -91,6 +91,7 @@ module Aws::OpsWorks
|
|
91
91
|
DescribeLoadBasedAutoScalingRequest = Shapes::StructureShape.new(name: 'DescribeLoadBasedAutoScalingRequest')
|
92
92
|
DescribeLoadBasedAutoScalingResult = Shapes::StructureShape.new(name: 'DescribeLoadBasedAutoScalingResult')
|
93
93
|
DescribeMyUserProfileResult = Shapes::StructureShape.new(name: 'DescribeMyUserProfileResult')
|
94
|
+
DescribeOperatingSystemsResponse = Shapes::StructureShape.new(name: 'DescribeOperatingSystemsResponse')
|
94
95
|
DescribePermissionsRequest = Shapes::StructureShape.new(name: 'DescribePermissionsRequest')
|
95
96
|
DescribePermissionsResult = Shapes::StructureShape.new(name: 'DescribePermissionsResult')
|
96
97
|
DescribeRaidArraysRequest = Shapes::StructureShape.new(name: 'DescribeRaidArraysRequest')
|
@@ -146,6 +147,10 @@ module Aws::OpsWorks
|
|
146
147
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
147
148
|
Minute = Shapes::IntegerShape.new(name: 'Minute')
|
148
149
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
150
|
+
OperatingSystem = Shapes::StructureShape.new(name: 'OperatingSystem')
|
151
|
+
OperatingSystemConfigurationManager = Shapes::StructureShape.new(name: 'OperatingSystemConfigurationManager')
|
152
|
+
OperatingSystemConfigurationManagers = Shapes::ListShape.new(name: 'OperatingSystemConfigurationManagers')
|
153
|
+
OperatingSystems = Shapes::ListShape.new(name: 'OperatingSystems')
|
149
154
|
Parameters = Shapes::MapShape.new(name: 'Parameters')
|
150
155
|
Permission = Shapes::StructureShape.new(name: 'Permission')
|
151
156
|
Permissions = Shapes::ListShape.new(name: 'Permissions')
|
@@ -599,6 +604,9 @@ module Aws::OpsWorks
|
|
599
604
|
DescribeMyUserProfileResult.add_member(:user_profile, Shapes::ShapeRef.new(shape: SelfUserProfile, location_name: "UserProfile"))
|
600
605
|
DescribeMyUserProfileResult.struct_class = Types::DescribeMyUserProfileResult
|
601
606
|
|
607
|
+
DescribeOperatingSystemsResponse.add_member(:operating_systems, Shapes::ShapeRef.new(shape: OperatingSystems, location_name: "OperatingSystems"))
|
608
|
+
DescribeOperatingSystemsResponse.struct_class = Types::DescribeOperatingSystemsResponse
|
609
|
+
|
602
610
|
DescribePermissionsRequest.add_member(:iam_user_arn, Shapes::ShapeRef.new(shape: String, location_name: "IamUserArn"))
|
603
611
|
DescribePermissionsRequest.add_member(:stack_id, Shapes::ShapeRef.new(shape: String, location_name: "StackId"))
|
604
612
|
DescribePermissionsRequest.struct_class = Types::DescribePermissionsRequest
|
@@ -797,6 +805,7 @@ module Aws::OpsWorks
|
|
797
805
|
InstancesCount.add_member(:setup_failed, Shapes::ShapeRef.new(shape: Integer, location_name: "SetupFailed"))
|
798
806
|
InstancesCount.add_member(:shutting_down, Shapes::ShapeRef.new(shape: Integer, location_name: "ShuttingDown"))
|
799
807
|
InstancesCount.add_member(:start_failed, Shapes::ShapeRef.new(shape: Integer, location_name: "StartFailed"))
|
808
|
+
InstancesCount.add_member(:stop_failed, Shapes::ShapeRef.new(shape: Integer, location_name: "StopFailed"))
|
800
809
|
InstancesCount.add_member(:stopped, Shapes::ShapeRef.new(shape: Integer, location_name: "Stopped"))
|
801
810
|
InstancesCount.add_member(:stopping, Shapes::ShapeRef.new(shape: Integer, location_name: "Stopping"))
|
802
811
|
InstancesCount.add_member(:terminated, Shapes::ShapeRef.new(shape: Integer, location_name: "Terminated"))
|
@@ -854,6 +863,23 @@ module Aws::OpsWorks
|
|
854
863
|
|
855
864
|
LoadBasedAutoScalingConfigurations.member = Shapes::ShapeRef.new(shape: LoadBasedAutoScalingConfiguration)
|
856
865
|
|
866
|
+
OperatingSystem.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
867
|
+
OperatingSystem.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
|
868
|
+
OperatingSystem.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
|
869
|
+
OperatingSystem.add_member(:configuration_managers, Shapes::ShapeRef.new(shape: OperatingSystemConfigurationManagers, location_name: "ConfigurationManagers"))
|
870
|
+
OperatingSystem.add_member(:reported_name, Shapes::ShapeRef.new(shape: String, location_name: "ReportedName"))
|
871
|
+
OperatingSystem.add_member(:reported_version, Shapes::ShapeRef.new(shape: String, location_name: "ReportedVersion"))
|
872
|
+
OperatingSystem.add_member(:supported, Shapes::ShapeRef.new(shape: Boolean, location_name: "Supported"))
|
873
|
+
OperatingSystem.struct_class = Types::OperatingSystem
|
874
|
+
|
875
|
+
OperatingSystemConfigurationManager.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
876
|
+
OperatingSystemConfigurationManager.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "Version"))
|
877
|
+
OperatingSystemConfigurationManager.struct_class = Types::OperatingSystemConfigurationManager
|
878
|
+
|
879
|
+
OperatingSystemConfigurationManagers.member = Shapes::ShapeRef.new(shape: OperatingSystemConfigurationManager)
|
880
|
+
|
881
|
+
OperatingSystems.member = Shapes::ShapeRef.new(shape: OperatingSystem)
|
882
|
+
|
857
883
|
Parameters.key = Shapes::ShapeRef.new(shape: String)
|
858
884
|
Parameters.value = Shapes::ShapeRef.new(shape: String)
|
859
885
|
|
@@ -1048,6 +1074,7 @@ module Aws::OpsWorks
|
|
1048
1074
|
StartStackRequest.struct_class = Types::StartStackRequest
|
1049
1075
|
|
1050
1076
|
StopInstanceRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceId"))
|
1077
|
+
StopInstanceRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
|
1051
1078
|
StopInstanceRequest.struct_class = Types::StopInstanceRequest
|
1052
1079
|
|
1053
1080
|
StopStackRequest.add_member(:stack_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "StackId"))
|
@@ -1197,6 +1224,7 @@ module Aws::OpsWorks
|
|
1197
1224
|
Volume.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
1198
1225
|
Volume.add_member(:volume_type, Shapes::ShapeRef.new(shape: String, location_name: "VolumeType"))
|
1199
1226
|
Volume.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "Iops"))
|
1227
|
+
Volume.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Encrypted"))
|
1200
1228
|
Volume.struct_class = Types::Volume
|
1201
1229
|
|
1202
1230
|
VolumeConfiguration.add_member(:mount_point, Shapes::ShapeRef.new(shape: String, required: true, location_name: "MountPoint"))
|
@@ -1205,6 +1233,7 @@ module Aws::OpsWorks
|
|
1205
1233
|
VolumeConfiguration.add_member(:size, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "Size"))
|
1206
1234
|
VolumeConfiguration.add_member(:volume_type, Shapes::ShapeRef.new(shape: String, location_name: "VolumeType"))
|
1207
1235
|
VolumeConfiguration.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "Iops"))
|
1236
|
+
VolumeConfiguration.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Encrypted"))
|
1208
1237
|
VolumeConfiguration.struct_class = Types::VolumeConfiguration
|
1209
1238
|
|
1210
1239
|
VolumeConfigurations.member = Shapes::ShapeRef.new(shape: VolumeConfiguration)
|
@@ -1557,6 +1586,14 @@ module Aws::OpsWorks
|
|
1557
1586
|
o.output = Shapes::ShapeRef.new(shape: DescribeMyUserProfileResult)
|
1558
1587
|
end)
|
1559
1588
|
|
1589
|
+
api.add_operation(:describe_operating_systems, Seahorse::Model::Operation.new.tap do |o|
|
1590
|
+
o.name = "DescribeOperatingSystems"
|
1591
|
+
o.http_method = "POST"
|
1592
|
+
o.http_request_uri = "/"
|
1593
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1594
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeOperatingSystemsResponse)
|
1595
|
+
end)
|
1596
|
+
|
1560
1597
|
api.add_operation(:describe_permissions, Seahorse::Model::Operation.new.tap do |o|
|
1561
1598
|
o.name = "DescribePermissions"
|
1562
1599
|
o.http_method = "POST"
|
@@ -129,8 +129,9 @@ 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 2017.
|
133
|
-
# 2016.03`, `Amazon Linux 2015.09`, or `Amazon
|
132
|
+
# `Amazon Linux 2017.09`, `Amazon Linux 2017.03`, `Amazon Linux
|
133
|
+
# 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux 2015.09`, or `Amazon
|
134
|
+
# Linux 2015.03`.
|
134
135
|
#
|
135
136
|
# * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
|
136
137
|
# `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
|
@@ -531,8 +531,9 @@ module Aws::OpsWorks
|
|
531
531
|
# following.
|
532
532
|
#
|
533
533
|
# * A supported Linux operating system: An Amazon Linux version, such
|
534
|
-
# as `Amazon Linux 2017.
|
535
|
-
# 2016.
|
534
|
+
# as `Amazon Linux 2017.09`, `Amazon Linux 2017.03`, `Amazon Linux
|
535
|
+
# 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux 2015.09`, or
|
536
|
+
# `Amazon Linux 2015.03`.
|
536
537
|
#
|
537
538
|
# * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
|
538
539
|
# `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
|
@@ -1359,8 +1360,9 @@ module Aws::OpsWorks
|
|
1359
1360
|
# following.
|
1360
1361
|
#
|
1361
1362
|
# * A supported Linux operating system: An Amazon Linux version, such
|
1362
|
-
# as `Amazon Linux 2017.
|
1363
|
-
# 2016.
|
1363
|
+
# as `Amazon Linux 2017.09`, `Amazon Linux 2017.03`, `Amazon Linux
|
1364
|
+
# 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux 2015.09`, or
|
1365
|
+
# `Amazon Linux 2015.03`.
|
1364
1366
|
#
|
1365
1367
|
# * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
|
1366
1368
|
# `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
|
@@ -1596,6 +1598,7 @@ module Aws::OpsWorks
|
|
1596
1598
|
# size: 1, # required
|
1597
1599
|
# volume_type: "String",
|
1598
1600
|
# iops: 1,
|
1601
|
+
# encrypted: false,
|
1599
1602
|
# },
|
1600
1603
|
# ],
|
1601
1604
|
# enable_auto_healing: false,
|
@@ -1907,8 +1910,9 @@ module Aws::OpsWorks
|
|
1907
1910
|
# create the instance. You can specify one of the following.
|
1908
1911
|
#
|
1909
1912
|
# * A supported Linux operating system: An Amazon Linux version, such
|
1910
|
-
# as `Amazon Linux 2017.
|
1911
|
-
# 2016.
|
1913
|
+
# as `Amazon Linux 2017.09`, `Amazon Linux 2017.03`, `Amazon Linux
|
1914
|
+
# 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux 2015.09`, or
|
1915
|
+
# `Amazon Linux 2015.03`.
|
1912
1916
|
#
|
1913
1917
|
# * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
|
1914
1918
|
# `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
|
@@ -2234,7 +2238,7 @@ module Aws::OpsWorks
|
|
2234
2238
|
#
|
2235
2239
|
# @!attribute [rw] type
|
2236
2240
|
# The data source's type, `AutoSelectOpsworksMysqlInstance`,
|
2237
|
-
# `OpsworksMysqlInstance`, or `
|
2241
|
+
# `OpsworksMysqlInstance`, `RdsDbInstance`, or `None`.
|
2238
2242
|
# @return [String]
|
2239
2243
|
#
|
2240
2244
|
# @!attribute [rw] arn
|
@@ -2765,21 +2769,19 @@ module Aws::OpsWorks
|
|
2765
2769
|
# }
|
2766
2770
|
#
|
2767
2771
|
# @!attribute [rw] stack_id
|
2768
|
-
# The stack ID. If you include this parameter,
|
2769
|
-
#
|
2770
|
-
# stack.
|
2772
|
+
# The stack ID. If you include this parameter, the command returns a
|
2773
|
+
# description of the commands associated with the specified stack.
|
2771
2774
|
# @return [String]
|
2772
2775
|
#
|
2773
2776
|
# @!attribute [rw] app_id
|
2774
|
-
# The app ID. If you include this parameter,
|
2775
|
-
#
|
2776
|
-
# app.
|
2777
|
+
# The app ID. If you include this parameter, the command returns a
|
2778
|
+
# description of the commands associated with the specified app.
|
2777
2779
|
# @return [String]
|
2778
2780
|
#
|
2779
2781
|
# @!attribute [rw] deployment_ids
|
2780
2782
|
# An array of deployment IDs to be described. If you include this
|
2781
|
-
# parameter,
|
2782
|
-
#
|
2783
|
+
# parameter, the command returns a description of the specified
|
2784
|
+
# deployments. Otherwise, it returns a description of every
|
2783
2785
|
# deployment.
|
2784
2786
|
# @return [Array<String>]
|
2785
2787
|
#
|
@@ -3096,6 +3098,18 @@ module Aws::OpsWorks
|
|
3096
3098
|
include Aws::Structure
|
3097
3099
|
end
|
3098
3100
|
|
3101
|
+
# The response to a `DescribeOperatingSystems` request.
|
3102
|
+
#
|
3103
|
+
# @!attribute [rw] operating_systems
|
3104
|
+
# @return [Array<Types::OperatingSystem>]
|
3105
|
+
#
|
3106
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeOperatingSystemsResponse AWS API Documentation
|
3107
|
+
#
|
3108
|
+
class DescribeOperatingSystemsResponse < Struct.new(
|
3109
|
+
:operating_systems)
|
3110
|
+
include Aws::Structure
|
3111
|
+
end
|
3112
|
+
|
3099
3113
|
# @note When making an API call, you may pass DescribePermissionsRequest
|
3100
3114
|
# data as a hash:
|
3101
3115
|
#
|
@@ -3592,7 +3606,15 @@ module Aws::OpsWorks
|
|
3592
3606
|
#
|
3593
3607
|
# @!attribute [rw] volume_type
|
3594
3608
|
# The volume type. `gp2` for General Purpose (SSD) volumes, `io1` for
|
3595
|
-
# Provisioned IOPS (SSD) volumes,
|
3609
|
+
# Provisioned IOPS (SSD) volumes, `st1` for Throughput Optimized hard
|
3610
|
+
# disk drives (HDD), `sc1` for Cold HDD,and `standard` for Magnetic
|
3611
|
+
# volumes.
|
3612
|
+
#
|
3613
|
+
# If you specify the `io1` volume type, you must also specify a value
|
3614
|
+
# for the `Iops` attribute. The maximum ratio of provisioned IOPS to
|
3615
|
+
# requested volume size (in GiB) is 50:1. AWS uses the default volume
|
3616
|
+
# size (in GiB) specified in the AMI attributes to set IOPS to 50 x
|
3617
|
+
# (volume size).
|
3596
3618
|
# @return [String]
|
3597
3619
|
#
|
3598
3620
|
# @!attribute [rw] delete_on_termination
|
@@ -4222,6 +4244,9 @@ module Aws::OpsWorks
|
|
4222
4244
|
# The number of instances with `start_failed` status.
|
4223
4245
|
# @return [Integer]
|
4224
4246
|
#
|
4247
|
+
# @!attribute [rw] stop_failed
|
4248
|
+
# @return [Integer]
|
4249
|
+
#
|
4225
4250
|
# @!attribute [rw] stopped
|
4226
4251
|
# The number of instances with `stopped` status.
|
4227
4252
|
# @return [Integer]
|
@@ -4259,6 +4284,7 @@ module Aws::OpsWorks
|
|
4259
4284
|
:setup_failed,
|
4260
4285
|
:shutting_down,
|
4261
4286
|
:start_failed,
|
4287
|
+
:stop_failed,
|
4262
4288
|
:stopped,
|
4263
4289
|
:stopping,
|
4264
4290
|
:terminated,
|
@@ -4553,6 +4579,75 @@ module Aws::OpsWorks
|
|
4553
4579
|
include Aws::Structure
|
4554
4580
|
end
|
4555
4581
|
|
4582
|
+
# Describes supported operating systems in AWS OpsWorks Stacks.
|
4583
|
+
#
|
4584
|
+
# @!attribute [rw] name
|
4585
|
+
# The name of the operating system, such as `Amazon Linux 2017.09`.
|
4586
|
+
# @return [String]
|
4587
|
+
#
|
4588
|
+
# @!attribute [rw] id
|
4589
|
+
# The ID of a supported operating system, such as `Amazon Linux
|
4590
|
+
# 2017.09`.
|
4591
|
+
# @return [String]
|
4592
|
+
#
|
4593
|
+
# @!attribute [rw] type
|
4594
|
+
# The type of a supported operating system, either `Linux` or
|
4595
|
+
# `Windows`.
|
4596
|
+
# @return [String]
|
4597
|
+
#
|
4598
|
+
# @!attribute [rw] configuration_managers
|
4599
|
+
# Supported configuration manager name and versions for an AWS
|
4600
|
+
# OpsWorks Stacks operating system.
|
4601
|
+
# @return [Array<Types::OperatingSystemConfigurationManager>]
|
4602
|
+
#
|
4603
|
+
# @!attribute [rw] reported_name
|
4604
|
+
# A short name for the operating system manufacturer.
|
4605
|
+
# @return [String]
|
4606
|
+
#
|
4607
|
+
# @!attribute [rw] reported_version
|
4608
|
+
# The version of the operating system, including the release and
|
4609
|
+
# edition, if applicable.
|
4610
|
+
# @return [String]
|
4611
|
+
#
|
4612
|
+
# @!attribute [rw] supported
|
4613
|
+
# Indicates that an operating system is not supported for new
|
4614
|
+
# instances.
|
4615
|
+
# @return [Boolean]
|
4616
|
+
#
|
4617
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/OperatingSystem AWS API Documentation
|
4618
|
+
#
|
4619
|
+
class OperatingSystem < Struct.new(
|
4620
|
+
:name,
|
4621
|
+
:id,
|
4622
|
+
:type,
|
4623
|
+
:configuration_managers,
|
4624
|
+
:reported_name,
|
4625
|
+
:reported_version,
|
4626
|
+
:supported)
|
4627
|
+
include Aws::Structure
|
4628
|
+
end
|
4629
|
+
|
4630
|
+
# A block that contains information about the configuration manager
|
4631
|
+
# (Chef) and the versions of the configuration manager that are
|
4632
|
+
# supported for an operating system.
|
4633
|
+
#
|
4634
|
+
# @!attribute [rw] name
|
4635
|
+
# The name of the configuration manager, which is Chef.
|
4636
|
+
# @return [String]
|
4637
|
+
#
|
4638
|
+
# @!attribute [rw] version
|
4639
|
+
# The versions of the configuration manager that are supported by an
|
4640
|
+
# operating system.
|
4641
|
+
# @return [String]
|
4642
|
+
#
|
4643
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/OperatingSystemConfigurationManager AWS API Documentation
|
4644
|
+
#
|
4645
|
+
class OperatingSystemConfigurationManager < Struct.new(
|
4646
|
+
:name,
|
4647
|
+
:version)
|
4648
|
+
include Aws::Structure
|
4649
|
+
end
|
4650
|
+
|
4556
4651
|
# Describes stack or user permissions.
|
4557
4652
|
#
|
4558
4653
|
# @!attribute [rw] stack_id
|
@@ -5730,16 +5825,21 @@ module Aws::OpsWorks
|
|
5730
5825
|
#
|
5731
5826
|
# {
|
5732
5827
|
# instance_id: "String", # required
|
5828
|
+
# force: false,
|
5733
5829
|
# }
|
5734
5830
|
#
|
5735
5831
|
# @!attribute [rw] instance_id
|
5736
5832
|
# The instance ID.
|
5737
5833
|
# @return [String]
|
5738
5834
|
#
|
5835
|
+
# @!attribute [rw] force
|
5836
|
+
# @return [Boolean]
|
5837
|
+
#
|
5739
5838
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstanceRequest AWS API Documentation
|
5740
5839
|
#
|
5741
5840
|
class StopInstanceRequest < Struct.new(
|
5742
|
-
:instance_id
|
5841
|
+
:instance_id,
|
5842
|
+
:force)
|
5743
5843
|
include Aws::Structure
|
5744
5844
|
end
|
5745
5845
|
|
@@ -6116,8 +6216,9 @@ module Aws::OpsWorks
|
|
6116
6216
|
# following. You cannot update an instance that is using a custom AMI.
|
6117
6217
|
#
|
6118
6218
|
# * A supported Linux operating system: An Amazon Linux version, such
|
6119
|
-
# as `Amazon Linux 2017.
|
6120
|
-
# 2016.
|
6219
|
+
# as `Amazon Linux 2017.09`, `Amazon Linux 2017.03`, `Amazon Linux
|
6220
|
+
# 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux 2015.09`, or
|
6221
|
+
# `Amazon Linux 2015.03`.
|
6121
6222
|
#
|
6122
6223
|
# * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
|
6123
6224
|
# `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
|
@@ -6273,6 +6374,7 @@ module Aws::OpsWorks
|
|
6273
6374
|
# size: 1, # required
|
6274
6375
|
# volume_type: "String",
|
6275
6376
|
# iops: 1,
|
6377
|
+
# encrypted: false,
|
6276
6378
|
# },
|
6277
6379
|
# ],
|
6278
6380
|
# enable_auto_healing: false,
|
@@ -6556,8 +6658,9 @@ module Aws::OpsWorks
|
|
6556
6658
|
# following:
|
6557
6659
|
#
|
6558
6660
|
# * A supported Linux operating system: An Amazon Linux version, such
|
6559
|
-
# as `Amazon Linux 2017.
|
6560
|
-
# 2016.
|
6661
|
+
# as `Amazon Linux 2017.09`, `Amazon Linux 2017.03`, `Amazon Linux
|
6662
|
+
# 2016.09`, `Amazon Linux 2016.03`, `Amazon Linux 2015.09`, or
|
6663
|
+
# `Amazon Linux 2015.03`.
|
6561
6664
|
#
|
6562
6665
|
# * A supported Ubuntu operating system, such as `Ubuntu 16.04 LTS`,
|
6563
6666
|
# `Ubuntu 14.04 LTS`, or `Ubuntu 12.04 LTS`.
|
@@ -6978,6 +7081,9 @@ module Aws::OpsWorks
|
|
6978
7081
|
# For PIOPS volumes, the IOPS per disk.
|
6979
7082
|
# @return [Integer]
|
6980
7083
|
#
|
7084
|
+
# @!attribute [rw] encrypted
|
7085
|
+
# @return [Boolean]
|
7086
|
+
#
|
6981
7087
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Volume AWS API Documentation
|
6982
7088
|
#
|
6983
7089
|
class Volume < Struct.new(
|
@@ -6993,7 +7099,8 @@ module Aws::OpsWorks
|
|
6993
7099
|
:region,
|
6994
7100
|
:availability_zone,
|
6995
7101
|
:volume_type,
|
6996
|
-
:iops
|
7102
|
+
:iops,
|
7103
|
+
:encrypted)
|
6997
7104
|
include Aws::Structure
|
6998
7105
|
end
|
6999
7106
|
|
@@ -7009,6 +7116,7 @@ module Aws::OpsWorks
|
|
7009
7116
|
# size: 1, # required
|
7010
7117
|
# volume_type: "String",
|
7011
7118
|
# iops: 1,
|
7119
|
+
# encrypted: false,
|
7012
7120
|
# }
|
7013
7121
|
#
|
7014
7122
|
# @!attribute [rw] mount_point
|
@@ -7032,19 +7140,37 @@ module Aws::OpsWorks
|
|
7032
7140
|
# @return [Integer]
|
7033
7141
|
#
|
7034
7142
|
# @!attribute [rw] volume_type
|
7035
|
-
# The volume type
|
7143
|
+
# The volume type. For more information, see [ Amazon EBS Volume
|
7144
|
+
# Types][1].
|
7036
7145
|
#
|
7037
7146
|
# * `standard` - Magnetic
|
7038
7147
|
#
|
7039
7148
|
# * `io1` - Provisioned IOPS (SSD)
|
7040
7149
|
#
|
7041
7150
|
# * `gp2` - General Purpose (SSD)
|
7151
|
+
#
|
7152
|
+
# * `st1` - Throughput Optimized hard disk drive (HDD)
|
7153
|
+
#
|
7154
|
+
# * `sc1` - Cold HDD
|
7155
|
+
#
|
7156
|
+
#
|
7157
|
+
#
|
7158
|
+
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
|
7042
7159
|
# @return [String]
|
7043
7160
|
#
|
7044
7161
|
# @!attribute [rw] iops
|
7045
7162
|
# For PIOPS volumes, the IOPS per disk.
|
7046
7163
|
# @return [Integer]
|
7047
7164
|
#
|
7165
|
+
# @!attribute [rw] encrypted
|
7166
|
+
# Specifies whether an Amazon EBS volume is encrypted. For more
|
7167
|
+
# information, see [Amazon EBS Encryption][1].
|
7168
|
+
#
|
7169
|
+
#
|
7170
|
+
#
|
7171
|
+
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
|
7172
|
+
# @return [Boolean]
|
7173
|
+
#
|
7048
7174
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/VolumeConfiguration AWS API Documentation
|
7049
7175
|
#
|
7050
7176
|
class VolumeConfiguration < Struct.new(
|
@@ -7053,7 +7179,8 @@ module Aws::OpsWorks
|
|
7053
7179
|
:number_of_disks,
|
7054
7180
|
:size,
|
7055
7181
|
:volume_type,
|
7056
|
-
:iops
|
7182
|
+
:iops,
|
7183
|
+
:encrypted)
|
7057
7184
|
include Aws::Structure
|
7058
7185
|
end
|
7059
7186
|
|
@@ -52,7 +52,7 @@ module Aws::OpsWorks
|
|
52
52
|
|
53
53
|
end
|
54
54
|
|
55
|
-
# Wait until a deployment has completed successfully
|
55
|
+
# Wait until a deployment has completed successfully.
|
56
56
|
class DeploymentSuccessful
|
57
57
|
|
58
58
|
# @param [Hash] options
|
@@ -294,12 +294,6 @@ module Aws::OpsWorks
|
|
294
294
|
"state" => "failure",
|
295
295
|
"argument" => "instances[].status"
|
296
296
|
},
|
297
|
-
{
|
298
|
-
"expected" => "online",
|
299
|
-
"matcher" => "pathAny",
|
300
|
-
"state" => "failure",
|
301
|
-
"argument" => "instances[].status"
|
302
|
-
},
|
303
297
|
{
|
304
298
|
"expected" => "pending",
|
305
299
|
"matcher" => "pathAny",
|
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.
|
4
|
+
version: 1.2.0
|
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:
|
11
|
+
date: 2018-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|