aws-sdk-drs 1.9.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 780696c964422166a982f187b8a9bb59d6a63a637ec0bdf66e89eea640bf1513
4
- data.tar.gz: 2e4196718632bfa1f8f915ec62fa11ad266d3bda11f1f2678239882e96fc1392
3
+ metadata.gz: dad136cef07360b5c62a1ca5914bae47085a03533ecd9842f5fdbc0a48055422
4
+ data.tar.gz: 1adf2da135f01bce340237ed8a38fb407d17d313ae864d376500097b6f93c179
5
5
  SHA512:
6
- metadata.gz: b6efde2db0ab951665b7f8bd150f0d76b2dd09bbea2bbd57c6def3bd6b33e4b33e615e503a038bb5be97d76fad3c993fcb193ca761d8b04f0a08b6457b0a748c
7
- data.tar.gz: c2ee6e026ca05eb27b886727d9050f5a2b1237f531943d40ed9ada16ec1933251e9c82ff676923c5d94ea02307ae2faf552ec4c139343c2d72fca9e4a6df5e75
6
+ metadata.gz: 5b1dc3447b3028b4ad73635cf22b1436ecc74b1822aeede044c4b609f939e496b1779a79657a61514a814945b20f2cdaf6a68f9680266a09a7b79a2274c050d6
7
+ data.tar.gz: 9b9d7a9b1b0caade71d0b8cfc33cb720ad9bc5c4a5dd931937ebf8ea3856da02b0d882c35c08b027a494f40ccf26b6e7bbdcddad3739085b3b9175a53198d0a4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.10.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.9.0 (2022-11-28)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.10.0
@@ -2499,7 +2499,7 @@ module Aws::Drs
2499
2499
  params: params,
2500
2500
  config: config)
2501
2501
  context[:gem_name] = 'aws-sdk-drs'
2502
- context[:gem_version] = '1.9.0'
2502
+ context[:gem_version] = '1.10.0'
2503
2503
  Seahorse::Client::Request.new(handlers, context)
2504
2504
  end
2505
2505
 
@@ -9,103 +9,43 @@
9
9
 
10
10
  module Aws::Drs
11
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
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://drs-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://drs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://drs.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://drs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6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iOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBi
103
- dXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2si
104
- LCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50
105
- Ijp7InVybCI6Imh0dHBzOi8vZHJzLntSZWdpb259LntQYXJ0aXRpb25SZXN1
106
- bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0s
107
- InR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
108
-
109
- JSON
110
50
  end
111
51
  end
@@ -123,16 +123,6 @@ module Aws::Drs
123
123
  include Aws::Structure
124
124
  end
125
125
 
126
- # @note When making an API call, you may pass CreateExtendedSourceServerRequest
127
- # data as a hash:
128
- #
129
- # {
130
- # source_server_arn: "SourceServerARN", # required
131
- # tags: {
132
- # "TagKey" => "TagValue",
133
- # },
134
- # }
135
- #
136
126
  # @!attribute [rw] source_server_arn
137
127
  # This defines the ARN of the source server in staging Account based
138
128
  # on which you want to create an extended source server.
@@ -163,38 +153,6 @@ module Aws::Drs
163
153
  include Aws::Structure
164
154
  end
165
155
 
166
- # @note When making an API call, you may pass CreateReplicationConfigurationTemplateRequest
167
- # data as a hash:
168
- #
169
- # {
170
- # associate_default_security_group: false, # required
171
- # bandwidth_throttling: 1, # required
172
- # create_public_ip: false, # required
173
- # data_plane_routing: "PRIVATE_IP", # required, accepts PRIVATE_IP, PUBLIC_IP
174
- # default_large_staging_disk_type: "GP2", # required, accepts GP2, GP3, ST1, AUTO
175
- # ebs_encryption: "DEFAULT", # required, accepts DEFAULT, CUSTOM
176
- # ebs_encryption_key_arn: "ARN",
177
- # pit_policy: [ # required
178
- # {
179
- # enabled: false,
180
- # interval: 1, # required
181
- # retention_duration: 1, # required
182
- # rule_id: 1,
183
- # units: "MINUTE", # required, accepts MINUTE, HOUR, DAY
184
- # },
185
- # ],
186
- # replication_server_instance_type: "EC2InstanceType", # required
187
- # replication_servers_security_groups_i_ds: ["SecurityGroupID"], # required
188
- # staging_area_subnet_id: "SubnetID", # required
189
- # staging_area_tags: { # required
190
- # "TagKey" => "TagValue",
191
- # },
192
- # tags: {
193
- # "TagKey" => "TagValue",
194
- # },
195
- # use_dedicated_replication_server: false, # required
196
- # }
197
- #
198
156
  # @!attribute [rw] associate_default_security_group
199
157
  # Whether to associate the default Elastic Disaster Recovery Security
200
158
  # group with the Replication Configuration Template.
@@ -415,13 +373,6 @@ module Aws::Drs
415
373
  include Aws::Structure
416
374
  end
417
375
 
418
- # @note When making an API call, you may pass DeleteJobRequest
419
- # data as a hash:
420
- #
421
- # {
422
- # job_id: "JobID", # required
423
- # }
424
- #
425
376
  # @!attribute [rw] job_id
426
377
  # The ID of the Job to be deleted.
427
378
  # @return [String]
@@ -438,13 +389,6 @@ module Aws::Drs
438
389
  #
439
390
  class DeleteJobResponse < Aws::EmptyStructure; end
440
391
 
441
- # @note When making an API call, you may pass DeleteRecoveryInstanceRequest
442
- # data as a hash:
443
- #
444
- # {
445
- # recovery_instance_id: "RecoveryInstanceID", # required
446
- # }
447
- #
448
392
  # @!attribute [rw] recovery_instance_id
449
393
  # The ID of the Recovery Instance to be deleted.
450
394
  # @return [String]
@@ -457,13 +401,6 @@ module Aws::Drs
457
401
  include Aws::Structure
458
402
  end
459
403
 
460
- # @note When making an API call, you may pass DeleteReplicationConfigurationTemplateRequest
461
- # data as a hash:
462
- #
463
- # {
464
- # replication_configuration_template_id: "ReplicationConfigurationTemplateID", # required
465
- # }
466
- #
467
404
  # @!attribute [rw] replication_configuration_template_id
468
405
  # The ID of the Replication Configuration Template to be deleted.
469
406
  # @return [String]
@@ -480,13 +417,6 @@ module Aws::Drs
480
417
  #
481
418
  class DeleteReplicationConfigurationTemplateResponse < Aws::EmptyStructure; end
482
419
 
483
- # @note When making an API call, you may pass DeleteSourceServerRequest
484
- # data as a hash:
485
- #
486
- # {
487
- # source_server_id: "SourceServerID", # required
488
- # }
489
- #
490
420
  # @!attribute [rw] source_server_id
491
421
  # The ID of the Source Server to be deleted.
492
422
  # @return [String]
@@ -503,15 +433,6 @@ module Aws::Drs
503
433
  #
504
434
  class DeleteSourceServerResponse < Aws::EmptyStructure; end
505
435
 
506
- # @note When making an API call, you may pass DescribeJobLogItemsRequest
507
- # data as a hash:
508
- #
509
- # {
510
- # job_id: "JobID", # required
511
- # max_results: 1,
512
- # next_token: "PaginationToken",
513
- # }
514
- #
515
436
  # @!attribute [rw] job_id
516
437
  # The ID of the Job for which Job log items will be retrieved.
517
438
  # @return [String]
@@ -551,19 +472,6 @@ module Aws::Drs
551
472
  include Aws::Structure
552
473
  end
553
474
 
554
- # @note When making an API call, you may pass DescribeJobsRequest
555
- # data as a hash:
556
- #
557
- # {
558
- # filters: {
559
- # from_date: "ISO8601DatetimeString",
560
- # job_i_ds: ["JobID"],
561
- # to_date: "ISO8601DatetimeString",
562
- # },
563
- # max_results: 1,
564
- # next_token: "PaginationToken",
565
- # }
566
- #
567
475
  # @!attribute [rw] filters
568
476
  # A set of filters by which to return Jobs.
569
477
  # @return [Types::DescribeJobsRequestFilters]
@@ -588,15 +496,6 @@ module Aws::Drs
588
496
 
589
497
  # A set of filters by which to return Jobs.
590
498
  #
591
- # @note When making an API call, you may pass DescribeJobsRequestFilters
592
- # data as a hash:
593
- #
594
- # {
595
- # from_date: "ISO8601DatetimeString",
596
- # job_i_ds: ["JobID"],
597
- # to_date: "ISO8601DatetimeString",
598
- # }
599
- #
600
499
  # @!attribute [rw] from_date
601
500
  # The start date in a date range query.
602
501
  # @return [String]
@@ -637,18 +536,6 @@ module Aws::Drs
637
536
  include Aws::Structure
638
537
  end
639
538
 
640
- # @note When making an API call, you may pass DescribeRecoveryInstancesRequest
641
- # data as a hash:
642
- #
643
- # {
644
- # filters: {
645
- # recovery_instance_i_ds: ["RecoveryInstanceID"],
646
- # source_server_i_ds: ["SourceServerID"],
647
- # },
648
- # max_results: 1,
649
- # next_token: "PaginationToken",
650
- # }
651
- #
652
539
  # @!attribute [rw] filters
653
540
  # A set of filters by which to return Recovery Instances.
654
541
  # @return [Types::DescribeRecoveryInstancesRequestFilters]
@@ -673,14 +560,6 @@ module Aws::Drs
673
560
 
674
561
  # A set of filters by which to return Recovery Instances.
675
562
  #
676
- # @note When making an API call, you may pass DescribeRecoveryInstancesRequestFilters
677
- # data as a hash:
678
- #
679
- # {
680
- # recovery_instance_i_ds: ["RecoveryInstanceID"],
681
- # source_server_i_ds: ["SourceServerID"],
682
- # }
683
- #
684
563
  # @!attribute [rw] recovery_instance_i_ds
685
564
  # An array of Recovery Instance IDs that should be returned. An empty
686
565
  # array means all Recovery Instances.
@@ -717,20 +596,6 @@ module Aws::Drs
717
596
  include Aws::Structure
718
597
  end
719
598
 
720
- # @note When making an API call, you may pass DescribeRecoverySnapshotsRequest
721
- # data as a hash:
722
- #
723
- # {
724
- # filters: {
725
- # from_date_time: "ISO8601DatetimeString",
726
- # to_date_time: "ISO8601DatetimeString",
727
- # },
728
- # max_results: 1,
729
- # next_token: "PaginationToken",
730
- # order: "ASC", # accepts ASC, DESC
731
- # source_server_id: "SourceServerID", # required
732
- # }
733
- #
734
599
  # @!attribute [rw] filters
735
600
  # A set of filters by which to return Recovery Snapshots.
736
601
  # @return [Types::DescribeRecoverySnapshotsRequestFilters]
@@ -765,14 +630,6 @@ module Aws::Drs
765
630
 
766
631
  # A set of filters by which to return Recovery Snapshots.
767
632
  #
768
- # @note When making an API call, you may pass DescribeRecoverySnapshotsRequestFilters
769
- # data as a hash:
770
- #
771
- # {
772
- # from_date_time: "ISO8601DatetimeString",
773
- # to_date_time: "ISO8601DatetimeString",
774
- # }
775
- #
776
633
  # @!attribute [rw] from_date_time
777
634
  # The start date in a date range query.
778
635
  # @return [String]
@@ -807,15 +664,6 @@ module Aws::Drs
807
664
  include Aws::Structure
808
665
  end
809
666
 
810
- # @note When making an API call, you may pass DescribeReplicationConfigurationTemplatesRequest
811
- # data as a hash:
812
- #
813
- # {
814
- # max_results: 1,
815
- # next_token: "PaginationToken",
816
- # replication_configuration_template_i_ds: ["ReplicationConfigurationTemplateID"],
817
- # }
818
- #
819
667
  # @!attribute [rw] max_results
820
668
  # Maximum number of Replication Configuration Templates to retrieve.
821
669
  # @return [Integer]
@@ -858,19 +706,6 @@ module Aws::Drs
858
706
  include Aws::Structure
859
707
  end
860
708
 
861
- # @note When making an API call, you may pass DescribeSourceServersRequest
862
- # data as a hash:
863
- #
864
- # {
865
- # filters: {
866
- # hardware_id: "BoundedString",
867
- # source_server_i_ds: ["SourceServerID"],
868
- # staging_account_i_ds: ["AccountID"],
869
- # },
870
- # max_results: 1,
871
- # next_token: "PaginationToken",
872
- # }
873
- #
874
709
  # @!attribute [rw] filters
875
710
  # A set of filters by which to return Source Servers.
876
711
  # @return [Types::DescribeSourceServersRequestFilters]
@@ -895,15 +730,6 @@ module Aws::Drs
895
730
 
896
731
  # A set of filters by which to return Source Servers.
897
732
  #
898
- # @note When making an API call, you may pass DescribeSourceServersRequestFilters
899
- # data as a hash:
900
- #
901
- # {
902
- # hardware_id: "BoundedString",
903
- # source_server_i_ds: ["SourceServerID"],
904
- # staging_account_i_ds: ["AccountID"],
905
- # }
906
- #
907
733
  # @!attribute [rw] hardware_id
908
734
  # An ID that describes the hardware of the Source Server. This is
909
735
  # either an EC2 instance id, a VMware uuid or a mac address.
@@ -946,13 +772,6 @@ module Aws::Drs
946
772
  include Aws::Structure
947
773
  end
948
774
 
949
- # @note When making an API call, you may pass DisconnectRecoveryInstanceRequest
950
- # data as a hash:
951
- #
952
- # {
953
- # recovery_instance_id: "RecoveryInstanceID", # required
954
- # }
955
- #
956
775
  # @!attribute [rw] recovery_instance_id
957
776
  # The ID of the Recovery Instance to disconnect.
958
777
  # @return [String]
@@ -965,13 +784,6 @@ module Aws::Drs
965
784
  include Aws::Structure
966
785
  end
967
786
 
968
- # @note When making an API call, you may pass DisconnectSourceServerRequest
969
- # data as a hash:
970
- #
971
- # {
972
- # source_server_id: "SourceServerID", # required
973
- # }
974
- #
975
787
  # @!attribute [rw] source_server_id
976
788
  # The ID of the Source Server to disconnect.
977
789
  # @return [String]
@@ -1003,13 +815,6 @@ module Aws::Drs
1003
815
  include Aws::Structure
1004
816
  end
1005
817
 
1006
- # @note When making an API call, you may pass GetFailbackReplicationConfigurationRequest
1007
- # data as a hash:
1008
- #
1009
- # {
1010
- # recovery_instance_id: "RecoveryInstanceID", # required
1011
- # }
1012
- #
1013
818
  # @!attribute [rw] recovery_instance_id
1014
819
  # The ID of the Recovery Instance whose failback replication
1015
820
  # configuration should be returned.
@@ -1052,13 +857,6 @@ module Aws::Drs
1052
857
  include Aws::Structure
1053
858
  end
1054
859
 
1055
- # @note When making an API call, you may pass GetLaunchConfigurationRequest
1056
- # data as a hash:
1057
- #
1058
- # {
1059
- # source_server_id: "SourceServerID", # required
1060
- # }
1061
- #
1062
860
  # @!attribute [rw] source_server_id
1063
861
  # The ID of the Source Server that we want to retrieve a Launch
1064
862
  # Configuration for.
@@ -1072,13 +870,6 @@ module Aws::Drs
1072
870
  include Aws::Structure
1073
871
  end
1074
872
 
1075
- # @note When making an API call, you may pass GetReplicationConfigurationRequest
1076
- # data as a hash:
1077
- #
1078
- # {
1079
- # source_server_id: "SourceServerID", # required
1080
- # }
1081
- #
1082
873
  # @!attribute [rw] source_server_id
1083
874
  # The ID of the Source Serve for this Replication Configuration.r
1084
875
  # @return [String]
@@ -1317,13 +1108,6 @@ module Aws::Drs
1317
1108
 
1318
1109
  # Configuration of a machine's license.
1319
1110
  #
1320
- # @note When making an API call, you may pass Licensing
1321
- # data as a hash:
1322
- #
1323
- # {
1324
- # os_byol: false,
1325
- # }
1326
- #
1327
1111
  # @!attribute [rw] os_byol
1328
1112
  # Whether to enable "Bring your own license" or not.
1329
1113
  # @return [Boolean]
@@ -1414,15 +1198,6 @@ module Aws::Drs
1414
1198
  include Aws::Structure
1415
1199
  end
1416
1200
 
1417
- # @note When making an API call, you may pass ListExtensibleSourceServersRequest
1418
- # data as a hash:
1419
- #
1420
- # {
1421
- # max_results: 1,
1422
- # next_token: "PaginationToken",
1423
- # staging_account_id: "AccountID", # required
1424
- # }
1425
- #
1426
1201
  # @!attribute [rw] max_results
1427
1202
  # The maximum number of extensible source servers to retrieve.
1428
1203
  # @return [Integer]
@@ -1463,14 +1238,6 @@ module Aws::Drs
1463
1238
  include Aws::Structure
1464
1239
  end
1465
1240
 
1466
- # @note When making an API call, you may pass ListStagingAccountsRequest
1467
- # data as a hash:
1468
- #
1469
- # {
1470
- # max_results: 1,
1471
- # next_token: "PaginationToken",
1472
- # }
1473
- #
1474
1241
  # @!attribute [rw] max_results
1475
1242
  # The maximum number of staging Accounts to retrieve.
1476
1243
  # @return [Integer]
@@ -1505,13 +1272,6 @@ module Aws::Drs
1505
1272
  include Aws::Structure
1506
1273
  end
1507
1274
 
1508
- # @note When making an API call, you may pass ListTagsForResourceRequest
1509
- # data as a hash:
1510
- #
1511
- # {
1512
- # resource_arn: "ARN", # required
1513
- # }
1514
- #
1515
1275
  # @!attribute [rw] resource_arn
1516
1276
  # The ARN of the resource whose tags should be returned.
1517
1277
  # @return [String]
@@ -1577,17 +1337,6 @@ module Aws::Drs
1577
1337
  # A rule in the Point in Time (PIT) policy representing when to take
1578
1338
  # snapshots and how long to retain them for.
1579
1339
  #
1580
- # @note When making an API call, you may pass PITPolicyRule
1581
- # data as a hash:
1582
- #
1583
- # {
1584
- # enabled: false,
1585
- # interval: 1, # required
1586
- # retention_duration: 1, # required
1587
- # rule_id: 1,
1588
- # units: "MINUTE", # required, accepts MINUTE, HOUR, DAY
1589
- # }
1590
- #
1591
1340
  # @!attribute [rw] enabled
1592
1341
  # Whether this rule is enabled or not.
1593
1342
  # @return [Boolean]
@@ -2121,18 +1870,6 @@ module Aws::Drs
2121
1870
 
2122
1871
  # The configuration of a disk of the Source Server to be replicated.
2123
1872
  #
2124
- # @note When making an API call, you may pass ReplicationConfigurationReplicatedDisk
2125
- # data as a hash:
2126
- #
2127
- # {
2128
- # device_name: "BoundedString",
2129
- # iops: 1,
2130
- # is_boot_disk: false,
2131
- # optimized_staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
2132
- # staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
2133
- # throughput: 1,
2134
- # }
2135
- #
2136
1873
  # @!attribute [rw] device_name
2137
1874
  # The name of the device.
2138
1875
  # @return [String]
@@ -2294,13 +2031,6 @@ module Aws::Drs
2294
2031
  include Aws::Structure
2295
2032
  end
2296
2033
 
2297
- # @note When making an API call, you may pass RetryDataReplicationRequest
2298
- # data as a hash:
2299
- #
2300
- # {
2301
- # source_server_id: "SourceServerID", # required
2302
- # }
2303
- #
2304
2034
  # @!attribute [rw] source_server_id
2305
2035
  # The ID of the Source Server whose data replication should be
2306
2036
  # retried.
@@ -2314,13 +2044,6 @@ module Aws::Drs
2314
2044
  include Aws::Structure
2315
2045
  end
2316
2046
 
2317
- # @note When making an API call, you may pass ReverseReplicationRequest
2318
- # data as a hash:
2319
- #
2320
- # {
2321
- # recovery_instance_id: "RecoveryInstanceID", # required
2322
- # }
2323
- #
2324
2047
  # @!attribute [rw] recovery_instance_id
2325
2048
  # The ID of the Recovery Instance that we want to reverse the
2326
2049
  # replication for.
@@ -2593,16 +2316,6 @@ module Aws::Drs
2593
2316
  include Aws::Structure
2594
2317
  end
2595
2318
 
2596
- # @note When making an API call, you may pass StartFailbackLaunchRequest
2597
- # data as a hash:
2598
- #
2599
- # {
2600
- # recovery_instance_i_ds: ["RecoveryInstanceID"], # required
2601
- # tags: {
2602
- # "TagKey" => "TagValue",
2603
- # },
2604
- # }
2605
- #
2606
2319
  # @!attribute [rw] recovery_instance_i_ds
2607
2320
  # The IDs of the Recovery Instance whose failback launch we want to
2608
2321
  # request.
@@ -2633,22 +2346,6 @@ module Aws::Drs
2633
2346
  include Aws::Structure
2634
2347
  end
2635
2348
 
2636
- # @note When making an API call, you may pass StartRecoveryRequest
2637
- # data as a hash:
2638
- #
2639
- # {
2640
- # is_drill: false,
2641
- # source_servers: [ # required
2642
- # {
2643
- # recovery_snapshot_id: "RecoverySnapshotID",
2644
- # source_server_id: "SourceServerID", # required
2645
- # },
2646
- # ],
2647
- # tags: {
2648
- # "TagKey" => "TagValue",
2649
- # },
2650
- # }
2651
- #
2652
2349
  # @!attribute [rw] is_drill
2653
2350
  # Whether this Source Server Recovery operation is a drill or not.
2654
2351
  # @return [Boolean]
@@ -2673,14 +2370,6 @@ module Aws::Drs
2673
2370
 
2674
2371
  # An object representing the Source Server to recover.
2675
2372
  #
2676
- # @note When making an API call, you may pass StartRecoveryRequestSourceServer
2677
- # data as a hash:
2678
- #
2679
- # {
2680
- # recovery_snapshot_id: "RecoverySnapshotID",
2681
- # source_server_id: "SourceServerID", # required
2682
- # }
2683
- #
2684
2373
  # @!attribute [rw] recovery_snapshot_id
2685
2374
  # The ID of a Recovery Snapshot we want to recover from. Omit this
2686
2375
  # field to launch from the latest data by taking an on-demand
@@ -2712,13 +2401,6 @@ module Aws::Drs
2712
2401
  include Aws::Structure
2713
2402
  end
2714
2403
 
2715
- # @note When making an API call, you may pass StartReplicationRequest
2716
- # data as a hash:
2717
- #
2718
- # {
2719
- # source_server_id: "SourceServerID", # required
2720
- # }
2721
- #
2722
2404
  # @!attribute [rw] source_server_id
2723
2405
  # The ID of the Source Server to start replication for.
2724
2406
  # @return [String]
@@ -2743,13 +2425,6 @@ module Aws::Drs
2743
2425
  include Aws::Structure
2744
2426
  end
2745
2427
 
2746
- # @note When making an API call, you may pass StopFailbackRequest
2747
- # data as a hash:
2748
- #
2749
- # {
2750
- # recovery_instance_id: "RecoveryInstanceID", # required
2751
- # }
2752
- #
2753
2428
  # @!attribute [rw] recovery_instance_id
2754
2429
  # The ID of the Recovery Instance we want to stop failback for.
2755
2430
  # @return [String]
@@ -2762,13 +2437,6 @@ module Aws::Drs
2762
2437
  include Aws::Structure
2763
2438
  end
2764
2439
 
2765
- # @note When making an API call, you may pass StopReplicationRequest
2766
- # data as a hash:
2767
- #
2768
- # {
2769
- # source_server_id: "SourceServerID", # required
2770
- # }
2771
- #
2772
2440
  # @!attribute [rw] source_server_id
2773
2441
  # The ID of the Source Server to stop replication for.
2774
2442
  # @return [String]
@@ -2793,16 +2461,6 @@ module Aws::Drs
2793
2461
  include Aws::Structure
2794
2462
  end
2795
2463
 
2796
- # @note When making an API call, you may pass TagResourceRequest
2797
- # data as a hash:
2798
- #
2799
- # {
2800
- # resource_arn: "ARN", # required
2801
- # tags: { # required
2802
- # "TagKey" => "TagValue",
2803
- # },
2804
- # }
2805
- #
2806
2464
  # @!attribute [rw] resource_arn
2807
2465
  # ARN of the resource for which tags are to be added or updated.
2808
2466
  # @return [String]
@@ -2820,13 +2478,6 @@ module Aws::Drs
2820
2478
  include Aws::Structure
2821
2479
  end
2822
2480
 
2823
- # @note When making an API call, you may pass TerminateRecoveryInstancesRequest
2824
- # data as a hash:
2825
- #
2826
- # {
2827
- # recovery_instance_i_ds: ["RecoveryInstanceID"], # required
2828
- # }
2829
- #
2830
2481
  # @!attribute [rw] recovery_instance_i_ds
2831
2482
  # The IDs of the Recovery Instances that should be terminated.
2832
2483
  # @return [Array<String>]
@@ -2897,14 +2548,6 @@ module Aws::Drs
2897
2548
  include Aws::Structure
2898
2549
  end
2899
2550
 
2900
- # @note When making an API call, you may pass UntagResourceRequest
2901
- # data as a hash:
2902
- #
2903
- # {
2904
- # resource_arn: "ARN", # required
2905
- # tag_keys: ["TagKey"], # required
2906
- # }
2907
- #
2908
2551
  # @!attribute [rw] resource_arn
2909
2552
  # ARN of the resource for which tags are to be removed.
2910
2553
  # @return [String]
@@ -2922,16 +2565,6 @@ module Aws::Drs
2922
2565
  include Aws::Structure
2923
2566
  end
2924
2567
 
2925
- # @note When making an API call, you may pass UpdateFailbackReplicationConfigurationRequest
2926
- # data as a hash:
2927
- #
2928
- # {
2929
- # bandwidth_throttling: 1,
2930
- # name: "BoundedString",
2931
- # recovery_instance_id: "RecoveryInstanceID", # required
2932
- # use_private_ip: false,
2933
- # }
2934
- #
2935
2568
  # @!attribute [rw] bandwidth_throttling
2936
2569
  # Configure bandwidth throttling for the outbound data transfer rate
2937
2570
  # of the Recovery Instance in Mbps.
@@ -2961,21 +2594,6 @@ module Aws::Drs
2961
2594
  include Aws::Structure
2962
2595
  end
2963
2596
 
2964
- # @note When making an API call, you may pass UpdateLaunchConfigurationRequest
2965
- # data as a hash:
2966
- #
2967
- # {
2968
- # copy_private_ip: false,
2969
- # copy_tags: false,
2970
- # launch_disposition: "STOPPED", # accepts STOPPED, STARTED
2971
- # licensing: {
2972
- # os_byol: false,
2973
- # },
2974
- # name: "SmallBoundedString",
2975
- # source_server_id: "SourceServerID", # required
2976
- # target_instance_type_right_sizing_method: "NONE", # accepts NONE, BASIC
2977
- # }
2978
- #
2979
2597
  # @!attribute [rw] copy_private_ip
2980
2598
  # Whether we should copy the Private IP of the Source Server to the
2981
2599
  # Recovery Instance.
@@ -3025,47 +2643,6 @@ module Aws::Drs
3025
2643
  include Aws::Structure
3026
2644
  end
3027
2645
 
3028
- # @note When making an API call, you may pass UpdateReplicationConfigurationRequest
3029
- # data as a hash:
3030
- #
3031
- # {
3032
- # associate_default_security_group: false,
3033
- # bandwidth_throttling: 1,
3034
- # create_public_ip: false,
3035
- # data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
3036
- # default_large_staging_disk_type: "GP2", # accepts GP2, GP3, ST1, AUTO
3037
- # ebs_encryption: "DEFAULT", # accepts DEFAULT, CUSTOM
3038
- # ebs_encryption_key_arn: "ARN",
3039
- # name: "SmallBoundedString",
3040
- # pit_policy: [
3041
- # {
3042
- # enabled: false,
3043
- # interval: 1, # required
3044
- # retention_duration: 1, # required
3045
- # rule_id: 1,
3046
- # units: "MINUTE", # required, accepts MINUTE, HOUR, DAY
3047
- # },
3048
- # ],
3049
- # replicated_disks: [
3050
- # {
3051
- # device_name: "BoundedString",
3052
- # iops: 1,
3053
- # is_boot_disk: false,
3054
- # optimized_staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
3055
- # staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
3056
- # throughput: 1,
3057
- # },
3058
- # ],
3059
- # replication_server_instance_type: "EC2InstanceType",
3060
- # replication_servers_security_groups_i_ds: ["SecurityGroupID"],
3061
- # source_server_id: "SourceServerID", # required
3062
- # staging_area_subnet_id: "SubnetID",
3063
- # staging_area_tags: {
3064
- # "TagKey" => "TagValue",
3065
- # },
3066
- # use_dedicated_replication_server: false,
3067
- # }
3068
- #
3069
2646
  # @!attribute [rw] associate_default_security_group
3070
2647
  # Whether to associate the default Elastic Disaster Recovery Security
3071
2648
  # group with the Replication Configuration.
@@ -3160,37 +2737,6 @@ module Aws::Drs
3160
2737
  include Aws::Structure
3161
2738
  end
3162
2739
 
3163
- # @note When making an API call, you may pass UpdateReplicationConfigurationTemplateRequest
3164
- # data as a hash:
3165
- #
3166
- # {
3167
- # arn: "ARN",
3168
- # associate_default_security_group: false,
3169
- # bandwidth_throttling: 1,
3170
- # create_public_ip: false,
3171
- # data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
3172
- # default_large_staging_disk_type: "GP2", # accepts GP2, GP3, ST1, AUTO
3173
- # ebs_encryption: "DEFAULT", # accepts DEFAULT, CUSTOM
3174
- # ebs_encryption_key_arn: "ARN",
3175
- # pit_policy: [
3176
- # {
3177
- # enabled: false,
3178
- # interval: 1, # required
3179
- # retention_duration: 1, # required
3180
- # rule_id: 1,
3181
- # units: "MINUTE", # required, accepts MINUTE, HOUR, DAY
3182
- # },
3183
- # ],
3184
- # replication_configuration_template_id: "ReplicationConfigurationTemplateID", # required
3185
- # replication_server_instance_type: "EC2InstanceType",
3186
- # replication_servers_security_groups_i_ds: ["SecurityGroupID"],
3187
- # staging_area_subnet_id: "SubnetID",
3188
- # staging_area_tags: {
3189
- # "TagKey" => "TagValue",
3190
- # },
3191
- # use_dedicated_replication_server: false,
3192
- # }
3193
- #
3194
2740
  # @!attribute [rw] arn
3195
2741
  # The Replication Configuration Template ARN.
3196
2742
  # @return [String]
data/lib/aws-sdk-drs.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-drs/customizations'
52
52
  # @!group service
53
53
  module Aws::Drs
54
54
 
55
- GEM_VERSION = '1.9.0'
55
+ GEM_VERSION = '1.10.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-drs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.10.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: 2022-11-28 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core