@aws-sdk/client-efs
Advanced tools
Comparing version 3.693.0 to 3.696.0
@@ -418,2 +418,6 @@ import { EFSServiceException as __BaseException } from "./EFSServiceException"; | ||
} | ||
export const DeletionMode = { | ||
ALL_CONFIGURATIONS: "ALL_CONFIGURATIONS", | ||
LOCAL_CONFIGURATION_ONLY: "LOCAL_CONFIGURATION_ONLY", | ||
}; | ||
export const ResourceIdType = { | ||
@@ -420,0 +424,0 @@ LongId: "LONG_ID", |
@@ -130,4 +130,7 @@ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core"; | ||
b.p("SourceFileSystemId", () => input.SourceFileSystemId, "{SourceFileSystemId}", false); | ||
const query = map({ | ||
[_dM]: [, input[_DM]], | ||
}); | ||
let body; | ||
b.m("DELETE").h(headers).b(body); | ||
b.m("DELETE").h(headers).q(query).b(body); | ||
return b.build(); | ||
@@ -497,2 +500,3 @@ }; | ||
SourceFileSystemId: __expectString, | ||
SourceFileSystemOwnerId: __expectString, | ||
SourceFileSystemRegion: __expectString, | ||
@@ -1437,4 +1441,7 @@ }); | ||
LastReplicatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), | ||
OwnerId: __expectString, | ||
Region: __expectString, | ||
RoleArn: __expectString, | ||
Status: __expectString, | ||
StatusMessage: __expectString, | ||
}); | ||
@@ -1496,2 +1503,3 @@ }; | ||
SourceFileSystemId: __expectString, | ||
SourceFileSystemOwnerId: __expectString, | ||
SourceFileSystemRegion: __expectString, | ||
@@ -1517,2 +1525,3 @@ }); | ||
const _CT = "CreationToken"; | ||
const _DM = "DeletionMode"; | ||
const _FSI = "FileSystemId"; | ||
@@ -1525,2 +1534,3 @@ const _M = "Marker"; | ||
const _TK = "TagKeys"; | ||
const _dM = "deletionMode"; | ||
const _tK = "tagKeys"; |
@@ -66,13 +66,12 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* <p>This operation accepts an optional <code>PerformanceMode</code> parameter that you choose | ||
* for your file system. We recommend <code>generalPurpose</code> performance mode for all file | ||
* systems. File systems using the <code>maxIO</code> mode is a previous generation performance type that is designed for highly parallelized workloads that can tolerate higher latencies | ||
* than the General Purpose mode. Max I/O mode is not supported for One Zone file systems or | ||
* for your file system. We recommend <code>generalPurpose</code> | ||
* <code>PerformanceMode</code> for all file | ||
* systems. The <code>maxIO</code> mode is a previous generation performance type that is designed for highly parallelized workloads that can tolerate higher latencies | ||
* than the <code>generalPurpose</code> mode. <code>MaxIO</code> mode is not supported for One Zone file systems or | ||
* file systems that use Elastic throughput.</p> | ||
* <important> | ||
* <p>Due to the higher per-operation latencies with Max I/O, we recommend using General Purpose performance mode for all file systems.</p> | ||
* </important> | ||
* <p>The performance mode can't be changed after | ||
* the file system has been created. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/performance.html#performancemodes.html">Amazon EFS performance | ||
* <p>The <code>PerformanceMode</code> can't be changed after the file system has been | ||
* created. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/performance.html#performancemodes.html">Amazon EFS performance | ||
* modes</a>.</p> | ||
* <p>You can set the throughput mode for the file system using the <code>ThroughputMode</code> parameter.</p> | ||
* <p>You can set the throughput mode for the file system using the <code>ThroughputMode</code> | ||
* parameter.</p> | ||
* <p>After the file system is fully created, Amazon EFS sets its lifecycle state to | ||
@@ -79,0 +78,0 @@ * <code>available</code>, at which point you can create one or more mount targets for the file |
@@ -30,91 +30,29 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
/** | ||
* <p>Creates a replication configuration that replicates an existing EFS file system | ||
* to a new, read-only file system. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/efs-replication.html">Amazon EFS replication</a> in the | ||
* <i>Amazon EFS User Guide</i>. The replication configuration | ||
* specifies the following:</p> | ||
* <p>Creates a replication configuration to either a new or existing EFS file system. | ||
* For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/efs-replication.html">Amazon EFS replication</a> in the <i>Amazon EFS User | ||
* Guide</i>. The replication configuration specifies the following:</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <b>Source file system</b> – The EFS file system that | ||
* you want replicated. The source file system cannot be a destination file system in an | ||
* existing replication configuration.</p> | ||
* <b>Source file system</b> – The EFS file | ||
* system that you want to replicate. </p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <b>Amazon Web Services Region</b> – The Amazon Web Services Region in which the destination file system is created. Amazon EFS | ||
* replication is available in all Amazon Web Services Regions in which EFS is available. The | ||
* Region must be enabled. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/rande-manage.html#rande-manage-enable">Managing Amazon Web Services Regions</a> in the <i>Amazon Web Services General Reference | ||
* Reference Guide</i>.</p> | ||
* <b>Destination file system</b> – The destination file | ||
* system to which the source file system is replicated. There can only be one destination | ||
* file system in a replication configuration. </p> | ||
* <note> | ||
* <p>A file system can be part of only one replication configuration. </p> | ||
* </note> | ||
* <p>The destination parameters for the replication configuration depend on | ||
* whether you are replicating to a new file system or to an existing file system, and if you | ||
* are replicating across Amazon Web Services accounts. See <a>DestinationToCreate</a> for more information.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <b>Destination file system configuration</b> – The | ||
* configuration of the destination file system to which the source file system will be | ||
* replicated. There can only be one destination file system in a replication configuration. </p> | ||
* <p>Parameters for the replication configuration include:</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <b>File system ID</b> – The ID of the destination | ||
* file system for the replication. If no ID is provided, then EFS creates a new file | ||
* system with the default settings. For existing file systems, the file system's | ||
* replication overwrite protection must be disabled. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/efs-replication#replicate-existing-destination"> Replicating to | ||
* an existing file system</a>.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <b>Availability Zone</b> – If you want the destination file | ||
* system to use One Zone storage, you must specify the Availability Zone to create the | ||
* file system in. For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html"> | ||
* EFS file system types</a> in the <i>Amazon EFS User | ||
* Guide</i>.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <b>Encryption</b> – All destination file systems are created | ||
* with encryption at rest enabled. You can specify the Key Management Service (KMS) key that is used to encrypt the destination file system. If you don't | ||
* specify a KMS key, your service-managed KMS key for | ||
* Amazon EFS is used. </p> | ||
* <note> | ||
* <p>After the file system is created, you cannot change the KMS key.</p> | ||
* </note> | ||
* </li> | ||
* </ul> | ||
* </li> | ||
* </ul> | ||
* <note> | ||
* <p>After the file system is created, you cannot change the KMS key.</p> | ||
* </note> | ||
* <p>For new destination file systems, the following properties are set by default:</p> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <b>Performance mode</b> - The destination file system's | ||
* performance mode matches that of the source file system, unless the destination file | ||
* system uses EFS One Zone storage. In that case, the General Purpose performance mode is | ||
* used. The performance mode cannot be changed.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <b>Throughput mode</b> - The destination file system's | ||
* throughput mode matches that of the source file system. After the file system is created, | ||
* you can modify the throughput mode.</p> | ||
* </li> | ||
* </ul> | ||
* <ul> | ||
* <li> | ||
* <p> | ||
* <b>Lifecycle management</b> – Lifecycle management is not enabled | ||
* on the destination file system. After the destination file system is created, you can | ||
* enable lifecycle management.</p> | ||
* </li> | ||
* <li> | ||
* <p> | ||
* <b>Automatic backups</b> – Automatic daily backups are enabled on | ||
* the destination file system. After the file system is created, you can change this | ||
* setting.</p> | ||
* </li> | ||
* </ul> | ||
* <p>For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/efs-replication.html">Amazon EFS replication</a> in the | ||
* <i>Amazon EFS User Guide</i>.</p> | ||
* <p>This operation requires permissions for the <code>elasticfilesystem:CreateReplicationConfiguration</code> | ||
* action. Additionally, other permissions are required depending on how you are replicating file systems. | ||
* For more information, see <a href="https://docs.aws.amazon.com/efs/latest/ug/efs-replication.html#efs-replication-permissions">Required permissions for replication</a> | ||
* in the <i>Amazon EFS User | ||
* Guide</i>.</p> | ||
* @example | ||
@@ -134,2 +72,3 @@ * Use a bare-bones client and the command you need to make an API call. | ||
* FileSystemId: "STRING_VALUE", | ||
* RoleArn: "STRING_VALUE", | ||
* }, | ||
@@ -152,4 +91,8 @@ * ], | ||
* // LastReplicatedTimestamp: new Date("TIMESTAMP"), | ||
* // OwnerId: "STRING_VALUE", | ||
* // StatusMessage: "STRING_VALUE", | ||
* // RoleArn: "STRING_VALUE", | ||
* // }, | ||
* // ], | ||
* // SourceFileSystemOwnerId: "STRING_VALUE", | ||
* // }; | ||
@@ -156,0 +99,0 @@ * |
@@ -37,3 +37,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* <note> | ||
* <p>You cannot delete a file system that is part of an EFS Replication configuration. | ||
* <p>You cannot delete a file system that is part of an EFS replication configuration. | ||
* You need to delete the replication configuration first.</p> | ||
@@ -40,0 +40,0 @@ * </note> |
@@ -44,2 +44,3 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* SourceFileSystemId: "STRING_VALUE", // required | ||
* DeletionMode: "ALL_CONFIGURATIONS" || "LOCAL_CONFIGURATION_ONLY", | ||
* }; | ||
@@ -46,0 +47,0 @@ * const command = new DeleteReplicationConfigurationCommand(input); |
@@ -31,4 +31,4 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* <p>Returns the current <code>LifecycleConfiguration</code> object for the specified Amazon | ||
* EFS file system. Lifecycle management uses the <code>LifecycleConfiguration</code> object | ||
* to identify when to move files between storage classes. For a file system without a | ||
* EFS file system. Lifecycle management uses the <code>LifecycleConfiguration</code> object to | ||
* identify when to move files between storage classes. For a file system without a | ||
* <code>LifecycleConfiguration</code> object, the call returns an empty array in the | ||
@@ -35,0 +35,0 @@ * response.</p> |
@@ -60,4 +60,8 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* // LastReplicatedTimestamp: new Date("TIMESTAMP"), | ||
* // OwnerId: "STRING_VALUE", | ||
* // StatusMessage: "STRING_VALUE", | ||
* // RoleArn: "STRING_VALUE", | ||
* // }, | ||
* // ], | ||
* // SourceFileSystemOwnerId: "STRING_VALUE", | ||
* // }, | ||
@@ -64,0 +68,0 @@ * // ], |
@@ -36,4 +36,4 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* limit. When an explicit policy is set, it overrides the default policy. For more information | ||
* about the default file system policy, see <a href="https://docs.aws.amazon.com/efs/latest/ug/iam-access-control-nfs-efs.html#default-filesystempolicy">Default EFS | ||
* File System Policy</a>. </p> | ||
* about the default file system policy, see <a href="https://docs.aws.amazon.com/efs/latest/ug/iam-access-control-nfs-efs.html#default-filesystempolicy"> | ||
* Default EFS file system policy</a>. </p> | ||
* <note> | ||
@@ -40,0 +40,0 @@ * <p>EFS file system policies have a 20,000 character limit.</p> |
@@ -52,4 +52,4 @@ import { Command as $Command } from "@smithy/smithy-client"; | ||
* <note> | ||
* <p> The Archive storage class is available only for file systems that use the Elastic Throughput mode | ||
* and the General Purpose Performance mode. </p> | ||
* <p> The Archive storage class is available only for file systems that use the Elastic throughput mode | ||
* and the General Purpose performance mode. </p> | ||
* </note> | ||
@@ -79,3 +79,3 @@ * </li> | ||
* <p>The ID for the file system for which you are enabling, disabling, or modifying | ||
* Lifecycle management.</p> | ||
* lifecycle management.</p> | ||
* </li> | ||
@@ -82,0 +82,0 @@ * <li> |
@@ -340,2 +340,3 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; | ||
FileSystemId?: string | undefined; | ||
RoleArn?: string | undefined; | ||
} | ||
@@ -361,2 +362,5 @@ export interface CreateReplicationConfigurationRequest { | ||
LastReplicatedTimestamp?: Date | undefined; | ||
OwnerId?: string | undefined; | ||
StatusMessage?: string | undefined; | ||
RoleArn?: string | undefined; | ||
} | ||
@@ -370,2 +374,3 @@ export interface ReplicationConfigurationDescription { | ||
Destinations: Destination[] | undefined; | ||
SourceFileSystemOwnerId?: string | undefined; | ||
} | ||
@@ -429,4 +434,10 @@ export declare class ReplicationNotFound extends __BaseException { | ||
} | ||
export declare const DeletionMode: { | ||
readonly ALL_CONFIGURATIONS: "ALL_CONFIGURATIONS"; | ||
readonly LOCAL_CONFIGURATION_ONLY: "LOCAL_CONFIGURATION_ONLY"; | ||
}; | ||
export type DeletionMode = (typeof DeletionMode)[keyof typeof DeletionMode]; | ||
export interface DeleteReplicationConfigurationRequest { | ||
SourceFileSystemId: string | undefined; | ||
DeletionMode?: DeletionMode | undefined; | ||
} | ||
@@ -433,0 +444,0 @@ export interface DeleteTagsRequest { |
{ | ||
"name": "@aws-sdk/client-efs", | ||
"description": "AWS SDK for JavaScript Efs Client for Node.js, Browser and React Native", | ||
"version": "3.693.0", | ||
"version": "3.696.0", | ||
"scripts": { | ||
@@ -23,39 +23,39 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"@aws-crypto/sha256-js": "5.2.0", | ||
"@aws-sdk/client-sso-oidc": "3.693.0", | ||
"@aws-sdk/client-sts": "3.693.0", | ||
"@aws-sdk/core": "3.693.0", | ||
"@aws-sdk/credential-provider-node": "3.693.0", | ||
"@aws-sdk/middleware-host-header": "3.693.0", | ||
"@aws-sdk/middleware-logger": "3.693.0", | ||
"@aws-sdk/middleware-recursion-detection": "3.693.0", | ||
"@aws-sdk/middleware-user-agent": "3.693.0", | ||
"@aws-sdk/region-config-resolver": "3.693.0", | ||
"@aws-sdk/types": "3.692.0", | ||
"@aws-sdk/util-endpoints": "3.693.0", | ||
"@aws-sdk/util-user-agent-browser": "3.693.0", | ||
"@aws-sdk/util-user-agent-node": "3.693.0", | ||
"@smithy/config-resolver": "^3.0.11", | ||
"@smithy/core": "^2.5.2", | ||
"@smithy/fetch-http-handler": "^4.1.0", | ||
"@smithy/hash-node": "^3.0.9", | ||
"@smithy/invalid-dependency": "^3.0.9", | ||
"@smithy/middleware-content-length": "^3.0.11", | ||
"@smithy/middleware-endpoint": "^3.2.2", | ||
"@smithy/middleware-retry": "^3.0.26", | ||
"@smithy/middleware-serde": "^3.0.9", | ||
"@smithy/middleware-stack": "^3.0.9", | ||
"@smithy/node-config-provider": "^3.1.10", | ||
"@smithy/node-http-handler": "^3.3.0", | ||
"@smithy/protocol-http": "^4.1.6", | ||
"@smithy/smithy-client": "^3.4.3", | ||
"@smithy/types": "^3.7.0", | ||
"@smithy/url-parser": "^3.0.9", | ||
"@aws-sdk/client-sso-oidc": "3.696.0", | ||
"@aws-sdk/client-sts": "3.696.0", | ||
"@aws-sdk/core": "3.696.0", | ||
"@aws-sdk/credential-provider-node": "3.696.0", | ||
"@aws-sdk/middleware-host-header": "3.696.0", | ||
"@aws-sdk/middleware-logger": "3.696.0", | ||
"@aws-sdk/middleware-recursion-detection": "3.696.0", | ||
"@aws-sdk/middleware-user-agent": "3.696.0", | ||
"@aws-sdk/region-config-resolver": "3.696.0", | ||
"@aws-sdk/types": "3.696.0", | ||
"@aws-sdk/util-endpoints": "3.696.0", | ||
"@aws-sdk/util-user-agent-browser": "3.696.0", | ||
"@aws-sdk/util-user-agent-node": "3.696.0", | ||
"@smithy/config-resolver": "^3.0.12", | ||
"@smithy/core": "^2.5.3", | ||
"@smithy/fetch-http-handler": "^4.1.1", | ||
"@smithy/hash-node": "^3.0.10", | ||
"@smithy/invalid-dependency": "^3.0.10", | ||
"@smithy/middleware-content-length": "^3.0.12", | ||
"@smithy/middleware-endpoint": "^3.2.3", | ||
"@smithy/middleware-retry": "^3.0.27", | ||
"@smithy/middleware-serde": "^3.0.10", | ||
"@smithy/middleware-stack": "^3.0.10", | ||
"@smithy/node-config-provider": "^3.1.11", | ||
"@smithy/node-http-handler": "^3.3.1", | ||
"@smithy/protocol-http": "^4.1.7", | ||
"@smithy/smithy-client": "^3.4.4", | ||
"@smithy/types": "^3.7.1", | ||
"@smithy/url-parser": "^3.0.10", | ||
"@smithy/util-base64": "^3.0.0", | ||
"@smithy/util-body-length-browser": "^3.0.0", | ||
"@smithy/util-body-length-node": "^3.0.0", | ||
"@smithy/util-defaults-mode-browser": "^3.0.26", | ||
"@smithy/util-defaults-mode-node": "^3.0.26", | ||
"@smithy/util-endpoints": "^2.1.5", | ||
"@smithy/util-middleware": "^3.0.9", | ||
"@smithy/util-retry": "^3.0.9", | ||
"@smithy/util-defaults-mode-browser": "^3.0.27", | ||
"@smithy/util-defaults-mode-node": "^3.0.27", | ||
"@smithy/util-endpoints": "^2.1.6", | ||
"@smithy/util-middleware": "^3.0.10", | ||
"@smithy/util-retry": "^3.0.10", | ||
"@smithy/util-utf8": "^3.0.0", | ||
@@ -62,0 +62,0 @@ "@types/uuid": "^9.0.1", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
816836
18149
+ Added@aws-sdk/client-sso@3.696.0(transitive)
+ Added@aws-sdk/client-sso-oidc@3.696.0(transitive)
+ Added@aws-sdk/client-sts@3.696.0(transitive)
+ Added@aws-sdk/core@3.696.0(transitive)
+ Added@aws-sdk/credential-provider-env@3.696.0(transitive)
+ Added@aws-sdk/credential-provider-http@3.696.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.696.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.696.0(transitive)
+ Added@aws-sdk/credential-provider-process@3.696.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.696.0(transitive)
+ Added@aws-sdk/credential-provider-web-identity@3.696.0(transitive)
+ Added@aws-sdk/middleware-host-header@3.696.0(transitive)
+ Added@aws-sdk/middleware-logger@3.696.0(transitive)
+ Added@aws-sdk/middleware-recursion-detection@3.696.0(transitive)
+ Added@aws-sdk/middleware-user-agent@3.696.0(transitive)
+ Added@aws-sdk/region-config-resolver@3.696.0(transitive)
+ Added@aws-sdk/token-providers@3.696.0(transitive)
+ Added@aws-sdk/types@3.696.0(transitive)
+ Added@aws-sdk/util-endpoints@3.696.0(transitive)
+ Added@aws-sdk/util-user-agent-browser@3.696.0(transitive)
+ Added@aws-sdk/util-user-agent-node@3.696.0(transitive)
- Removed@aws-sdk/client-sso@3.693.0(transitive)
- Removed@aws-sdk/client-sso-oidc@3.693.0(transitive)
- Removed@aws-sdk/client-sts@3.693.0(transitive)
- Removed@aws-sdk/core@3.693.0(transitive)
- Removed@aws-sdk/credential-provider-env@3.693.0(transitive)
- Removed@aws-sdk/credential-provider-http@3.693.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.693.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.693.0(transitive)
- Removed@aws-sdk/credential-provider-process@3.693.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.693.0(transitive)
- Removed@aws-sdk/credential-provider-web-identity@3.693.0(transitive)
- Removed@aws-sdk/middleware-host-header@3.693.0(transitive)
- Removed@aws-sdk/middleware-logger@3.693.0(transitive)
- Removed@aws-sdk/middleware-recursion-detection@3.693.0(transitive)
- Removed@aws-sdk/middleware-user-agent@3.693.0(transitive)
- Removed@aws-sdk/region-config-resolver@3.693.0(transitive)
- Removed@aws-sdk/token-providers@3.693.0(transitive)
- Removed@aws-sdk/types@3.692.0(transitive)
- Removed@aws-sdk/util-endpoints@3.693.0(transitive)
- Removed@aws-sdk/util-user-agent-browser@3.693.0(transitive)
- Removed@aws-sdk/util-user-agent-node@3.693.0(transitive)
Updated@aws-sdk/client-sts@3.696.0
Updated@aws-sdk/core@3.696.0
Updated@aws-sdk/types@3.696.0
Updated@smithy/core@^2.5.3
Updated@smithy/hash-node@^3.0.10
Updated@smithy/protocol-http@^4.1.7
Updated@smithy/smithy-client@^3.4.4
Updated@smithy/types@^3.7.1
Updated@smithy/url-parser@^3.0.10
Updated@smithy/util-retry@^3.0.10