aws-sdk-lightsail 1.0.0 → 1.1.0

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: 0c6c985adaad0472fb0b5fbf444e0052f67fb574
4
- data.tar.gz: 0d94629e38d4f10f3a9956f7837aeb637a0771ca
3
+ metadata.gz: 37167236ec41cb84e9cae27cfcbddc46b2e170d1
4
+ data.tar.gz: 62434a27f2ffaee2d6e3434cc52d7501864b5188
5
5
  SHA512:
6
- metadata.gz: 146a54d28c311b18fa5eb4ea47d998e721b4038f6367dc5dc8aa50609c4b2e2ae204ac6414ab765f1b8da39874c3a2d4c5f0a72648c2aec9e723a2190799ffe6
7
- data.tar.gz: 62e3b7ad316e314b8e0dd4c8c4cdffab2e32f84f2e2b695446a90a9f16c4bf8822433b711a2e3a39228ac27a4e937c9bf6580510a20857f6c3c10639e312c31b
6
+ metadata.gz: 196eaf2d054d8c722ffafb7cdd362d0390ac3cb8190ab3a4885553beba07d29bf9f84f02d1c86828c3403b62a64592745bad53d6266c910daee5256cedb06121
7
+ data.tar.gz: 2be9108df46ecdf90a5ee7904bdd8a310ce49aea13303eac4813720f3743f5a3da15683515f92081acac27ad4b2a0bde19ba0f81c252e5e5b5bcb65e8f13f690
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-lightsail/customizations'
42
42
  # @service
43
43
  module Aws::Lightsail
44
44
 
45
- GEM_VERSION = '1.0.0'
45
+ GEM_VERSION = '1.1.0'
46
46
 
47
47
  end
@@ -490,7 +490,7 @@ module Aws::Lightsail
490
490
  #
491
491
  #
492
492
  #
493
- # [1]: http://lightsail.aws.amazon.com/ls/docs/getting-started/articles/pre-installed-apps
493
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/getting-started/article/compare-options-choose-lightsail-instance-image
494
494
  #
495
495
  # @option params [String] :key_pair_name
496
496
  # The name of your key pair.
@@ -1028,6 +1028,7 @@ module Aws::Lightsail
1028
1028
  # resp.blueprints[0].version_code #=> String
1029
1029
  # resp.blueprints[0].product_url #=> String
1030
1030
  # resp.blueprints[0].license_url #=> String
1031
+ # resp.blueprints[0].platform #=> String, one of "LINUX_UNIX", "WINDOWS"
1031
1032
  # resp.next_page_token #=> String
1032
1033
  #
1033
1034
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprints AWS API Documentation
@@ -1075,6 +1076,8 @@ module Aws::Lightsail
1075
1076
  # resp.bundles[0].power #=> Integer
1076
1077
  # resp.bundles[0].ram_size_in_gb #=> Float
1077
1078
  # resp.bundles[0].transfer_per_month_in_gb #=> Integer
1079
+ # resp.bundles[0].supported_platforms #=> Array
1080
+ # resp.bundles[0].supported_platforms[0] #=> String, one of "LINUX_UNIX", "WINDOWS"
1078
1081
  # resp.next_page_token #=> String
1079
1082
  #
1080
1083
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundles AWS API Documentation
@@ -1271,6 +1274,8 @@ module Aws::Lightsail
1271
1274
  # resp.access_details.expires_at #=> Time
1272
1275
  # resp.access_details.ip_address #=> String
1273
1276
  # resp.access_details.password #=> String
1277
+ # resp.access_details.password_data.ciphertext #=> String
1278
+ # resp.access_details.password_data.key_pair_name #=> String
1274
1279
  # resp.access_details.private_key #=> String
1275
1280
  # resp.access_details.protocol #=> String, one of "ssh", "rdp"
1276
1281
  # resp.access_details.instance_name #=> String
@@ -2368,7 +2373,7 @@ module Aws::Lightsail
2368
2373
  params: params,
2369
2374
  config: config)
2370
2375
  context[:gem_name] = 'aws-sdk-lightsail'
2371
- context[:gem_version] = '1.0.0'
2376
+ context[:gem_version] = '1.1.0'
2372
2377
  Seahorse::Client::Request.new(handlers, context)
2373
2378
  end
2374
2379
 
@@ -115,6 +115,8 @@ module Aws::Lightsail
115
115
  InstanceList = Shapes::ListShape.new(name: 'InstanceList')
116
116
  InstanceMetricName = Shapes::StringShape.new(name: 'InstanceMetricName')
117
117
  InstanceNetworking = Shapes::StructureShape.new(name: 'InstanceNetworking')
118
+ InstancePlatform = Shapes::StringShape.new(name: 'InstancePlatform')
119
+ InstancePlatformList = Shapes::ListShape.new(name: 'InstancePlatformList')
118
120
  InstancePortInfo = Shapes::StructureShape.new(name: 'InstancePortInfo')
119
121
  InstancePortInfoList = Shapes::ListShape.new(name: 'InstancePortInfoList')
120
122
  InstancePortState = Shapes::StructureShape.new(name: 'InstancePortState')
@@ -148,6 +150,7 @@ module Aws::Lightsail
148
150
  OperationList = Shapes::ListShape.new(name: 'OperationList')
149
151
  OperationStatus = Shapes::StringShape.new(name: 'OperationStatus')
150
152
  OperationType = Shapes::StringShape.new(name: 'OperationType')
153
+ PasswordData = Shapes::StructureShape.new(name: 'PasswordData')
151
154
  PeerVpcRequest = Shapes::StructureShape.new(name: 'PeerVpcRequest')
152
155
  PeerVpcResult = Shapes::StructureShape.new(name: 'PeerVpcResult')
153
156
  Port = Shapes::IntegerShape.new(name: 'Port')
@@ -217,6 +220,7 @@ module Aws::Lightsail
217
220
  Blueprint.add_member(:version_code, Shapes::ShapeRef.new(shape: string, location_name: "versionCode"))
218
221
  Blueprint.add_member(:product_url, Shapes::ShapeRef.new(shape: string, location_name: "productUrl"))
219
222
  Blueprint.add_member(:license_url, Shapes::ShapeRef.new(shape: string, location_name: "licenseUrl"))
223
+ Blueprint.add_member(:platform, Shapes::ShapeRef.new(shape: InstancePlatform, location_name: "platform"))
220
224
  Blueprint.struct_class = Types::Blueprint
221
225
 
222
226
  BlueprintList.member = Shapes::ShapeRef.new(shape: Blueprint)
@@ -231,6 +235,7 @@ module Aws::Lightsail
231
235
  Bundle.add_member(:power, Shapes::ShapeRef.new(shape: integer, location_name: "power"))
232
236
  Bundle.add_member(:ram_size_in_gb, Shapes::ShapeRef.new(shape: float, location_name: "ramSizeInGb"))
233
237
  Bundle.add_member(:transfer_per_month_in_gb, Shapes::ShapeRef.new(shape: integer, location_name: "transferPerMonthInGb"))
238
+ Bundle.add_member(:supported_platforms, Shapes::ShapeRef.new(shape: InstancePlatformList, location_name: "supportedPlatforms"))
234
239
  Bundle.struct_class = Types::Bundle
235
240
 
236
241
  BundleList.member = Shapes::ShapeRef.new(shape: Bundle)
@@ -557,6 +562,7 @@ module Aws::Lightsail
557
562
  InstanceAccessDetails.add_member(:expires_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "expiresAt"))
558
563
  InstanceAccessDetails.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "ipAddress"))
559
564
  InstanceAccessDetails.add_member(:password, Shapes::ShapeRef.new(shape: string, location_name: "password"))
565
+ InstanceAccessDetails.add_member(:password_data, Shapes::ShapeRef.new(shape: PasswordData, location_name: "passwordData"))
560
566
  InstanceAccessDetails.add_member(:private_key, Shapes::ShapeRef.new(shape: string, location_name: "privateKey"))
561
567
  InstanceAccessDetails.add_member(:protocol, Shapes::ShapeRef.new(shape: InstanceAccessProtocol, location_name: "protocol"))
562
568
  InstanceAccessDetails.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "instanceName"))
@@ -574,6 +580,8 @@ module Aws::Lightsail
574
580
  InstanceNetworking.add_member(:ports, Shapes::ShapeRef.new(shape: InstancePortInfoList, location_name: "ports"))
575
581
  InstanceNetworking.struct_class = Types::InstanceNetworking
576
582
 
583
+ InstancePlatformList.member = Shapes::ShapeRef.new(shape: InstancePlatform)
584
+
577
585
  InstancePortInfo.add_member(:from_port, Shapes::ShapeRef.new(shape: Port, location_name: "fromPort"))
578
586
  InstancePortInfo.add_member(:to_port, Shapes::ShapeRef.new(shape: Port, location_name: "toPort"))
579
587
  InstancePortInfo.add_member(:protocol, Shapes::ShapeRef.new(shape: NetworkProtocol, location_name: "protocol"))
@@ -669,6 +677,10 @@ module Aws::Lightsail
669
677
 
670
678
  OperationList.member = Shapes::ShapeRef.new(shape: Operation)
671
679
 
680
+ PasswordData.add_member(:ciphertext, Shapes::ShapeRef.new(shape: string, location_name: "ciphertext"))
681
+ PasswordData.add_member(:key_pair_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "keyPairName"))
682
+ PasswordData.struct_class = Types::PasswordData
683
+
672
684
  PeerVpcRequest.struct_class = Types::PeerVpcRequest
673
685
 
674
686
  PeerVpcResult.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "operation"))
@@ -123,8 +123,10 @@ module Aws::Lightsail
123
123
  # @return [Boolean]
124
124
  #
125
125
  # @!attribute [rw] min_power
126
- # The minimum machine size required to run this blueprint. `0`
127
- # indicates that the blueprint runs on all instances.
126
+ # The minimum bundle power required to run this blueprint. For
127
+ # example, you need a bundle with a power value of 500 or more to
128
+ # create an instance that uses a blueprint with a minimum power value
129
+ # of 500. `0` indicates that the blueprint runs on all instance sizes.
128
130
  # @return [Integer]
129
131
  #
130
132
  # @!attribute [rw] version
@@ -144,6 +146,11 @@ module Aws::Lightsail
144
146
  # The end-user license agreement URL for the image or blueprint.
145
147
  # @return [String]
146
148
  #
149
+ # @!attribute [rw] platform
150
+ # The operating system platform (either Linux/Unix-based or Windows
151
+ # Server-based) of the blueprint.
152
+ # @return [String]
153
+ #
147
154
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Blueprint AWS API Documentation
148
155
  #
149
156
  class Blueprint < Struct.new(
@@ -157,7 +164,8 @@ module Aws::Lightsail
157
164
  :version,
158
165
  :version_code,
159
166
  :product_url,
160
- :license_url)
167
+ :license_url,
168
+ :platform)
161
169
  include Aws::Structure
162
170
  end
163
171
 
@@ -193,7 +201,12 @@ module Aws::Lightsail
193
201
  # @return [String]
194
202
  #
195
203
  # @!attribute [rw] power
196
- # The power of the bundle (e.g., `500`).
204
+ # A numeric value that represents the power of the bundle (e.g.,
205
+ # `500`). You can use the bundle's power value in conjunction with a
206
+ # blueprint's minimum power value to determine whether the blueprint
207
+ # will run on the bundle. For example, you need a bundle with a power
208
+ # value of 500 or more to create an instance that uses a blueprint
209
+ # with a minimum power value of 500.
197
210
  # @return [Integer]
198
211
  #
199
212
  # @!attribute [rw] ram_size_in_gb
@@ -204,6 +217,13 @@ module Aws::Lightsail
204
217
  # The data transfer rate per month in GB (e.g., `2000`).
205
218
  # @return [Integer]
206
219
  #
220
+ # @!attribute [rw] supported_platforms
221
+ # The operating system platform (Linux/Unix-based or Windows
222
+ # Server-based) that the bundle supports. You can only launch a
223
+ # `WINDOWS` bundle on a blueprint that supports the `WINDOWS`
224
+ # platform. `LINUX_UNIX` blueprints require a `LINUX_UNIX` bundle.
225
+ # @return [Array<String>]
226
+ #
207
227
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Bundle AWS API Documentation
208
228
  #
209
229
  class Bundle < Struct.new(
@@ -216,7 +236,8 @@ module Aws::Lightsail
216
236
  :name,
217
237
  :power,
218
238
  :ram_size_in_gb,
219
- :transfer_per_month_in_gb)
239
+ :transfer_per_month_in_gb,
240
+ :supported_platforms)
220
241
  include Aws::Structure
221
242
  end
222
243
 
@@ -531,7 +552,7 @@ module Aws::Lightsail
531
552
  #
532
553
  #
533
554
  #
534
- # [1]: http://lightsail.aws.amazon.com/ls/docs/getting-started/articles/pre-installed-apps
555
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/getting-started/article/compare-options-choose-lightsail-instance-image
535
556
  # @return [String]
536
557
  #
537
558
  # @!attribute [rw] key_pair_name
@@ -1942,9 +1963,31 @@ module Aws::Lightsail
1942
1963
  # @return [String]
1943
1964
  #
1944
1965
  # @!attribute [rw] password
1945
- # For RDP access, the temporary password of the Amazon EC2 instance.
1966
+ # For RDP access, the password for your Amazon Lightsail instance.
1967
+ # Password will be an empty string if the password for your new
1968
+ # instance is not ready yet. When you create an instance, it can take
1969
+ # up to 15 minutes for the instance to be ready.
1970
+ #
1971
+ # <note markdown="1"> If you create an instance using any key pair other than the default
1972
+ # (`LightsailDefaultKeyPair`), `password` will always be an empty
1973
+ # string.
1974
+ #
1975
+ # If you change the Administrator password on the instance, Lightsail
1976
+ # will continue to return the original password value. When accessing
1977
+ # the instance using RDP, you need to manually enter the Administrator
1978
+ # password after changing it from the default.
1979
+ #
1980
+ # </note>
1946
1981
  # @return [String]
1947
1982
  #
1983
+ # @!attribute [rw] password_data
1984
+ # For a Windows Server-based instance, an object with the data you can
1985
+ # use to retrieve your password. This is only needed if `password` is
1986
+ # empty and the instance is not new (and therefore the password is not
1987
+ # ready yet). When you create an instance, it can take up to 15
1988
+ # minutes for the instance to be ready.
1989
+ # @return [Types::PasswordData]
1990
+ #
1948
1991
  # @!attribute [rw] private_key
1949
1992
  # For SSH access, the temporary private key. For OpenSSH clients
1950
1993
  # (e.g., command line SSH), you should save this value to `tempkey`).
@@ -1970,6 +2013,7 @@ module Aws::Lightsail
1970
2013
  :expires_at,
1971
2014
  :ip_address,
1972
2015
  :password,
2016
+ :password_data,
1973
2017
  :private_key,
1974
2018
  :protocol,
1975
2019
  :instance_name,
@@ -2472,6 +2516,47 @@ module Aws::Lightsail
2472
2516
  include Aws::Structure
2473
2517
  end
2474
2518
 
2519
+ # The password data for the Windows Server-based instance, including the
2520
+ # ciphertext and the key pair name.
2521
+ #
2522
+ # @!attribute [rw] ciphertext
2523
+ # The encrypted password. Ciphertext will be an empty string if access
2524
+ # to your new instance is not ready yet. When you create an instance,
2525
+ # it can take up to 15 minutes for the instance to be ready.
2526
+ #
2527
+ # <note markdown="1"> If you use the default key pair (`LightsailDefaultKeyPair`), the
2528
+ # decrypted password will be available in the password field.
2529
+ #
2530
+ # If you are using a custom key pair, you need to use your own means
2531
+ # of decryption.
2532
+ #
2533
+ # If you change the Administrator password on the instance, Lightsail
2534
+ # will continue to return the original ciphertext value. When
2535
+ # accessing the instance using RDP, you need to manually enter the
2536
+ # Administrator password after changing it from the default.
2537
+ #
2538
+ # </note>
2539
+ # @return [String]
2540
+ #
2541
+ # @!attribute [rw] key_pair_name
2542
+ # The name of the key pair that you used when creating your instance.
2543
+ # If no key pair name was specified when creating the instance,
2544
+ # Lightsail uses the default key pair (`LightsailDefaultKeyPair`).
2545
+ #
2546
+ # If you are using a custom key pair, you need to use your own means
2547
+ # of decrypting your password using the `ciphertext`. Lightsail
2548
+ # creates the ciphertext by encrypting your password with the public
2549
+ # key part of this key pair.
2550
+ # @return [String]
2551
+ #
2552
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PasswordData AWS API Documentation
2553
+ #
2554
+ class PasswordData < Struct.new(
2555
+ :ciphertext,
2556
+ :key_pair_name)
2557
+ include Aws::Structure
2558
+ end
2559
+
2475
2560
  # @api private
2476
2561
  #
2477
2562
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpcRequest AWS API Documentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lightsail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.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: 2017-08-29 00:00:00.000000000 Z
11
+ date: 2017-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -56,7 +56,9 @@ files:
56
56
  homepage: http://github.com/aws/aws-sdk-ruby
57
57
  licenses:
58
58
  - Apache-2.0
59
- metadata: {}
59
+ metadata:
60
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-lightsail
61
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-lightsail/CHANGELOG.md
60
62
  post_install_message:
61
63
  rdoc_options: []
62
64
  require_paths: