aws-sdk-efs 1.88.0 → 1.89.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: 1c0a499a8387255f29d3f06b91cf5246891eb36619a9fa132fc1c82b73cc89f0
4
- data.tar.gz: 699f3c410113d7661a26b2d3f8d23852c492d0d0b4a097c7adcdd76d5cf4e5b4
3
+ metadata.gz: 2abc8510111c054a1b5c55ad68b898228806c131d7f5da2c476d7f663e987943
4
+ data.tar.gz: d907533ef5d7163544ab9386eb88776a97ef6d95365f0efdb785c90294bb5ea0
5
5
  SHA512:
6
- metadata.gz: dc94d487b09f3dbd7b23dec89d82c759e79755688a57e309e81d9114ce28bd36478745edc3ccb2f62289fc287545f096cff5882c2c61001d632e965b8ade8562
7
- data.tar.gz: e04dee34fd5edd375ad615c0e1811403b51b921d3f1e0693397484120b182a855add306aaac04c88a6f4f0b003f6abeaed4d87c99bd3aac5cd09db44db27d9dd
6
+ metadata.gz: da448769b71bba8ec562139bf7b961b8aaf09dda7879a584c9c6467384953667b8c8feaab1f9b17015438cab68778681af673f988fb1c48af204279972d8ad40
7
+ data.tar.gz: 504e62dbe6b233778ef921969016008bcd9177a1a178fc208ec80e3d6053572c860668ca4506ab456994f43faefe9772f8273a6a8a336a12f9a4857b81abb864
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.89.0 (2024-11-19)
5
+ ------------------
6
+
7
+ * Feature - Add support for the new parameters in EFS replication APIs
8
+
4
9
  1.88.0 (2024-11-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.88.0
1
+ 1.89.0
@@ -632,16 +632,13 @@ module Aws::EFS
632
632
  #
633
633
  # This operation accepts an optional `PerformanceMode` parameter that
634
634
  # you choose for your file system. We recommend `generalPurpose`
635
- # performance mode for all file systems. File systems using the `maxIO`
636
- # mode is a previous generation performance type that is designed for
637
- # highly parallelized workloads that can tolerate higher latencies than
638
- # the General Purpose mode. Max I/O mode is not supported for One Zone
639
- # file systems or file systems that use Elastic throughput.
635
+ # `PerformanceMode` for all file systems. The `maxIO` mode is a previous
636
+ # generation performance type that is designed for highly parallelized
637
+ # workloads that can tolerate higher latencies than the `generalPurpose`
638
+ # mode. `MaxIO` mode is not supported for One Zone file systems or file
639
+ # systems that use Elastic throughput.
640
640
  #
641
- # Due to the higher per-operation latencies with Max I/O, we recommend
642
- # using General Purpose performance mode for all file systems.
643
- #
644
- # The performance mode can't be changed after the file system has been
641
+ # The `PerformanceMode` can't be changed after the file system has been
645
642
  # created. For more information, see [Amazon EFS performance modes][2].
646
643
  #
647
644
  # You can set the throughput mode for the file system using the
@@ -680,7 +677,7 @@ module Aws::EFS
680
677
  # not need to pass this option.**
681
678
  #
682
679
  # @option params [String] :performance_mode
683
- # The Performance mode of the file system. We recommend `generalPurpose`
680
+ # The performance mode of the file system. We recommend `generalPurpose`
684
681
  # performance mode for all file systems. File systems using the `maxIO`
685
682
  # performance mode can scale to higher levels of aggregate throughput
686
683
  # and operations per second with a tradeoff of slightly higher latencies
@@ -756,11 +753,11 @@ module Aws::EFS
756
753
  # [1]: https://docs.aws.amazon.com/efs/latest/ug/limits.html#soft-limits
757
754
  #
758
755
  # @option params [String] :availability_zone_name
759
- # Used to create a One Zone file system. It specifies the Amazon Web
760
- # Services Availability Zone in which to create the file system. Use the
761
- # format `us-east-1a` to specify the Availability Zone. For more
762
- # information about One Zone file systems, see [Using EFS storage
763
- # classes][1] in the *Amazon EFS User Guide*.
756
+ # For One Zone file systems, specify the Amazon Web Services
757
+ # Availability Zone in which to create the file system. Use the format
758
+ # `us-east-1a` to specify the Availability Zone. For more information
759
+ # about One Zone file systems, see [EFS file system types][1] in the
760
+ # *Amazon EFS User Guide*.
764
761
  #
765
762
  # <note markdown="1"> One Zone file systems are not available in all Availability Zones in
766
763
  # Amazon Web Services Regions where Amazon EFS is available.
@@ -769,7 +766,7 @@ module Aws::EFS
769
766
  #
770
767
  #
771
768
  #
772
- # [1]: https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html
769
+ # [1]: https://docs.aws.amazon.com/efs/latest/ug/availability-durability.html#file-system-type
773
770
  #
774
771
  # @option params [Boolean] :backup
775
772
  # Specifies whether automatic backups are enabled on the file system
@@ -1124,86 +1121,37 @@ module Aws::EFS
1124
1121
  req.send_request(options)
1125
1122
  end
1126
1123
 
1127
- # Creates a replication configuration that replicates an existing EFS
1128
- # file system to a new, read-only file system. For more information, see
1129
- # [Amazon EFS replication][1] in the *Amazon EFS User Guide*. The
1130
- # replication configuration specifies the following:
1131
- #
1132
- # * **Source file system** – The EFS file system that you want
1133
- # replicated. The source file system cannot be a destination file
1134
- # system in an existing replication configuration.
1135
- #
1136
- # * **Amazon Web Services Region** – The Amazon Web Services Region in
1137
- # which the destination file system is created. Amazon EFS replication
1138
- # is available in all Amazon Web Services Regions in which EFS is
1139
- # available. The Region must be enabled. For more information, see
1140
- # [Managing Amazon Web Services Regions][2] in the *Amazon Web
1141
- # Services General Reference Reference Guide*.
1142
- #
1143
- # * **Destination file system configuration** – The configuration of the
1144
- # destination file system to which the source file system will be
1145
- # replicated. There can only be one destination file system in a
1146
- # replication configuration.
1147
- #
1148
- # Parameters for the replication configuration include:
1149
- #
1150
- # * **File system ID** – The ID of the destination file system for the
1151
- # replication. If no ID is provided, then EFS creates a new file
1152
- # system with the default settings. For existing file systems, the
1153
- # file system's replication overwrite protection must be disabled.
1154
- # For more information, see [ Replicating to an existing file
1155
- # system][3].
1156
- #
1157
- # * **Availability Zone** – If you want the destination file system to
1158
- # use One Zone storage, you must specify the Availability Zone to
1159
- # create the file system in. For more information, see [ EFS file
1160
- # system types][4] in the *Amazon EFS User Guide*.
1161
- #
1162
- # * **Encryption** – All destination file systems are created with
1163
- # encryption at rest enabled. You can specify the Key Management
1164
- # Service (KMS) key that is used to encrypt the destination file
1165
- # system. If you don't specify a KMS key, your service-managed KMS
1166
- # key for Amazon EFS is used.
1167
- #
1168
- # <note markdown="1"> After the file system is created, you cannot change the KMS key.
1169
- #
1170
- # </note>
1124
+ # Creates a replication configuration to either a new or existing EFS
1125
+ # file system. For more information, see [Amazon EFS replication][1] in
1126
+ # the *Amazon EFS User Guide*. The replication configuration specifies
1127
+ # the following:
1171
1128
  #
1172
- # <note markdown="1"> After the file system is created, you cannot change the KMS key.
1129
+ # * **Source file system** The EFS file system that you want to
1130
+ # replicate.
1173
1131
  #
1174
- # </note>
1132
+ # * **Destination file system** – The destination file system to which
1133
+ # the source file system is replicated. There can only be one
1134
+ # destination file system in a replication configuration.
1175
1135
  #
1176
- # For new destination file systems, the following properties are set by
1177
- # default:
1178
- #
1179
- # * **Performance mode** - The destination file system's performance
1180
- # mode matches that of the source file system, unless the destination
1181
- # file system uses EFS One Zone storage. In that case, the General
1182
- # Purpose performance mode is used. The performance mode cannot be
1183
- # changed.
1184
- #
1185
- # * **Throughput mode** - The destination file system's throughput mode
1186
- # matches that of the source file system. After the file system is
1187
- # created, you can modify the throughput mode.
1188
- # ^
1136
+ # <note markdown="1"> A file system can be part of only one replication configuration.
1189
1137
  #
1190
- # * **Lifecycle management** – Lifecycle management is not enabled on
1191
- # the destination file system. After the destination file system is
1192
- # created, you can enable lifecycle management.
1138
+ # </note>
1193
1139
  #
1194
- # * **Automatic backups** Automatic daily backups are enabled on the
1195
- # destination file system. After the file system is created, you can
1196
- # change this setting.
1140
+ # The destination parameters for the replication configuration depend
1141
+ # on whether you are replicating to a new file system or to an
1142
+ # existing file system, and if you are replicating across Amazon Web
1143
+ # Services accounts. See DestinationToCreate for more information.
1197
1144
  #
1198
- # For more information, see [Amazon EFS replication][1] in the *Amazon
1199
- # EFS User Guide*.
1145
+ # This operation requires permissions for the
1146
+ # `elasticfilesystem:CreateReplicationConfiguration` action.
1147
+ # Additionally, other permissions are required depending on how you are
1148
+ # replicating file systems. For more information, see [Required
1149
+ # permissions for replication][2] in the *Amazon EFS User Guide*.
1200
1150
  #
1201
1151
  #
1202
1152
  #
1203
1153
  # [1]: https://docs.aws.amazon.com/efs/latest/ug/efs-replication.html
1204
- # [2]: https://docs.aws.amazon.com/general/latest/gr/rande-manage.html#rande-manage-enable
1205
- # [3]: https://docs.aws.amazon.com/efs/latest/ug/efs-replication#replicate-existing-destination
1206
- # [4]: https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html
1154
+ # [2]: https://docs.aws.amazon.com/efs/latest/ug/efs-replication.html#efs-replication-permissions
1207
1155
  #
1208
1156
  # @option params [required, String] :source_file_system_id
1209
1157
  # Specifies the Amazon EFS file system that you want to replicate. This
@@ -1222,6 +1170,7 @@ module Aws::EFS
1222
1170
  # * {Types::ReplicationConfigurationDescription#original_source_file_system_arn #original_source_file_system_arn} => String
1223
1171
  # * {Types::ReplicationConfigurationDescription#creation_time #creation_time} => Time
1224
1172
  # * {Types::ReplicationConfigurationDescription#destinations #destinations} => Array&lt;Types::Destination&gt;
1173
+ # * {Types::ReplicationConfigurationDescription#source_file_system_owner_id #source_file_system_owner_id} => String
1225
1174
  #
1226
1175
  # @example Request syntax with placeholder values
1227
1176
  #
@@ -1233,6 +1182,7 @@ module Aws::EFS
1233
1182
  # availability_zone_name: "AvailabilityZoneName",
1234
1183
  # kms_key_id: "KmsKeyId",
1235
1184
  # file_system_id: "FileSystemId",
1185
+ # role_arn: "RoleArn",
1236
1186
  # },
1237
1187
  # ],
1238
1188
  # })
@@ -1249,6 +1199,10 @@ module Aws::EFS
1249
1199
  # resp.destinations[0].file_system_id #=> String
1250
1200
  # resp.destinations[0].region #=> String
1251
1201
  # resp.destinations[0].last_replicated_timestamp #=> Time
1202
+ # resp.destinations[0].owner_id #=> String
1203
+ # resp.destinations[0].status_message #=> String
1204
+ # resp.destinations[0].role_arn #=> String
1205
+ # resp.source_file_system_owner_id #=> String
1252
1206
  #
1253
1207
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateReplicationConfiguration AWS API Documentation
1254
1208
  #
@@ -1357,7 +1311,7 @@ module Aws::EFS
1357
1311
  # you when you use the Amazon Web Services console to delete a file
1358
1312
  # system.
1359
1313
  #
1360
- # <note markdown="1"> You cannot delete a file system that is part of an EFS Replication
1314
+ # <note markdown="1"> You cannot delete a file system that is part of an EFS replication
1361
1315
  # configuration. You need to delete the replication configuration first.
1362
1316
  #
1363
1317
  # </note>
@@ -1518,12 +1472,35 @@ module Aws::EFS
1518
1472
  # @option params [required, String] :source_file_system_id
1519
1473
  # The ID of the source file system in the replication configuration.
1520
1474
  #
1475
+ # @option params [String] :deletion_mode
1476
+ # When replicating across Amazon Web Services accounts or across Amazon
1477
+ # Web Services Regions, Amazon EFS deletes the replication configuration
1478
+ # from both the source and destination account or Region
1479
+ # (`ALL_CONFIGURATIONS`) by default. If there's a configuration or
1480
+ # permissions issue that prevents Amazon EFS from deleting the
1481
+ # replication configuration from both sides, you can use the
1482
+ # `LOCAL_CONFIGURATION_ONLY` mode to delete the replication
1483
+ # configuration from only the local side (the account or Region from
1484
+ # which the delete is performed).
1485
+ #
1486
+ # <note markdown="1"> Only use the `LOCAL_CONFIGURATION_ONLY` mode in the case that Amazon
1487
+ # EFS is unable to delete the replication configuration in both the
1488
+ # source and destination account or Region. Deleting the local
1489
+ # configuration leaves the configuration in the other account or Region
1490
+ # unrecoverable.
1491
+ #
1492
+ # Additionally, do not use this mode for same-account, same-region
1493
+ # replication as doing so results in a BadRequest exception error.
1494
+ #
1495
+ # </note>
1496
+ #
1521
1497
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1522
1498
  #
1523
1499
  # @example Request syntax with placeholder values
1524
1500
  #
1525
1501
  # resp = client.delete_replication_configuration({
1526
1502
  # source_file_system_id: "FileSystemId", # required
1503
+ # deletion_mode: "ALL_CONFIGURATIONS", # accepts ALL_CONFIGURATIONS, LOCAL_CONFIGURATION_ONLY
1527
1504
  # })
1528
1505
  #
1529
1506
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteReplicationConfiguration AWS API Documentation
@@ -2131,7 +2108,9 @@ module Aws::EFS
2131
2108
  #
2132
2109
  # @option params [String] :file_system_id
2133
2110
  # You can retrieve the replication configuration for a specific file
2134
- # system by providing its file system ID.
2111
+ # system by providing its file system ID. For cross-account,cross-region
2112
+ # replication, an account can only describe the replication
2113
+ # configuration for a file system in its own Region.
2135
2114
  #
2136
2115
  # @option params [String] :next_token
2137
2116
  # `NextToken` is present if the response is paginated. You can use
@@ -2169,6 +2148,10 @@ module Aws::EFS
2169
2148
  # resp.replications[0].destinations[0].file_system_id #=> String
2170
2149
  # resp.replications[0].destinations[0].region #=> String
2171
2150
  # resp.replications[0].destinations[0].last_replicated_timestamp #=> Time
2151
+ # resp.replications[0].destinations[0].owner_id #=> String
2152
+ # resp.replications[0].destinations[0].status_message #=> String
2153
+ # resp.replications[0].destinations[0].role_arn #=> String
2154
+ # resp.replications[0].source_file_system_owner_id #=> String
2172
2155
  # resp.next_token #=> String
2173
2156
  #
2174
2157
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeReplicationConfigurations AWS API Documentation
@@ -2463,7 +2446,7 @@ module Aws::EFS
2463
2446
  # set or updated using this API operation. EFS file system policies have
2464
2447
  # a 20,000 character limit. When an explicit policy is set, it overrides
2465
2448
  # the default policy. For more information about the default file system
2466
- # policy, see [Default EFS File System Policy][1].
2449
+ # policy, see [ Default EFS file system policy][1].
2467
2450
  #
2468
2451
  # <note markdown="1"> EFS file system policies have a 20,000 character limit.
2469
2452
  #
@@ -2484,11 +2467,11 @@ module Aws::EFS
2484
2467
  # The `FileSystemPolicy` that you're creating. Accepts a JSON formatted
2485
2468
  # policy definition. EFS file system policies have a 20,000 character
2486
2469
  # limit. To find out more about the elements that make up a file system
2487
- # policy, see [EFS Resource-based Policies][1].
2470
+ # policy, see [Resource-based policies within Amazon EFS][1].
2488
2471
  #
2489
2472
  #
2490
2473
  #
2491
- # [1]: https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies
2474
+ # [1]: https://docs.aws.amazon.com/efs/latest/ug/security_iam_service-with-iam.html#security_iam_service-with-iam-resource-based-policies
2492
2475
  #
2493
2476
  # @option params [Boolean] :bypass_policy_lockout_safety_check
2494
2477
  # (Optional) A boolean that specifies whether or not to bypass the
@@ -2545,7 +2528,7 @@ module Aws::EFS
2545
2528
  # either not be set or must be later than TransitionToIA.
2546
2529
  #
2547
2530
  # <note markdown="1"> The Archive storage class is available only for file systems that
2548
- # use the Elastic Throughput mode and the General Purpose Performance
2531
+ # use the Elastic throughput mode and the General Purpose performance
2549
2532
  # mode.
2550
2533
  #
2551
2534
  # </note>
@@ -2568,7 +2551,7 @@ module Aws::EFS
2568
2551
  # `LifecycleConfiguration`. In the request, specify the following:
2569
2552
  #
2570
2553
  # * The ID for the file system for which you are enabling, disabling, or
2571
- # modifying Lifecycle management.
2554
+ # modifying lifecycle management.
2572
2555
  #
2573
2556
  # * A `LifecyclePolicies` array of `LifecyclePolicy` objects that define
2574
2557
  # when to move files to IA storage, to Archive storage, and back to
@@ -2599,7 +2582,7 @@ module Aws::EFS
2599
2582
  # @option params [required, Array<Types::LifecyclePolicy>] :lifecycle_policies
2600
2583
  # An array of `LifecyclePolicy` objects that define the file system's
2601
2584
  # `LifecycleConfiguration` object. A `LifecycleConfiguration` object
2602
- # informs EFS Lifecycle management of the following:
2585
+ # informs lifecycle management of the following:
2603
2586
  #
2604
2587
  # * <b> <code>TransitionToIA</code> </b> – When to move files in the
2605
2588
  # file system from primary storage (Standard storage class) into the
@@ -2614,7 +2597,7 @@ module Aws::EFS
2614
2597
  # either not be set or must be later than TransitionToIA.
2615
2598
  #
2616
2599
  # <note markdown="1"> The Archive storage class is available only for file systems that
2617
- # use the Elastic Throughput mode and the General Purpose Performance
2600
+ # use the Elastic throughput mode and the General Purpose performance
2618
2601
  # mode.
2619
2602
  #
2620
2603
  # </note>
@@ -2873,7 +2856,7 @@ module Aws::EFS
2873
2856
  # read-only and is only modified only by EFS replication.
2874
2857
  #
2875
2858
  # If the replication configuration is deleted, the file system's
2876
- # replication overwrite protection is re-enabled, the file system
2859
+ # replication overwrite protection is re-enabled and the file system
2877
2860
  # becomes writeable.
2878
2861
  #
2879
2862
  # @return [Types::FileSystemProtectionDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -2918,7 +2901,7 @@ module Aws::EFS
2918
2901
  tracer: tracer
2919
2902
  )
2920
2903
  context[:gem_name] = 'aws-sdk-efs'
2921
- context[:gem_version] = '1.88.0'
2904
+ context[:gem_version] = '1.89.0'
2922
2905
  Seahorse::Client::Request.new(handlers, context)
2923
2906
  end
2924
2907
 
@@ -45,6 +45,7 @@ module Aws::EFS
45
45
  DeleteMountTargetRequest = Shapes::StructureShape.new(name: 'DeleteMountTargetRequest')
46
46
  DeleteReplicationConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteReplicationConfigurationRequest')
47
47
  DeleteTagsRequest = Shapes::StructureShape.new(name: 'DeleteTagsRequest')
48
+ DeletionMode = Shapes::StringShape.new(name: 'DeletionMode')
48
49
  DependencyTimeout = Shapes::StructureShape.new(name: 'DependencyTimeout')
49
50
  DescribeAccessPointsRequest = Shapes::StructureShape.new(name: 'DescribeAccessPointsRequest')
50
51
  DescribeAccessPointsResponse = Shapes::StructureShape.new(name: 'DescribeAccessPointsResponse')
@@ -138,6 +139,7 @@ module Aws::EFS
138
139
  ResourceIdPreference = Shapes::StructureShape.new(name: 'ResourceIdPreference')
139
140
  ResourceIdType = Shapes::StringShape.new(name: 'ResourceIdType')
140
141
  Resources = Shapes::ListShape.new(name: 'Resources')
142
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
141
143
  RootDirectory = Shapes::StructureShape.new(name: 'RootDirectory')
142
144
  SecondaryGids = Shapes::ListShape.new(name: 'SecondaryGids')
143
145
  SecurityGroup = Shapes::StringShape.new(name: 'SecurityGroup')
@@ -145,6 +147,7 @@ module Aws::EFS
145
147
  SecurityGroupNotFound = Shapes::StructureShape.new(name: 'SecurityGroupNotFound')
146
148
  SecurityGroups = Shapes::ListShape.new(name: 'SecurityGroups')
147
149
  Status = Shapes::StringShape.new(name: 'Status')
150
+ StatusMessage = Shapes::StringShape.new(name: 'StatusMessage')
148
151
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
149
152
  SubnetNotFound = Shapes::StructureShape.new(name: 'SubnetNotFound')
150
153
  Tag = Shapes::StructureShape.new(name: 'Tag')
@@ -265,6 +268,7 @@ module Aws::EFS
265
268
  DeleteMountTargetRequest.struct_class = Types::DeleteMountTargetRequest
266
269
 
267
270
  DeleteReplicationConfigurationRequest.add_member(:source_file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "SourceFileSystemId"))
271
+ DeleteReplicationConfigurationRequest.add_member(:deletion_mode, Shapes::ShapeRef.new(shape: DeletionMode, location: "querystring", location_name: "deletionMode"))
268
272
  DeleteReplicationConfigurationRequest.struct_class = Types::DeleteReplicationConfigurationRequest
269
273
 
270
274
  DeleteTagsRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
@@ -354,12 +358,16 @@ module Aws::EFS
354
358
  Destination.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
355
359
  Destination.add_member(:region, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "Region"))
356
360
  Destination.add_member(:last_replicated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastReplicatedTimestamp"))
361
+ Destination.add_member(:owner_id, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "OwnerId"))
362
+ Destination.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
363
+ Destination.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
357
364
  Destination.struct_class = Types::Destination
358
365
 
359
366
  DestinationToCreate.add_member(:region, Shapes::ShapeRef.new(shape: RegionName, location_name: "Region"))
360
367
  DestinationToCreate.add_member(:availability_zone_name, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "AvailabilityZoneName"))
361
368
  DestinationToCreate.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
362
369
  DestinationToCreate.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, location_name: "FileSystemId"))
370
+ DestinationToCreate.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
363
371
  DestinationToCreate.struct_class = Types::DestinationToCreate
364
372
 
365
373
  Destinations.member = Shapes::ShapeRef.new(shape: Destination)
@@ -534,6 +542,7 @@ module Aws::EFS
534
542
  ReplicationConfigurationDescription.add_member(:original_source_file_system_arn, Shapes::ShapeRef.new(shape: FileSystemArn, required: true, location_name: "OriginalSourceFileSystemArn"))
535
543
  ReplicationConfigurationDescription.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
536
544
  ReplicationConfigurationDescription.add_member(:destinations, Shapes::ShapeRef.new(shape: Destinations, required: true, location_name: "Destinations"))
545
+ ReplicationConfigurationDescription.add_member(:source_file_system_owner_id, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "SourceFileSystemOwnerId"))
537
546
  ReplicationConfigurationDescription.struct_class = Types::ReplicationConfigurationDescription
538
547
 
539
548
  ReplicationConfigurationDescriptions.member = Shapes::ShapeRef.new(shape: ReplicationConfigurationDescription)
@@ -373,7 +373,7 @@ module Aws::EFS
373
373
  # @return [String]
374
374
  #
375
375
  # @!attribute [rw] performance_mode
376
- # The Performance mode of the file system. We recommend
376
+ # The performance mode of the file system. We recommend
377
377
  # `generalPurpose` performance mode for all file systems. File systems
378
378
  # using the `maxIO` performance mode can scale to higher levels of
379
379
  # aggregate throughput and operations per second with a tradeoff of
@@ -454,11 +454,11 @@ module Aws::EFS
454
454
  # @return [Float]
455
455
  #
456
456
  # @!attribute [rw] availability_zone_name
457
- # Used to create a One Zone file system. It specifies the Amazon Web
458
- # Services Availability Zone in which to create the file system. Use
459
- # the format `us-east-1a` to specify the Availability Zone. For more
460
- # information about One Zone file systems, see [Using EFS storage
461
- # classes][1] in the *Amazon EFS User Guide*.
457
+ # For One Zone file systems, specify the Amazon Web Services
458
+ # Availability Zone in which to create the file system. Use the format
459
+ # `us-east-1a` to specify the Availability Zone. For more information
460
+ # about One Zone file systems, see [EFS file system types][1] in the
461
+ # *Amazon EFS User Guide*.
462
462
  #
463
463
  # <note markdown="1"> One Zone file systems are not available in all Availability Zones in
464
464
  # Amazon Web Services Regions where Amazon EFS is available.
@@ -467,7 +467,7 @@ module Aws::EFS
467
467
  #
468
468
  #
469
469
  #
470
- # [1]: https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html
470
+ # [1]: https://docs.aws.amazon.com/efs/latest/ug/availability-durability.html#file-system-type
471
471
  # @return [String]
472
472
  #
473
473
  # @!attribute [rw] backup
@@ -683,10 +683,34 @@ module Aws::EFS
683
683
  # The ID of the source file system in the replication configuration.
684
684
  # @return [String]
685
685
  #
686
+ # @!attribute [rw] deletion_mode
687
+ # When replicating across Amazon Web Services accounts or across
688
+ # Amazon Web Services Regions, Amazon EFS deletes the replication
689
+ # configuration from both the source and destination account or Region
690
+ # (`ALL_CONFIGURATIONS`) by default. If there's a configuration or
691
+ # permissions issue that prevents Amazon EFS from deleting the
692
+ # replication configuration from both sides, you can use the
693
+ # `LOCAL_CONFIGURATION_ONLY` mode to delete the replication
694
+ # configuration from only the local side (the account or Region from
695
+ # which the delete is performed).
696
+ #
697
+ # <note markdown="1"> Only use the `LOCAL_CONFIGURATION_ONLY` mode in the case that Amazon
698
+ # EFS is unable to delete the replication configuration in both the
699
+ # source and destination account or Region. Deleting the local
700
+ # configuration leaves the configuration in the other account or
701
+ # Region unrecoverable.
702
+ #
703
+ # Additionally, do not use this mode for same-account, same-region
704
+ # replication as doing so results in a BadRequest exception error.
705
+ #
706
+ # </note>
707
+ # @return [String]
708
+ #
686
709
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteReplicationConfigurationRequest AWS API Documentation
687
710
  #
688
711
  class DeleteReplicationConfigurationRequest < Struct.new(
689
- :source_file_system_id)
712
+ :source_file_system_id,
713
+ :deletion_mode)
690
714
  SENSITIVE = []
691
715
  include Aws::Structure
692
716
  end
@@ -1028,7 +1052,9 @@ module Aws::EFS
1028
1052
 
1029
1053
  # @!attribute [rw] file_system_id
1030
1054
  # You can retrieve the replication configuration for a specific file
1031
- # system by providing its file system ID.
1055
+ # system by providing its file system ID. For
1056
+ # cross-account,cross-region replication, an account can only describe
1057
+ # the replication configuration for a file system in its own Region.
1032
1058
  # @return [String]
1033
1059
  #
1034
1060
  # @!attribute [rw] next_token
@@ -1128,27 +1154,13 @@ module Aws::EFS
1128
1154
  # configuration.
1129
1155
  #
1130
1156
  # @!attribute [rw] status
1131
- # Describes the status of the destination EFS file system.
1157
+ # Describes the status of the replication configuration. For more
1158
+ # information about replication status, see [Viewing replication
1159
+ # details][1] in the *Amazon EFS User Guide*.
1132
1160
  #
1133
- # * The `Paused` state occurs as a result of opting out of the source
1134
- # or destination Region after the replication configuration was
1135
- # created. To resume replication for the file system, you need to
1136
- # again opt in to the Amazon Web Services Region. For more
1137
- # information, see [Managing Amazon Web Services Regions][1] in the
1138
- # *Amazon Web Services General Reference Guide*.
1139
1161
  #
1140
- # * The `Error` state occurs when either the source or the destination
1141
- # file system (or both) is in a failed state and is unrecoverable.
1142
- # For more information, see [Monitoring replication status][2] in
1143
- # the *Amazon EFS User Guide*. You must delete the replication
1144
- # configuration, and then restore the most recent backup of the
1145
- # failed file system (either the source or the destination) to a new
1146
- # file system.
1147
1162
  #
1148
- #
1149
- #
1150
- # [1]: https://docs.aws.amazon.com/general/latest/gr/rande-manage.html#rande-manage-enable
1151
- # [2]: https://docs.aws.amazon.com/efs/latest/ug/awsbackup.html#restoring-backup-efsmonitoring-replication-status.html
1163
+ # [1]: https://docs.aws.amazon.com/efs/latest/ug/awsbackup.html#restoring-backup-efsmonitoring-replication-status.html
1152
1164
  # @return [String]
1153
1165
  #
1154
1166
  # @!attribute [rw] file_system_id
@@ -1168,13 +1180,39 @@ module Aws::EFS
1168
1180
  # after this time might not be fully replicated.
1169
1181
  # @return [Time]
1170
1182
  #
1183
+ # @!attribute [rw] owner_id
1184
+ # ID of the Amazon Web Services account in which the destination file
1185
+ # system resides.
1186
+ # @return [String]
1187
+ #
1188
+ # @!attribute [rw] status_message
1189
+ # Message that provides details about the `PAUSED` or `ERRROR` state
1190
+ # of the replication destination configuration. For more information
1191
+ # about replication status messages, see [Viewing replication
1192
+ # details][1] in the *Amazon EFS User Guide*.
1193
+ #
1194
+ #
1195
+ #
1196
+ # [1]: https://docs.aws.amazon.com/efs/latest/ug/awsbackup.html#restoring-backup-efsmonitoring-replication-status.html
1197
+ # @return [String]
1198
+ #
1199
+ # @!attribute [rw] role_arn
1200
+ # Amazon Resource Name (ARN) of the IAM role in the source account
1201
+ # that allows Amazon EFS to perform replication on its behalf. This is
1202
+ # optional for same-account replication and required for cross-account
1203
+ # replication.
1204
+ # @return [String]
1205
+ #
1171
1206
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/Destination AWS API Documentation
1172
1207
  #
1173
1208
  class Destination < Struct.new(
1174
1209
  :status,
1175
1210
  :file_system_id,
1176
1211
  :region,
1177
- :last_replicated_timestamp)
1212
+ :last_replicated_timestamp,
1213
+ :owner_id,
1214
+ :status_message,
1215
+ :role_arn)
1178
1216
  SENSITIVE = []
1179
1217
  include Aws::Structure
1180
1218
  end
@@ -1182,10 +1220,52 @@ module Aws::EFS
1182
1220
  # Describes the new or existing destination file system for the
1183
1221
  # replication configuration.
1184
1222
  #
1223
+ # * If you want to replicate to a new file system, do not specify the
1224
+ # File System ID for the destination file system. Amazon EFS creates a
1225
+ # new, empty file system. For One Zone storage, specify the
1226
+ # Availability Zone to create the file system in. To use an Key
1227
+ # Management Service key other than the default KMS key, then specify
1228
+ # it. For more information, see [Configuring replication to new Amazon
1229
+ # EFS file system][1] in the *Amazon EFS User Guide*.
1230
+ #
1231
+ # <note markdown="1"> After the file system is created, you cannot change the KMS key or
1232
+ # the performance mode.
1233
+ #
1234
+ # </note>
1235
+ #
1236
+ # * If you want to replicate to an existing file system that's in the
1237
+ # same account as the source file system, then you need to provide the
1238
+ # ID or Amazon Resource Name (ARN) of the file system to which to
1239
+ # replicate. The file system's replication overwrite protection must
1240
+ # be disabled. For more information, see [Replicating to an existing
1241
+ # file system][2] in the *Amazon EFS User Guide*.
1242
+ #
1243
+ # * If you are replicating the file system to a file system that's in a
1244
+ # different account than the source file system (cross-account
1245
+ # replication), you need to provide the ARN for the file system and
1246
+ # the IAM role that allows Amazon EFS to perform replication on the
1247
+ # destination account. The file system's replication overwrite
1248
+ # protection must be disabled. For more information, see [Replicating
1249
+ # across Amazon Web Services accounts][3] in the *Amazon EFS User
1250
+ # Guide*.
1251
+ #
1252
+ #
1253
+ #
1254
+ # [1]: https://docs.aws.amazon.com/efs/latest/ug/create-replication.html
1255
+ # [2]: https://docs.aws.amazon.com/efs/latest/ug/efs-replication#replicate-existing-destination
1256
+ # [3]: https://docs.aws.amazon.com/efs/latest/ug/cross-account-replication.html
1257
+ #
1185
1258
  # @!attribute [rw] region
1186
1259
  # To create a file system that uses Regional storage, specify the
1187
1260
  # Amazon Web Services Region in which to create the destination file
1188
- # system.
1261
+ # system. The Region must be enabled for the Amazon Web Services
1262
+ # account that owns the source file system. For more information, see
1263
+ # [Managing Amazon Web Services Regions][1] in the *Amazon Web
1264
+ # Services General Reference Reference Guide*.
1265
+ #
1266
+ #
1267
+ #
1268
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/rande-manage.html#rande-manage-enable
1189
1269
  # @return [String]
1190
1270
  #
1191
1271
  # @!attribute [rw] availability_zone_name
@@ -1204,7 +1284,7 @@ module Aws::EFS
1204
1284
  # * Key ID - The unique identifier of the key, for example
1205
1285
  # `1234abcd-12ab-34cd-56ef-1234567890ab`.
1206
1286
  #
1207
- # * ARN - The Amazon Resource Name (ARN) for the key, for example
1287
+ # * ARN - The ARN for the key, for example
1208
1288
  # `arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab`.
1209
1289
  #
1210
1290
  # * Key alias - A previously created display name for a key, for
@@ -1215,10 +1295,17 @@ module Aws::EFS
1215
1295
  # @return [String]
1216
1296
  #
1217
1297
  # @!attribute [rw] file_system_id
1218
- # The ID of the file system to use for the destination. The file
1219
- # system's replication overwrite replication must be disabled. If you
1220
- # do not provide an ID, then EFS creates a new file system for the
1221
- # replication destination.
1298
+ # The ID or ARN of the file system to use for the destination. For
1299
+ # cross-account replication, this must be an ARN. The file system's
1300
+ # replication overwrite replication must be disabled. If no ID or ARN
1301
+ # is specified, then a new file system is created.
1302
+ # @return [String]
1303
+ #
1304
+ # @!attribute [rw] role_arn
1305
+ # Amazon Resource Name (ARN) of the IAM role in the source account
1306
+ # that allows Amazon EFS to perform replication on its behalf. This is
1307
+ # optional for same-account replication and required for cross-account
1308
+ # replication.
1222
1309
  # @return [String]
1223
1310
  #
1224
1311
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DestinationToCreate AWS API Documentation
@@ -1227,7 +1314,8 @@ module Aws::EFS
1227
1314
  :region,
1228
1315
  :availability_zone_name,
1229
1316
  :kms_key_id,
1230
- :file_system_id)
1317
+ :file_system_id,
1318
+ :role_arn)
1231
1319
  SENSITIVE = []
1232
1320
  include Aws::Structure
1233
1321
  end
@@ -1320,7 +1408,7 @@ module Aws::EFS
1320
1408
  # @return [Types::FileSystemSize]
1321
1409
  #
1322
1410
  # @!attribute [rw] performance_mode
1323
- # The Performance mode of the file system.
1411
+ # The performance mode of the file system.
1324
1412
  # @return [String]
1325
1413
  #
1326
1414
  # @!attribute [rw] encrypted
@@ -1765,7 +1853,7 @@ module Aws::EFS
1765
1853
  include Aws::Structure
1766
1854
  end
1767
1855
 
1768
- # Describes a policy used by Lifecycle management that specifies when to
1856
+ # Describes a policy used by lifecycle management that specifies when to
1769
1857
  # transition files into and out of storage classes. For more
1770
1858
  # information, see [Managing file system storage][1].
1771
1859
  #
@@ -1799,7 +1887,7 @@ module Aws::EFS
1799
1887
  #
1800
1888
  # @!attribute [rw] transition_to_archive
1801
1889
  # The number of days after files were last accessed in primary storage
1802
- # (the Standard storage class) files at which to move them to Archive
1890
+ # (the Standard storage class) at which to move them to Archive
1803
1891
  # storage. Metadata operations such as listing the contents of a
1804
1892
  # directory don't count as file access events.
1805
1893
  # @return [String]
@@ -2186,11 +2274,12 @@ module Aws::EFS
2186
2274
  # The `FileSystemPolicy` that you're creating. Accepts a JSON
2187
2275
  # formatted policy definition. EFS file system policies have a 20,000
2188
2276
  # character limit. To find out more about the elements that make up a
2189
- # file system policy, see [EFS Resource-based Policies][1].
2277
+ # file system policy, see [Resource-based policies within Amazon
2278
+ # EFS][1].
2190
2279
  #
2191
2280
  #
2192
2281
  #
2193
- # [1]: https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies
2282
+ # [1]: https://docs.aws.amazon.com/efs/latest/ug/security_iam_service-with-iam.html#security_iam_service-with-iam-resource-based-policies
2194
2283
  # @return [String]
2195
2284
  #
2196
2285
  # @!attribute [rw] bypass_policy_lockout_safety_check
@@ -2223,7 +2312,7 @@ module Aws::EFS
2223
2312
  # @!attribute [rw] lifecycle_policies
2224
2313
  # An array of `LifecyclePolicy` objects that define the file system's
2225
2314
  # `LifecycleConfiguration` object. A `LifecycleConfiguration` object
2226
- # informs EFS Lifecycle management of the following:
2315
+ # informs lifecycle management of the following:
2227
2316
  #
2228
2317
  # * <b> <code>TransitionToIA</code> </b> – When to move files in the
2229
2318
  # file system from primary storage (Standard storage class) into the
@@ -2238,8 +2327,8 @@ module Aws::EFS
2238
2327
  # either not be set or must be later than TransitionToIA.
2239
2328
  #
2240
2329
  # <note markdown="1"> The Archive storage class is available only for file systems that
2241
- # use the Elastic Throughput mode and the General Purpose
2242
- # Performance mode.
2330
+ # use the Elastic throughput mode and the General Purpose
2331
+ # performance mode.
2243
2332
  #
2244
2333
  # </note>
2245
2334
  #
@@ -2326,6 +2415,11 @@ module Aws::EFS
2326
2415
  # supported.
2327
2416
  # @return [Array<Types::Destination>]
2328
2417
  #
2418
+ # @!attribute [rw] source_file_system_owner_id
2419
+ # ID of the Amazon Web Services account in which the source file
2420
+ # system resides.
2421
+ # @return [String]
2422
+ #
2329
2423
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ReplicationConfigurationDescription AWS API Documentation
2330
2424
  #
2331
2425
  class ReplicationConfigurationDescription < Struct.new(
@@ -2334,7 +2428,8 @@ module Aws::EFS
2334
2428
  :source_file_system_arn,
2335
2429
  :original_source_file_system_arn,
2336
2430
  :creation_time,
2337
- :destinations)
2431
+ :destinations,
2432
+ :source_file_system_owner_id)
2338
2433
  SENSITIVE = []
2339
2434
  include Aws::Structure
2340
2435
  end
@@ -2392,7 +2487,7 @@ module Aws::EFS
2392
2487
  # point provides access to. The access point exposes the specified file
2393
2488
  # system path as the root directory of your file system to applications
2394
2489
  # using the access point. NFS clients using the access point can only
2395
- # access data in the access point's `RootDirectory` and it's
2490
+ # access data in the access point's `RootDirectory` and its
2396
2491
  # subdirectories.
2397
2492
  #
2398
2493
  # @!attribute [rw] path
@@ -2706,7 +2801,7 @@ module Aws::EFS
2706
2801
  # read-only and is only modified only by EFS replication.
2707
2802
  #
2708
2803
  # If the replication configuration is deleted, the file system's
2709
- # replication overwrite protection is re-enabled, the file system
2804
+ # replication overwrite protection is re-enabled and the file system
2710
2805
  # becomes writeable.
2711
2806
  # @return [String]
2712
2807
  #
data/lib/aws-sdk-efs.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::EFS
54
54
  autoload :EndpointProvider, 'aws-sdk-efs/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-efs/endpoints'
56
56
 
57
- GEM_VERSION = '1.88.0'
57
+ GEM_VERSION = '1.89.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -184,6 +184,7 @@ module Aws
184
184
  def original_source_file_system_arn: () -> ::String
185
185
  def creation_time: () -> ::Time
186
186
  def destinations: () -> ::Array[Types::Destination]
187
+ def source_file_system_owner_id: () -> ::String
187
188
  end
188
189
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#create_replication_configuration-instance_method
189
190
  def create_replication_configuration: (
@@ -193,7 +194,8 @@ module Aws
193
194
  region: ::String?,
194
195
  availability_zone_name: ::String?,
195
196
  kms_key_id: ::String?,
196
- file_system_id: ::String?
197
+ file_system_id: ::String?,
198
+ role_arn: ::String?
197
199
  },
198
200
  ]
199
201
  ) -> _CreateReplicationConfigurationResponseSuccess
@@ -237,7 +239,8 @@ module Aws
237
239
 
238
240
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EFS/Client.html#delete_replication_configuration-instance_method
239
241
  def delete_replication_configuration: (
240
- source_file_system_id: ::String
242
+ source_file_system_id: ::String,
243
+ ?deletion_mode: ("ALL_CONFIGURATIONS" | "LOCAL_CONFIGURATION_ONLY")
241
244
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
242
245
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
243
246
 
data/sig/types.rbs CHANGED
@@ -140,6 +140,7 @@ module Aws::EFS
140
140
 
141
141
  class DeleteReplicationConfigurationRequest
142
142
  attr_accessor source_file_system_id: ::String
143
+ attr_accessor deletion_mode: ("ALL_CONFIGURATIONS" | "LOCAL_CONFIGURATION_ONLY")
143
144
  SENSITIVE: []
144
145
  end
145
146
 
@@ -269,6 +270,9 @@ module Aws::EFS
269
270
  attr_accessor file_system_id: ::String
270
271
  attr_accessor region: ::String
271
272
  attr_accessor last_replicated_timestamp: ::Time
273
+ attr_accessor owner_id: ::String
274
+ attr_accessor status_message: ::String
275
+ attr_accessor role_arn: ::String
272
276
  SENSITIVE: []
273
277
  end
274
278
 
@@ -277,6 +281,7 @@ module Aws::EFS
277
281
  attr_accessor availability_zone_name: ::String
278
282
  attr_accessor kms_key_id: ::String
279
283
  attr_accessor file_system_id: ::String
284
+ attr_accessor role_arn: ::String
280
285
  SENSITIVE: []
281
286
  end
282
287
 
@@ -507,6 +512,7 @@ module Aws::EFS
507
512
  attr_accessor original_source_file_system_arn: ::String
508
513
  attr_accessor creation_time: ::Time
509
514
  attr_accessor destinations: ::Array[Types::Destination]
515
+ attr_accessor source_file_system_owner_id: ::String
510
516
  SENSITIVE: []
511
517
  end
512
518
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-efs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.88.0
4
+ version: 1.89.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: 2024-11-18 00:00:00.000000000 Z
11
+ date: 2024-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core