aws-sdk-ebs 1.7.0 → 1.12.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 +4 -4
 - data/lib/aws-sdk-ebs.rb +3 -2
 - data/lib/aws-sdk-ebs/client.rb +35 -20
 - data/lib/aws-sdk-ebs/types.rb +4 -4
 - metadata +4 -4
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: e25d1773fa334a59c6d43a9bc85d21d226ef1ac2e9da195468c87b250ccbec69
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 20c3a31c64ef3a4c6b924b5ddd63a279ec6c30c1405ab8236f7c7d47a2437511
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: a161adb5a8ff73fbacc08a92227131810ce41d9e161c7192cacaa978c019cc265daa9f8843a0926cc6b7a04d03903fbc98bdfb108227634f93cfcb0c9092119e
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: bb58b1d3b2e10adeba2135c2ddac8e829b9f23a84c5a36592f59d3f69b414466c2bc38516da7ec730432805a2a21a6877509c25466a9677ae2b8e2eccd543250
         
     | 
    
        data/lib/aws-sdk-ebs.rb
    CHANGED
    
    | 
         @@ -7,6 +7,7 @@ 
     | 
|
| 
       7 
7 
     | 
    
         
             
            #
         
     | 
| 
       8 
8 
     | 
    
         
             
            # WARNING ABOUT GENERATED CODE
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
       10 
11 
     | 
    
         
             
            require 'aws-sdk-core'
         
     | 
| 
       11 
12 
     | 
    
         
             
            require 'aws-sigv4'
         
     | 
| 
       12 
13 
     | 
    
         | 
| 
         @@ -44,9 +45,9 @@ require_relative 'aws-sdk-ebs/customizations' 
     | 
|
| 
       44 
45 
     | 
    
         
             
            #
         
     | 
| 
       45 
46 
     | 
    
         
             
            # See {Errors} for more information.
         
     | 
| 
       46 
47 
     | 
    
         
             
            #
         
     | 
| 
       47 
     | 
    
         
            -
            #  
     | 
| 
      
 48 
     | 
    
         
            +
            # @!group service
         
     | 
| 
       48 
49 
     | 
    
         
             
            module Aws::EBS
         
     | 
| 
       49 
50 
     | 
    
         | 
| 
       50 
     | 
    
         
            -
              GEM_VERSION = '1. 
     | 
| 
      
 51 
     | 
    
         
            +
              GEM_VERSION = '1.12.0'
         
     | 
| 
       51 
52 
     | 
    
         | 
| 
       52 
53 
     | 
    
         
             
            end
         
     | 
    
        data/lib/aws-sdk-ebs/client.rb
    CHANGED
    
    | 
         @@ -85,13 +85,28 @@ module Aws::EBS 
     | 
|
| 
       85 
85 
     | 
    
         
             
                #     * `Aws::Credentials` - Used for configuring static, non-refreshing
         
     | 
| 
       86 
86 
     | 
    
         
             
                #       credentials.
         
     | 
| 
       87 
87 
     | 
    
         
             
                #
         
     | 
| 
      
 88 
     | 
    
         
            +
                #     * `Aws::SharedCredentials` - Used for loading static credentials from a
         
     | 
| 
      
 89 
     | 
    
         
            +
                #       shared file, such as `~/.aws/config`.
         
     | 
| 
      
 90 
     | 
    
         
            +
                #
         
     | 
| 
      
 91 
     | 
    
         
            +
                #     * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
         
     | 
| 
      
 92 
     | 
    
         
            +
                #
         
     | 
| 
      
 93 
     | 
    
         
            +
                #     * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
         
     | 
| 
      
 94 
     | 
    
         
            +
                #       assume a role after providing credentials via the web.
         
     | 
| 
      
 95 
     | 
    
         
            +
                #
         
     | 
| 
      
 96 
     | 
    
         
            +
                #     * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
         
     | 
| 
      
 97 
     | 
    
         
            +
                #       access token generated from `aws login`.
         
     | 
| 
      
 98 
     | 
    
         
            +
                #
         
     | 
| 
      
 99 
     | 
    
         
            +
                #     * `Aws::ProcessCredentials` - Used for loading credentials from a
         
     | 
| 
      
 100 
     | 
    
         
            +
                #       process that outputs to stdout.
         
     | 
| 
      
 101 
     | 
    
         
            +
                #
         
     | 
| 
       88 
102 
     | 
    
         
             
                #     * `Aws::InstanceProfileCredentials` - Used for loading credentials
         
     | 
| 
       89 
103 
     | 
    
         
             
                #       from an EC2 IMDS on an EC2 instance.
         
     | 
| 
       90 
104 
     | 
    
         
             
                #
         
     | 
| 
       91 
     | 
    
         
            -
                #     * `Aws:: 
     | 
| 
       92 
     | 
    
         
            -
                #        
     | 
| 
      
 105 
     | 
    
         
            +
                #     * `Aws::ECSCredentials` - Used for loading credentials from
         
     | 
| 
      
 106 
     | 
    
         
            +
                #       instances running in ECS.
         
     | 
| 
       93 
107 
     | 
    
         
             
                #
         
     | 
| 
       94 
     | 
    
         
            -
                #     * `Aws:: 
     | 
| 
      
 108 
     | 
    
         
            +
                #     * `Aws::CognitoIdentityCredentials` - Used for loading credentials
         
     | 
| 
      
 109 
     | 
    
         
            +
                #       from the Cognito Identity service.
         
     | 
| 
       95 
110 
     | 
    
         
             
                #
         
     | 
| 
       96 
111 
     | 
    
         
             
                #     When `:credentials` are not configured directly, the following
         
     | 
| 
       97 
112 
     | 
    
         
             
                #     locations will be searched for credentials:
         
     | 
| 
         @@ -101,10 +116,10 @@ module Aws::EBS 
     | 
|
| 
       101 
116 
     | 
    
         
             
                #     * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
         
     | 
| 
       102 
117 
     | 
    
         
             
                #     * `~/.aws/credentials`
         
     | 
| 
       103 
118 
     | 
    
         
             
                #     * `~/.aws/config`
         
     | 
| 
       104 
     | 
    
         
            -
                #     * EC2 IMDS instance profile - When used by default, the timeouts 
     | 
| 
       105 
     | 
    
         
            -
                #       very aggressive. Construct and pass an instance of
         
     | 
| 
       106 
     | 
    
         
            -
                #       `Aws::InstanceProfileCredentails`  
     | 
| 
       107 
     | 
    
         
            -
                #       timeouts.
         
     | 
| 
      
 119 
     | 
    
         
            +
                #     * EC2/ECS IMDS instance profile - When used by default, the timeouts
         
     | 
| 
      
 120 
     | 
    
         
            +
                #       are very aggressive. Construct and pass an instance of
         
     | 
| 
      
 121 
     | 
    
         
            +
                #       `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
         
     | 
| 
      
 122 
     | 
    
         
            +
                #       enable retries and extended timeouts.
         
     | 
| 
       108 
123 
     | 
    
         
             
                #
         
     | 
| 
       109 
124 
     | 
    
         
             
                #   @option options [required, String] :region
         
     | 
| 
       110 
125 
     | 
    
         
             
                #     The AWS region to connect to.  The configured `:region` is
         
     | 
| 
         @@ -416,9 +431,9 @@ module Aws::EBS 
     | 
|
| 
       416 
431 
     | 
    
         
             
                  req.send_request(options, &block)
         
     | 
| 
       417 
432 
     | 
    
         
             
                end
         
     | 
| 
       418 
433 
     | 
    
         | 
| 
       419 
     | 
    
         
            -
                # Returns  
     | 
| 
       420 
     | 
    
         
            -
                #  
     | 
| 
       421 
     | 
    
         
            -
                #  
     | 
| 
      
 434 
     | 
    
         
            +
                # Returns information about the blocks that are different between two
         
     | 
| 
      
 435 
     | 
    
         
            +
                # Amazon Elastic Block Store snapshots of the same volume/snapshot
         
     | 
| 
      
 436 
     | 
    
         
            +
                # lineage.
         
     | 
| 
       422 
437 
     | 
    
         
             
                #
         
     | 
| 
       423 
438 
     | 
    
         
             
                # @option params [String] :first_snapshot_id
         
     | 
| 
       424 
439 
     | 
    
         
             
                #   The ID of the first snapshot to use for the comparison.
         
     | 
| 
         @@ -484,8 +499,8 @@ module Aws::EBS 
     | 
|
| 
       484 
499 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       485 
500 
     | 
    
         
             
                end
         
     | 
| 
       486 
501 
     | 
    
         | 
| 
       487 
     | 
    
         
            -
                # Returns  
     | 
| 
       488 
     | 
    
         
            -
                #  
     | 
| 
      
 502 
     | 
    
         
            +
                # Returns information about the blocks in an Amazon Elastic Block Store
         
     | 
| 
      
 503 
     | 
    
         
            +
                # snapshot.
         
     | 
| 
       489 
504 
     | 
    
         
             
                #
         
     | 
| 
       490 
505 
     | 
    
         
             
                # @option params [required, String] :snapshot_id
         
     | 
| 
       491 
506 
     | 
    
         
             
                #   The ID of the snapshot from which to get block indexes and block
         
     | 
| 
         @@ -540,9 +555,9 @@ module Aws::EBS 
     | 
|
| 
       540 
555 
     | 
    
         
             
                  req.send_request(options)
         
     | 
| 
       541 
556 
     | 
    
         
             
                end
         
     | 
| 
       542 
557 
     | 
    
         | 
| 
       543 
     | 
    
         
            -
                # Writes a block of data to a  
     | 
| 
       544 
     | 
    
         
            -
                #  
     | 
| 
       545 
     | 
    
         
            -
                #  
     | 
| 
      
 558 
     | 
    
         
            +
                # Writes a block of data to a snapshot. If the specified block contains
         
     | 
| 
      
 559 
     | 
    
         
            +
                # data, the existing data is overwritten. The target snapshot must be in
         
     | 
| 
      
 560 
     | 
    
         
            +
                # the `pending` state.
         
     | 
| 
       546 
561 
     | 
    
         
             
                #
         
     | 
| 
       547 
562 
     | 
    
         
             
                # Data written to a snapshot must be aligned with 512-byte sectors.
         
     | 
| 
       548 
563 
     | 
    
         
             
                #
         
     | 
| 
         @@ -551,10 +566,10 @@ module Aws::EBS 
     | 
|
| 
       551 
566 
     | 
    
         
             
                #
         
     | 
| 
       552 
567 
     | 
    
         
             
                # @option params [required, Integer] :block_index
         
     | 
| 
       553 
568 
     | 
    
         
             
                #   The block index of the block in which to write the data. A block index
         
     | 
| 
       554 
     | 
    
         
            -
                #   is  
     | 
| 
       555 
     | 
    
         
            -
                #    
     | 
| 
       556 
     | 
    
         
            -
                #    
     | 
| 
       557 
     | 
    
         
            -
                #    
     | 
| 
      
 569 
     | 
    
         
            +
                #   is a logical index in units of `512` KiB blocks. To identify the block
         
     | 
| 
      
 570 
     | 
    
         
            +
                #   index, divide the logical offset of the data in the logical volume by
         
     | 
| 
      
 571 
     | 
    
         
            +
                #   the block size (logical offset of data/`524288`). The logical offset
         
     | 
| 
      
 572 
     | 
    
         
            +
                #   of the data must be `512` KiB aligned.
         
     | 
| 
       558 
573 
     | 
    
         
             
                #
         
     | 
| 
       559 
574 
     | 
    
         
             
                # @option params [required, String, IO] :block_data
         
     | 
| 
       560 
575 
     | 
    
         
             
                #   The data to write to the block.
         
     | 
| 
         @@ -791,7 +806,7 @@ module Aws::EBS 
     | 
|
| 
       791 
806 
     | 
    
         
             
                    params: params,
         
     | 
| 
       792 
807 
     | 
    
         
             
                    config: config)
         
     | 
| 
       793 
808 
     | 
    
         
             
                  context[:gem_name] = 'aws-sdk-ebs'
         
     | 
| 
       794 
     | 
    
         
            -
                  context[:gem_version] = '1. 
     | 
| 
      
 809 
     | 
    
         
            +
                  context[:gem_version] = '1.12.0'
         
     | 
| 
       795 
810 
     | 
    
         
             
                  Seahorse::Client::Request.new(handlers, context)
         
     | 
| 
       796 
811 
     | 
    
         
             
                end
         
     | 
| 
       797 
812 
     | 
    
         | 
    
        data/lib/aws-sdk-ebs/types.rb
    CHANGED
    
    | 
         @@ -428,10 +428,10 @@ module Aws::EBS 
     | 
|
| 
       428 
428 
     | 
    
         
             
                #
         
     | 
| 
       429 
429 
     | 
    
         
             
                # @!attribute [rw] block_index
         
     | 
| 
       430 
430 
     | 
    
         
             
                #   The block index of the block in which to write the data. A block
         
     | 
| 
       431 
     | 
    
         
            -
                #   index is  
     | 
| 
       432 
     | 
    
         
            -
                #    
     | 
| 
       433 
     | 
    
         
            -
                #    
     | 
| 
       434 
     | 
    
         
            -
                #    
     | 
| 
      
 431 
     | 
    
         
            +
                #   index is a logical index in units of `512` KiB blocks. To identify
         
     | 
| 
      
 432 
     | 
    
         
            +
                #   the block index, divide the logical offset of the data in the
         
     | 
| 
      
 433 
     | 
    
         
            +
                #   logical volume by the block size (logical offset of data/`524288`).
         
     | 
| 
      
 434 
     | 
    
         
            +
                #   The logical offset of the data must be `512` KiB aligned.
         
     | 
| 
       435 
435 
     | 
    
         
             
                #   @return [Integer]
         
     | 
| 
       436 
436 
     | 
    
         
             
                #
         
     | 
| 
       437 
437 
     | 
    
         
             
                # @!attribute [rw] block_data
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: aws-sdk-ebs
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.12.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: 2021-02-02 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: aws-sdk-core
         
     | 
| 
         @@ -19,7 +19,7 @@ dependencies: 
     | 
|
| 
       19 
19 
     | 
    
         
             
                    version: '3'
         
     | 
| 
       20 
20 
     | 
    
         
             
                - - ">="
         
     | 
| 
       21 
21 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       22 
     | 
    
         
            -
                    version: 3. 
     | 
| 
      
 22 
     | 
    
         
            +
                    version: 3.112.0
         
     | 
| 
       23 
23 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       24 
24 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       25 
25 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -29,7 +29,7 @@ dependencies: 
     | 
|
| 
       29 
29 
     | 
    
         
             
                    version: '3'
         
     | 
| 
       30 
30 
     | 
    
         
             
                - - ">="
         
     | 
| 
       31 
31 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
     | 
    
         
            -
                    version: 3. 
     | 
| 
      
 32 
     | 
    
         
            +
                    version: 3.112.0
         
     | 
| 
       33 
33 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       34 
34 
     | 
    
         
             
              name: aws-sigv4
         
     | 
| 
       35 
35 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     |