aws-sdk-drs 1.3.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@
10
10
  module Aws::Drs
11
11
  module Types
12
12
 
13
- # TYou do not have sufficient access to perform this action.
13
+ # You do not have sufficient access to perform this action.
14
14
  #
15
15
  # @!attribute [rw] code
16
16
  # @return [String]
@@ -27,6 +27,20 @@ module Aws::Drs
27
27
  include Aws::Structure
28
28
  end
29
29
 
30
+ # AWS account.
31
+ #
32
+ # @!attribute [rw] account_id
33
+ # Account ID of AWS account.
34
+ # @return [String]
35
+ #
36
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/Account AWS API Documentation
37
+ #
38
+ class Account < Struct.new(
39
+ :account_id)
40
+ SENSITIVE = []
41
+ include Aws::Structure
42
+ end
43
+
30
44
  # Information about a server's CPU.
31
45
  #
32
46
  # @!attribute [rw] cores
@@ -74,6 +88,81 @@ module Aws::Drs
74
88
  include Aws::Structure
75
89
  end
76
90
 
91
+ # Properties of a conversion job
92
+ #
93
+ # @!attribute [rw] data_timestamp
94
+ # The timestamp of when the snapshot being converted was taken
95
+ # @return [String]
96
+ #
97
+ # @!attribute [rw] force_uefi
98
+ # Whether the volume being converted uses UEFI or not
99
+ # @return [Boolean]
100
+ #
101
+ # @!attribute [rw] root_volume_name
102
+ # The root volume name of a conversion job
103
+ # @return [String]
104
+ #
105
+ # @!attribute [rw] volume_to_conversion_map
106
+ # A mapping between the volumes being converted and the converted
107
+ # snapshot ids
108
+ # @return [Hash<String,Hash<String,String>>]
109
+ #
110
+ # @!attribute [rw] volume_to_volume_size
111
+ # A mapping between the volumes and their sizes
112
+ # @return [Hash<String,Integer>]
113
+ #
114
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ConversionProperties AWS API Documentation
115
+ #
116
+ class ConversionProperties < Struct.new(
117
+ :data_timestamp,
118
+ :force_uefi,
119
+ :root_volume_name,
120
+ :volume_to_conversion_map,
121
+ :volume_to_volume_size)
122
+ SENSITIVE = []
123
+ include Aws::Structure
124
+ end
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
+ # @!attribute [rw] source_server_arn
137
+ # This defines the ARN of the source server in staging Account based
138
+ # on which you want to create an extended source server.
139
+ # @return [String]
140
+ #
141
+ # @!attribute [rw] tags
142
+ # A list of tags associated with the extended source server.
143
+ # @return [Hash<String,String>]
144
+ #
145
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateExtendedSourceServerRequest AWS API Documentation
146
+ #
147
+ class CreateExtendedSourceServerRequest < Struct.new(
148
+ :source_server_arn,
149
+ :tags)
150
+ SENSITIVE = [:tags]
151
+ include Aws::Structure
152
+ end
153
+
154
+ # @!attribute [rw] source_server
155
+ # Created extended source server.
156
+ # @return [Types::SourceServer]
157
+ #
158
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateExtendedSourceServerResponse AWS API Documentation
159
+ #
160
+ class CreateExtendedSourceServerResponse < Struct.new(
161
+ :source_server)
162
+ SENSITIVE = []
163
+ include Aws::Structure
164
+ end
165
+
77
166
  # @note When making an API call, you may pass CreateReplicationConfigurationTemplateRequest
78
167
  # data as a hash:
79
168
  #
@@ -82,7 +171,7 @@ module Aws::Drs
82
171
  # bandwidth_throttling: 1, # required
83
172
  # create_public_ip: false, # required
84
173
  # data_plane_routing: "PRIVATE_IP", # required, accepts PRIVATE_IP, PUBLIC_IP
85
- # default_large_staging_disk_type: "GP2", # required, accepts GP2, GP3, ST1
174
+ # default_large_staging_disk_type: "GP2", # required, accepts GP2, GP3, ST1, AUTO
86
175
  # ebs_encryption: "DEFAULT", # required, accepts DEFAULT, CUSTOM
87
176
  # ebs_encryption_key_arn: "ARN",
88
177
  # pit_policy: [ # required
@@ -357,7 +446,7 @@ module Aws::Drs
357
446
  # }
358
447
  #
359
448
  # @!attribute [rw] recovery_instance_id
360
- # RThe ID of the Recovery Instance to be deleted.
449
+ # The ID of the Recovery Instance to be deleted.
361
450
  # @return [String]
362
451
  #
363
452
  # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteRecoveryInstanceRequest AWS API Documentation
@@ -466,7 +555,7 @@ module Aws::Drs
466
555
  # data as a hash:
467
556
  #
468
557
  # {
469
- # filters: { # required
558
+ # filters: {
470
559
  # from_date: "ISO8601DatetimeString",
471
560
  # job_i_ds: ["JobID"],
472
561
  # to_date: "ISO8601DatetimeString",
@@ -552,7 +641,7 @@ module Aws::Drs
552
641
  # data as a hash:
553
642
  #
554
643
  # {
555
- # filters: { # required
644
+ # filters: {
556
645
  # recovery_instance_i_ds: ["RecoveryInstanceID"],
557
646
  # source_server_i_ds: ["SourceServerID"],
558
647
  # },
@@ -724,7 +813,7 @@ module Aws::Drs
724
813
  # {
725
814
  # max_results: 1,
726
815
  # next_token: "PaginationToken",
727
- # replication_configuration_template_i_ds: ["ReplicationConfigurationTemplateID"], # required
816
+ # replication_configuration_template_i_ds: ["ReplicationConfigurationTemplateID"],
728
817
  # }
729
818
  #
730
819
  # @!attribute [rw] max_results
@@ -773,9 +862,10 @@ module Aws::Drs
773
862
  # data as a hash:
774
863
  #
775
864
  # {
776
- # filters: { # required
865
+ # filters: {
777
866
  # hardware_id: "BoundedString",
778
867
  # source_server_i_ds: ["SourceServerID"],
868
+ # staging_account_i_ds: ["AccountID"],
779
869
  # },
780
870
  # max_results: 1,
781
871
  # next_token: "PaginationToken",
@@ -811,6 +901,7 @@ module Aws::Drs
811
901
  # {
812
902
  # hardware_id: "BoundedString",
813
903
  # source_server_i_ds: ["SourceServerID"],
904
+ # staging_account_i_ds: ["AccountID"],
814
905
  # }
815
906
  #
816
907
  # @!attribute [rw] hardware_id
@@ -823,11 +914,17 @@ module Aws::Drs
823
914
  # array means all Source Servers.
824
915
  # @return [Array<String>]
825
916
  #
917
+ # @!attribute [rw] staging_account_i_ds
918
+ # An array of staging account IDs that extended source servers belong
919
+ # to. An empty array means all source servers will be shown.
920
+ # @return [Array<String>]
921
+ #
826
922
  # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeSourceServersRequestFilters AWS API Documentation
827
923
  #
828
924
  class DescribeSourceServersRequestFilters < Struct.new(
829
925
  :hardware_id,
830
- :source_server_i_ds)
926
+ :source_server_i_ds,
927
+ :staging_account_i_ds)
831
928
  SENSITIVE = []
832
929
  include Aws::Structure
833
930
  end
@@ -1133,6 +1230,10 @@ module Aws::Drs
1133
1230
 
1134
1231
  # Metadata associated with a Job log.
1135
1232
  #
1233
+ # @!attribute [rw] conversion_properties
1234
+ # Properties of a conversion job
1235
+ # @return [Types::ConversionProperties]
1236
+ #
1136
1237
  # @!attribute [rw] conversion_server_id
1137
1238
  # The ID of a conversion server.
1138
1239
  # @return [String]
@@ -1152,6 +1253,7 @@ module Aws::Drs
1152
1253
  # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/JobLogEventData AWS API Documentation
1153
1254
  #
1154
1255
  class JobLogEventData < Struct.new(
1256
+ :conversion_properties,
1155
1257
  :conversion_server_id,
1156
1258
  :raw_error,
1157
1259
  :source_server_id,
@@ -1312,6 +1414,97 @@ module Aws::Drs
1312
1414
  include Aws::Structure
1313
1415
  end
1314
1416
 
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
+ # @!attribute [rw] max_results
1427
+ # The maximum number of extensible source servers to retrieve.
1428
+ # @return [Integer]
1429
+ #
1430
+ # @!attribute [rw] next_token
1431
+ # The token of the next extensible source server to retrieve.
1432
+ # @return [String]
1433
+ #
1434
+ # @!attribute [rw] staging_account_id
1435
+ # The Id of the staging Account to retrieve extensible source servers
1436
+ # from.
1437
+ # @return [String]
1438
+ #
1439
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListExtensibleSourceServersRequest AWS API Documentation
1440
+ #
1441
+ class ListExtensibleSourceServersRequest < Struct.new(
1442
+ :max_results,
1443
+ :next_token,
1444
+ :staging_account_id)
1445
+ SENSITIVE = []
1446
+ include Aws::Structure
1447
+ end
1448
+
1449
+ # @!attribute [rw] items
1450
+ # A list of source servers on a staging Account that are extensible.
1451
+ # @return [Array<Types::StagingSourceServer>]
1452
+ #
1453
+ # @!attribute [rw] next_token
1454
+ # The token of the next extensible source server to retrieve.
1455
+ # @return [String]
1456
+ #
1457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListExtensibleSourceServersResponse AWS API Documentation
1458
+ #
1459
+ class ListExtensibleSourceServersResponse < Struct.new(
1460
+ :items,
1461
+ :next_token)
1462
+ SENSITIVE = []
1463
+ include Aws::Structure
1464
+ end
1465
+
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
+ # @!attribute [rw] max_results
1475
+ # The maximum number of staging Accounts to retrieve.
1476
+ # @return [Integer]
1477
+ #
1478
+ # @!attribute [rw] next_token
1479
+ # The token of the next staging Account to retrieve.
1480
+ # @return [String]
1481
+ #
1482
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListStagingAccountsRequest AWS API Documentation
1483
+ #
1484
+ class ListStagingAccountsRequest < Struct.new(
1485
+ :max_results,
1486
+ :next_token)
1487
+ SENSITIVE = []
1488
+ include Aws::Structure
1489
+ end
1490
+
1491
+ # @!attribute [rw] accounts
1492
+ # An array of staging AWS Accounts.
1493
+ # @return [Array<Types::Account>]
1494
+ #
1495
+ # @!attribute [rw] next_token
1496
+ # The token of the next staging Account to retrieve.
1497
+ # @return [String]
1498
+ #
1499
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListStagingAccountsResponse AWS API Documentation
1500
+ #
1501
+ class ListStagingAccountsResponse < Struct.new(
1502
+ :accounts,
1503
+ :next_token)
1504
+ SENSITIVE = []
1505
+ include Aws::Structure
1506
+ end
1507
+
1315
1508
  # @note When making an API call, you may pass ListTagsForResourceRequest
1316
1509
  # data as a hash:
1317
1510
  #
@@ -1923,6 +2116,7 @@ module Aws::Drs
1923
2116
  # device_name: "BoundedString",
1924
2117
  # iops: 1,
1925
2118
  # is_boot_disk: false,
2119
+ # optimized_staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
1926
2120
  # staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
1927
2121
  # throughput: 1,
1928
2122
  # }
@@ -1939,6 +2133,11 @@ module Aws::Drs
1939
2133
  # Whether to boot from this disk or not.
1940
2134
  # @return [Boolean]
1941
2135
  #
2136
+ # @!attribute [rw] optimized_staging_disk_type
2137
+ # The Staging Disk EBS volume type to be used during replication when
2138
+ # `stagingDiskType` is set to Auto. This is a read-only field.
2139
+ # @return [String]
2140
+ #
1942
2141
  # @!attribute [rw] staging_disk_type
1943
2142
  # The Staging Disk EBS volume type to be used during replication.
1944
2143
  # @return [String]
@@ -1954,6 +2153,7 @@ module Aws::Drs
1954
2153
  :device_name,
1955
2154
  :iops,
1956
2155
  :is_boot_disk,
2156
+ :optimized_staging_disk_type,
1957
2157
  :staging_disk_type,
1958
2158
  :throughput)
1959
2159
  SENSITIVE = []
@@ -2217,6 +2417,10 @@ module Aws::Drs
2217
2417
  # The ID of the Source Server.
2218
2418
  # @return [String]
2219
2419
  #
2420
+ # @!attribute [rw] staging_area
2421
+ # The staging area of the source server.
2422
+ # @return [Types::StagingArea]
2423
+ #
2220
2424
  # @!attribute [rw] tags
2221
2425
  # The tags associated with the Source Server.
2222
2426
  # @return [Hash<String,String>]
@@ -2231,6 +2435,72 @@ module Aws::Drs
2231
2435
  :recovery_instance_id,
2232
2436
  :source_properties,
2233
2437
  :source_server_id,
2438
+ :staging_area,
2439
+ :tags)
2440
+ SENSITIVE = [:tags]
2441
+ include Aws::Structure
2442
+ end
2443
+
2444
+ # Staging information related to source server.
2445
+ #
2446
+ # @!attribute [rw] error_message
2447
+ # Shows an error message that occurred when DRS tried to access the
2448
+ # staging source server. In this case StagingArea$status will have
2449
+ # value EXTENSION\_ERROR
2450
+ # @return [String]
2451
+ #
2452
+ # @!attribute [rw] staging_account_id
2453
+ # Account ID of the account to which source server belongs. If this
2454
+ # source server is extended - shows Account ID of staging source
2455
+ # server.
2456
+ # @return [String]
2457
+ #
2458
+ # @!attribute [rw] staging_source_server_arn
2459
+ # Arn of the staging source server if this source server is extended
2460
+ # @return [String]
2461
+ #
2462
+ # @!attribute [rw] status
2463
+ # Status of Source server extension. Possible values: (a)
2464
+ # NOT\_EXTENDED - This is a source server that is replicating in the
2465
+ # current account. (b) EXTENDED - Source server is extended from a
2466
+ # staging source server. In this case, the value of
2467
+ # stagingSourceServerArn is pointing to the Arn of the source server
2468
+ # in the staging account. (c) EXTENSION\_ERROR - Some issue occurred
2469
+ # when accessing staging source server. In this case, errorMessage
2470
+ # field will contain an error message that explains what happened.
2471
+ # @return [String]
2472
+ #
2473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StagingArea AWS API Documentation
2474
+ #
2475
+ class StagingArea < Struct.new(
2476
+ :error_message,
2477
+ :staging_account_id,
2478
+ :staging_source_server_arn,
2479
+ :status)
2480
+ SENSITIVE = []
2481
+ include Aws::Structure
2482
+ end
2483
+
2484
+ # Source server in staging account that extended source server connected
2485
+ # to.
2486
+ #
2487
+ # @!attribute [rw] arn
2488
+ # The ARN of the source server.
2489
+ # @return [String]
2490
+ #
2491
+ # @!attribute [rw] hostname
2492
+ # Hostname of staging source server.
2493
+ # @return [String]
2494
+ #
2495
+ # @!attribute [rw] tags
2496
+ # A list of tags associated with the staging source server.
2497
+ # @return [Hash<String,String>]
2498
+ #
2499
+ # @see http://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StagingSourceServer AWS API Documentation
2500
+ #
2501
+ class StagingSourceServer < Struct.new(
2502
+ :arn,
2503
+ :hostname,
2234
2504
  :tags)
2235
2505
  SENSITIVE = [:tags]
2236
2506
  include Aws::Structure
@@ -2614,7 +2884,7 @@ module Aws::Drs
2614
2884
  # bandwidth_throttling: 1,
2615
2885
  # create_public_ip: false,
2616
2886
  # data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
2617
- # default_large_staging_disk_type: "GP2", # accepts GP2, GP3, ST1
2887
+ # default_large_staging_disk_type: "GP2", # accepts GP2, GP3, ST1, AUTO
2618
2888
  # ebs_encryption: "DEFAULT", # accepts DEFAULT, CUSTOM
2619
2889
  # ebs_encryption_key_arn: "ARN",
2620
2890
  # name: "SmallBoundedString",
@@ -2632,6 +2902,7 @@ module Aws::Drs
2632
2902
  # device_name: "BoundedString",
2633
2903
  # iops: 1,
2634
2904
  # is_boot_disk: false,
2905
+ # optimized_staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
2635
2906
  # staging_disk_type: "AUTO", # accepts AUTO, GP2, GP3, IO1, SC1, ST1, STANDARD
2636
2907
  # throughput: 1,
2637
2908
  # },
@@ -2749,7 +3020,7 @@ module Aws::Drs
2749
3020
  # bandwidth_throttling: 1,
2750
3021
  # create_public_ip: false,
2751
3022
  # data_plane_routing: "PRIVATE_IP", # accepts PRIVATE_IP, PUBLIC_IP
2752
- # default_large_staging_disk_type: "GP2", # accepts GP2, GP3, ST1
3023
+ # default_large_staging_disk_type: "GP2", # accepts GP2, GP3, ST1, AUTO
2753
3024
  # ebs_encryption: "DEFAULT", # accepts DEFAULT, CUSTOM
2754
3025
  # ebs_encryption_key_arn: "ARN",
2755
3026
  # pit_policy: [
data/lib/aws-sdk-drs.rb CHANGED
@@ -28,7 +28,7 @@ require_relative 'aws-sdk-drs/customizations'
28
28
  # structure.
29
29
  #
30
30
  # drs = Aws::Drs::Client.new
31
- # resp = drs.create_replication_configuration_template(params)
31
+ # resp = drs.create_extended_source_server(params)
32
32
  #
33
33
  # See {Client} for more information.
34
34
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-drs/customizations'
48
48
  # @!group service
49
49
  module Aws::Drs
50
50
 
51
- GEM_VERSION = '1.3.0'
51
+ GEM_VERSION = '1.6.0'
52
52
 
53
53
  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.3.0
4
+ version: 1.6.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-02-03 00:00:00.000000000 Z
11
+ date: 2022-07-15 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.126.0
22
+ version: 3.127.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.126.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement