@aws-sdk/client-efs 3.67.0 → 3.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/README.md +4 -4
- package/dist-cjs/models/models_0.js +17 -2
- package/dist-cjs/protocols/Aws_restJson1.js +18 -0
- package/dist-es/models/models_0.js +14 -0
- package/dist-es/protocols/Aws_restJson1.js +22 -3
- package/dist-types/EFS.d.ts +106 -72
- package/dist-types/EFSClient.d.ts +4 -4
- package/dist-types/commands/CreateAccessPointCommand.d.ts +2 -2
- package/dist-types/commands/CreateReplicationConfigurationCommand.d.ts +45 -36
- package/dist-types/commands/CreateTagsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteFileSystemCommand.d.ts +7 -0
- package/dist-types/commands/DeleteReplicationConfigurationCommand.d.ts +6 -5
- package/dist-types/commands/DeleteTagsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeLifecycleConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeReplicationConfigurationsCommand.d.ts +3 -2
- package/dist-types/commands/DescribeTagsCommand.d.ts +3 -2
- package/dist-types/commands/PutAccountPreferencesCommand.d.ts +3 -2
- package/dist-types/commands/PutLifecycleConfigurationCommand.d.ts +27 -14
- package/dist-types/models/models_0.d.ts +112 -71
- package/dist-types/ts3.4/models/models_0.d.ts +11 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { EFSServiceException as __BaseException } from "./EFSServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* <p>Returned if the access point you are trying to create already exists, with the
|
|
4
|
+
* <p>Returned if the access point that you are trying to create already exists, with the
|
|
5
5
|
* creation token you provided in the request.</p>
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessPointAlreadyExists extends __BaseException {
|
|
@@ -198,7 +198,7 @@ export declare namespace AccessPointDescription {
|
|
|
198
198
|
}
|
|
199
199
|
/**
|
|
200
200
|
* <p>Returned if the Amazon Web Services account has already created the maximum number of access points
|
|
201
|
-
* allowed per file system
|
|
201
|
+
* allowed per file system. For more informaton, see <a href="https://docs.aws.amazon.com/efs/latest/ug/limits.html#limits-efs-resources-per-account-per-region">https://docs.aws.amazon.com/efs/latest/ug/limits.html#limits-efs-resources-per-account-per-region</a>.</p>
|
|
202
202
|
*/
|
|
203
203
|
export declare class AccessPointLimitExceeded extends __BaseException {
|
|
204
204
|
readonly name: "AccessPointLimitExceeded";
|
|
@@ -247,7 +247,8 @@ export declare class AccessPointNotFound extends __BaseException {
|
|
|
247
247
|
constructor(opts: __ExceptionOptionType<AccessPointNotFound, __BaseException>);
|
|
248
248
|
}
|
|
249
249
|
/**
|
|
250
|
-
* <p>Returned if the Availability Zone that was specified for a mount target is
|
|
250
|
+
* <p>Returned if the Availability Zone that was specified for a mount target is
|
|
251
|
+
* different from the Availability Zone that was specified for One Zone storage.
|
|
251
252
|
* For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/availability-durability.html">Regional and One Zone storage redundancy</a>.</p>
|
|
252
253
|
*/
|
|
253
254
|
export declare class AvailabilityZonesMismatch extends __BaseException {
|
|
@@ -301,7 +302,8 @@ export interface BackupPolicy {
|
|
|
301
302
|
* <p>
|
|
302
303
|
* <b>
|
|
303
304
|
* <code>DISABLED</code>
|
|
304
|
-
* </b> -
|
|
305
|
+
* </b> - Automatic back ups are turned off for
|
|
306
|
+
* the file system.</p>
|
|
305
307
|
* </li>
|
|
306
308
|
* <li>
|
|
307
309
|
* <p>
|
|
@@ -321,7 +323,8 @@ export declare namespace BackupPolicy {
|
|
|
321
323
|
}
|
|
322
324
|
export interface BackupPolicyDescription {
|
|
323
325
|
/**
|
|
324
|
-
* <p>Describes the file system's backup policy, indicating whether automatic backups are
|
|
326
|
+
* <p>Describes the file system's backup policy, indicating whether automatic backups are
|
|
327
|
+
* turned on or off.</p>
|
|
325
328
|
*/
|
|
326
329
|
BackupPolicy?: BackupPolicy;
|
|
327
330
|
}
|
|
@@ -378,12 +381,13 @@ export interface CreateAccessPointRequest {
|
|
|
378
381
|
*/
|
|
379
382
|
PosixUser?: PosixUser;
|
|
380
383
|
/**
|
|
381
|
-
* <p>Specifies the directory on the Amazon EFS file system that the access point
|
|
382
|
-
* the root directory of your file system to NFS clients using the access point.
|
|
383
|
-
*
|
|
384
|
-
*
|
|
385
|
-
*
|
|
386
|
-
* When specifying a <code>RootDirectory</code>, you
|
|
384
|
+
* <p>Specifies the directory on the Amazon EFS file system that the access point
|
|
385
|
+
* exposes as the root directory of your file system to NFS clients using the access point. The
|
|
386
|
+
* clients using the access point can only access the root directory and below. If the
|
|
387
|
+
* <code>RootDirectory</code> > <code>Path</code> specified does not exist, EFS creates it
|
|
388
|
+
* and applies the <code>CreationInfo</code> settings when a client connects to an access point.
|
|
389
|
+
* When specifying a <code>RootDirectory</code>, you must provide the <code>Path</code>, and the
|
|
390
|
+
* <code>CreationInfo</code>.</p>
|
|
387
391
|
* <p>Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory.
|
|
388
392
|
* If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount
|
|
389
393
|
* using the access point will fail.</p>
|
|
@@ -469,6 +473,31 @@ export declare class InternalServerError extends __BaseException {
|
|
|
469
473
|
*/
|
|
470
474
|
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
471
475
|
}
|
|
476
|
+
/**
|
|
477
|
+
* <p>Returned when the <code>CreateAccessPoint</code> API action is called too quickly and
|
|
478
|
+
* the number of Access Points in the account is nearing the limit of 120.</p>
|
|
479
|
+
*/
|
|
480
|
+
export declare class ThrottlingException extends __BaseException {
|
|
481
|
+
readonly name: "ThrottlingException";
|
|
482
|
+
readonly $fault: "client";
|
|
483
|
+
/**
|
|
484
|
+
* <p>The error code is a string that uniquely identifies an error condition.
|
|
485
|
+
* It is meant to be read and understood by programs that detect and handle errors by type. </p>
|
|
486
|
+
*/
|
|
487
|
+
ErrorCode?: string;
|
|
488
|
+
/**
|
|
489
|
+
* <p>The error message contains a generic description of the error
|
|
490
|
+
* condition in English. It is intended for a human audience. Simple programs display the message directly
|
|
491
|
+
* to the end user if they encounter an error condition they don't know how or don't care to handle.
|
|
492
|
+
* Sophisticated programs with more exhaustive error handling and proper internationalization are
|
|
493
|
+
* more likely to ignore the error message.</p>
|
|
494
|
+
*/
|
|
495
|
+
Message?: string;
|
|
496
|
+
/**
|
|
497
|
+
* @internal
|
|
498
|
+
*/
|
|
499
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
500
|
+
}
|
|
472
501
|
export declare enum PerformanceMode {
|
|
473
502
|
GENERAL_PURPOSE = "generalPurpose",
|
|
474
503
|
MAX_IO = "maxIO"
|
|
@@ -503,10 +532,9 @@ export interface CreateFileSystemRequest {
|
|
|
503
532
|
*/
|
|
504
533
|
Encrypted?: boolean;
|
|
505
534
|
/**
|
|
506
|
-
* <p>The ID of the KMS key that you want to use to protect the encrypted file
|
|
507
|
-
* parameter is only
|
|
508
|
-
*
|
|
509
|
-
* ID using the following formats:</p>
|
|
535
|
+
* <p>The ID of the KMS key that you want to use to protect the encrypted file
|
|
536
|
+
* system. This parameter is required only if you want to use a non-default KMS key. If this parameter is not specified, the default KMS key for Amazon EFS is used. You can specify a KMS key ID using the following
|
|
537
|
+
* formats:</p>
|
|
510
538
|
* <ul>
|
|
511
539
|
* <li>
|
|
512
540
|
* <p>Key ID - A unique identifier of the key, for example
|
|
@@ -787,8 +815,8 @@ export declare class FileSystemLimitExceeded extends __BaseException {
|
|
|
787
815
|
* <p>Returned if there's not enough capacity to provision additional throughput. This value
|
|
788
816
|
* might be returned when you try to create a file system in provisioned throughput mode,
|
|
789
817
|
* when you attempt to increase the provisioned throughput of an existing file system, or
|
|
790
|
-
* when you attempt to change an existing file system from
|
|
791
|
-
*
|
|
818
|
+
* when you attempt to change an existing file system from Bursting Throughput to
|
|
819
|
+
* Provisioned Throughput mode. Try again later.</p>
|
|
792
820
|
*/
|
|
793
821
|
export declare class InsufficientThroughputCapacity extends __BaseException {
|
|
794
822
|
readonly name: "InsufficientThroughputCapacity";
|
|
@@ -996,10 +1024,11 @@ export declare namespace MountTargetDescription {
|
|
|
996
1024
|
}
|
|
997
1025
|
/**
|
|
998
1026
|
* <p>The calling account has reached the limit for elastic network interfaces for the
|
|
999
|
-
* specific Amazon Web Services Region.
|
|
1000
|
-
*
|
|
1001
|
-
* in the <i>Amazon VPC User Guide
|
|
1002
|
-
*
|
|
1027
|
+
* specific Amazon Web Services Region. Either delete some network interfaces or request
|
|
1028
|
+
* that the account quota be raised. For more information, see <a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html">Amazon VPC Quotas</a>
|
|
1029
|
+
* in the <i>Amazon VPC User Guide</i> (see the <b>Network
|
|
1030
|
+
* interfaces per Region</b> entry in the <b>Network
|
|
1031
|
+
* interfaces</b> table). </p>
|
|
1003
1032
|
*/
|
|
1004
1033
|
export declare class NetworkInterfaceLimitExceeded extends __BaseException {
|
|
1005
1034
|
readonly name: "NetworkInterfaceLimitExceeded";
|
|
@@ -1074,7 +1103,7 @@ export declare class SecurityGroupLimitExceeded extends __BaseException {
|
|
|
1074
1103
|
}
|
|
1075
1104
|
/**
|
|
1076
1105
|
* <p>Returned if one of the specified security groups doesn't exist in the subnet's
|
|
1077
|
-
* VPC.</p>
|
|
1106
|
+
* virtual private cloud (VPC).</p>
|
|
1078
1107
|
*/
|
|
1079
1108
|
export declare class SecurityGroupNotFound extends __BaseException {
|
|
1080
1109
|
readonly name: "SecurityGroupNotFound";
|
|
@@ -1127,36 +1156,35 @@ export declare class SubnetNotFound extends __BaseException {
|
|
|
1127
1156
|
*/
|
|
1128
1157
|
export interface DestinationToCreate {
|
|
1129
1158
|
/**
|
|
1130
|
-
* <p>To create a file system that uses
|
|
1159
|
+
* <p>To create a file system that uses Regional storage, specify the Amazon Web Services Region
|
|
1131
1160
|
* in which to create the destination file system.</p>
|
|
1132
1161
|
*/
|
|
1133
1162
|
Region?: string;
|
|
1134
1163
|
/**
|
|
1135
|
-
* <p>To create a file system that uses One Zone storage, specify the name of the
|
|
1164
|
+
* <p>To create a file system that uses EFS One Zone storage, specify the name of the
|
|
1136
1165
|
* Availability Zone in which to create the destination file system.</p>
|
|
1137
1166
|
*/
|
|
1138
1167
|
AvailabilityZoneName?: string;
|
|
1139
1168
|
/**
|
|
1140
|
-
* <p>Specifies the KMS key you want to use to
|
|
1141
|
-
* specify a KMS key, EFS uses your default KMS key for Amazon EFS,
|
|
1142
|
-
*
|
|
1143
|
-
* formats:</p>
|
|
1169
|
+
* <p>Specifies the Key Management Service (KMS) key that you want to use to
|
|
1170
|
+
* encrypt the destination file system. If you do not specify a KMS key, Amazon EFS uses your default KMS key for Amazon EFS,
|
|
1171
|
+
* <code>/aws/elasticfilesystem</code>. This ID can be in one of the following formats:</p>
|
|
1144
1172
|
* <ul>
|
|
1145
1173
|
* <li>
|
|
1146
|
-
* <p>Key ID -
|
|
1147
|
-
*
|
|
1174
|
+
* <p>Key ID - The unique identifier of the key, for example
|
|
1175
|
+
* <code>1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
|
|
1148
1176
|
* </li>
|
|
1149
1177
|
* <li>
|
|
1150
|
-
* <p>ARN -
|
|
1151
|
-
*
|
|
1178
|
+
* <p>ARN - The Amazon Resource Name (ARN) for the key, for example
|
|
1179
|
+
* <code>arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</code>.</p>
|
|
1152
1180
|
* </li>
|
|
1153
1181
|
* <li>
|
|
1154
1182
|
* <p>Key alias - A previously created display name for a key, for example
|
|
1155
1183
|
* <code>alias/projectKey1</code>.</p>
|
|
1156
1184
|
* </li>
|
|
1157
1185
|
* <li>
|
|
1158
|
-
* <p>Key alias ARN -
|
|
1159
|
-
*
|
|
1186
|
+
* <p>Key alias ARN - The ARN for a key alias, for example
|
|
1187
|
+
* <code>arn:aws:kms:us-west-2:444455556666:alias/projectKey1</code>.</p>
|
|
1160
1188
|
* </li>
|
|
1161
1189
|
* </ul>
|
|
1162
1190
|
*/
|
|
@@ -1196,7 +1224,10 @@ export declare enum ReplicationStatus {
|
|
|
1196
1224
|
*/
|
|
1197
1225
|
export interface Destination {
|
|
1198
1226
|
/**
|
|
1199
|
-
* <p>Describes the status of the destination Amazon EFS file system
|
|
1227
|
+
* <p>Describes the status of the destination Amazon EFS file system. If the status is
|
|
1228
|
+
* <code>ERROR</code>, the destination file system in the replication configuration is in a
|
|
1229
|
+
* failed state and is unrecoverable. To access the file system data, restore a backup of the
|
|
1230
|
+
* failed file system to a new file system.</p>
|
|
1200
1231
|
*/
|
|
1201
1232
|
Status: ReplicationStatus | string | undefined;
|
|
1202
1233
|
/**
|
|
@@ -1208,10 +1239,10 @@ export interface Destination {
|
|
|
1208
1239
|
*/
|
|
1209
1240
|
Region: string | undefined;
|
|
1210
1241
|
/**
|
|
1211
|
-
* <p>The time when the most recent sync successfully completed on the destination file
|
|
1212
|
-
* Any changes to data on the source file system that occurred
|
|
1213
|
-
* replicated to the destination file system. Any changes that occurred after this
|
|
1214
|
-
* fully replicated.</p>
|
|
1242
|
+
* <p>The time when the most recent sync was successfully completed on the destination file
|
|
1243
|
+
* system. Any changes to data on the source file system that occurred before this time have been
|
|
1244
|
+
* successfully replicated to the destination file system. Any changes that occurred after this
|
|
1245
|
+
* time might not be fully replicated.</p>
|
|
1215
1246
|
*/
|
|
1216
1247
|
LastReplicatedTimestamp?: Date;
|
|
1217
1248
|
}
|
|
@@ -1231,7 +1262,8 @@ export interface ReplicationConfigurationDescription {
|
|
|
1231
1262
|
*/
|
|
1232
1263
|
SourceFileSystemRegion: string | undefined;
|
|
1233
1264
|
/**
|
|
1234
|
-
* <p>The ARN of the current source file system in the replication
|
|
1265
|
+
* <p>The Amazon Resource Name (ARN) of the current source file system in the replication
|
|
1266
|
+
* configuration.</p>
|
|
1235
1267
|
*/
|
|
1236
1268
|
SourceFileSystemArn: string | undefined;
|
|
1237
1269
|
/**
|
|
@@ -1243,7 +1275,7 @@ export interface ReplicationConfigurationDescription {
|
|
|
1243
1275
|
*/
|
|
1244
1276
|
CreationTime: Date | undefined;
|
|
1245
1277
|
/**
|
|
1246
|
-
* <p>
|
|
1278
|
+
* <p>An array of destination objects. Only one destination object is supported.</p>
|
|
1247
1279
|
*/
|
|
1248
1280
|
Destinations: Destination[] | undefined;
|
|
1249
1281
|
}
|
|
@@ -1254,7 +1286,8 @@ export declare namespace ReplicationConfigurationDescription {
|
|
|
1254
1286
|
const filterSensitiveLog: (obj: ReplicationConfigurationDescription) => any;
|
|
1255
1287
|
}
|
|
1256
1288
|
/**
|
|
1257
|
-
* <p>Returned if the specified file system
|
|
1289
|
+
* <p>Returned if the specified file system does not have a replication
|
|
1290
|
+
* configuration.</p>
|
|
1258
1291
|
*/
|
|
1259
1292
|
export declare class ReplicationNotFound extends __BaseException {
|
|
1260
1293
|
readonly name: "ReplicationNotFound";
|
|
@@ -1730,15 +1763,18 @@ export declare enum TransitionToPrimaryStorageClassRules {
|
|
|
1730
1763
|
AFTER_1_ACCESS = "AFTER_1_ACCESS"
|
|
1731
1764
|
}
|
|
1732
1765
|
/**
|
|
1733
|
-
* <p>Describes a policy used by EFS lifecycle management and EFS
|
|
1734
|
-
* files into and out of the file system's Infrequent Access (IA)
|
|
1735
|
-
* <a href="https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html">EFS Intelligent‐Tiering and EFS Lifecycle
|
|
1766
|
+
* <p>Describes a policy used by EFS lifecycle management and EFS Intelligent-Tiering that
|
|
1767
|
+
* specifies when to transition files into and out of the file system's Infrequent Access (IA)
|
|
1768
|
+
* storage class. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html">EFS Intelligent‐Tiering and EFS Lifecycle
|
|
1769
|
+
* Management</a>.</p>
|
|
1736
1770
|
* <note>
|
|
1737
|
-
* <p>When using the <code>put-lifecycle-configuration</code> CLI command or the
|
|
1738
|
-
*
|
|
1739
|
-
*
|
|
1740
|
-
*
|
|
1741
|
-
*
|
|
1771
|
+
* <p>When using the <code>put-lifecycle-configuration</code> CLI command or the
|
|
1772
|
+
* <code>PutLifecycleConfiguration</code> API action, Amazon EFS requires that each
|
|
1773
|
+
* <code>LifecyclePolicy</code> object have only a single transition. This means that in a
|
|
1774
|
+
* request body, <code>LifecyclePolicies</code> must be structured as an array of
|
|
1775
|
+
* <code>LifecyclePolicy</code> objects, one object for each transition,
|
|
1776
|
+
* <code>TransitionToIA</code>, <code>TransitionToPrimaryStorageClass</code>. For more
|
|
1777
|
+
* information, see the request examples in <a>PutLifecycleConfiguration</a>.</p>
|
|
1742
1778
|
* </note>
|
|
1743
1779
|
*/
|
|
1744
1780
|
export interface LifecyclePolicy {
|
|
@@ -1894,18 +1930,20 @@ export declare class IncorrectMountTargetState extends __BaseException {
|
|
|
1894
1930
|
}
|
|
1895
1931
|
export interface DescribeReplicationConfigurationsRequest {
|
|
1896
1932
|
/**
|
|
1897
|
-
* <p>You can retrieve replication
|
|
1933
|
+
* <p>You can retrieve the replication configuration for a specific file system by providing its
|
|
1934
|
+
* file system ID.</p>
|
|
1898
1935
|
*/
|
|
1899
1936
|
FileSystemId?: string;
|
|
1900
1937
|
/**
|
|
1901
1938
|
* <p>
|
|
1902
1939
|
* <code>NextToken</code> is present if the response is paginated. You can use
|
|
1903
|
-
*
|
|
1940
|
+
* <code>NextToken</code> in a subsequent request to fetch the next page of
|
|
1941
|
+
* output.</p>
|
|
1904
1942
|
*/
|
|
1905
1943
|
NextToken?: string;
|
|
1906
1944
|
/**
|
|
1907
|
-
* <p>(Optional)
|
|
1908
|
-
*
|
|
1945
|
+
* <p>(Optional) To limit the number of objects returned in a response, you can specify the
|
|
1946
|
+
* <code>MaxItems</code> parameter. The default value is 100. </p>
|
|
1909
1947
|
*/
|
|
1910
1948
|
MaxResults?: number;
|
|
1911
1949
|
}
|
|
@@ -1917,7 +1955,7 @@ export declare namespace DescribeReplicationConfigurationsRequest {
|
|
|
1917
1955
|
}
|
|
1918
1956
|
export interface DescribeReplicationConfigurationsResponse {
|
|
1919
1957
|
/**
|
|
1920
|
-
* <p>The collection of replication configurations returned.</p>
|
|
1958
|
+
* <p>The collection of replication configurations that is returned.</p>
|
|
1921
1959
|
*/
|
|
1922
1960
|
Replications?: ReplicationConfigurationDescription[];
|
|
1923
1961
|
/**
|
|
@@ -1987,8 +2025,9 @@ export declare namespace DescribeTagsResponse {
|
|
|
1987
2025
|
const filterSensitiveLog: (obj: DescribeTagsResponse) => any;
|
|
1988
2026
|
}
|
|
1989
2027
|
/**
|
|
1990
|
-
* <p>Returned if the <code>FileSystemPolicy</code> is
|
|
1991
|
-
* parameter value or a missing required parameter. Returned in the
|
|
2028
|
+
* <p>Returned if the <code>FileSystemPolicy</code> is malformed or contains an error such
|
|
2029
|
+
* as a parameter value that is not valid or a missing required parameter. Returned in the
|
|
2030
|
+
* case of a policy lockout safety check error.</p>
|
|
1992
2031
|
*/
|
|
1993
2032
|
export declare class InvalidPolicyException extends __BaseException {
|
|
1994
2033
|
readonly name: "InvalidPolicyException";
|
|
@@ -2073,9 +2112,9 @@ export interface PutAccountPreferencesRequest {
|
|
|
2073
2112
|
* in the current Amazon Web Services Region, either <code>LONG_ID</code> (17 characters), or
|
|
2074
2113
|
* <code>SHORT_ID</code> (8 characters).</p>
|
|
2075
2114
|
* <note>
|
|
2076
|
-
* <p>Starting in October, 2021, you will receive an error when setting the account
|
|
2077
|
-
*
|
|
2078
|
-
*
|
|
2115
|
+
* <p>Starting in October, 2021, you will receive an error when setting the account preference to
|
|
2116
|
+
* <code>SHORT_ID</code>. Contact Amazon Web Services support if you receive an error and must
|
|
2117
|
+
* use short IDs for file system and mount target resources.</p>
|
|
2079
2118
|
* </note>
|
|
2080
2119
|
*/
|
|
2081
2120
|
ResourceIdType: ResourceIdType | string | undefined;
|
|
@@ -2128,11 +2167,11 @@ export interface PutFileSystemPolicyRequest {
|
|
|
2128
2167
|
*/
|
|
2129
2168
|
Policy: string | undefined;
|
|
2130
2169
|
/**
|
|
2131
|
-
* <p>(Optional) A
|
|
2132
|
-
* determines whether the policy in the request will prevent the principal making the request
|
|
2170
|
+
* <p>(Optional) A boolean that specifies whether or not to bypass the <code>FileSystemPolicy</code> lockout safety check. The lockout safety check
|
|
2171
|
+
* determines whether the policy in the request will lock out, or prevent, the IAM principal that is making the request from making future <code>PutFileSystemPolicy</code> requests on this file system.
|
|
2133
2172
|
* Set <code>BypassPolicyLockoutSafetyCheck</code> to <code>True</code> only when you intend to prevent
|
|
2134
|
-
* the principal that is making the request from making
|
|
2135
|
-
* The default value is False
|
|
2173
|
+
* the IAM principal that is making the request from making subsequent <code>PutFileSystemPolicy</code> requests on this file system.
|
|
2174
|
+
* The default value is <code>False</code>.
|
|
2136
2175
|
* </p>
|
|
2137
2176
|
*/
|
|
2138
2177
|
BypassPolicyLockoutSafetyCheck?: boolean;
|
|
@@ -2152,7 +2191,7 @@ export interface PutLifecycleConfigurationRequest {
|
|
|
2152
2191
|
/**
|
|
2153
2192
|
* <p>An array of <code>LifecyclePolicy</code> objects that define the file system's
|
|
2154
2193
|
* <code>LifecycleConfiguration</code> object. A <code>LifecycleConfiguration</code> object
|
|
2155
|
-
* informs EFS lifecycle management and
|
|
2194
|
+
* informs EFS lifecycle management and EFS Intelligent-Tiering of the following:</p>
|
|
2156
2195
|
* <ul>
|
|
2157
2196
|
* <li>
|
|
2158
2197
|
* <p>When to move files in the file system from primary storage to the IA storage class.</p>
|
|
@@ -2162,11 +2201,13 @@ export interface PutLifecycleConfigurationRequest {
|
|
|
2162
2201
|
* </li>
|
|
2163
2202
|
* </ul>
|
|
2164
2203
|
* <note>
|
|
2165
|
-
* <p>When using the <code>put-lifecycle-configuration</code> CLI command or the
|
|
2166
|
-
*
|
|
2167
|
-
*
|
|
2168
|
-
*
|
|
2169
|
-
*
|
|
2204
|
+
* <p>When using the <code>put-lifecycle-configuration</code> CLI command or the
|
|
2205
|
+
* <code>PutLifecycleConfiguration</code> API action, Amazon EFS requires that each
|
|
2206
|
+
* <code>LifecyclePolicy</code> object have only a single transition. This means that in a
|
|
2207
|
+
* request body, <code>LifecyclePolicies</code> must be structured as an array of
|
|
2208
|
+
* <code>LifecyclePolicy</code> objects, one object for each transition,
|
|
2209
|
+
* <code>TransitionToIA</code>, <code>TransitionToPrimaryStorageClass</code>. See the example
|
|
2210
|
+
* requests in the following section for more information.</p>
|
|
2170
2211
|
* </note>
|
|
2171
2212
|
*/
|
|
2172
2213
|
LifecyclePolicies: LifecyclePolicy[] | undefined;
|
|
@@ -2212,7 +2253,7 @@ export declare namespace UntagResourceRequest {
|
|
|
2212
2253
|
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
2213
2254
|
}
|
|
2214
2255
|
/**
|
|
2215
|
-
* <p>Returned if you don’t wait at least 24 hours before changing the throughput mode, or
|
|
2256
|
+
* <p>Returned if you don’t wait at least 24 hours before either changing the throughput mode, or
|
|
2216
2257
|
* decreasing the Provisioned Throughput value.</p>
|
|
2217
2258
|
*/
|
|
2218
2259
|
export declare class TooManyRequests extends __BaseException {
|
|
@@ -211,6 +211,17 @@ export declare class InternalServerError extends __BaseException {
|
|
|
211
211
|
|
|
212
212
|
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
213
213
|
}
|
|
214
|
+
|
|
215
|
+
export declare class ThrottlingException extends __BaseException {
|
|
216
|
+
readonly name: "ThrottlingException";
|
|
217
|
+
readonly $fault: "client";
|
|
218
|
+
|
|
219
|
+
ErrorCode?: string;
|
|
220
|
+
|
|
221
|
+
Message?: string;
|
|
222
|
+
|
|
223
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
224
|
+
}
|
|
214
225
|
export declare enum PerformanceMode {
|
|
215
226
|
GENERAL_PURPOSE = "generalPurpose",
|
|
216
227
|
MAX_IO = "maxIO"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-efs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Efs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.69.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|