aws-sdk-datasync 1.50.0 → 1.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de98f67944d2f42d6f628d7a2382dfa14de614e403a227d99166201fa7c8846d
4
- data.tar.gz: 1ba4385bf18d52321ee75346b0a307e1f86da888576cfe05a00a2caa0afe03c9
3
+ metadata.gz: 5775167d528f2b52891f68b6f49e6adc477b1d8c0998b0653707ba629a6ecf0d
4
+ data.tar.gz: 96004030611c5c5eb8f658b8f4b9f7a9eb37c34f75644bdee09133fcd865d4bd
5
5
  SHA512:
6
- metadata.gz: bc657c9af1255c068800b3deeb49c9fdba7bfc1eef0eec9cb45a52729a68849ce580c7d4393431aae3965dd86fbeaa6892518ceffa1306060a72f8ccf3eeede9
7
- data.tar.gz: 4fb0b061314a00049bf9c02516f266635cfd13d7eacdca44db9d61d7e948a6a12348d43f63ad5ca2af7e8448d26c81ba91e59800b65a7f1a30c8febbb4347c12
6
+ metadata.gz: 4890b56b05328cc6123ee76a6ee0afed18bd8744a6e61400343dbb4b959ed441b4607f1b98fff859396132ed43ff0739802b06ce6475af4dadd19795751050e2
7
+ data.tar.gz: ea8d1fd373f5311469b7074ac59a4481e1f9d77cc517a7184b70707dcb6b58173ff2f7291af9d1358ec6343124e654e77562ccaa50745df768e1d2824597c417
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2022-12-16)
5
+ ------------------
6
+
7
+ * Feature - AWS DataSync now supports the use of tags with task executions. With this new feature, you can apply tags each time you execute a task, giving you greater control and management over your task executions.
8
+
9
+ 1.51.0 (2022-10-25)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.50.0 (2022-10-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.52.0
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
- require 'aws-sdk-core/plugins/signature_v4.rb'
33
+ require 'aws-sdk-core/plugins/sign.rb'
34
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
35
35
 
36
36
  Aws::Plugins::GlobalConfiguration.add_identifier(:datasync)
@@ -79,8 +79,9 @@ module Aws::DataSync
79
79
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
80
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
81
  add_plugin(Aws::Plugins::RecursionDetection)
82
- add_plugin(Aws::Plugins::SignatureV4)
82
+ add_plugin(Aws::Plugins::Sign)
83
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
84
+ add_plugin(Aws::DataSync::Plugins::Endpoints)
84
85
 
85
86
  # @overload initialize(options)
86
87
  # @param [Hash] options
@@ -297,6 +298,19 @@ module Aws::DataSync
297
298
  # ** Please note ** When response stubbing is enabled, no HTTP
298
299
  # requests are made, and retries are disabled.
299
300
  #
301
+ # @option options [Aws::TokenProvider] :token_provider
302
+ # A Bearer Token Provider. This can be an instance of any one of the
303
+ # following classes:
304
+ #
305
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
306
+ # tokens.
307
+ #
308
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
309
+ # access token generated from `aws login`.
310
+ #
311
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
312
+ # will be used to search for tokens configured for your profile in shared configuration files.
313
+ #
300
314
  # @option options [Boolean] :use_dualstack_endpoint
301
315
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
302
316
  # will be used if available.
@@ -310,6 +324,9 @@ module Aws::DataSync
310
324
  # When `true`, request parameters are validated before
311
325
  # sending the request.
312
326
  #
327
+ # @option options [Aws::DataSync::EndpointProvider] :endpoint_provider
328
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::DataSync::EndpointParameters`
329
+ #
313
330
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
314
331
  # requests through. Formatted like 'http://proxy.com:123'.
315
332
  #
@@ -1306,7 +1323,7 @@ module Aws::DataSync
1306
1323
  # resp = client.create_location_s3({
1307
1324
  # subdirectory: "S3Subdirectory",
1308
1325
  # s3_bucket_arn: "S3BucketArn", # required
1309
- # s3_storage_class: "STANDARD", # accepts STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS
1326
+ # s3_storage_class: "STANDARD", # accepts STANDARD, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_INSTANT_RETRIEVAL
1310
1327
  # s3_config: { # required
1311
1328
  # bucket_access_role_arn: "IamRoleArn", # required
1312
1329
  # },
@@ -1438,21 +1455,6 @@ module Aws::DataSync
1438
1455
  # preferences for how and when you want to transfer your data (such as
1439
1456
  # bandwidth limits, scheduling, among other options).
1440
1457
  #
1441
- # When you create a task that transfers data between Amazon Web Services
1442
- # services in different Amazon Web Services Regions, one of your
1443
- # locations must reside in the Region where you're using DataSync.
1444
- #
1445
- # For more information, see the following topics:
1446
- #
1447
- # * [Working with DataSync locations][1]
1448
- #
1449
- # * [Configure DataSync task settings][2]
1450
- #
1451
- #
1452
- #
1453
- # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html
1454
- # [2]: https://docs.aws.amazon.com/datasync/latest/userguide/create-task.html
1455
- #
1456
1458
  # @option params [required, String] :source_location_arn
1457
1459
  # The Amazon Resource Name (ARN) of the source location for the task.
1458
1460
  #
@@ -1469,25 +1471,25 @@ module Aws::DataSync
1469
1471
  # identify the task in the console.
1470
1472
  #
1471
1473
  # @option params [Types::Options] :options
1472
- # The set of configuration options that control the behavior of a single
1473
- # execution of the task that occurs when you call `StartTaskExecution`.
1474
- # You can configure these options to preserve metadata such as user ID
1475
- # (UID) and group ID (GID), file permissions, data integrity
1476
- # verification, and so on.
1474
+ # Specifies the configuration options for a task. Some options include
1475
+ # preserving file or object metadata and verifying data integrity.
1477
1476
  #
1478
- # For each individual task execution, you can override these options by
1479
- # specifying the `OverrideOptions` before starting the task execution.
1480
- # For more information, see the [StartTaskExecution][1] operation.
1477
+ # You can also override these options before starting an individual run
1478
+ # of a task (also known as a *task execution*). For more information,
1479
+ # see [StartTaskExecution][1].
1481
1480
  #
1482
1481
  #
1483
1482
  #
1484
1483
  # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html
1485
1484
  #
1486
1485
  # @option params [Array<Types::FilterRule>] :excludes
1487
- # A list of filter rules that determines which files to exclude from a
1488
- # task. The list should contain a single filter string that consists of
1489
- # the patterns to exclude. The patterns are delimited by "\|" (that
1490
- # is, a pipe), for example, `"/folder1|/folder2"`.
1486
+ # Specifies a list of filter rules that exclude specific data during
1487
+ # your transfer. For more information and examples, see [Filtering data
1488
+ # transferred by DataSync][1].
1489
+ #
1490
+ #
1491
+ #
1492
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html
1491
1493
  #
1492
1494
  # @option params [Types::TaskSchedule] :schedule
1493
1495
  # Specifies a schedule used to periodically transfer files from a source
@@ -1499,14 +1501,20 @@ module Aws::DataSync
1499
1501
  # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html
1500
1502
  #
1501
1503
  # @option params [Array<Types::TagListEntry>] :tags
1502
- # The key-value pair that represents the tag that you want to add to the
1503
- # resource. The value can be an empty string.
1504
+ # Specifies the tags that you want to apply to the Amazon Resource Name
1505
+ # (ARN) representing the task.
1506
+ #
1507
+ # *Tags* are key-value pairs that help you manage, filter, and search
1508
+ # for your DataSync resources.
1504
1509
  #
1505
1510
  # @option params [Array<Types::FilterRule>] :includes
1506
- # A list of filter rules that determines which files to include when
1507
- # running a task. The pattern contains a single filter string that
1508
- # consists of the patterns to include. The patterns are delimited by
1509
- # "\|" (that is, a pipe), for example, `"/folder1|/folder2"`.
1511
+ # Specifies a list of filter rules that include specific data during
1512
+ # your transfer. For more information and examples, see [Filtering data
1513
+ # transferred by DataSync][1].
1514
+ #
1515
+ #
1516
+ #
1517
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html
1510
1518
  #
1511
1519
  # @return [Types::CreateTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1512
1520
  #
@@ -1622,10 +1630,11 @@ module Aws::DataSync
1622
1630
  req.send_request(options)
1623
1631
  end
1624
1632
 
1625
- # Deletes a task.
1633
+ # Deletes an DataSync task.
1626
1634
  #
1627
1635
  # @option params [required, String] :task_arn
1628
- # The Amazon Resource Name (ARN) of the task to delete.
1636
+ # Specifies the Amazon Resource Name (ARN) of the task that you want to
1637
+ # delete.
1629
1638
  #
1630
1639
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1631
1640
  #
@@ -2078,7 +2087,7 @@ module Aws::DataSync
2078
2087
  #
2079
2088
  # resp.location_arn #=> String
2080
2089
  # resp.location_uri #=> String
2081
- # resp.s3_storage_class #=> String, one of "STANDARD", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS"
2090
+ # resp.s3_storage_class #=> String, one of "STANDARD", "STANDARD_IA", "ONEZONE_IA", "INTELLIGENT_TIERING", "GLACIER", "DEEP_ARCHIVE", "OUTPOSTS", "GLACIER_INSTANT_RETRIEVAL"
2082
2091
  # resp.s3_config.bucket_access_role_arn #=> String
2083
2092
  # resp.agent_arns #=> Array
2084
2093
  # resp.agent_arns[0] #=> String
@@ -2399,17 +2408,18 @@ module Aws::DataSync
2399
2408
  req.send_request(options)
2400
2409
  end
2401
2410
 
2402
- # Returns all the tags associated with a specified resource.
2411
+ # Returns all the tags associated with an Amazon Web Services resource.
2403
2412
  #
2404
2413
  # @option params [required, String] :resource_arn
2405
- # The Amazon Resource Name (ARN) of the resource whose tags to list.
2414
+ # Specifies the Amazon Resource Name (ARN) of the resource that you want
2415
+ # tag information on.
2406
2416
  #
2407
2417
  # @option params [Integer] :max_results
2408
- # The maximum number of locations to return.
2418
+ # Specifies how many results that you want in the response.
2409
2419
  #
2410
2420
  # @option params [String] :next_token
2411
- # An opaque string that indicates the position at which to begin the
2412
- # next list of locations.
2421
+ # Specifies an opaque string that indicates the position to begin the
2422
+ # next list of results in the response.
2413
2423
  #
2414
2424
  # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2415
2425
  #
@@ -2539,46 +2549,48 @@ module Aws::DataSync
2539
2549
  req.send_request(options)
2540
2550
  end
2541
2551
 
2542
- # Starts a specific invocation of a task. A `TaskExecution` value
2543
- # represents an individual run of a task. Each task can have at most one
2544
- # `TaskExecution` at a time.
2552
+ # Starts an DataSync task. For each task, you can only run one task
2553
+ # execution at a time.
2545
2554
  #
2546
- # `TaskExecution` has the following transition phases: INITIALIZING \|
2547
- # PREPARING \| TRANSFERRING \| VERIFYING \| SUCCESS/FAILURE.
2555
+ # There are several phases to a task execution. For more information,
2556
+ # see [Task execution statuses][1].
2548
2557
  #
2549
- # For detailed information, see the Task Execution section in the
2550
- # Components and Terminology topic in the *DataSync User Guide*.
2551
2558
  #
2552
- # @option params [required, String] :task_arn
2553
- # The Amazon Resource Name (ARN) of the task to start.
2554
2559
  #
2555
- # @option params [Types::Options] :override_options
2556
- # Represents the options that are available to control the behavior of a
2557
- # [StartTaskExecution][1] operation. Behavior includes preserving
2558
- # metadata such as user ID (UID), group ID (GID), and file permissions,
2559
- # and also overwriting files in the destination, data integrity
2560
- # verification, and so on.
2561
- #
2562
- # A task has a set of default options associated with it. If you don't
2563
- # specify an option in [StartTaskExecution][1], the default value is
2564
- # used. You can override the defaults options on each task execution by
2565
- # specifying an overriding `Options` value to [StartTaskExecution][1].
2560
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html#understand-task-execution-statuses
2566
2561
  #
2562
+ # @option params [required, String] :task_arn
2563
+ # Specifies the Amazon Resource Name (ARN) of the task that you want to
2564
+ # start.
2567
2565
  #
2566
+ # @option params [Types::Options] :override_options
2567
+ # Configures your DataSync task settings. These options include how
2568
+ # DataSync handles files, objects, and their associated metadata. You
2569
+ # also can specify how DataSync verifies data integrity, set bandwidth
2570
+ # limits for your task, among other options.
2568
2571
  #
2569
- # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html
2572
+ # Each task setting has a default value. Unless you need to, you don't
2573
+ # have to configure any of these `Options` before starting your task.
2570
2574
  #
2571
2575
  # @option params [Array<Types::FilterRule>] :includes
2572
- # A list of filter rules that determines which files to include when
2573
- # running a task. The pattern should contain a single filter string that
2574
- # consists of the patterns to include. The patterns are delimited by
2575
- # "\|" (that is, a pipe), for example, `"/folder1|/folder2"`.
2576
+ # Specifies a list of filter rules that determines which files to
2577
+ # include when running a task. The pattern should contain a single
2578
+ # filter string that consists of the patterns to include. The patterns
2579
+ # are delimited by "\|" (that is, a pipe), for example,
2580
+ # `"/folder1|/folder2"`.
2576
2581
  #
2577
2582
  # @option params [Array<Types::FilterRule>] :excludes
2578
- # A list of filter rules that determines which files to exclude from a
2579
- # task. The list contains a single filter string that consists of the
2580
- # patterns to exclude. The patterns are delimited by "\|" (that is, a
2581
- # pipe), for example, `"/folder1|/folder2"`.
2583
+ # Specifies a list of filter rules that determines which files to
2584
+ # exclude from a task. The list contains a single filter string that
2585
+ # consists of the patterns to exclude. The patterns are delimited by
2586
+ # "\|" (that is, a pipe), for example, `"/folder1|/folder2"`.
2587
+ #
2588
+ # @option params [Array<Types::TagListEntry>] :tags
2589
+ # Specifies the tags that you want to apply to the Amazon Resource Name
2590
+ # (ARN) representing the task execution.
2591
+ #
2592
+ # *Tags* are key-value pairs that help you manage, filter, and search
2593
+ # for your DataSync resources.
2582
2594
  #
2583
2595
  # @return [Types::StartTaskExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2584
2596
  #
@@ -2617,6 +2629,12 @@ module Aws::DataSync
2617
2629
  # value: "FilterValue",
2618
2630
  # },
2619
2631
  # ],
2632
+ # tags: [
2633
+ # {
2634
+ # key: "TagKey", # required
2635
+ # value: "TagValue",
2636
+ # },
2637
+ # ],
2620
2638
  # })
2621
2639
  #
2622
2640
  # @example Response structure
@@ -2632,13 +2650,18 @@ module Aws::DataSync
2632
2650
  req.send_request(options)
2633
2651
  end
2634
2652
 
2635
- # Applies a key-value pair to an Amazon Web Services resource.
2653
+ # Applies a *tag* to an Amazon Web Services resource. Tags are key-value
2654
+ # pairs that can help you manage, filter, and search for your resources.
2655
+ #
2656
+ # These include DataSync resources, such as locations, tasks, and task
2657
+ # executions.
2636
2658
  #
2637
2659
  # @option params [required, String] :resource_arn
2638
- # The Amazon Resource Name (ARN) of the resource to apply the tag to.
2660
+ # Specifies the Amazon Resource Name (ARN) of the resource to apply the
2661
+ # tag to.
2639
2662
  #
2640
2663
  # @option params [required, Array<Types::TagListEntry>] :tags
2641
- # The tags to apply.
2664
+ # Specifies the tags that you want to apply to the resource.
2642
2665
  #
2643
2666
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2644
2667
  #
@@ -2663,13 +2686,14 @@ module Aws::DataSync
2663
2686
  req.send_request(options)
2664
2687
  end
2665
2688
 
2666
- # Removes a tag from an Amazon Web Services resource.
2689
+ # Removes tags from an Amazon Web Services resource.
2667
2690
  #
2668
2691
  # @option params [required, String] :resource_arn
2669
- # The Amazon Resource Name (ARN) of the resource to remove the tag from.
2692
+ # Specifies the Amazon Resource Name (ARN) of the resource to remove the
2693
+ # tags from.
2670
2694
  #
2671
2695
  # @option params [required, Array<String>] :keys
2672
- # The keys in the key-value pair in the tag to remove.
2696
+ # Specifies the keys in the tags that you want to remove.
2673
2697
  #
2674
2698
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2675
2699
  #
@@ -3047,26 +3071,22 @@ module Aws::DataSync
3047
3071
  # update.
3048
3072
  #
3049
3073
  # @option params [Types::Options] :options
3050
- # Represents the options that are available to control the behavior of a
3051
- # [StartTaskExecution][1] operation. Behavior includes preserving
3052
- # metadata such as user ID (UID), group ID (GID), and file permissions,
3053
- # and also overwriting files in the destination, data integrity
3054
- # verification, and so on.
3074
+ # Configures your DataSync task settings. These options include how
3075
+ # DataSync handles files, objects, and their associated metadata. You
3076
+ # also can specify how DataSync verifies data integrity, set bandwidth
3077
+ # limits for your task, among other options.
3055
3078
  #
3056
- # A task has a set of default options associated with it. If you don't
3057
- # specify an option in [StartTaskExecution][1], the default value is
3058
- # used. You can override the defaults options on each task execution by
3059
- # specifying an overriding `Options` value to [StartTaskExecution][1].
3079
+ # Each task setting has a default value. Unless you need to, you don't
3080
+ # have to configure any of these `Options` before starting your task.
3060
3081
  #
3082
+ # @option params [Array<Types::FilterRule>] :excludes
3083
+ # Specifies a list of filter rules that exclude specific data during
3084
+ # your transfer. For more information and examples, see [Filtering data
3085
+ # transferred by DataSync][1].
3061
3086
  #
3062
3087
  #
3063
- # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html
3064
3088
  #
3065
- # @option params [Array<Types::FilterRule>] :excludes
3066
- # A list of filter rules that determines which files to exclude from a
3067
- # task. The list should contain a single filter string that consists of
3068
- # the patterns to exclude. The patterns are delimited by "\|" (that
3069
- # is, a pipe), for example, `"/folder1|/folder2"`.
3089
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html
3070
3090
  #
3071
3091
  # @option params [Types::TaskSchedule] :schedule
3072
3092
  # Specifies a schedule used to periodically transfer files from a source
@@ -3088,10 +3108,13 @@ module Aws::DataSync
3088
3108
  # CloudWatch log group.
3089
3109
  #
3090
3110
  # @option params [Array<Types::FilterRule>] :includes
3091
- # A list of filter rules that determines which files to include when
3092
- # running a task. The pattern contains a single filter string that
3093
- # consists of the patterns to include. The patterns are delimited by
3094
- # "\|" (that is, a pipe), for example, `"/folder1|/folder2"`.
3111
+ # Specifies a list of filter rules that include specific data during
3112
+ # your transfer. For more information and examples, see [Filtering data
3113
+ # transferred by DataSync][1].
3114
+ #
3115
+ #
3116
+ #
3117
+ # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html
3095
3118
  #
3096
3119
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3097
3120
  #
@@ -3164,20 +3187,13 @@ module Aws::DataSync
3164
3187
  # being updated.
3165
3188
  #
3166
3189
  # @option params [required, Types::Options] :options
3167
- # Represents the options that are available to control the behavior of a
3168
- # [StartTaskExecution][1] operation. Behavior includes preserving
3169
- # metadata such as user ID (UID), group ID (GID), and file permissions,
3170
- # and also overwriting files in the destination, data integrity
3171
- # verification, and so on.
3172
- #
3173
- # A task has a set of default options associated with it. If you don't
3174
- # specify an option in [StartTaskExecution][1], the default value is
3175
- # used. You can override the defaults options on each task execution by
3176
- # specifying an overriding `Options` value to [StartTaskExecution][1].
3190
+ # Configures your DataSync task settings. These options include how
3191
+ # DataSync handles files, objects, and their associated metadata. You
3192
+ # also can specify how DataSync verifies data integrity, set bandwidth
3193
+ # limits for your task, among other options.
3177
3194
  #
3178
- #
3179
- #
3180
- # [1]: https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html
3195
+ # Each task setting has a default value. Unless you need to, you don't
3196
+ # have to configure any of these `Options` before starting your task.
3181
3197
  #
3182
3198
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3183
3199
  #
@@ -3226,7 +3242,7 @@ module Aws::DataSync
3226
3242
  params: params,
3227
3243
  config: config)
3228
3244
  context[:gem_name] = 'aws-sdk-datasync'
3229
- context[:gem_version] = '1.50.0'
3245
+ context[:gem_version] = '1.52.0'
3230
3246
  Seahorse::Client::Request.new(handlers, context)
3231
3247
  end
3232
3248
 
@@ -729,6 +729,7 @@ module Aws::DataSync
729
729
  StartTaskExecutionRequest.add_member(:override_options, Shapes::ShapeRef.new(shape: Options, location_name: "OverrideOptions"))
730
730
  StartTaskExecutionRequest.add_member(:includes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Includes"))
731
731
  StartTaskExecutionRequest.add_member(:excludes, Shapes::ShapeRef.new(shape: FilterList, location_name: "Excludes"))
732
+ StartTaskExecutionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: InputTagList, location_name: "Tags"))
732
733
  StartTaskExecutionRequest.struct_class = Types::StartTaskExecutionRequest
733
734
 
734
735
  StartTaskExecutionResponse.add_member(:task_execution_arn, Shapes::ShapeRef.new(shape: TaskExecutionArn, location_name: "TaskExecutionArn"))
@@ -0,0 +1,69 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::DataSync
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
56
+ self[:use_dual_stack] = options[:use_dual_stack]
57
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
+ if self[:use_dual_stack].nil?
59
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
60
+ end
61
+ self[:use_fips] = options[:use_fips]
62
+ self[:use_fips] = false if self[:use_fips].nil?
63
+ if self[:use_fips].nil?
64
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
65
+ end
66
+ self[:endpoint] = options[:endpoint]
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,110 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::DataSync
11
+ class EndpointProvider
12
+ def initialize(rule_set = nil)
13
+ @@rule_set ||= begin
14
+ endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
+ Aws::Endpoints::RuleSet.new(
16
+ version: endpoint_rules['version'],
17
+ service_id: endpoint_rules['serviceId'],
18
+ parameters: endpoint_rules['parameters'],
19
+ rules: endpoint_rules['rules']
20
+ )
21
+ end
22
+ @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
+ end
24
+
25
+ def resolve_endpoint(parameters)
26
+ @provider.resolve_endpoint(parameters)
27
+ end
28
+
29
+ # @api private
30
+ RULES = <<-JSON
31
+ eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1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