aws-sdk-lightsail 1.13.0 → 1.14.0

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: ea13a60f75532dfde194ede68e78cbe7ac87d19b
4
- data.tar.gz: 8d39eabdf01e76bb6d06f4fb33f5134fb8e29fed
3
+ metadata.gz: 202f51f90a6eceedc5fdfc58bebfc58b31d6c521
4
+ data.tar.gz: b489ba3bfd30368ad0ae9974e2a56adeeec0d001
5
5
  SHA512:
6
- metadata.gz: a71935f29a081f276e779dba5c8e2701b4d11f4fca0c78654ffff693102cad0e0e2679064ebef9506f2c16f6acef552e886b2f17b16bc58e863570a724758084
7
- data.tar.gz: d61c02f68873c148441b61241b4bfc07ae8b15317c3090dfd9f1ad29c7f7eec09ab14b735d87a4d5bc96fc26102c3ab536a7c5a2b439774de2e725a496e0e689
6
+ metadata.gz: 6b81736384439e843c59b66e7748236c2e7707a73d709915355acfa09d0ccaf0ca4998db47ace79dbfbb37459570d27bb0a588d36b8b02cc0a71f8cd64290a2f
7
+ data.tar.gz: 63157462b5d0ed48973fadb59850cf5a58644811cec3d1d7962a3d7f347ecbba362bc3de2d126f3c8cbd1100a9ec9d606f28adaff0880ab4c37f00259c878804
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-lightsail/customizations'
42
42
  # @service
43
43
  module Aws::Lightsail
44
44
 
45
- GEM_VERSION = '1.13.0'
45
+ GEM_VERSION = '1.14.0'
46
46
 
47
47
  end
@@ -623,7 +623,7 @@ module Aws::Lightsail
623
623
  # {
624
624
  # source_name: "ResourceName", # required
625
625
  # instance_type: "NonEmptyString", # required
626
- # port_info_source: "DEFAULT", # required, accepts DEFAULT, INSTANCE, NONE
626
+ # port_info_source: "DEFAULT", # required, accepts DEFAULT, INSTANCE, NONE, CLOSED
627
627
  # user_data: "string",
628
628
  # availability_zone: "string", # required
629
629
  # },
@@ -835,6 +835,16 @@ module Aws::Lightsail
835
835
  # You may remount and use your disk while the snapshot status is
836
836
  # pending.
837
837
  #
838
+ # You can also use this operation to create a snapshot of an instance's
839
+ # system volume. You might want to do this, for example, to recover data
840
+ # from the system volume of a botched instance or to create a backup of
841
+ # the system volume like you would for a block storage disk. To create a
842
+ # snapshot of a system volume, just define the `instance name` parameter
843
+ # when issuing the snapshot command, and a snapshot of the defined
844
+ # instance's system volume will be created. After the snapshot is
845
+ # available, you can create a block storage disk from the snapshot and
846
+ # attach it to a running instance to access the data on the disk.
847
+ #
838
848
  # The `create disk snapshot` operation supports tag-based access control
839
849
  # via request tags. For more information, see the [Lightsail Dev
840
850
  # Guide][1].
@@ -843,13 +853,30 @@ module Aws::Lightsail
843
853
  #
844
854
  # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags
845
855
  #
846
- # @option params [required, String] :disk_name
847
- # The unique name of the source disk (e.g., `my-source-disk`).
856
+ # @option params [String] :disk_name
857
+ # The unique name of the source disk (e.g., `Disk-Virginia-1`).
858
+ #
859
+ # <note markdown="1"> This parameter cannot be defined together with the `instance name`
860
+ # parameter. The `disk name` and `instance name` parameters are mutually
861
+ # exclusive.
862
+ #
863
+ # </note>
848
864
  #
849
865
  # @option params [required, String] :disk_snapshot_name
850
866
  # The name of the destination disk snapshot (e.g., `my-disk-snapshot`)
851
867
  # based on the source disk.
852
868
  #
869
+ # @option params [String] :instance_name
870
+ # The unique name of the source instance (e.g.,
871
+ # `Amazon_Linux-512MB-Virginia-1`). When this is defined, a snapshot of
872
+ # the instance's system volume is created.
873
+ #
874
+ # <note markdown="1"> This parameter cannot be defined together with the `disk name`
875
+ # parameter. The `instance name` and `disk name` parameters are mutually
876
+ # exclusive.
877
+ #
878
+ # </note>
879
+ #
853
880
  # @option params [Array<Types::Tag>] :tags
854
881
  # The tag keys and optional values to add to the resource during create.
855
882
  #
@@ -863,8 +890,9 @@ module Aws::Lightsail
863
890
  # @example Request syntax with placeholder values
864
891
  #
865
892
  # resp = client.create_disk_snapshot({
866
- # disk_name: "ResourceName", # required
893
+ # disk_name: "ResourceName",
867
894
  # disk_snapshot_name: "ResourceName", # required
895
+ # instance_name: "ResourceName",
868
896
  # tags: [
869
897
  # {
870
898
  # key: "TagKey",
@@ -2797,7 +2825,7 @@ module Aws::Lightsail
2797
2825
  req.send_request(options)
2798
2826
  end
2799
2827
 
2800
- # Exports a Amazon Lightsail instance or block storage disk snapshot to
2828
+ # Exports an Amazon Lightsail instance or block storage disk snapshot to
2801
2829
  # Amazon Elastic Compute Cloud (Amazon EC2). This operation results in
2802
2830
  # an export snapshot record that can be used with the `create cloud
2803
2831
  # formation stack` operation to create new Amazon EC2 instances.
@@ -3124,6 +3152,8 @@ module Aws::Lightsail
3124
3152
  # resp.disk_snapshot.progress #=> String
3125
3153
  # resp.disk_snapshot.from_disk_name #=> String
3126
3154
  # resp.disk_snapshot.from_disk_arn #=> String
3155
+ # resp.disk_snapshot.from_instance_name #=> String
3156
+ # resp.disk_snapshot.from_instance_arn #=> String
3127
3157
  #
3128
3158
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshot AWS API Documentation
3129
3159
  #
@@ -3174,6 +3204,8 @@ module Aws::Lightsail
3174
3204
  # resp.disk_snapshots[0].progress #=> String
3175
3205
  # resp.disk_snapshots[0].from_disk_name #=> String
3176
3206
  # resp.disk_snapshots[0].from_disk_arn #=> String
3207
+ # resp.disk_snapshots[0].from_instance_name #=> String
3208
+ # resp.disk_snapshots[0].from_instance_arn #=> String
3177
3209
  # resp.next_page_token #=> String
3178
3210
  #
3179
3211
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshots AWS API Documentation
@@ -5430,10 +5462,7 @@ module Aws::Lightsail
5430
5462
  req.send_request(options)
5431
5463
  end
5432
5464
 
5433
- # Restarts a specific instance. When your Amazon Lightsail instance is
5434
- # finished rebooting, Lightsail assigns a new public IP address. To use
5435
- # the same IP address after restarting, create a static IP address and
5436
- # attach it to the instance.
5465
+ # Restarts a specific instance.
5437
5466
  #
5438
5467
  # The `reboot instance` operation supports tag-based access control via
5439
5468
  # resource tags applied to the resource identified by instanceName. For
@@ -5574,15 +5603,23 @@ module Aws::Lightsail
5574
5603
  end
5575
5604
 
5576
5605
  # Starts a specific Amazon Lightsail instance from a stopped state. To
5577
- # restart an instance, use the reboot instance operation.
5606
+ # restart an instance, use the `reboot instance` operation.
5607
+ #
5608
+ # <note markdown="1"> When you start a stopped instance, Lightsail assigns a new public IP
5609
+ # address to the instance. To use the same IP address after stopping and
5610
+ # starting an instance, create a static IP address and attach it to the
5611
+ # instance. For more information, see the [Lightsail Dev Guide][1].
5612
+ #
5613
+ # </note>
5578
5614
  #
5579
5615
  # The `start instance` operation supports tag-based access control via
5580
5616
  # resource tags applied to the resource identified by instanceName. For
5581
- # more information, see the [Lightsail Dev Guide][1].
5617
+ # more information, see the [Lightsail Dev Guide][2].
5582
5618
  #
5583
5619
  #
5584
5620
  #
5585
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags
5621
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/lightsail-create-static-ip
5622
+ # [2]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags
5586
5623
  #
5587
5624
  # @option params [required, String] :instance_name
5588
5625
  # The name of the instance (a virtual private server) to start.
@@ -5676,13 +5713,21 @@ module Aws::Lightsail
5676
5713
 
5677
5714
  # Stops a specific Amazon Lightsail instance that is currently running.
5678
5715
  #
5716
+ # <note markdown="1"> When you start a stopped instance, Lightsail assigns a new public IP
5717
+ # address to the instance. To use the same IP address after stopping and
5718
+ # starting an instance, create a static IP address and attach it to the
5719
+ # instance. For more information, see the [Lightsail Dev Guide][1].
5720
+ #
5721
+ # </note>
5722
+ #
5679
5723
  # The `stop instance` operation supports tag-based access control via
5680
5724
  # resource tags applied to the resource identified by instanceName. For
5681
- # more information, see the [Lightsail Dev Guide][1].
5725
+ # more information, see the [Lightsail Dev Guide][2].
5682
5726
  #
5683
5727
  #
5684
5728
  #
5685
- # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags
5729
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/lightsail-create-static-ip
5730
+ # [2]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags
5686
5731
  #
5687
5732
  # @option params [required, String] :instance_name
5688
5733
  # The name of the instance (a virtual private server) to stop.
@@ -6287,7 +6332,7 @@ module Aws::Lightsail
6287
6332
  params: params,
6288
6333
  config: config)
6289
6334
  context[:gem_name] = 'aws-sdk-lightsail'
6290
- context[:gem_version] = '1.13.0'
6335
+ context[:gem_version] = '1.14.0'
6291
6336
  Seahorse::Client::Request.new(handlers, context)
6292
6337
  end
6293
6338
 
@@ -510,8 +510,9 @@ module Aws::Lightsail
510
510
  CreateDiskResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
511
511
  CreateDiskResult.struct_class = Types::CreateDiskResult
512
512
 
513
- CreateDiskSnapshotRequest.add_member(:disk_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "diskName"))
513
+ CreateDiskSnapshotRequest.add_member(:disk_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "diskName"))
514
514
  CreateDiskSnapshotRequest.add_member(:disk_snapshot_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "diskSnapshotName"))
515
+ CreateDiskSnapshotRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "instanceName"))
515
516
  CreateDiskSnapshotRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
516
517
  CreateDiskSnapshotRequest.struct_class = Types::CreateDiskSnapshotRequest
517
518
 
@@ -776,6 +777,8 @@ module Aws::Lightsail
776
777
  DiskSnapshot.add_member(:progress, Shapes::ShapeRef.new(shape: string, location_name: "progress"))
777
778
  DiskSnapshot.add_member(:from_disk_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "fromDiskName"))
778
779
  DiskSnapshot.add_member(:from_disk_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fromDiskArn"))
780
+ DiskSnapshot.add_member(:from_instance_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "fromInstanceName"))
781
+ DiskSnapshot.add_member(:from_instance_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fromInstanceArn"))
779
782
  DiskSnapshot.struct_class = Types::DiskSnapshot
780
783
 
781
784
  DiskSnapshotInfo.add_member(:size_in_gb, Shapes::ShapeRef.new(shape: integer, location_name: "sizeInGb"))
@@ -541,7 +541,7 @@ module Aws::Lightsail
541
541
  # {
542
542
  # source_name: "ResourceName", # required
543
543
  # instance_type: "NonEmptyString", # required
544
- # port_info_source: "DEFAULT", # required, accepts DEFAULT, INSTANCE, NONE
544
+ # port_info_source: "DEFAULT", # required, accepts DEFAULT, INSTANCE, NONE, CLOSED
545
545
  # user_data: "string",
546
546
  # availability_zone: "string", # required
547
547
  # },
@@ -706,8 +706,9 @@ module Aws::Lightsail
706
706
  # data as a hash:
707
707
  #
708
708
  # {
709
- # disk_name: "ResourceName", # required
709
+ # disk_name: "ResourceName",
710
710
  # disk_snapshot_name: "ResourceName", # required
711
+ # instance_name: "ResourceName",
711
712
  # tags: [
712
713
  # {
713
714
  # key: "TagKey",
@@ -717,7 +718,13 @@ module Aws::Lightsail
717
718
  # }
718
719
  #
719
720
  # @!attribute [rw] disk_name
720
- # The unique name of the source disk (e.g., `my-source-disk`).
721
+ # The unique name of the source disk (e.g., `Disk-Virginia-1`).
722
+ #
723
+ # <note markdown="1"> This parameter cannot be defined together with the `instance name`
724
+ # parameter. The `disk name` and `instance name` parameters are
725
+ # mutually exclusive.
726
+ #
727
+ # </note>
721
728
  # @return [String]
722
729
  #
723
730
  # @!attribute [rw] disk_snapshot_name
@@ -725,6 +732,18 @@ module Aws::Lightsail
725
732
  # based on the source disk.
726
733
  # @return [String]
727
734
  #
735
+ # @!attribute [rw] instance_name
736
+ # The unique name of the source instance (e.g.,
737
+ # `Amazon_Linux-512MB-Virginia-1`). When this is defined, a snapshot
738
+ # of the instance's system volume is created.
739
+ #
740
+ # <note markdown="1"> This parameter cannot be defined together with the `disk name`
741
+ # parameter. The `instance name` and `disk name` parameters are
742
+ # mutually exclusive.
743
+ #
744
+ # </note>
745
+ # @return [String]
746
+ #
728
747
  # @!attribute [rw] tags
729
748
  # The tag keys and optional values to add to the resource during
730
749
  # create.
@@ -738,6 +757,7 @@ module Aws::Lightsail
738
757
  class CreateDiskSnapshotRequest < Struct.new(
739
758
  :disk_name,
740
759
  :disk_snapshot_name,
760
+ :instance_name,
741
761
  :tags)
742
762
  include Aws::Structure
743
763
  end
@@ -2460,13 +2480,23 @@ module Aws::Lightsail
2460
2480
  # @return [String]
2461
2481
  #
2462
2482
  # @!attribute [rw] from_disk_name
2463
- # The unique name of the source disk from which you are creating the
2464
- # disk snapshot.
2483
+ # The unique name of the source disk from which the disk snapshot was
2484
+ # created.
2465
2485
  # @return [String]
2466
2486
  #
2467
2487
  # @!attribute [rw] from_disk_arn
2468
- # The Amazon Resource Name (ARN) of the source disk from which you are
2469
- # creating the disk snapshot.
2488
+ # The Amazon Resource Name (ARN) of the source disk from which the
2489
+ # disk snapshot was created.
2490
+ # @return [String]
2491
+ #
2492
+ # @!attribute [rw] from_instance_name
2493
+ # The unique name of the source instance from which the disk (system
2494
+ # volume) snapshot was created.
2495
+ # @return [String]
2496
+ #
2497
+ # @!attribute [rw] from_instance_arn
2498
+ # The Amazon Resource Name (ARN) of the source instance from which the
2499
+ # disk (system volume) snapshot was created.
2470
2500
  # @return [String]
2471
2501
  #
2472
2502
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DiskSnapshot AWS API Documentation
@@ -2483,7 +2513,9 @@ module Aws::Lightsail
2483
2513
  :state,
2484
2514
  :progress,
2485
2515
  :from_disk_name,
2486
- :from_disk_arn)
2516
+ :from_disk_arn,
2517
+ :from_instance_name,
2518
+ :from_instance_arn)
2487
2519
  include Aws::Structure
2488
2520
  end
2489
2521
 
@@ -4942,7 +4974,7 @@ module Aws::Lightsail
4942
4974
  # {
4943
4975
  # source_name: "ResourceName", # required
4944
4976
  # instance_type: "NonEmptyString", # required
4945
- # port_info_source: "DEFAULT", # required, accepts DEFAULT, INSTANCE, NONE
4977
+ # port_info_source: "DEFAULT", # required, accepts DEFAULT, INSTANCE, NONE, CLOSED
4946
4978
  # user_data: "string",
4947
4979
  # availability_zone: "string", # required
4948
4980
  # }
@@ -4973,6 +5005,8 @@ module Aws::Lightsail
4973
5005
  # instance.
4974
5006
  #
4975
5007
  # * NONE — Default to Amazon EC2.
5008
+ #
5009
+ # * CLOSED — All ports closed.
4976
5010
  # @return [String]
4977
5011
  #
4978
5012
  # @!attribute [rw] user_data
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.13.0
4
+ version: 1.14.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: 2018-11-29 00:00:00.000000000 Z
11
+ date: 2019-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core