aws-sdk-efs 1.50.0 → 1.53.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,9 +14,19 @@ module Aws::EFS
14
14
  # with the creation token you provided in the request.
15
15
  #
16
16
  # @!attribute [rw] error_code
17
+ # The error code is a string that uniquely identifies an error
18
+ # condition. It is meant to be read and understood by programs that
19
+ # detect and handle errors by type.
17
20
  # @return [String]
18
21
  #
19
22
  # @!attribute [rw] message
23
+ # The error message contains a generic description of the error
24
+ # condition in English. It is intended for a human audience. Simple
25
+ # programs display the message directly to the end user if they
26
+ # encounter an error condition they don't know how or don't care to
27
+ # handle. Sophisticated programs with more exhaustive error handling
28
+ # and proper internationalization are more likely to ignore the error
29
+ # message.
20
30
  # @return [String]
21
31
  #
22
32
  # @!attribute [rw] access_point_id
@@ -102,9 +112,19 @@ module Aws::EFS
102
112
  # maximum number of access points allowed per file system.
103
113
  #
104
114
  # @!attribute [rw] error_code
115
+ # The error code is a string that uniquely identifies an error
116
+ # condition. It is meant to be read and understood by programs that
117
+ # detect and handle errors by type.
105
118
  # @return [String]
106
119
  #
107
120
  # @!attribute [rw] message
121
+ # The error message contains a generic description of the error
122
+ # condition in English. It is intended for a human audience. Simple
123
+ # programs display the message directly to the end user if they
124
+ # encounter an error condition they don't know how or don't care to
125
+ # handle. Sophisticated programs with more exhaustive error handling
126
+ # and proper internationalization are more likely to ignore the error
127
+ # message.
108
128
  # @return [String]
109
129
  #
110
130
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/AccessPointLimitExceeded AWS API Documentation
@@ -120,9 +140,19 @@ module Aws::EFS
120
140
  # requester's Amazon Web Services account.
121
141
  #
122
142
  # @!attribute [rw] error_code
143
+ # The error code is a string that uniquely identifies an error
144
+ # condition. It is meant to be read and understood by programs that
145
+ # detect and handle errors by type.
123
146
  # @return [String]
124
147
  #
125
148
  # @!attribute [rw] message
149
+ # The error message contains a generic description of the error
150
+ # condition in English. It is intended for a human audience. Simple
151
+ # programs display the message directly to the end user if they
152
+ # encounter an error condition they don't know how or don't care to
153
+ # handle. Sophisticated programs with more exhaustive error handling
154
+ # and proper internationalization are more likely to ignore the error
155
+ # message.
126
156
  # @return [String]
127
157
  #
128
158
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/AccessPointNotFound AWS API Documentation
@@ -144,9 +174,19 @@ module Aws::EFS
144
174
  # [1]: https://docs.aws.amazon.com/efs/latest/ug/availability-durability.html
145
175
  #
146
176
  # @!attribute [rw] error_code
177
+ # The error code is a string that uniquely identifies an error
178
+ # condition. It is meant to be read and understood by programs that
179
+ # detect and handle errors by type.
147
180
  # @return [String]
148
181
  #
149
182
  # @!attribute [rw] message
183
+ # The error message contains a generic description of the error
184
+ # condition in English. It is intended for a human audience. Simple
185
+ # programs display the message directly to the end user if they
186
+ # encounter an error condition they don't know how or don't care to
187
+ # handle. Sophisticated programs with more exhaustive error handling
188
+ # and proper internationalization are more likely to ignore the error
189
+ # message.
150
190
  # @return [String]
151
191
  #
152
192
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/AvailabilityZonesMismatch AWS API Documentation
@@ -215,9 +255,19 @@ module Aws::EFS
215
255
  # invalid parameter value or a missing required parameter.
216
256
  #
217
257
  # @!attribute [rw] error_code
258
+ # The error code is a string that uniquely identifies an error
259
+ # condition. It is meant to be read and understood by programs that
260
+ # detect and handle errors by type.
218
261
  # @return [String]
219
262
  #
220
263
  # @!attribute [rw] message
264
+ # The error message contains a generic description of the error
265
+ # condition in English. It is intended for a human audience. Simple
266
+ # programs display the message directly to the end user if they
267
+ # encounter an error condition they don't know how or don't care to
268
+ # handle. Sophisticated programs with more exhaustive error handling
269
+ # and proper internationalization are more likely to ignore the error
270
+ # message.
221
271
  # @return [String]
222
272
  #
223
273
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/BadRequest AWS API Documentation
@@ -360,19 +410,18 @@ module Aws::EFS
360
410
  # @!attribute [rw] encrypted
361
411
  # A Boolean value that, if true, creates an encrypted file system.
362
412
  # When creating an encrypted file system, you have the option of
363
- # specifying CreateFileSystemRequest$KmsKeyId for an existing Key
364
- # Management Service (KMS customer master key (CMK). If you don't
365
- # specify a CMK, then the default CMK for Amazon EFS,
413
+ # specifying an existing Key Management Service key (KMS key). If you
414
+ # don't specify a KMS key, then the default KMS key for Amazon EFS,
366
415
  # `/aws/elasticfilesystem`, is used to protect the encrypted file
367
416
  # system.
368
417
  # @return [Boolean]
369
418
  #
370
419
  # @!attribute [rw] kms_key_id
371
- # The ID of the KMS CMK that you want to use to protect the encrypted
420
+ # The ID of the KMS key that you want to use to protect the encrypted
372
421
  # file system. This parameter is only required if you want to use a
373
422
  # non-default KMS key. If this parameter is not specified, the default
374
- # CMK for Amazon EFS is used. This ID can be in one of the following
375
- # formats:
423
+ # KMS key for Amazon EFS is used. You can specify a KMS key ID using
424
+ # the following formats:
376
425
  #
377
426
  # * Key ID - A unique identifier of the key, for example
378
427
  # `1234abcd-12ab-34cd-56ef-1234567890ab`.
@@ -386,11 +435,11 @@ module Aws::EFS
386
435
  # * Key alias ARN - An ARN for a key alias, for example
387
436
  # `arn:aws:kms:us-west-2:444455556666:alias/projectKey1`.
388
437
  #
389
- # If `KmsKeyId` is specified, the CreateFileSystemRequest$Encrypted
390
- # parameter must be set to true.
438
+ # If you use `KmsKeyId`, you must set the
439
+ # CreateFileSystemRequest$Encrypted parameter to true.
391
440
  #
392
441
  # EFS accepts only symmetric KMS keys. You cannot use asymmetric KMS
393
- # keys with EFS file systems.
442
+ # keys with Amazon EFS file systems.
394
443
  # @return [String]
395
444
  #
396
445
  # @!attribute [rw] throughput_mode
@@ -453,7 +502,7 @@ module Aws::EFS
453
502
  # Default is `false`. However, if you specify an
454
503
  # `AvailabilityZoneName`, the default is `true`.
455
504
  #
456
- # <note markdown="1"> Backup is not available in all Amazon Web Services Regionswhere
505
+ # <note markdown="1"> Backup is not available in all Amazon Web Services Regions where
457
506
  # Amazon EFS is available.
458
507
  #
459
508
  # </note>
@@ -532,6 +581,40 @@ module Aws::EFS
532
581
  include Aws::Structure
533
582
  end
534
583
 
584
+ # @note When making an API call, you may pass CreateReplicationConfigurationRequest
585
+ # data as a hash:
586
+ #
587
+ # {
588
+ # source_file_system_id: "FileSystemId", # required
589
+ # destinations: [ # required
590
+ # {
591
+ # region: "RegionName",
592
+ # availability_zone_name: "AvailabilityZoneName",
593
+ # kms_key_id: "KmsKeyId",
594
+ # },
595
+ # ],
596
+ # }
597
+ #
598
+ # @!attribute [rw] source_file_system_id
599
+ # Specifies the Amazon EFS file system that you want to replicate.
600
+ # This file system cannot already be a source or destination file
601
+ # system in another replication configuration.
602
+ # @return [String]
603
+ #
604
+ # @!attribute [rw] destinations
605
+ # An array of destination configuration objects. Only one destination
606
+ # configuration object is supported.
607
+ # @return [Array<Types::DestinationToCreate>]
608
+ #
609
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateReplicationConfigurationRequest AWS API Documentation
610
+ #
611
+ class CreateReplicationConfigurationRequest < Struct.new(
612
+ :source_file_system_id,
613
+ :destinations)
614
+ SENSITIVE = []
615
+ include Aws::Structure
616
+ end
617
+
535
618
  # @note When making an API call, you may pass CreateTagsRequest
536
619
  # data as a hash:
537
620
  #
@@ -692,6 +775,25 @@ module Aws::EFS
692
775
  include Aws::Structure
693
776
  end
694
777
 
778
+ # @note When making an API call, you may pass DeleteReplicationConfigurationRequest
779
+ # data as a hash:
780
+ #
781
+ # {
782
+ # source_file_system_id: "FileSystemId", # required
783
+ # }
784
+ #
785
+ # @!attribute [rw] source_file_system_id
786
+ # The ID of the source file system in the replication configuration.
787
+ # @return [String]
788
+ #
789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteReplicationConfigurationRequest AWS API Documentation
790
+ #
791
+ class DeleteReplicationConfigurationRequest < Struct.new(
792
+ :source_file_system_id)
793
+ SENSITIVE = []
794
+ include Aws::Structure
795
+ end
796
+
695
797
  # @note When making an API call, you may pass DeleteTagsRequest
696
798
  # data as a hash:
697
799
  #
@@ -721,9 +823,19 @@ module Aws::EFS
721
823
  # should try the call again.
722
824
  #
723
825
  # @!attribute [rw] error_code
826
+ # The error code is a string that uniquely identifies an error
827
+ # condition. It is meant to be read and understood by programs that
828
+ # detect and handle errors by type.
724
829
  # @return [String]
725
830
  #
726
831
  # @!attribute [rw] message
832
+ # The error message contains a generic description of the error
833
+ # condition in English. It is intended for a human audience. Simple
834
+ # programs display the message directly to the end user if they
835
+ # encounter an error condition they don't know how or don't care to
836
+ # handle. Sophisticated programs with more exhaustive error handling
837
+ # and proper internationalization are more likely to ignore the error
838
+ # message.
727
839
  # @return [String]
728
840
  #
729
841
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DependencyTimeout AWS API Documentation
@@ -1091,6 +1203,60 @@ module Aws::EFS
1091
1203
  include Aws::Structure
1092
1204
  end
1093
1205
 
1206
+ # @note When making an API call, you may pass DescribeReplicationConfigurationsRequest
1207
+ # data as a hash:
1208
+ #
1209
+ # {
1210
+ # file_system_id: "FileSystemId",
1211
+ # next_token: "Token",
1212
+ # max_results: 1,
1213
+ # }
1214
+ #
1215
+ # @!attribute [rw] file_system_id
1216
+ # You can retrieve replication configurations for a specific file
1217
+ # system by providing a file system ID.
1218
+ # @return [String]
1219
+ #
1220
+ # @!attribute [rw] next_token
1221
+ # `NextToken` is present if the response is paginated. You can use
1222
+ # `NextMarker` in a subsequent request to fetch the next page of
1223
+ # output.
1224
+ # @return [String]
1225
+ #
1226
+ # @!attribute [rw] max_results
1227
+ # (Optional) You can optionally specify the `MaxItems` parameter to
1228
+ # limit the number of objects returned in a response. The default
1229
+ # value is 100.
1230
+ # @return [Integer]
1231
+ #
1232
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeReplicationConfigurationsRequest AWS API Documentation
1233
+ #
1234
+ class DescribeReplicationConfigurationsRequest < Struct.new(
1235
+ :file_system_id,
1236
+ :next_token,
1237
+ :max_results)
1238
+ SENSITIVE = []
1239
+ include Aws::Structure
1240
+ end
1241
+
1242
+ # @!attribute [rw] replications
1243
+ # The collection of replication configurations returned.
1244
+ # @return [Array<Types::ReplicationConfigurationDescription>]
1245
+ #
1246
+ # @!attribute [rw] next_token
1247
+ # You can use the `NextToken` from the previous response in a
1248
+ # subsequent request to fetch the additional descriptions.
1249
+ # @return [String]
1250
+ #
1251
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeReplicationConfigurationsResponse AWS API Documentation
1252
+ #
1253
+ class DescribeReplicationConfigurationsResponse < Struct.new(
1254
+ :replications,
1255
+ :next_token)
1256
+ SENSITIVE = []
1257
+ include Aws::Structure
1258
+ end
1259
+
1094
1260
  # @note When making an API call, you may pass DescribeTagsRequest
1095
1261
  # data as a hash:
1096
1262
  #
@@ -1154,13 +1320,111 @@ module Aws::EFS
1154
1320
  include Aws::Structure
1155
1321
  end
1156
1322
 
1323
+ # Describes the destination file system in the replication
1324
+ # configuration.
1325
+ #
1326
+ # @!attribute [rw] status
1327
+ # Describes the status of the destination Amazon EFS file system.
1328
+ # @return [String]
1329
+ #
1330
+ # @!attribute [rw] file_system_id
1331
+ # The ID of the destination Amazon EFS file system.
1332
+ # @return [String]
1333
+ #
1334
+ # @!attribute [rw] region
1335
+ # The Amazon Web Services Region in which the destination file system
1336
+ # is located.
1337
+ # @return [String]
1338
+ #
1339
+ # @!attribute [rw] last_replicated_timestamp
1340
+ # The time when the most recent sync successfully completed on the
1341
+ # destination file system. Any changes to data on the source file
1342
+ # system that occurred prior to this time were successfully replicated
1343
+ # to the destination file system. Any changes that occurred after this
1344
+ # time might not be fully replicated.
1345
+ # @return [Time]
1346
+ #
1347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/Destination AWS API Documentation
1348
+ #
1349
+ class Destination < Struct.new(
1350
+ :status,
1351
+ :file_system_id,
1352
+ :region,
1353
+ :last_replicated_timestamp)
1354
+ SENSITIVE = []
1355
+ include Aws::Structure
1356
+ end
1357
+
1358
+ # Describes the destination file system to create in the replication
1359
+ # configuration.
1360
+ #
1361
+ # @note When making an API call, you may pass DestinationToCreate
1362
+ # data as a hash:
1363
+ #
1364
+ # {
1365
+ # region: "RegionName",
1366
+ # availability_zone_name: "AvailabilityZoneName",
1367
+ # kms_key_id: "KmsKeyId",
1368
+ # }
1369
+ #
1370
+ # @!attribute [rw] region
1371
+ # To create a file system that uses regional storage, specify the
1372
+ # Amazon Web Services Region in which to create the destination file
1373
+ # system.
1374
+ # @return [String]
1375
+ #
1376
+ # @!attribute [rw] availability_zone_name
1377
+ # To create a file system that uses One Zone storage, specify the name
1378
+ # of the Availability Zone in which to create the destination file
1379
+ # system.
1380
+ # @return [String]
1381
+ #
1382
+ # @!attribute [rw] kms_key_id
1383
+ # Specifies the KMS key you want to use to encrypt the destination
1384
+ # file system. If you do not specify a KMS key, EFS uses your default
1385
+ # KMS key for Amazon EFS, `/aws/elasticfilesystem`. This ID can be in
1386
+ # one of the following formats:
1387
+ #
1388
+ # * Key ID - A unique identifier of the key, for example
1389
+ # `1234abcd-12ab-34cd-56ef-1234567890ab`.
1390
+ #
1391
+ # * ARN - An Amazon Resource Name (ARN) for the key, for example
1392
+ # `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`.
1393
+ #
1394
+ # * Key alias - A previously created display name for a key, for
1395
+ # example `alias/projectKey1`.
1396
+ #
1397
+ # * Key alias ARN - An ARN for a key alias, for example
1398
+ # `arn:aws:kms:us-west-2:444455556666:alias/projectKey1`.
1399
+ # @return [String]
1400
+ #
1401
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DestinationToCreate AWS API Documentation
1402
+ #
1403
+ class DestinationToCreate < Struct.new(
1404
+ :region,
1405
+ :availability_zone_name,
1406
+ :kms_key_id)
1407
+ SENSITIVE = []
1408
+ include Aws::Structure
1409
+ end
1410
+
1157
1411
  # Returned if the file system you are trying to create already exists,
1158
1412
  # with the creation token you provided.
1159
1413
  #
1160
1414
  # @!attribute [rw] error_code
1415
+ # The error code is a string that uniquely identifies an error
1416
+ # condition. It is meant to be read and understood by programs that
1417
+ # detect and handle errors by type.
1161
1418
  # @return [String]
1162
1419
  #
1163
1420
  # @!attribute [rw] message
1421
+ # The error message contains a generic description of the error
1422
+ # condition in English. It is intended for a human audience. Simple
1423
+ # programs display the message directly to the end user if they
1424
+ # encounter an error condition they don't know how or don't care to
1425
+ # handle. Sophisticated programs with more exhaustive error handling
1426
+ # and proper internationalization are more likely to ignore the error
1427
+ # message.
1164
1428
  # @return [String]
1165
1429
  #
1166
1430
  # @!attribute [rw] file_system_id
@@ -1243,8 +1507,7 @@ module Aws::EFS
1243
1507
  # @return [Boolean]
1244
1508
  #
1245
1509
  # @!attribute [rw] kms_key_id
1246
- # The ID of an Key Management Service customer master key (CMK) that
1247
- # was used to protect the encrypted file system.
1510
+ # The ID of an KMS key used to protect the encrypted file system.
1248
1511
  # @return [String]
1249
1512
  #
1250
1513
  # @!attribute [rw] throughput_mode
@@ -1313,9 +1576,19 @@ module Aws::EFS
1313
1576
  # Returned if a file system has mount targets.
1314
1577
  #
1315
1578
  # @!attribute [rw] error_code
1579
+ # The error code is a string that uniquely identifies an error
1580
+ # condition. It is meant to be read and understood by programs that
1581
+ # detect and handle errors by type.
1316
1582
  # @return [String]
1317
1583
  #
1318
1584
  # @!attribute [rw] message
1585
+ # The error message contains a generic description of the error
1586
+ # condition in English. It is intended for a human audience. Simple
1587
+ # programs display the message directly to the end user if they
1588
+ # encounter an error condition they don't know how or don't care to
1589
+ # handle. Sophisticated programs with more exhaustive error handling
1590
+ # and proper internationalization are more likely to ignore the error
1591
+ # message.
1319
1592
  # @return [String]
1320
1593
  #
1321
1594
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemInUse AWS API Documentation
@@ -1331,9 +1604,19 @@ module Aws::EFS
1331
1604
  # maximum number of file systems allowed per account.
1332
1605
  #
1333
1606
  # @!attribute [rw] error_code
1607
+ # The error code is a string that uniquely identifies an error
1608
+ # condition. It is meant to be read and understood by programs that
1609
+ # detect and handle errors by type.
1334
1610
  # @return [String]
1335
1611
  #
1336
1612
  # @!attribute [rw] message
1613
+ # The error message contains a generic description of the error
1614
+ # condition in English. It is intended for a human audience. Simple
1615
+ # programs display the message directly to the end user if they
1616
+ # encounter an error condition they don't know how or don't care to
1617
+ # handle. Sophisticated programs with more exhaustive error handling
1618
+ # and proper internationalization are more likely to ignore the error
1619
+ # message.
1337
1620
  # @return [String]
1338
1621
  #
1339
1622
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemLimitExceeded AWS API Documentation
@@ -1349,9 +1632,19 @@ module Aws::EFS
1349
1632
  # requester's Amazon Web Services account.
1350
1633
  #
1351
1634
  # @!attribute [rw] error_code
1635
+ # The error code is a string that uniquely identifies an error
1636
+ # condition. It is meant to be read and understood by programs that
1637
+ # detect and handle errors by type.
1352
1638
  # @return [String]
1353
1639
  #
1354
1640
  # @!attribute [rw] message
1641
+ # The error message contains a generic description of the error
1642
+ # condition in English. It is intended for a human audience. Simple
1643
+ # programs display the message directly to the end user if they
1644
+ # encounter an error condition they don't know how or don't care to
1645
+ # handle. Sophisticated programs with more exhaustive error handling
1646
+ # and proper internationalization are more likely to ignore the error
1647
+ # message.
1355
1648
  # @return [String]
1356
1649
  #
1357
1650
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/FileSystemNotFound AWS API Documentation
@@ -1426,9 +1719,19 @@ module Aws::EFS
1426
1719
  # Returned if the file system's lifecycle state is not "available".
1427
1720
  #
1428
1721
  # @!attribute [rw] error_code
1722
+ # The error code is a string that uniquely identifies an error
1723
+ # condition. It is meant to be read and understood by programs that
1724
+ # detect and handle errors by type.
1429
1725
  # @return [String]
1430
1726
  #
1431
1727
  # @!attribute [rw] message
1728
+ # The error message contains a generic description of the error
1729
+ # condition in English. It is intended for a human audience. Simple
1730
+ # programs display the message directly to the end user if they
1731
+ # encounter an error condition they don't know how or don't care to
1732
+ # handle. Sophisticated programs with more exhaustive error handling
1733
+ # and proper internationalization are more likely to ignore the error
1734
+ # message.
1432
1735
  # @return [String]
1433
1736
  #
1434
1737
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/IncorrectFileSystemLifeCycleState AWS API Documentation
@@ -1444,9 +1747,19 @@ module Aws::EFS
1444
1747
  # operation.
1445
1748
  #
1446
1749
  # @!attribute [rw] error_code
1750
+ # The error code is a string that uniquely identifies an error
1751
+ # condition. It is meant to be read and understood by programs that
1752
+ # detect and handle errors by type.
1447
1753
  # @return [String]
1448
1754
  #
1449
1755
  # @!attribute [rw] message
1756
+ # The error message contains a generic description of the error
1757
+ # condition in English. It is intended for a human audience. Simple
1758
+ # programs display the message directly to the end user if they
1759
+ # encounter an error condition they don't know how or don't care to
1760
+ # handle. Sophisticated programs with more exhaustive error handling
1761
+ # and proper internationalization are more likely to ignore the error
1762
+ # message.
1450
1763
  # @return [String]
1451
1764
  #
1452
1765
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/IncorrectMountTargetState AWS API Documentation
@@ -1466,9 +1779,19 @@ module Aws::EFS
1466
1779
  # throughput mode. Try again later.
1467
1780
  #
1468
1781
  # @!attribute [rw] error_code
1782
+ # The error code is a string that uniquely identifies an error
1783
+ # condition. It is meant to be read and understood by programs that
1784
+ # detect and handle errors by type.
1469
1785
  # @return [String]
1470
1786
  #
1471
1787
  # @!attribute [rw] message
1788
+ # The error message contains a generic description of the error
1789
+ # condition in English. It is intended for a human audience. Simple
1790
+ # programs display the message directly to the end user if they
1791
+ # encounter an error condition they don't know how or don't care to
1792
+ # handle. Sophisticated programs with more exhaustive error handling
1793
+ # and proper internationalization are more likely to ignore the error
1794
+ # message.
1472
1795
  # @return [String]
1473
1796
  #
1474
1797
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/InsufficientThroughputCapacity AWS API Documentation
@@ -1483,9 +1806,19 @@ module Aws::EFS
1483
1806
  # Returned if an error occurred on the server side.
1484
1807
  #
1485
1808
  # @!attribute [rw] error_code
1809
+ # The error code is a string that uniquely identifies an error
1810
+ # condition. It is meant to be read and understood by programs that
1811
+ # detect and handle errors by type.
1486
1812
  # @return [String]
1487
1813
  #
1488
1814
  # @!attribute [rw] message
1815
+ # The error message contains a generic description of the error
1816
+ # condition in English. It is intended for a human audience. Simple
1817
+ # programs display the message directly to the end user if they
1818
+ # encounter an error condition they don't know how or don't care to
1819
+ # handle. Sophisticated programs with more exhaustive error handling
1820
+ # and proper internationalization are more likely to ignore the error
1821
+ # message.
1489
1822
  # @return [String]
1490
1823
  #
1491
1824
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/InternalServerError AWS API Documentation
@@ -1503,9 +1836,19 @@ module Aws::EFS
1503
1836
  # error.
1504
1837
  #
1505
1838
  # @!attribute [rw] error_code
1839
+ # The error code is a string that uniquely identifies an error
1840
+ # condition. It is meant to be read and understood by programs that
1841
+ # detect and handle errors by type.
1506
1842
  # @return [String]
1507
1843
  #
1508
1844
  # @!attribute [rw] message
1845
+ # The error message contains a generic description of the error
1846
+ # condition in English. It is intended for a human audience. Simple
1847
+ # programs display the message directly to the end user if they
1848
+ # encounter an error condition they don't know how or don't care to
1849
+ # handle. Sophisticated programs with more exhaustive error handling
1850
+ # and proper internationalization are more likely to ignore the error
1851
+ # message.
1509
1852
  # @return [String]
1510
1853
  #
1511
1854
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/InvalidPolicyException AWS API Documentation
@@ -1521,9 +1864,19 @@ module Aws::EFS
1521
1864
  # use in the subnet.
1522
1865
  #
1523
1866
  # @!attribute [rw] error_code
1867
+ # The error code is a string that uniquely identifies an error
1868
+ # condition. It is meant to be read and understood by programs that
1869
+ # detect and handle errors by type.
1524
1870
  # @return [String]
1525
1871
  #
1526
1872
  # @!attribute [rw] message
1873
+ # The error message contains a generic description of the error
1874
+ # condition in English. It is intended for a human audience. Simple
1875
+ # programs display the message directly to the end user if they
1876
+ # encounter an error condition they don't know how or don't care to
1877
+ # handle. Sophisticated programs with more exhaustive error handling
1878
+ # and proper internationalization are more likely to ignore the error
1879
+ # message.
1527
1880
  # @return [String]
1528
1881
  #
1529
1882
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/IpAddressInUse AWS API Documentation
@@ -1682,9 +2035,19 @@ module Aws::EFS
1682
2035
  # restrictions based on the file system's existing mount targets.
1683
2036
  #
1684
2037
  # @!attribute [rw] error_code
2038
+ # The error code is a string that uniquely identifies an error
2039
+ # condition. It is meant to be read and understood by programs that
2040
+ # detect and handle errors by type.
1685
2041
  # @return [String]
1686
2042
  #
1687
2043
  # @!attribute [rw] message
2044
+ # The error message contains a generic description of the error
2045
+ # condition in English. It is intended for a human audience. Simple
2046
+ # programs display the message directly to the end user if they
2047
+ # encounter an error condition they don't know how or don't care to
2048
+ # handle. Sophisticated programs with more exhaustive error handling
2049
+ # and proper internationalization are more likely to ignore the error
2050
+ # message.
1688
2051
  # @return [String]
1689
2052
  #
1690
2053
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/MountTargetConflict AWS API Documentation
@@ -1770,9 +2133,19 @@ module Aws::EFS
1770
2133
  # the caller's Amazon Web Services account.
1771
2134
  #
1772
2135
  # @!attribute [rw] error_code
2136
+ # The error code is a string that uniquely identifies an error
2137
+ # condition. It is meant to be read and understood by programs that
2138
+ # detect and handle errors by type.
1773
2139
  # @return [String]
1774
2140
  #
1775
2141
  # @!attribute [rw] message
2142
+ # The error message contains a generic description of the error
2143
+ # condition in English. It is intended for a human audience. Simple
2144
+ # programs display the message directly to the end user if they
2145
+ # encounter an error condition they don't know how or don't care to
2146
+ # handle. Sophisticated programs with more exhaustive error handling
2147
+ # and proper internationalization are more likely to ignore the error
2148
+ # message.
1776
2149
  # @return [String]
1777
2150
  #
1778
2151
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/MountTargetNotFound AWS API Documentation
@@ -1796,9 +2169,19 @@ module Aws::EFS
1796
2169
  # [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html
1797
2170
  #
1798
2171
  # @!attribute [rw] error_code
2172
+ # The error code is a string that uniquely identifies an error
2173
+ # condition. It is meant to be read and understood by programs that
2174
+ # detect and handle errors by type.
1799
2175
  # @return [String]
1800
2176
  #
1801
2177
  # @!attribute [rw] message
2178
+ # The error message contains a generic description of the error
2179
+ # condition in English. It is intended for a human audience. Simple
2180
+ # programs display the message directly to the end user if they
2181
+ # encounter an error condition they don't know how or don't care to
2182
+ # handle. Sophisticated programs with more exhaustive error handling
2183
+ # and proper internationalization are more likely to ignore the error
2184
+ # message.
1802
2185
  # @return [String]
1803
2186
  #
1804
2187
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/NetworkInterfaceLimitExceeded AWS API Documentation
@@ -1814,9 +2197,19 @@ module Aws::EFS
1814
2197
  # no free IP addresses in the subnet.
1815
2198
  #
1816
2199
  # @!attribute [rw] error_code
2200
+ # The error code is a string that uniquely identifies an error
2201
+ # condition. It is meant to be read and understood by programs that
2202
+ # detect and handle errors by type.
1817
2203
  # @return [String]
1818
2204
  #
1819
2205
  # @!attribute [rw] message
2206
+ # The error message contains a generic description of the error
2207
+ # condition in English. It is intended for a human audience. Simple
2208
+ # programs display the message directly to the end user if they
2209
+ # encounter an error condition they don't know how or don't care to
2210
+ # handle. Sophisticated programs with more exhaustive error handling
2211
+ # and proper internationalization are more likely to ignore the error
2212
+ # message.
1820
2213
  # @return [String]
1821
2214
  #
1822
2215
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/NoFreeAddressesInSubnet AWS API Documentation
@@ -1832,9 +2225,19 @@ module Aws::EFS
1832
2225
  # file system specified.
1833
2226
  #
1834
2227
  # @!attribute [rw] error_code
2228
+ # The error code is a string that uniquely identifies an error
2229
+ # condition. It is meant to be read and understood by programs that
2230
+ # detect and handle errors by type.
1835
2231
  # @return [String]
1836
2232
  #
1837
2233
  # @!attribute [rw] message
2234
+ # The error message contains a generic description of the error
2235
+ # condition in English. It is intended for a human audience. Simple
2236
+ # programs display the message directly to the end user if they
2237
+ # encounter an error condition they don't know how or don't care to
2238
+ # handle. Sophisticated programs with more exhaustive error handling
2239
+ # and proper internationalization are more likely to ignore the error
2240
+ # message.
1838
2241
  # @return [String]
1839
2242
  #
1840
2243
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PolicyNotFound AWS API Documentation
@@ -2051,6 +2454,74 @@ module Aws::EFS
2051
2454
  include Aws::Structure
2052
2455
  end
2053
2456
 
2457
+ # @!attribute [rw] source_file_system_id
2458
+ # The ID of the source Amazon EFS file system that is being
2459
+ # replicated.
2460
+ # @return [String]
2461
+ #
2462
+ # @!attribute [rw] source_file_system_region
2463
+ # The Amazon Web Services Region in which the source Amazon EFS file
2464
+ # system is located.
2465
+ # @return [String]
2466
+ #
2467
+ # @!attribute [rw] source_file_system_arn
2468
+ # The ARN of the current source file system in the replication
2469
+ # configuration.
2470
+ # @return [String]
2471
+ #
2472
+ # @!attribute [rw] original_source_file_system_arn
2473
+ # The Amazon Resource Name (ARN) of the original source Amazon EFS
2474
+ # file system in the replication configuration.
2475
+ # @return [String]
2476
+ #
2477
+ # @!attribute [rw] creation_time
2478
+ # Describes when the replication configuration was created.
2479
+ # @return [Time]
2480
+ #
2481
+ # @!attribute [rw] destinations
2482
+ # Array of destination objects. Only one destination object is
2483
+ # supported.
2484
+ # @return [Array<Types::Destination>]
2485
+ #
2486
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ReplicationConfigurationDescription AWS API Documentation
2487
+ #
2488
+ class ReplicationConfigurationDescription < Struct.new(
2489
+ :source_file_system_id,
2490
+ :source_file_system_region,
2491
+ :source_file_system_arn,
2492
+ :original_source_file_system_arn,
2493
+ :creation_time,
2494
+ :destinations)
2495
+ SENSITIVE = []
2496
+ include Aws::Structure
2497
+ end
2498
+
2499
+ # Returned if the specified file system did not have a replication
2500
+ # configuration.
2501
+ #
2502
+ # @!attribute [rw] error_code
2503
+ # ReplicationNotFound
2504
+ # @return [String]
2505
+ #
2506
+ # @!attribute [rw] message
2507
+ # The error message contains a generic description of the error
2508
+ # condition in English. It is intended for a human audience. Simple
2509
+ # programs display the message directly to the end user if they
2510
+ # encounter an error condition they don't know how or don't care to
2511
+ # handle. Sophisticated programs with more exhaustive error handling
2512
+ # and proper internationalization are more likely to ignore the error
2513
+ # message.
2514
+ # @return [String]
2515
+ #
2516
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ReplicationNotFound AWS API Documentation
2517
+ #
2518
+ class ReplicationNotFound < Struct.new(
2519
+ :error_code,
2520
+ :message)
2521
+ SENSITIVE = []
2522
+ include Aws::Structure
2523
+ end
2524
+
2054
2525
  # Describes the resource type and its ID preference for the user's
2055
2526
  # Amazon Web Services account, in the current Amazon Web Services
2056
2527
  # Region.
@@ -2127,9 +2598,19 @@ module Aws::EFS
2127
2598
  # greater than five.
2128
2599
  #
2129
2600
  # @!attribute [rw] error_code
2601
+ # The error code is a string that uniquely identifies an error
2602
+ # condition. It is meant to be read and understood by programs that
2603
+ # detect and handle errors by type.
2130
2604
  # @return [String]
2131
2605
  #
2132
2606
  # @!attribute [rw] message
2607
+ # The error message contains a generic description of the error
2608
+ # condition in English. It is intended for a human audience. Simple
2609
+ # programs display the message directly to the end user if they
2610
+ # encounter an error condition they don't know how or don't care to
2611
+ # handle. Sophisticated programs with more exhaustive error handling
2612
+ # and proper internationalization are more likely to ignore the error
2613
+ # message.
2133
2614
  # @return [String]
2134
2615
  #
2135
2616
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/SecurityGroupLimitExceeded AWS API Documentation
@@ -2145,9 +2626,19 @@ module Aws::EFS
2145
2626
  # subnet's VPC.
2146
2627
  #
2147
2628
  # @!attribute [rw] error_code
2629
+ # The error code is a string that uniquely identifies an error
2630
+ # condition. It is meant to be read and understood by programs that
2631
+ # detect and handle errors by type.
2148
2632
  # @return [String]
2149
2633
  #
2150
2634
  # @!attribute [rw] message
2635
+ # The error message contains a generic description of the error
2636
+ # condition in English. It is intended for a human audience. Simple
2637
+ # programs display the message directly to the end user if they
2638
+ # encounter an error condition they don't know how or don't care to
2639
+ # handle. Sophisticated programs with more exhaustive error handling
2640
+ # and proper internationalization are more likely to ignore the error
2641
+ # message.
2151
2642
  # @return [String]
2152
2643
  #
2153
2644
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/SecurityGroupNotFound AWS API Documentation
@@ -2163,9 +2654,19 @@ module Aws::EFS
2163
2654
  # request.
2164
2655
  #
2165
2656
  # @!attribute [rw] error_code
2657
+ # The error code is a string that uniquely identifies an error
2658
+ # condition. It is meant to be read and understood by programs that
2659
+ # detect and handle errors by type.
2166
2660
  # @return [String]
2167
2661
  #
2168
2662
  # @!attribute [rw] message
2663
+ # The error message contains a generic description of the error
2664
+ # condition in English. It is intended for a human audience. Simple
2665
+ # programs display the message directly to the end user if they
2666
+ # encounter an error condition they don't know how or don't care to
2667
+ # handle. Sophisticated programs with more exhaustive error handling
2668
+ # and proper internationalization are more likely to ignore the error
2669
+ # message.
2169
2670
  # @return [String]
2170
2671
  #
2171
2672
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/SubnetNotFound AWS API Documentation
@@ -2243,9 +2744,19 @@ module Aws::EFS
2243
2744
  # reached.
2244
2745
  #
2245
2746
  # @!attribute [rw] error_code
2747
+ # The error code is a string that uniquely identifies an error
2748
+ # condition. It is meant to be read and understood by programs that
2749
+ # detect and handle errors by type.
2246
2750
  # @return [String]
2247
2751
  #
2248
2752
  # @!attribute [rw] message
2753
+ # The error message contains a generic description of the error
2754
+ # condition in English. It is intended for a human audience. Simple
2755
+ # programs display the message directly to the end user if they
2756
+ # encounter an error condition they don't know how or don't care to
2757
+ # handle. Sophisticated programs with more exhaustive error handling
2758
+ # and proper internationalization are more likely to ignore the error
2759
+ # message.
2249
2760
  # @return [String]
2250
2761
  #
2251
2762
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ThroughputLimitExceeded AWS API Documentation
@@ -2261,9 +2772,19 @@ module Aws::EFS
2261
2772
  # throughput mode, or decreasing the Provisioned Throughput value.
2262
2773
  #
2263
2774
  # @!attribute [rw] error_code
2775
+ # The error code is a string that uniquely identifies an error
2776
+ # condition. It is meant to be read and understood by programs that
2777
+ # detect and handle errors by type.
2264
2778
  # @return [String]
2265
2779
  #
2266
2780
  # @!attribute [rw] message
2781
+ # The error message contains a generic description of the error
2782
+ # condition in English. It is intended for a human audience. Simple
2783
+ # programs display the message directly to the end user if they
2784
+ # encounter an error condition they don't know how or don't care to
2785
+ # handle. Sophisticated programs with more exhaustive error handling
2786
+ # and proper internationalization are more likely to ignore the error
2787
+ # message.
2267
2788
  # @return [String]
2268
2789
  #
2269
2790
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/TooManyRequests AWS API Documentation
@@ -2279,9 +2800,19 @@ module Aws::EFS
2279
2800
  # the specified Availability Zone.
2280
2801
  #
2281
2802
  # @!attribute [rw] error_code
2803
+ # The error code is a string that uniquely identifies an error
2804
+ # condition. It is meant to be read and understood by programs that
2805
+ # detect and handle errors by type.
2282
2806
  # @return [String]
2283
2807
  #
2284
2808
  # @!attribute [rw] message
2809
+ # The error message contains a generic description of the error
2810
+ # condition in English. It is intended for a human audience. Simple
2811
+ # programs display the message directly to the end user if they
2812
+ # encounter an error condition they don't know how or don't care to
2813
+ # handle. Sophisticated programs with more exhaustive error handling
2814
+ # and proper internationalization are more likely to ignore the error
2815
+ # message.
2285
2816
  # @return [String]
2286
2817
  #
2287
2818
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/UnsupportedAvailabilityZone AWS API Documentation
@@ -2362,9 +2893,19 @@ module Aws::EFS
2362
2893
  # Services Region in which the request was made.
2363
2894
  #
2364
2895
  # @!attribute [rw] error_code
2896
+ # The error code is a string that uniquely identifies an error
2897
+ # condition. It is meant to be read and understood by programs that
2898
+ # detect and handle errors by type.
2365
2899
  # @return [String]
2366
2900
  #
2367
2901
  # @!attribute [rw] message
2902
+ # The error message contains a generic description of the error
2903
+ # condition in English. It is intended for a human audience. Simple
2904
+ # programs display the message directly to the end user if they
2905
+ # encounter an error condition they don't know how or don't care to
2906
+ # handle. Sophisticated programs with more exhaustive error handling
2907
+ # and proper internationalization are more likely to ignore the error
2908
+ # message.
2368
2909
  # @return [String]
2369
2910
  #
2370
2911
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ValidationException AWS API Documentation