aws-sdk-datasync 1.18.0 → 1.19.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 +5 -5
- data/lib/aws-sdk-datasync.rb +1 -1
- data/lib/aws-sdk-datasync/client.rb +33 -20
- data/lib/aws-sdk-datasync/resource.rb +1 -7
- metadata +3 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 | 
            -
             | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 2 | 
            +
            SHA256:
         | 
| 3 | 
            +
              metadata.gz: 152c75f13c0c4b794e06350657d14885b076c57b134ab44538b0675b86e4c21e
         | 
| 4 | 
            +
              data.tar.gz: 22b187b2c696caafa6d5ebe4f8c8df6cf4eac9e2da0a8d2b02ca6efda65362fa
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 4a46c3215209f32ece2a32bb16ba676ed7c84f1d551266c5fc0d8e38dd08a5ab57ff556e47f4d6be034c17cb5b66102ef68f9c15025e1121ff8f0beb2d9a7217
         | 
| 7 | 
            +
              data.tar.gz: '0883e9ace291aee9c4293fbaecb501eed92d107c6ccfe4e13ce752aa6312e02a47a33f1cccd447abe44fb20a0cb45d60fa7fee4606350eafb45880d9d6a98a13'
         | 
    
        data/lib/aws-sdk-datasync.rb
    CHANGED
    
    
| @@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:datasync) | |
| 32 32 | 
             
            module Aws::DataSync
         | 
| 33 33 | 
             
              # An API client for DataSync.  To construct a client, you need to configure a `:region` and `:credentials`.
         | 
| 34 34 | 
             
              #
         | 
| 35 | 
            -
              # | 
| 36 | 
            -
              # | 
| 37 | 
            -
              # | 
| 38 | 
            -
              # | 
| 39 | 
            -
              # | 
| 35 | 
            +
              #     client = Aws::DataSync::Client.new(
         | 
| 36 | 
            +
              #       region: region_name,
         | 
| 37 | 
            +
              #       credentials: credentials,
         | 
| 38 | 
            +
              #       # ...
         | 
| 39 | 
            +
              #     )
         | 
| 40 40 | 
             
              #
         | 
| 41 41 | 
             
              # For details on configuring region and credentials see
         | 
| 42 42 | 
             
              # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
         | 
| @@ -105,7 +105,7 @@ module Aws::DataSync | |
| 105 105 | 
             
                #   @option options [required, String] :region
         | 
| 106 106 | 
             
                #     The AWS region to connect to.  The configured `:region` is
         | 
| 107 107 | 
             
                #     used to determine the service `:endpoint`. When not passed,
         | 
| 108 | 
            -
                #     a default `:region` is  | 
| 108 | 
            +
                #     a default `:region` is searched for in the following locations:
         | 
| 109 109 | 
             
                #
         | 
| 110 110 | 
             
                #     * `Aws.config[:region]`
         | 
| 111 111 | 
             
                #     * `ENV['AWS_REGION']`
         | 
| @@ -161,7 +161,7 @@ module Aws::DataSync | |
| 161 161 | 
             
                #   @option options [String] :endpoint
         | 
| 162 162 | 
             
                #     The client endpoint is normally constructed from the `:region`
         | 
| 163 163 | 
             
                #     option. You should only configure an `:endpoint` when connecting
         | 
| 164 | 
            -
                #     to test endpoints. This should be  | 
| 164 | 
            +
                #     to test endpoints. This should be a valid HTTP(S) URI.
         | 
| 165 165 | 
             
                #
         | 
| 166 166 | 
             
                #   @option options [Integer] :endpoint_cache_max_entries (1000)
         | 
| 167 167 | 
             
                #     Used for the maximum size limit of the LRU cache storing endpoints data
         | 
| @@ -229,15 +229,19 @@ module Aws::DataSync | |
| 229 229 | 
             
                #
         | 
| 230 230 | 
             
                #   @option options [String] :retry_mode ("legacy")
         | 
| 231 231 | 
             
                #     Specifies which retry algorithm to use. Values are:
         | 
| 232 | 
            -
                # | 
| 233 | 
            -
                # | 
| 234 | 
            -
                #        | 
| 235 | 
            -
                # | 
| 236 | 
            -
                # | 
| 237 | 
            -
                #        | 
| 238 | 
            -
                # | 
| 239 | 
            -
                # | 
| 240 | 
            -
                # | 
| 232 | 
            +
                #
         | 
| 233 | 
            +
                #     * `legacy` - The pre-existing retry behavior.  This is default value if
         | 
| 234 | 
            +
                #       no retry mode is provided.
         | 
| 235 | 
            +
                #
         | 
| 236 | 
            +
                #     * `standard` - A standardized set of retry rules across the AWS SDKs.
         | 
| 237 | 
            +
                #       This includes support for retry quotas, which limit the number of
         | 
| 238 | 
            +
                #       unsuccessful retries a client can make.
         | 
| 239 | 
            +
                #
         | 
| 240 | 
            +
                #     * `adaptive` - An experimental retry mode that includes all the
         | 
| 241 | 
            +
                #       functionality of `standard` mode along with automatic client side
         | 
| 242 | 
            +
                #       throttling.  This is a provisional mode that may change behavior
         | 
| 243 | 
            +
                #       in the future.
         | 
| 244 | 
            +
                #
         | 
| 241 245 | 
             
                #
         | 
| 242 246 | 
             
                #   @option options [String] :secret_access_key
         | 
| 243 247 | 
             
                #
         | 
| @@ -275,8 +279,7 @@ module Aws::DataSync | |
| 275 279 | 
             
                #
         | 
| 276 280 | 
             
                #   @option options [Integer] :http_read_timeout (60) The default
         | 
| 277 281 | 
             
                #     number of seconds to wait for response data.  This value can
         | 
| 278 | 
            -
                #     safely be set
         | 
| 279 | 
            -
                #     per-request on the session yielded by {#session_for}.
         | 
| 282 | 
            +
                #     safely be set per-request on the session.
         | 
| 280 283 | 
             
                #
         | 
| 281 284 | 
             
                #   @option options [Float] :http_idle_timeout (5) The number of
         | 
| 282 285 | 
             
                #     seconds a connection is allowed to sit idle before it is
         | 
| @@ -288,7 +291,7 @@ module Aws::DataSync | |
| 288 291 | 
             
                #     request body.  This option has no effect unless the request has
         | 
| 289 292 | 
             
                #     "Expect" header set to "100-continue".  Defaults to `nil` which
         | 
| 290 293 | 
             
                #     disables this behaviour.  This value can safely be set per
         | 
| 291 | 
            -
                #     request on the session | 
| 294 | 
            +
                #     request on the session.
         | 
| 292 295 | 
             
                #
         | 
| 293 296 | 
             
                #   @option options [Boolean] :http_wire_trace (false) When `true`,
         | 
| 294 297 | 
             
                #     HTTP debug output will be sent to the `:logger`.
         | 
| @@ -1466,6 +1469,8 @@ module Aws::DataSync | |
| 1466 1469 | 
             
                #   * {Types::ListAgentsResponse#agents #agents} => Array<Types::AgentListEntry>
         | 
| 1467 1470 | 
             
                #   * {Types::ListAgentsResponse#next_token #next_token} => String
         | 
| 1468 1471 | 
             
                #
         | 
| 1472 | 
            +
                # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
         | 
| 1473 | 
            +
                #
         | 
| 1469 1474 | 
             
                # @example Request syntax with placeholder values
         | 
| 1470 1475 | 
             
                #
         | 
| 1471 1476 | 
             
                #   resp = client.list_agents({
         | 
| @@ -1509,6 +1514,8 @@ module Aws::DataSync | |
| 1509 1514 | 
             
                #   * {Types::ListLocationsResponse#locations #locations} => Array<Types::LocationListEntry>
         | 
| 1510 1515 | 
             
                #   * {Types::ListLocationsResponse#next_token #next_token} => String
         | 
| 1511 1516 | 
             
                #
         | 
| 1517 | 
            +
                # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
         | 
| 1518 | 
            +
                #
         | 
| 1512 1519 | 
             
                # @example Request syntax with placeholder values
         | 
| 1513 1520 | 
             
                #
         | 
| 1514 1521 | 
             
                #   resp = client.list_locations({
         | 
| @@ -1549,6 +1556,8 @@ module Aws::DataSync | |
| 1549 1556 | 
             
                #   * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::TagListEntry>
         | 
| 1550 1557 | 
             
                #   * {Types::ListTagsForResourceResponse#next_token #next_token} => String
         | 
| 1551 1558 | 
             
                #
         | 
| 1559 | 
            +
                # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
         | 
| 1560 | 
            +
                #
         | 
| 1552 1561 | 
             
                # @example Request syntax with placeholder values
         | 
| 1553 1562 | 
             
                #
         | 
| 1554 1563 | 
             
                #   resp = client.list_tags_for_resource({
         | 
| @@ -1591,6 +1600,8 @@ module Aws::DataSync | |
| 1591 1600 | 
             
                #   * {Types::ListTaskExecutionsResponse#task_executions #task_executions} => Array<Types::TaskExecutionListEntry>
         | 
| 1592 1601 | 
             
                #   * {Types::ListTaskExecutionsResponse#next_token #next_token} => String
         | 
| 1593 1602 | 
             
                #
         | 
| 1603 | 
            +
                # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
         | 
| 1604 | 
            +
                #
         | 
| 1594 1605 | 
             
                # @example Request syntax with placeholder values
         | 
| 1595 1606 | 
             
                #
         | 
| 1596 1607 | 
             
                #   resp = client.list_task_executions({
         | 
| @@ -1629,6 +1640,8 @@ module Aws::DataSync | |
| 1629 1640 | 
             
                #   * {Types::ListTasksResponse#tasks #tasks} => Array<Types::TaskListEntry>
         | 
| 1630 1641 | 
             
                #   * {Types::ListTasksResponse#next_token #next_token} => String
         | 
| 1631 1642 | 
             
                #
         | 
| 1643 | 
            +
                # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
         | 
| 1644 | 
            +
                #
         | 
| 1632 1645 | 
             
                # @example Request syntax with placeholder values
         | 
| 1633 1646 | 
             
                #
         | 
| 1634 1647 | 
             
                #   resp = client.list_tasks({
         | 
| @@ -1903,7 +1916,7 @@ module Aws::DataSync | |
| 1903 1916 | 
             
                    params: params,
         | 
| 1904 1917 | 
             
                    config: config)
         | 
| 1905 1918 | 
             
                  context[:gem_name] = 'aws-sdk-datasync'
         | 
| 1906 | 
            -
                  context[:gem_version] = '1. | 
| 1919 | 
            +
                  context[:gem_version] = '1.19.0'
         | 
| 1907 1920 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 1908 1921 | 
             
                end
         | 
| 1909 1922 |  | 
| @@ -6,13 +6,7 @@ | |
| 6 6 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 7 7 |  | 
| 8 8 | 
             
            module Aws::DataSync
         | 
| 9 | 
            -
             | 
| 10 | 
            -
              # To create a resource object:
         | 
| 11 | 
            -
              #     resource = Aws::DataSync::Resource.new(region: 'us-west-2')
         | 
| 12 | 
            -
              # You can supply a client object with custom configuration that will be used for all resource operations.
         | 
| 13 | 
            -
              # If you do not pass +:client+, a default client will be constructed.
         | 
| 14 | 
            -
              #     client = Aws::DataSync::Client.new(region: 'us-west-2')
         | 
| 15 | 
            -
              #     resource = Aws::DataSync::Resource.new(client: client)
         | 
| 9 | 
            +
             | 
| 16 10 | 
             
              class Resource
         | 
| 17 11 |  | 
| 18 12 | 
             
                # @param options ({})
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: aws-sdk-datasync
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1. | 
| 4 | 
            +
              version: 1.19.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: 2020- | 
| 11 | 
            +
            date: 2020-05-07 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         | 
| @@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 81 81 | 
             
                  version: '0'
         | 
| 82 82 | 
             
            requirements: []
         | 
| 83 83 | 
             
            rubyforge_project: 
         | 
| 84 | 
            -
            rubygems_version: 2. | 
| 84 | 
            +
            rubygems_version: 2.7.6.2
         | 
| 85 85 | 
             
            signing_key: 
         | 
| 86 86 | 
             
            specification_version: 4
         | 
| 87 87 | 
             
            summary: AWS SDK for Ruby - DataSync
         |