aws-sdk-datasync 1.17.0 → 1.22.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 +9 -4
- data/lib/aws-sdk-datasync/client.rb +82 -14
- data/lib/aws-sdk-datasync/client_api.rb +2 -0
- data/lib/aws-sdk-datasync/errors.rb +26 -2
- data/lib/aws-sdk-datasync/resource.rb +3 -0
- data/lib/aws-sdk-datasync/types.rb +69 -0
- metadata +5 -5
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 | 
            -
             | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 2 | 
            +
            SHA256:
         | 
| 3 | 
            +
              metadata.gz: 9128c260136b5a629fc9a5debbddfe8fd87d0ae0f394b434bd6348f79fe95d17
         | 
| 4 | 
            +
              data.tar.gz: 748ac1bb3867faf183c29041b8d3f9e702f68feeb0f72bc38859bd41df6cbf27
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: bb49de36ba247ebe12a15a402aa823f7dfa6cb943b632afc4d5f00e122bec8439f6bb152539e21cb05193d739167b9e6bf2373cd6f2a32661d828c89c1d543d2
         | 
| 7 | 
            +
              data.tar.gz: faed322a945981ed88eea59b7bf0af6107d512b8d164dc2a3b57f5bb50789e1e114f7cbf2187a342f9fc3400737549f7b1f69cabf9dca8497cf3f0ee703a62a0
         | 
    
        data/lib/aws-sdk-datasync.rb
    CHANGED
    
    | @@ -1,3 +1,5 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 2 4 | 
             
            #
         | 
| 3 5 | 
             
            # This file is generated. See the contributing guide for more information:
         | 
| @@ -24,17 +26,20 @@ require_relative 'aws-sdk-datasync/customizations' | |
| 24 26 | 
             
            # methods each accept a hash of request parameters and return a response
         | 
| 25 27 | 
             
            # structure.
         | 
| 26 28 | 
             
            #
         | 
| 29 | 
            +
            #     data_sync = Aws::DataSync::Client.new
         | 
| 30 | 
            +
            #     resp = data_sync.cancel_task_execution(params)
         | 
| 31 | 
            +
            #
         | 
| 27 32 | 
             
            # See {Client} for more information.
         | 
| 28 33 | 
             
            #
         | 
| 29 34 | 
             
            # # Errors
         | 
| 30 35 | 
             
            #
         | 
| 31 | 
            -
            # Errors returned from AWS DataSync  | 
| 32 | 
            -
            # extend {Errors::ServiceError}.
         | 
| 36 | 
            +
            # Errors returned from AWS DataSync are defined in the
         | 
| 37 | 
            +
            # {Errors} module and all extend {Errors::ServiceError}.
         | 
| 33 38 | 
             
            #
         | 
| 34 39 | 
             
            #     begin
         | 
| 35 40 | 
             
            #       # do stuff
         | 
| 36 41 | 
             
            #     rescue Aws::DataSync::Errors::ServiceError
         | 
| 37 | 
            -
            #       # rescues all  | 
| 42 | 
            +
            #       # rescues all AWS DataSync API errors
         | 
| 38 43 | 
             
            #     end
         | 
| 39 44 | 
             
            #
         | 
| 40 45 | 
             
            # See {Errors} for more information.
         | 
| @@ -42,6 +47,6 @@ require_relative 'aws-sdk-datasync/customizations' | |
| 42 47 | 
             
            # @service
         | 
| 43 48 | 
             
            module Aws::DataSync
         | 
| 44 49 |  | 
| 45 | 
            -
              GEM_VERSION = '1. | 
| 50 | 
            +
              GEM_VERSION = '1.22.0'
         | 
| 46 51 |  | 
| 47 52 | 
             
            end
         | 
| @@ -1,3 +1,5 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 2 4 | 
             
            #
         | 
| 3 5 | 
             
            # This file is generated. See the contributing guide for more information:
         | 
| @@ -24,12 +26,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb' | |
| 24 26 | 
             
            require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
         | 
| 25 27 | 
             
            require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
         | 
| 26 28 | 
             
            require 'aws-sdk-core/plugins/transfer_encoding.rb'
         | 
| 29 | 
            +
            require 'aws-sdk-core/plugins/http_checksum.rb'
         | 
| 27 30 | 
             
            require 'aws-sdk-core/plugins/signature_v4.rb'
         | 
| 28 31 | 
             
            require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
         | 
| 29 32 |  | 
| 30 33 | 
             
            Aws::Plugins::GlobalConfiguration.add_identifier(:datasync)
         | 
| 31 34 |  | 
| 32 35 | 
             
            module Aws::DataSync
         | 
| 36 | 
            +
              # An API client for DataSync.  To construct a client, you need to configure a `:region` and `:credentials`.
         | 
| 37 | 
            +
              #
         | 
| 38 | 
            +
              #     client = Aws::DataSync::Client.new(
         | 
| 39 | 
            +
              #       region: region_name,
         | 
| 40 | 
            +
              #       credentials: credentials,
         | 
| 41 | 
            +
              #       # ...
         | 
| 42 | 
            +
              #     )
         | 
| 43 | 
            +
              #
         | 
| 44 | 
            +
              # For details on configuring region and credentials see
         | 
| 45 | 
            +
              # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
         | 
| 46 | 
            +
              #
         | 
| 47 | 
            +
              # See {#initialize} for a full list of supported configuration options.
         | 
| 33 48 | 
             
              class Client < Seahorse::Client::Base
         | 
| 34 49 |  | 
| 35 50 | 
             
                include Aws::ClientStubs
         | 
| @@ -57,6 +72,7 @@ module Aws::DataSync | |
| 57 72 | 
             
                add_plugin(Aws::Plugins::ClientMetricsPlugin)
         | 
| 58 73 | 
             
                add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
         | 
| 59 74 | 
             
                add_plugin(Aws::Plugins::TransferEncoding)
         | 
| 75 | 
            +
                add_plugin(Aws::Plugins::HttpChecksum)
         | 
| 60 76 | 
             
                add_plugin(Aws::Plugins::SignatureV4)
         | 
| 61 77 | 
             
                add_plugin(Aws::Plugins::Protocols::JsonRpc)
         | 
| 62 78 |  | 
| @@ -93,7 +109,7 @@ module Aws::DataSync | |
| 93 109 | 
             
                #   @option options [required, String] :region
         | 
| 94 110 | 
             
                #     The AWS region to connect to.  The configured `:region` is
         | 
| 95 111 | 
             
                #     used to determine the service `:endpoint`. When not passed,
         | 
| 96 | 
            -
                #     a default `:region` is  | 
| 112 | 
            +
                #     a default `:region` is searched for in the following locations:
         | 
| 97 113 | 
             
                #
         | 
| 98 114 | 
             
                #     * `Aws.config[:region]`
         | 
| 99 115 | 
             
                #     * `ENV['AWS_REGION']`
         | 
| @@ -108,6 +124,12 @@ module Aws::DataSync | |
| 108 124 | 
             
                #     When set to `true`, a thread polling for endpoints will be running in
         | 
| 109 125 | 
             
                #     the background every 60 secs (default). Defaults to `false`.
         | 
| 110 126 | 
             
                #
         | 
| 127 | 
            +
                #   @option options [Boolean] :adaptive_retry_wait_to_fill (true)
         | 
| 128 | 
            +
                #     Used only in `adaptive` retry mode.  When true, the request will sleep
         | 
| 129 | 
            +
                #     until there is sufficent client side capacity to retry the request.
         | 
| 130 | 
            +
                #     When false, the request will raise a `RetryCapacityNotAvailableError` and will
         | 
| 131 | 
            +
                #     not retry instead of sleeping.
         | 
| 132 | 
            +
                #
         | 
| 111 133 | 
             
                #   @option options [Boolean] :client_side_monitoring (false)
         | 
| 112 134 | 
             
                #     When `true`, client-side metrics will be collected for all API requests from
         | 
| 113 135 | 
             
                #     this client.
         | 
| @@ -132,6 +154,10 @@ module Aws::DataSync | |
| 132 154 | 
             
                #     When `true`, an attempt is made to coerce request parameters into
         | 
| 133 155 | 
             
                #     the required types.
         | 
| 134 156 | 
             
                #
         | 
| 157 | 
            +
                #   @option options [Boolean] :correct_clock_skew (true)
         | 
| 158 | 
            +
                #     Used only in `standard` and adaptive retry modes. Specifies whether to apply
         | 
| 159 | 
            +
                #     a clock skew correction and retry requests with skewed client clocks.
         | 
| 160 | 
            +
                #
         | 
| 135 161 | 
             
                #   @option options [Boolean] :disable_host_prefix_injection (false)
         | 
| 136 162 | 
             
                #     Set to true to disable SDK automatically adding host prefix
         | 
| 137 163 | 
             
                #     to default service endpoint when available.
         | 
| @@ -139,7 +165,7 @@ module Aws::DataSync | |
| 139 165 | 
             
                #   @option options [String] :endpoint
         | 
| 140 166 | 
             
                #     The client endpoint is normally constructed from the `:region`
         | 
| 141 167 | 
             
                #     option. You should only configure an `:endpoint` when connecting
         | 
| 142 | 
            -
                #     to test endpoints. This should be  | 
| 168 | 
            +
                #     to test or custom endpoints. This should be a valid HTTP(S) URI.
         | 
| 143 169 | 
             
                #
         | 
| 144 170 | 
             
                #   @option options [Integer] :endpoint_cache_max_entries (1000)
         | 
| 145 171 | 
             
                #     Used for the maximum size limit of the LRU cache storing endpoints data
         | 
| @@ -154,7 +180,7 @@ module Aws::DataSync | |
| 154 180 | 
             
                #     requests fetching endpoints information. Defaults to 60 sec.
         | 
| 155 181 | 
             
                #
         | 
| 156 182 | 
             
                #   @option options [Boolean] :endpoint_discovery (false)
         | 
| 157 | 
            -
                #     When set to `true`, endpoint discovery will be enabled for operations when available. | 
| 183 | 
            +
                #     When set to `true`, endpoint discovery will be enabled for operations when available.
         | 
| 158 184 | 
             
                #
         | 
| 159 185 | 
             
                #   @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
         | 
| 160 186 | 
             
                #     The log formatter.
         | 
| @@ -166,15 +192,29 @@ module Aws::DataSync | |
| 166 192 | 
             
                #     The Logger instance to send log messages to.  If this option
         | 
| 167 193 | 
             
                #     is not set, logging will be disabled.
         | 
| 168 194 | 
             
                #
         | 
| 195 | 
            +
                #   @option options [Integer] :max_attempts (3)
         | 
| 196 | 
            +
                #     An integer representing the maximum number attempts that will be made for
         | 
| 197 | 
            +
                #     a single request, including the initial attempt.  For example,
         | 
| 198 | 
            +
                #     setting this value to 5 will result in a request being retried up to
         | 
| 199 | 
            +
                #     4 times. Used in `standard` and `adaptive` retry modes.
         | 
| 200 | 
            +
                #
         | 
| 169 201 | 
             
                #   @option options [String] :profile ("default")
         | 
| 170 202 | 
             
                #     Used when loading credentials from the shared credentials file
         | 
| 171 203 | 
             
                #     at HOME/.aws/credentials.  When not specified, 'default' is used.
         | 
| 172 204 | 
             
                #
         | 
| 205 | 
            +
                #   @option options [Proc] :retry_backoff
         | 
| 206 | 
            +
                #     A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
         | 
| 207 | 
            +
                #     This option is only used in the `legacy` retry mode.
         | 
| 208 | 
            +
                #
         | 
| 173 209 | 
             
                #   @option options [Float] :retry_base_delay (0.3)
         | 
| 174 | 
            -
                #     The base delay in seconds used by the default backoff function.
         | 
| 210 | 
            +
                #     The base delay in seconds used by the default backoff function. This option
         | 
| 211 | 
            +
                #     is only used in the `legacy` retry mode.
         | 
| 175 212 | 
             
                #
         | 
| 176 213 | 
             
                #   @option options [Symbol] :retry_jitter (:none)
         | 
| 177 | 
            -
                #     A delay randomiser function used by the default backoff function. | 
| 214 | 
            +
                #     A delay randomiser function used by the default backoff function.
         | 
| 215 | 
            +
                #     Some predefined functions can be referenced by name - :none, :equal, :full,
         | 
| 216 | 
            +
                #     otherwise a Proc that takes and returns a number. This option is only used
         | 
| 217 | 
            +
                #     in the `legacy` retry mode.
         | 
| 178 218 | 
             
                #
         | 
| 179 219 | 
             
                #     @see https://www.awsarchitectureblog.com/2015/03/backoff.html
         | 
| 180 220 | 
             
                #
         | 
| @@ -182,11 +222,30 @@ module Aws::DataSync | |
| 182 222 | 
             
                #     The maximum number of times to retry failed requests.  Only
         | 
| 183 223 | 
             
                #     ~ 500 level server errors and certain ~ 400 level client errors
         | 
| 184 224 | 
             
                #     are retried.  Generally, these are throttling errors, data
         | 
| 185 | 
            -
                #     checksum errors, networking errors, timeout errors  | 
| 186 | 
            -
                #     errors from expired credentials.
         | 
| 225 | 
            +
                #     checksum errors, networking errors, timeout errors, auth errors,
         | 
| 226 | 
            +
                #     endpoint discovery, and errors from expired credentials.
         | 
| 227 | 
            +
                #     This option is only used in the `legacy` retry mode.
         | 
| 187 228 | 
             
                #
         | 
| 188 229 | 
             
                #   @option options [Integer] :retry_max_delay (0)
         | 
| 189 | 
            -
                #     The maximum number of seconds to delay between retries (0 for no limit) | 
| 230 | 
            +
                #     The maximum number of seconds to delay between retries (0 for no limit)
         | 
| 231 | 
            +
                #     used by the default backoff function. This option is only used in the
         | 
| 232 | 
            +
                #     `legacy` retry mode.
         | 
| 233 | 
            +
                #
         | 
| 234 | 
            +
                #   @option options [String] :retry_mode ("legacy")
         | 
| 235 | 
            +
                #     Specifies which retry algorithm to use. Values are:
         | 
| 236 | 
            +
                #
         | 
| 237 | 
            +
                #     * `legacy` - The pre-existing retry behavior.  This is default value if
         | 
| 238 | 
            +
                #       no retry mode is provided.
         | 
| 239 | 
            +
                #
         | 
| 240 | 
            +
                #     * `standard` - A standardized set of retry rules across the AWS SDKs.
         | 
| 241 | 
            +
                #       This includes support for retry quotas, which limit the number of
         | 
| 242 | 
            +
                #       unsuccessful retries a client can make.
         | 
| 243 | 
            +
                #
         | 
| 244 | 
            +
                #     * `adaptive` - An experimental retry mode that includes all the
         | 
| 245 | 
            +
                #       functionality of `standard` mode along with automatic client side
         | 
| 246 | 
            +
                #       throttling.  This is a provisional mode that may change behavior
         | 
| 247 | 
            +
                #       in the future.
         | 
| 248 | 
            +
                #
         | 
| 190 249 | 
             
                #
         | 
| 191 250 | 
             
                #   @option options [String] :secret_access_key
         | 
| 192 251 | 
             
                #
         | 
| @@ -219,16 +278,15 @@ module Aws::DataSync | |
| 219 278 | 
             
                #     requests through.  Formatted like 'http://proxy.com:123'.
         | 
| 220 279 | 
             
                #
         | 
| 221 280 | 
             
                #   @option options [Float] :http_open_timeout (15) The number of
         | 
| 222 | 
            -
                #     seconds to wait when opening a HTTP session before  | 
| 281 | 
            +
                #     seconds to wait when opening a HTTP session before raising a
         | 
| 223 282 | 
             
                #     `Timeout::Error`.
         | 
| 224 283 | 
             
                #
         | 
| 225 284 | 
             
                #   @option options [Integer] :http_read_timeout (60) The default
         | 
| 226 285 | 
             
                #     number of seconds to wait for response data.  This value can
         | 
| 227 | 
            -
                #     safely be set
         | 
| 228 | 
            -
                #     per-request on the session yeidled by {#session_for}.
         | 
| 286 | 
            +
                #     safely be set per-request on the session.
         | 
| 229 287 | 
             
                #
         | 
| 230 288 | 
             
                #   @option options [Float] :http_idle_timeout (5) The number of
         | 
| 231 | 
            -
                #     seconds a connection is allowed to sit  | 
| 289 | 
            +
                #     seconds a connection is allowed to sit idle before it is
         | 
| 232 290 | 
             
                #     considered stale.  Stale connections are closed and removed
         | 
| 233 291 | 
             
                #     from the pool before making a request.
         | 
| 234 292 | 
             
                #
         | 
| @@ -237,7 +295,7 @@ module Aws::DataSync | |
| 237 295 | 
             
                #     request body.  This option has no effect unless the request has
         | 
| 238 296 | 
             
                #     "Expect" header set to "100-continue".  Defaults to `nil` which
         | 
| 239 297 | 
             
                #     disables this behaviour.  This value can safely be set per
         | 
| 240 | 
            -
                #     request on the session | 
| 298 | 
            +
                #     request on the session.
         | 
| 241 299 | 
             
                #
         | 
| 242 300 | 
             
                #   @option options [Boolean] :http_wire_trace (false) When `true`,
         | 
| 243 301 | 
             
                #     HTTP debug output will be sent to the `:logger`.
         | 
| @@ -1415,6 +1473,8 @@ module Aws::DataSync | |
| 1415 1473 | 
             
                #   * {Types::ListAgentsResponse#agents #agents} => Array<Types::AgentListEntry>
         | 
| 1416 1474 | 
             
                #   * {Types::ListAgentsResponse#next_token #next_token} => String
         | 
| 1417 1475 | 
             
                #
         | 
| 1476 | 
            +
                # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
         | 
| 1477 | 
            +
                #
         | 
| 1418 1478 | 
             
                # @example Request syntax with placeholder values
         | 
| 1419 1479 | 
             
                #
         | 
| 1420 1480 | 
             
                #   resp = client.list_agents({
         | 
| @@ -1458,6 +1518,8 @@ module Aws::DataSync | |
| 1458 1518 | 
             
                #   * {Types::ListLocationsResponse#locations #locations} => Array<Types::LocationListEntry>
         | 
| 1459 1519 | 
             
                #   * {Types::ListLocationsResponse#next_token #next_token} => String
         | 
| 1460 1520 | 
             
                #
         | 
| 1521 | 
            +
                # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
         | 
| 1522 | 
            +
                #
         | 
| 1461 1523 | 
             
                # @example Request syntax with placeholder values
         | 
| 1462 1524 | 
             
                #
         | 
| 1463 1525 | 
             
                #   resp = client.list_locations({
         | 
| @@ -1498,6 +1560,8 @@ module Aws::DataSync | |
| 1498 1560 | 
             
                #   * {Types::ListTagsForResourceResponse#tags #tags} => Array<Types::TagListEntry>
         | 
| 1499 1561 | 
             
                #   * {Types::ListTagsForResourceResponse#next_token #next_token} => String
         | 
| 1500 1562 | 
             
                #
         | 
| 1563 | 
            +
                # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
         | 
| 1564 | 
            +
                #
         | 
| 1501 1565 | 
             
                # @example Request syntax with placeholder values
         | 
| 1502 1566 | 
             
                #
         | 
| 1503 1567 | 
             
                #   resp = client.list_tags_for_resource({
         | 
| @@ -1540,6 +1604,8 @@ module Aws::DataSync | |
| 1540 1604 | 
             
                #   * {Types::ListTaskExecutionsResponse#task_executions #task_executions} => Array<Types::TaskExecutionListEntry>
         | 
| 1541 1605 | 
             
                #   * {Types::ListTaskExecutionsResponse#next_token #next_token} => String
         | 
| 1542 1606 | 
             
                #
         | 
| 1607 | 
            +
                # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
         | 
| 1608 | 
            +
                #
         | 
| 1543 1609 | 
             
                # @example Request syntax with placeholder values
         | 
| 1544 1610 | 
             
                #
         | 
| 1545 1611 | 
             
                #   resp = client.list_task_executions({
         | 
| @@ -1578,6 +1644,8 @@ module Aws::DataSync | |
| 1578 1644 | 
             
                #   * {Types::ListTasksResponse#tasks #tasks} => Array<Types::TaskListEntry>
         | 
| 1579 1645 | 
             
                #   * {Types::ListTasksResponse#next_token #next_token} => String
         | 
| 1580 1646 | 
             
                #
         | 
| 1647 | 
            +
                # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
         | 
| 1648 | 
            +
                #
         | 
| 1581 1649 | 
             
                # @example Request syntax with placeholder values
         | 
| 1582 1650 | 
             
                #
         | 
| 1583 1651 | 
             
                #   resp = client.list_tasks({
         | 
| @@ -1852,7 +1920,7 @@ module Aws::DataSync | |
| 1852 1920 | 
             
                    params: params,
         | 
| 1853 1921 | 
             
                    config: config)
         | 
| 1854 1922 | 
             
                  context[:gem_name] = 'aws-sdk-datasync'
         | 
| 1855 | 
            -
                  context[:gem_version] = '1. | 
| 1923 | 
            +
                  context[:gem_version] = '1.22.0'
         | 
| 1856 1924 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 1857 1925 | 
             
                end
         | 
| 1858 1926 |  | 
| @@ -1,3 +1,5 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 2 4 | 
             
            #
         | 
| 3 5 | 
             
            # This file is generated. See the contributing guide for more information:
         | 
| @@ -6,6 +8,30 @@ | |
| 6 8 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 7 9 |  | 
| 8 10 | 
             
            module Aws::DataSync
         | 
| 11 | 
            +
             | 
| 12 | 
            +
              # When DataSync returns an error response, the Ruby SDK constructs and raises an error.
         | 
| 13 | 
            +
              # These errors all extend Aws::DataSync::Errors::ServiceError < {Aws::Errors::ServiceError}
         | 
| 14 | 
            +
              #
         | 
| 15 | 
            +
              # You can rescue all DataSync errors using ServiceError:
         | 
| 16 | 
            +
              #
         | 
| 17 | 
            +
              #     begin
         | 
| 18 | 
            +
              #       # do stuff
         | 
| 19 | 
            +
              #     rescue Aws::DataSync::Errors::ServiceError
         | 
| 20 | 
            +
              #       # rescues all DataSync API errors
         | 
| 21 | 
            +
              #     end
         | 
| 22 | 
            +
              #
         | 
| 23 | 
            +
              #
         | 
| 24 | 
            +
              # ## Request Context
         | 
| 25 | 
            +
              # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
         | 
| 26 | 
            +
              # information about the request that generated the error.
         | 
| 27 | 
            +
              # See {Seahorse::Client::RequestContext} for more information.
         | 
| 28 | 
            +
              #
         | 
| 29 | 
            +
              # ## Error Classes
         | 
| 30 | 
            +
              # * {InternalException}
         | 
| 31 | 
            +
              # * {InvalidRequestException}
         | 
| 32 | 
            +
              #
         | 
| 33 | 
            +
              # Additionally, error classes are dynamically generated for service errors based on the error code
         | 
| 34 | 
            +
              # if they are not defined above.
         | 
| 9 35 | 
             
              module Errors
         | 
| 10 36 |  | 
| 11 37 | 
             
                extend Aws::Errors::DynamicErrors
         | 
| @@ -28,7 +54,6 @@ module Aws::DataSync | |
| 28 54 | 
             
                  def error_code
         | 
| 29 55 | 
             
                    @data[:error_code]
         | 
| 30 56 | 
             
                  end
         | 
| 31 | 
            -
             | 
| 32 57 | 
             
                end
         | 
| 33 58 |  | 
| 34 59 | 
             
                class InvalidRequestException < ServiceError
         | 
| @@ -49,7 +74,6 @@ module Aws::DataSync | |
| 49 74 | 
             
                  def error_code
         | 
| 50 75 | 
             
                    @data[:error_code]
         | 
| 51 76 | 
             
                  end
         | 
| 52 | 
            -
             | 
| 53 77 | 
             
                end
         | 
| 54 78 |  | 
| 55 79 | 
             
              end
         | 
| @@ -1,3 +1,5 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 2 4 | 
             
            #
         | 
| 3 5 | 
             
            # This file is generated. See the contributing guide for more information:
         | 
| @@ -6,6 +8,7 @@ | |
| 6 8 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 7 9 |  | 
| 8 10 | 
             
            module Aws::DataSync
         | 
| 11 | 
            +
             | 
| 9 12 | 
             
              class Resource
         | 
| 10 13 |  | 
| 11 14 | 
             
                # @param options ({})
         | 
| @@ -1,3 +1,5 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 1 3 | 
             
            # WARNING ABOUT GENERATED CODE
         | 
| 2 4 | 
             
            #
         | 
| 3 5 | 
             
            # This file is generated. See the contributing guide for more information:
         | 
| @@ -30,6 +32,7 @@ module Aws::DataSync | |
| 30 32 | 
             
                  :agent_arn,
         | 
| 31 33 | 
             
                  :name,
         | 
| 32 34 | 
             
                  :status)
         | 
| 35 | 
            +
                  SENSITIVE = []
         | 
| 33 36 | 
             
                  include Aws::Structure
         | 
| 34 37 | 
             
                end
         | 
| 35 38 |  | 
| @@ -50,6 +53,7 @@ module Aws::DataSync | |
| 50 53 | 
             
                #
         | 
| 51 54 | 
             
                class CancelTaskExecutionRequest < Struct.new(
         | 
| 52 55 | 
             
                  :task_execution_arn)
         | 
| 56 | 
            +
                  SENSITIVE = []
         | 
| 53 57 | 
             
                  include Aws::Structure
         | 
| 54 58 | 
             
                end
         | 
| 55 59 |  | 
| @@ -149,6 +153,7 @@ module Aws::DataSync | |
| 149 153 | 
             
                  :vpc_endpoint_id,
         | 
| 150 154 | 
             
                  :subnet_arns,
         | 
| 151 155 | 
             
                  :security_group_arns)
         | 
| 156 | 
            +
                  SENSITIVE = []
         | 
| 152 157 | 
             
                  include Aws::Structure
         | 
| 153 158 | 
             
                end
         | 
| 154 159 |  | 
| @@ -164,6 +169,7 @@ module Aws::DataSync | |
| 164 169 | 
             
                #
         | 
| 165 170 | 
             
                class CreateAgentResponse < Struct.new(
         | 
| 166 171 | 
             
                  :agent_arn)
         | 
| 172 | 
            +
                  SENSITIVE = []
         | 
| 167 173 | 
             
                  include Aws::Structure
         | 
| 168 174 | 
             
                end
         | 
| 169 175 |  | 
| @@ -242,6 +248,7 @@ module Aws::DataSync | |
| 242 248 | 
             
                  :efs_filesystem_arn,
         | 
| 243 249 | 
             
                  :ec2_config,
         | 
| 244 250 | 
             
                  :tags)
         | 
| 251 | 
            +
                  SENSITIVE = []
         | 
| 245 252 | 
             
                  include Aws::Structure
         | 
| 246 253 | 
             
                end
         | 
| 247 254 |  | 
| @@ -256,6 +263,7 @@ module Aws::DataSync | |
| 256 263 | 
             
                #
         | 
| 257 264 | 
             
                class CreateLocationEfsResponse < Struct.new(
         | 
| 258 265 | 
             
                  :location_arn)
         | 
| 266 | 
            +
                  SENSITIVE = []
         | 
| 259 267 | 
             
                  include Aws::Structure
         | 
| 260 268 | 
             
                end
         | 
| 261 269 |  | 
| @@ -325,6 +333,7 @@ module Aws::DataSync | |
| 325 333 | 
             
                  :user,
         | 
| 326 334 | 
             
                  :domain,
         | 
| 327 335 | 
             
                  :password)
         | 
| 336 | 
            +
                  SENSITIVE = [:password]
         | 
| 328 337 | 
             
                  include Aws::Structure
         | 
| 329 338 | 
             
                end
         | 
| 330 339 |  | 
| @@ -337,6 +346,7 @@ module Aws::DataSync | |
| 337 346 | 
             
                #
         | 
| 338 347 | 
             
                class CreateLocationFsxWindowsResponse < Struct.new(
         | 
| 339 348 | 
             
                  :location_arn)
         | 
| 349 | 
            +
                  SENSITIVE = []
         | 
| 340 350 | 
             
                  include Aws::Structure
         | 
| 341 351 | 
             
                end
         | 
| 342 352 |  | 
| @@ -423,6 +433,7 @@ module Aws::DataSync | |
| 423 433 | 
             
                  :on_prem_config,
         | 
| 424 434 | 
             
                  :mount_options,
         | 
| 425 435 | 
             
                  :tags)
         | 
| 436 | 
            +
                  SENSITIVE = []
         | 
| 426 437 | 
             
                  include Aws::Structure
         | 
| 427 438 | 
             
                end
         | 
| 428 439 |  | 
| @@ -437,6 +448,7 @@ module Aws::DataSync | |
| 437 448 | 
             
                #
         | 
| 438 449 | 
             
                class CreateLocationNfsResponse < Struct.new(
         | 
| 439 450 | 
             
                  :location_arn)
         | 
| 451 | 
            +
                  SENSITIVE = []
         | 
| 440 452 | 
             
                  include Aws::Structure
         | 
| 441 453 | 
             
                end
         | 
| 442 454 |  | 
| @@ -505,6 +517,7 @@ module Aws::DataSync | |
| 505 517 | 
             
                  :s3_storage_class,
         | 
| 506 518 | 
             
                  :s3_config,
         | 
| 507 519 | 
             
                  :tags)
         | 
| 520 | 
            +
                  SENSITIVE = []
         | 
| 508 521 | 
             
                  include Aws::Structure
         | 
| 509 522 | 
             
                end
         | 
| 510 523 |  | 
| @@ -519,6 +532,7 @@ module Aws::DataSync | |
| 519 532 | 
             
                #
         | 
| 520 533 | 
             
                class CreateLocationS3Response < Struct.new(
         | 
| 521 534 | 
             
                  :location_arn)
         | 
| 535 | 
            +
                  SENSITIVE = []
         | 
| 522 536 | 
             
                  include Aws::Structure
         | 
| 523 537 | 
             
                end
         | 
| 524 538 |  | 
| @@ -620,6 +634,7 @@ module Aws::DataSync | |
| 620 634 | 
             
                  :agent_arns,
         | 
| 621 635 | 
             
                  :mount_options,
         | 
| 622 636 | 
             
                  :tags)
         | 
| 637 | 
            +
                  SENSITIVE = [:password]
         | 
| 623 638 | 
             
                  include Aws::Structure
         | 
| 624 639 | 
             
                end
         | 
| 625 640 |  | 
| @@ -634,6 +649,7 @@ module Aws::DataSync | |
| 634 649 | 
             
                #
         | 
| 635 650 | 
             
                class CreateLocationSmbResponse < Struct.new(
         | 
| 636 651 | 
             
                  :location_arn)
         | 
| 652 | 
            +
                  SENSITIVE = []
         | 
| 637 653 | 
             
                  include Aws::Structure
         | 
| 638 654 | 
             
                end
         | 
| 639 655 |  | 
| @@ -744,6 +760,7 @@ module Aws::DataSync | |
| 744 760 | 
             
                  :excludes,
         | 
| 745 761 | 
             
                  :schedule,
         | 
| 746 762 | 
             
                  :tags)
         | 
| 763 | 
            +
                  SENSITIVE = []
         | 
| 747 764 | 
             
                  include Aws::Structure
         | 
| 748 765 | 
             
                end
         | 
| 749 766 |  | 
| @@ -757,6 +774,7 @@ module Aws::DataSync | |
| 757 774 | 
             
                #
         | 
| 758 775 | 
             
                class CreateTaskResponse < Struct.new(
         | 
| 759 776 | 
             
                  :task_arn)
         | 
| 777 | 
            +
                  SENSITIVE = []
         | 
| 760 778 | 
             
                  include Aws::Structure
         | 
| 761 779 | 
             
                end
         | 
| 762 780 |  | 
| @@ -779,6 +797,7 @@ module Aws::DataSync | |
| 779 797 | 
             
                #
         | 
| 780 798 | 
             
                class DeleteAgentRequest < Struct.new(
         | 
| 781 799 | 
             
                  :agent_arn)
         | 
| 800 | 
            +
                  SENSITIVE = []
         | 
| 782 801 | 
             
                  include Aws::Structure
         | 
| 783 802 | 
             
                end
         | 
| 784 803 |  | 
| @@ -803,6 +822,7 @@ module Aws::DataSync | |
| 803 822 | 
             
                #
         | 
| 804 823 | 
             
                class DeleteLocationRequest < Struct.new(
         | 
| 805 824 | 
             
                  :location_arn)
         | 
| 825 | 
            +
                  SENSITIVE = []
         | 
| 806 826 | 
             
                  include Aws::Structure
         | 
| 807 827 | 
             
                end
         | 
| 808 828 |  | 
| @@ -827,6 +847,7 @@ module Aws::DataSync | |
| 827 847 | 
             
                #
         | 
| 828 848 | 
             
                class DeleteTaskRequest < Struct.new(
         | 
| 829 849 | 
             
                  :task_arn)
         | 
| 850 | 
            +
                  SENSITIVE = []
         | 
| 830 851 | 
             
                  include Aws::Structure
         | 
| 831 852 | 
             
                end
         | 
| 832 853 |  | 
| @@ -851,6 +872,7 @@ module Aws::DataSync | |
| 851 872 | 
             
                #
         | 
| 852 873 | 
             
                class DescribeAgentRequest < Struct.new(
         | 
| 853 874 | 
             
                  :agent_arn)
         | 
| 875 | 
            +
                  SENSITIVE = []
         | 
| 854 876 | 
             
                  include Aws::Structure
         | 
| 855 877 | 
             
                end
         | 
| 856 878 |  | 
| @@ -903,6 +925,7 @@ module Aws::DataSync | |
| 903 925 | 
             
                  :creation_time,
         | 
| 904 926 | 
             
                  :endpoint_type,
         | 
| 905 927 | 
             
                  :private_link_config)
         | 
| 928 | 
            +
                  SENSITIVE = []
         | 
| 906 929 | 
             
                  include Aws::Structure
         | 
| 907 930 | 
             
                end
         | 
| 908 931 |  | 
| @@ -923,6 +946,7 @@ module Aws::DataSync | |
| 923 946 | 
             
                #
         | 
| 924 947 | 
             
                class DescribeLocationEfsRequest < Struct.new(
         | 
| 925 948 | 
             
                  :location_arn)
         | 
| 949 | 
            +
                  SENSITIVE = []
         | 
| 926 950 | 
             
                  include Aws::Structure
         | 
| 927 951 | 
             
                end
         | 
| 928 952 |  | 
| @@ -956,6 +980,7 @@ module Aws::DataSync | |
| 956 980 | 
             
                  :location_uri,
         | 
| 957 981 | 
             
                  :ec2_config,
         | 
| 958 982 | 
             
                  :creation_time)
         | 
| 983 | 
            +
                  SENSITIVE = []
         | 
| 959 984 | 
             
                  include Aws::Structure
         | 
| 960 985 | 
             
                end
         | 
| 961 986 |  | 
| @@ -975,6 +1000,7 @@ module Aws::DataSync | |
| 975 1000 | 
             
                #
         | 
| 976 1001 | 
             
                class DescribeLocationFsxWindowsRequest < Struct.new(
         | 
| 977 1002 | 
             
                  :location_arn)
         | 
| 1003 | 
            +
                  SENSITIVE = []
         | 
| 978 1004 | 
             
                  include Aws::Structure
         | 
| 979 1005 | 
             
                end
         | 
| 980 1006 |  | 
| @@ -1015,6 +1041,7 @@ module Aws::DataSync | |
| 1015 1041 | 
             
                  :creation_time,
         | 
| 1016 1042 | 
             
                  :user,
         | 
| 1017 1043 | 
             
                  :domain)
         | 
| 1044 | 
            +
                  SENSITIVE = []
         | 
| 1018 1045 | 
             
                  include Aws::Structure
         | 
| 1019 1046 | 
             
                end
         | 
| 1020 1047 |  | 
| @@ -1035,6 +1062,7 @@ module Aws::DataSync | |
| 1035 1062 | 
             
                #
         | 
| 1036 1063 | 
             
                class DescribeLocationNfsRequest < Struct.new(
         | 
| 1037 1064 | 
             
                  :location_arn)
         | 
| 1065 | 
            +
                  SENSITIVE = []
         | 
| 1038 1066 | 
             
                  include Aws::Structure
         | 
| 1039 1067 | 
             
                end
         | 
| 1040 1068 |  | 
| @@ -1070,6 +1098,7 @@ module Aws::DataSync | |
| 1070 1098 | 
             
                  :on_prem_config,
         | 
| 1071 1099 | 
             
                  :mount_options,
         | 
| 1072 1100 | 
             
                  :creation_time)
         | 
| 1101 | 
            +
                  SENSITIVE = []
         | 
| 1073 1102 | 
             
                  include Aws::Structure
         | 
| 1074 1103 | 
             
                end
         | 
| 1075 1104 |  | 
| @@ -1091,6 +1120,7 @@ module Aws::DataSync | |
| 1091 1120 | 
             
                #
         | 
| 1092 1121 | 
             
                class DescribeLocationS3Request < Struct.new(
         | 
| 1093 1122 | 
             
                  :location_arn)
         | 
| 1123 | 
            +
                  SENSITIVE = []
         | 
| 1094 1124 | 
             
                  include Aws::Structure
         | 
| 1095 1125 | 
             
                end
         | 
| 1096 1126 |  | 
| @@ -1137,6 +1167,7 @@ module Aws::DataSync | |
| 1137 1167 | 
             
                  :s3_storage_class,
         | 
| 1138 1168 | 
             
                  :s3_config,
         | 
| 1139 1169 | 
             
                  :creation_time)
         | 
| 1170 | 
            +
                  SENSITIVE = []
         | 
| 1140 1171 | 
             
                  include Aws::Structure
         | 
| 1141 1172 | 
             
                end
         | 
| 1142 1173 |  | 
| @@ -1157,6 +1188,7 @@ module Aws::DataSync | |
| 1157 1188 | 
             
                #
         | 
| 1158 1189 | 
             
                class DescribeLocationSmbRequest < Struct.new(
         | 
| 1159 1190 | 
             
                  :location_arn)
         | 
| 1191 | 
            +
                  SENSITIVE = []
         | 
| 1160 1192 | 
             
                  include Aws::Structure
         | 
| 1161 1193 | 
             
                end
         | 
| 1162 1194 |  | 
| @@ -1204,6 +1236,7 @@ module Aws::DataSync | |
| 1204 1236 | 
             
                  :domain,
         | 
| 1205 1237 | 
             
                  :mount_options,
         | 
| 1206 1238 | 
             
                  :creation_time)
         | 
| 1239 | 
            +
                  SENSITIVE = []
         | 
| 1207 1240 | 
             
                  include Aws::Structure
         | 
| 1208 1241 | 
             
                end
         | 
| 1209 1242 |  | 
| @@ -1224,6 +1257,7 @@ module Aws::DataSync | |
| 1224 1257 | 
             
                #
         | 
| 1225 1258 | 
             
                class DescribeTaskExecutionRequest < Struct.new(
         | 
| 1226 1259 | 
             
                  :task_execution_arn)
         | 
| 1260 | 
            +
                  SENSITIVE = []
         | 
| 1227 1261 | 
             
                  include Aws::Structure
         | 
| 1228 1262 | 
             
                end
         | 
| 1229 1263 |  | 
| @@ -1334,6 +1368,7 @@ module Aws::DataSync | |
| 1334 1368 | 
             
                  :bytes_written,
         | 
| 1335 1369 | 
             
                  :bytes_transferred,
         | 
| 1336 1370 | 
             
                  :result)
         | 
| 1371 | 
            +
                  SENSITIVE = []
         | 
| 1337 1372 | 
             
                  include Aws::Structure
         | 
| 1338 1373 | 
             
                end
         | 
| 1339 1374 |  | 
| @@ -1354,6 +1389,7 @@ module Aws::DataSync | |
| 1354 1389 | 
             
                #
         | 
| 1355 1390 | 
             
                class DescribeTaskRequest < Struct.new(
         | 
| 1356 1391 | 
             
                  :task_arn)
         | 
| 1392 | 
            +
                  SENSITIVE = []
         | 
| 1357 1393 | 
             
                  include Aws::Structure
         | 
| 1358 1394 | 
             
                end
         | 
| 1359 1395 |  | 
| @@ -1463,6 +1499,7 @@ module Aws::DataSync | |
| 1463 1499 | 
             
                  :error_code,
         | 
| 1464 1500 | 
             
                  :error_detail,
         | 
| 1465 1501 | 
             
                  :creation_time)
         | 
| 1502 | 
            +
                  SENSITIVE = []
         | 
| 1466 1503 | 
             
                  include Aws::Structure
         | 
| 1467 1504 | 
             
                end
         | 
| 1468 1505 |  | 
| @@ -1495,6 +1532,7 @@ module Aws::DataSync | |
| 1495 1532 | 
             
                class Ec2Config < Struct.new(
         | 
| 1496 1533 | 
             
                  :subnet_arn,
         | 
| 1497 1534 | 
             
                  :security_group_arns)
         | 
| 1535 | 
            +
                  SENSITIVE = []
         | 
| 1498 1536 | 
             
                  include Aws::Structure
         | 
| 1499 1537 | 
             
                end
         | 
| 1500 1538 |  | 
| @@ -1525,6 +1563,7 @@ module Aws::DataSync | |
| 1525 1563 | 
             
                class FilterRule < Struct.new(
         | 
| 1526 1564 | 
             
                  :filter_type,
         | 
| 1527 1565 | 
             
                  :value)
         | 
| 1566 | 
            +
                  SENSITIVE = []
         | 
| 1528 1567 | 
             
                  include Aws::Structure
         | 
| 1529 1568 | 
             
                end
         | 
| 1530 1569 |  | 
| @@ -1542,6 +1581,7 @@ module Aws::DataSync | |
| 1542 1581 | 
             
                class InternalException < Struct.new(
         | 
| 1543 1582 | 
             
                  :message,
         | 
| 1544 1583 | 
             
                  :error_code)
         | 
| 1584 | 
            +
                  SENSITIVE = []
         | 
| 1545 1585 | 
             
                  include Aws::Structure
         | 
| 1546 1586 | 
             
                end
         | 
| 1547 1587 |  | 
| @@ -1558,6 +1598,7 @@ module Aws::DataSync | |
| 1558 1598 | 
             
                class InvalidRequestException < Struct.new(
         | 
| 1559 1599 | 
             
                  :message,
         | 
| 1560 1600 | 
             
                  :error_code)
         | 
| 1601 | 
            +
                  SENSITIVE = []
         | 
| 1561 1602 | 
             
                  include Aws::Structure
         | 
| 1562 1603 | 
             
                end
         | 
| 1563 1604 |  | 
| @@ -1585,6 +1626,7 @@ module Aws::DataSync | |
| 1585 1626 | 
             
                class ListAgentsRequest < Struct.new(
         | 
| 1586 1627 | 
             
                  :max_results,
         | 
| 1587 1628 | 
             
                  :next_token)
         | 
| 1629 | 
            +
                  SENSITIVE = []
         | 
| 1588 1630 | 
             
                  include Aws::Structure
         | 
| 1589 1631 | 
             
                end
         | 
| 1590 1632 |  | 
| @@ -1604,6 +1646,7 @@ module Aws::DataSync | |
| 1604 1646 | 
             
                class ListAgentsResponse < Struct.new(
         | 
| 1605 1647 | 
             
                  :agents,
         | 
| 1606 1648 | 
             
                  :next_token)
         | 
| 1649 | 
            +
                  SENSITIVE = []
         | 
| 1607 1650 | 
             
                  include Aws::Structure
         | 
| 1608 1651 | 
             
                end
         | 
| 1609 1652 |  | 
| @@ -1631,6 +1674,7 @@ module Aws::DataSync | |
| 1631 1674 | 
             
                class ListLocationsRequest < Struct.new(
         | 
| 1632 1675 | 
             
                  :max_results,
         | 
| 1633 1676 | 
             
                  :next_token)
         | 
| 1677 | 
            +
                  SENSITIVE = []
         | 
| 1634 1678 | 
             
                  include Aws::Structure
         | 
| 1635 1679 | 
             
                end
         | 
| 1636 1680 |  | 
| @@ -1650,6 +1694,7 @@ module Aws::DataSync | |
| 1650 1694 | 
             
                class ListLocationsResponse < Struct.new(
         | 
| 1651 1695 | 
             
                  :locations,
         | 
| 1652 1696 | 
             
                  :next_token)
         | 
| 1697 | 
            +
                  SENSITIVE = []
         | 
| 1653 1698 | 
             
                  include Aws::Structure
         | 
| 1654 1699 | 
             
                end
         | 
| 1655 1700 |  | 
| @@ -1683,6 +1728,7 @@ module Aws::DataSync | |
| 1683 1728 | 
             
                  :resource_arn,
         | 
| 1684 1729 | 
             
                  :max_results,
         | 
| 1685 1730 | 
             
                  :next_token)
         | 
| 1731 | 
            +
                  SENSITIVE = []
         | 
| 1686 1732 | 
             
                  include Aws::Structure
         | 
| 1687 1733 | 
             
                end
         | 
| 1688 1734 |  | 
| @@ -1702,6 +1748,7 @@ module Aws::DataSync | |
| 1702 1748 | 
             
                class ListTagsForResourceResponse < Struct.new(
         | 
| 1703 1749 | 
             
                  :tags,
         | 
| 1704 1750 | 
             
                  :next_token)
         | 
| 1751 | 
            +
                  SENSITIVE = []
         | 
| 1705 1752 | 
             
                  include Aws::Structure
         | 
| 1706 1753 | 
             
                end
         | 
| 1707 1754 |  | 
| @@ -1736,6 +1783,7 @@ module Aws::DataSync | |
| 1736 1783 | 
             
                  :task_arn,
         | 
| 1737 1784 | 
             
                  :max_results,
         | 
| 1738 1785 | 
             
                  :next_token)
         | 
| 1786 | 
            +
                  SENSITIVE = []
         | 
| 1739 1787 | 
             
                  include Aws::Structure
         | 
| 1740 1788 | 
             
                end
         | 
| 1741 1789 |  | 
| @@ -1755,6 +1803,7 @@ module Aws::DataSync | |
| 1755 1803 | 
             
                class ListTaskExecutionsResponse < Struct.new(
         | 
| 1756 1804 | 
             
                  :task_executions,
         | 
| 1757 1805 | 
             
                  :next_token)
         | 
| 1806 | 
            +
                  SENSITIVE = []
         | 
| 1758 1807 | 
             
                  include Aws::Structure
         | 
| 1759 1808 | 
             
                end
         | 
| 1760 1809 |  | 
| @@ -1782,6 +1831,7 @@ module Aws::DataSync | |
| 1782 1831 | 
             
                class ListTasksRequest < Struct.new(
         | 
| 1783 1832 | 
             
                  :max_results,
         | 
| 1784 1833 | 
             
                  :next_token)
         | 
| 1834 | 
            +
                  SENSITIVE = []
         | 
| 1785 1835 | 
             
                  include Aws::Structure
         | 
| 1786 1836 | 
             
                end
         | 
| 1787 1837 |  | 
| @@ -1801,6 +1851,7 @@ module Aws::DataSync | |
| 1801 1851 | 
             
                class ListTasksResponse < Struct.new(
         | 
| 1802 1852 | 
             
                  :tasks,
         | 
| 1803 1853 | 
             
                  :next_token)
         | 
| 1854 | 
            +
                  SENSITIVE = []
         | 
| 1804 1855 | 
             
                  include Aws::Structure
         | 
| 1805 1856 | 
             
                end
         | 
| 1806 1857 |  | 
| @@ -1842,6 +1893,7 @@ module Aws::DataSync | |
| 1842 1893 | 
             
                class LocationListEntry < Struct.new(
         | 
| 1843 1894 | 
             
                  :location_arn,
         | 
| 1844 1895 | 
             
                  :location_uri)
         | 
| 1896 | 
            +
                  SENSITIVE = []
         | 
| 1845 1897 | 
             
                  include Aws::Structure
         | 
| 1846 1898 | 
             
                end
         | 
| 1847 1899 |  | 
| @@ -1882,6 +1934,7 @@ module Aws::DataSync | |
| 1882 1934 | 
             
                #
         | 
| 1883 1935 | 
             
                class NfsMountOptions < Struct.new(
         | 
| 1884 1936 | 
             
                  :version)
         | 
| 1937 | 
            +
                  SENSITIVE = []
         | 
| 1885 1938 | 
             
                  include Aws::Structure
         | 
| 1886 1939 | 
             
                end
         | 
| 1887 1940 |  | 
| @@ -1903,6 +1956,7 @@ module Aws::DataSync | |
| 1903 1956 | 
             
                #
         | 
| 1904 1957 | 
             
                class OnPremConfig < Struct.new(
         | 
| 1905 1958 | 
             
                  :agent_arns)
         | 
| 1959 | 
            +
                  SENSITIVE = []
         | 
| 1906 1960 | 
             
                  include Aws::Structure
         | 
| 1907 1961 | 
             
                end
         | 
| 1908 1962 |  | 
| @@ -2117,6 +2171,7 @@ module Aws::DataSync | |
| 2117 2171 | 
             
                  :bytes_per_second,
         | 
| 2118 2172 | 
             
                  :task_queueing,
         | 
| 2119 2173 | 
             
                  :log_level)
         | 
| 2174 | 
            +
                  SENSITIVE = []
         | 
| 2120 2175 | 
             
                  include Aws::Structure
         | 
| 2121 2176 | 
             
                end
         | 
| 2122 2177 |  | 
| @@ -2158,6 +2213,7 @@ module Aws::DataSync | |
| 2158 2213 | 
             
                  :private_link_endpoint,
         | 
| 2159 2214 | 
             
                  :subnet_arns,
         | 
| 2160 2215 | 
             
                  :security_group_arns)
         | 
| 2216 | 
            +
                  SENSITIVE = []
         | 
| 2161 2217 | 
             
                  include Aws::Structure
         | 
| 2162 2218 | 
             
                end
         | 
| 2163 2219 |  | 
| @@ -2183,6 +2239,7 @@ module Aws::DataSync | |
| 2183 2239 | 
             
                #
         | 
| 2184 2240 | 
             
                class S3Config < Struct.new(
         | 
| 2185 2241 | 
             
                  :bucket_access_role_arn)
         | 
| 2242 | 
            +
                  SENSITIVE = []
         | 
| 2186 2243 | 
             
                  include Aws::Structure
         | 
| 2187 2244 | 
             
                end
         | 
| 2188 2245 |  | 
| @@ -2207,6 +2264,7 @@ module Aws::DataSync | |
| 2207 2264 | 
             
                #
         | 
| 2208 2265 | 
             
                class SmbMountOptions < Struct.new(
         | 
| 2209 2266 | 
             
                  :version)
         | 
| 2267 | 
            +
                  SENSITIVE = []
         | 
| 2210 2268 | 
             
                  include Aws::Structure
         | 
| 2211 2269 | 
             
                end
         | 
| 2212 2270 |  | 
| @@ -2269,6 +2327,7 @@ module Aws::DataSync | |
| 2269 2327 | 
             
                  :task_arn,
         | 
| 2270 2328 | 
             
                  :override_options,
         | 
| 2271 2329 | 
             
                  :includes)
         | 
| 2330 | 
            +
                  SENSITIVE = []
         | 
| 2272 2331 | 
             
                  include Aws::Structure
         | 
| 2273 2332 | 
             
                end
         | 
| 2274 2333 |  | 
| @@ -2283,6 +2342,7 @@ module Aws::DataSync | |
| 2283 2342 | 
             
                #
         | 
| 2284 2343 | 
             
                class StartTaskExecutionResponse < Struct.new(
         | 
| 2285 2344 | 
             
                  :task_execution_arn)
         | 
| 2345 | 
            +
                  SENSITIVE = []
         | 
| 2286 2346 | 
             
                  include Aws::Structure
         | 
| 2287 2347 | 
             
                end
         | 
| 2288 2348 |  | 
| @@ -2311,6 +2371,7 @@ module Aws::DataSync | |
| 2311 2371 | 
             
                class TagListEntry < Struct.new(
         | 
| 2312 2372 | 
             
                  :key,
         | 
| 2313 2373 | 
             
                  :value)
         | 
| 2374 | 
            +
                  SENSITIVE = []
         | 
| 2314 2375 | 
             
                  include Aws::Structure
         | 
| 2315 2376 | 
             
                end
         | 
| 2316 2377 |  | 
| @@ -2342,6 +2403,7 @@ module Aws::DataSync | |
| 2342 2403 | 
             
                class TagResourceRequest < Struct.new(
         | 
| 2343 2404 | 
             
                  :resource_arn,
         | 
| 2344 2405 | 
             
                  :tags)
         | 
| 2406 | 
            +
                  SENSITIVE = []
         | 
| 2345 2407 | 
             
                  include Aws::Structure
         | 
| 2346 2408 | 
             
                end
         | 
| 2347 2409 |  | 
| @@ -2367,6 +2429,7 @@ module Aws::DataSync | |
| 2367 2429 | 
             
                class TaskExecutionListEntry < Struct.new(
         | 
| 2368 2430 | 
             
                  :task_execution_arn,
         | 
| 2369 2431 | 
             
                  :status)
         | 
| 2432 | 
            +
                  SENSITIVE = []
         | 
| 2370 2433 | 
             
                  include Aws::Structure
         | 
| 2371 2434 | 
             
                end
         | 
| 2372 2435 |  | 
| @@ -2429,6 +2492,7 @@ module Aws::DataSync | |
| 2429 2492 | 
             
                  :verify_status,
         | 
| 2430 2493 | 
             
                  :error_code,
         | 
| 2431 2494 | 
             
                  :error_detail)
         | 
| 2495 | 
            +
                  SENSITIVE = []
         | 
| 2432 2496 | 
             
                  include Aws::Structure
         | 
| 2433 2497 | 
             
                end
         | 
| 2434 2498 |  | 
| @@ -2455,6 +2519,7 @@ module Aws::DataSync | |
| 2455 2519 | 
             
                  :task_arn,
         | 
| 2456 2520 | 
             
                  :status,
         | 
| 2457 2521 | 
             
                  :name)
         | 
| 2522 | 
            +
                  SENSITIVE = []
         | 
| 2458 2523 | 
             
                  include Aws::Structure
         | 
| 2459 2524 | 
             
                end
         | 
| 2460 2525 |  | 
| @@ -2482,6 +2547,7 @@ module Aws::DataSync | |
| 2482 2547 | 
             
                #
         | 
| 2483 2548 | 
             
                class TaskSchedule < Struct.new(
         | 
| 2484 2549 | 
             
                  :schedule_expression)
         | 
| 2550 | 
            +
                  SENSITIVE = []
         | 
| 2485 2551 | 
             
                  include Aws::Structure
         | 
| 2486 2552 | 
             
                end
         | 
| 2487 2553 |  | 
| @@ -2509,6 +2575,7 @@ module Aws::DataSync | |
| 2509 2575 | 
             
                class UntagResourceRequest < Struct.new(
         | 
| 2510 2576 | 
             
                  :resource_arn,
         | 
| 2511 2577 | 
             
                  :keys)
         | 
| 2578 | 
            +
                  SENSITIVE = []
         | 
| 2512 2579 | 
             
                  include Aws::Structure
         | 
| 2513 2580 | 
             
                end
         | 
| 2514 2581 |  | 
| @@ -2539,6 +2606,7 @@ module Aws::DataSync | |
| 2539 2606 | 
             
                class UpdateAgentRequest < Struct.new(
         | 
| 2540 2607 | 
             
                  :agent_arn,
         | 
| 2541 2608 | 
             
                  :name)
         | 
| 2609 | 
            +
                  SENSITIVE = []
         | 
| 2542 2610 | 
             
                  include Aws::Structure
         | 
| 2543 2611 | 
             
                end
         | 
| 2544 2612 |  | 
| @@ -2632,6 +2700,7 @@ module Aws::DataSync | |
| 2632 2700 | 
             
                  :schedule,
         | 
| 2633 2701 | 
             
                  :name,
         | 
| 2634 2702 | 
             
                  :cloud_watch_log_group_arn)
         | 
| 2703 | 
            +
                  SENSITIVE = []
         | 
| 2635 2704 | 
             
                  include Aws::Structure
         | 
| 2636 2705 | 
             
                end
         | 
| 2637 2706 |  | 
    
        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.22.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-06-23 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.99.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.99.0
         | 
| 33 33 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 34 34 | 
             
              name: aws-sigv4
         | 
| 35 35 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -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
         |