@aws-sdk/client-fsx 3.180.0 → 3.183.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 +25 -0
- package/dist-cjs/FSx.js +60 -0
- package/dist-cjs/commands/CreateFileCacheCommand.js +36 -0
- package/dist-cjs/commands/DeleteFileCacheCommand.js +36 -0
- package/dist-cjs/commands/DescribeFileCachesCommand.js +36 -0
- package/dist-cjs/commands/UpdateFileCacheCommand.js +36 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +154 -27
- package/dist-cjs/pagination/DescribeFileCachesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +587 -39
- package/dist-es/FSx.js +209 -156
- package/dist-es/FSxClient.js +22 -28
- package/dist-es/commands/AssociateFileSystemAliasesCommand.js +21 -28
- package/dist-es/commands/CancelDataRepositoryTaskCommand.js +21 -28
- package/dist-es/commands/CopyBackupCommand.js +21 -28
- package/dist-es/commands/CreateBackupCommand.js +21 -28
- package/dist-es/commands/CreateDataRepositoryAssociationCommand.js +21 -28
- package/dist-es/commands/CreateDataRepositoryTaskCommand.js +21 -28
- package/dist-es/commands/CreateFileCacheCommand.js +32 -0
- package/dist-es/commands/CreateFileSystemCommand.js +21 -28
- package/dist-es/commands/CreateFileSystemFromBackupCommand.js +21 -28
- package/dist-es/commands/CreateSnapshotCommand.js +21 -28
- package/dist-es/commands/CreateStorageVirtualMachineCommand.js +21 -28
- package/dist-es/commands/CreateVolumeCommand.js +21 -28
- package/dist-es/commands/CreateVolumeFromBackupCommand.js +21 -28
- package/dist-es/commands/DeleteBackupCommand.js +21 -28
- package/dist-es/commands/DeleteDataRepositoryAssociationCommand.js +21 -28
- package/dist-es/commands/DeleteFileCacheCommand.js +32 -0
- package/dist-es/commands/DeleteFileSystemCommand.js +21 -28
- package/dist-es/commands/DeleteSnapshotCommand.js +21 -28
- package/dist-es/commands/DeleteStorageVirtualMachineCommand.js +21 -28
- package/dist-es/commands/DeleteVolumeCommand.js +21 -28
- package/dist-es/commands/DescribeBackupsCommand.js +21 -28
- package/dist-es/commands/DescribeDataRepositoryAssociationsCommand.js +21 -28
- package/dist-es/commands/DescribeDataRepositoryTasksCommand.js +21 -28
- package/dist-es/commands/DescribeFileCachesCommand.js +32 -0
- package/dist-es/commands/DescribeFileSystemAliasesCommand.js +21 -28
- package/dist-es/commands/DescribeFileSystemsCommand.js +21 -28
- package/dist-es/commands/DescribeSnapshotsCommand.js +21 -28
- package/dist-es/commands/DescribeStorageVirtualMachinesCommand.js +21 -28
- package/dist-es/commands/DescribeVolumesCommand.js +21 -28
- package/dist-es/commands/DisassociateFileSystemAliasesCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ReleaseFileSystemNfsV3LocksCommand.js +21 -28
- package/dist-es/commands/RestoreVolumeFromSnapshotCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateDataRepositoryAssociationCommand.js +21 -28
- package/dist-es/commands/UpdateFileCacheCommand.js +32 -0
- package/dist-es/commands/UpdateFileSystemCommand.js +21 -28
- package/dist-es/commands/UpdateSnapshotCommand.js +21 -28
- package/dist-es/commands/UpdateStorageVirtualMachineCommand.js +21 -28
- package/dist-es/commands/UpdateVolumeCommand.js +21 -28
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/FSxServiceException.js +5 -10
- package/dist-es/models/models_0.js +1043 -617
- package/dist-es/pagination/DescribeBackupsPaginator.js +25 -68
- package/dist-es/pagination/DescribeDataRepositoryAssociationsPaginator.js +25 -68
- package/dist-es/pagination/DescribeDataRepositoryTasksPaginator.js +25 -68
- package/dist-es/pagination/DescribeFileCachesPaginator.js +32 -0
- package/dist-es/pagination/DescribeFileSystemAliasesPaginator.js +25 -68
- package/dist-es/pagination/DescribeFileSystemsPaginator.js +25 -68
- package/dist-es/pagination/DescribeSnapshotsPaginator.js +25 -68
- package/dist-es/pagination/DescribeStorageVirtualMachinesPaginator.js +25 -68
- package/dist-es/pagination/DescribeVolumesPaginator.js +25 -68
- package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -68
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +3959 -3957
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-types/FSx.d.ts +118 -26
- package/dist-types/FSxClient.d.ts +6 -2
- package/dist-types/commands/CreateDataRepositoryAssociationCommand.d.ts +6 -0
- package/dist-types/commands/CreateFileCacheCommand.d.ts +58 -0
- package/dist-types/commands/CreateFileSystemCommand.d.ts +0 -10
- package/dist-types/commands/DeleteFileCacheCommand.d.ts +48 -0
- package/dist-types/commands/DescribeDataRepositoryAssociationsCommand.d.ts +13 -11
- package/dist-types/commands/DescribeDataRepositoryTasksCommand.d.ts +4 -4
- package/dist-types/commands/DescribeFileCachesCommand.d.ts +65 -0
- package/dist-types/commands/DescribeFileSystemsCommand.d.ts +0 -1
- package/dist-types/commands/UpdateFileCacheCommand.d.ts +36 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +964 -125
- package/dist-types/pagination/DescribeFileCachesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
- package/dist-types/ts3.4/FSx.d.ts +68 -0
- package/dist-types/ts3.4/FSxClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateFileCacheCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteFileCacheCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeFileCachesCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UpdateFileCacheCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +239 -25
- package/dist-types/ts3.4/pagination/DescribeFileCachesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/package.json +33 -33
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import packageInfo from "../package.json";
|
|
3
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
3
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
@@ -12,15 +11,30 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
|
12
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
12
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
13
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
14
|
+
export const getRuntimeConfig = (config) => {
|
|
15
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
16
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
17
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
+
return {
|
|
19
|
+
...clientSharedValues,
|
|
20
|
+
...config,
|
|
21
|
+
runtime: "browser",
|
|
22
|
+
defaultsMode,
|
|
23
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
24
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
25
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
26
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
29
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
30
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
31
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
32
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
33
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
35
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
36
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
37
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
38
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
39
|
+
};
|
|
26
40
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import packageInfo from "../package.json";
|
|
3
2
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
3
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
@@ -15,16 +14,35 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar
|
|
|
15
14
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
16
15
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
17
16
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
18
|
-
export
|
|
19
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
export const getRuntimeConfig = (config) => {
|
|
20
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
21
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
22
|
+
return {
|
|
23
|
+
...clientSharedValues,
|
|
24
|
+
...config,
|
|
25
|
+
runtime: "node",
|
|
26
|
+
defaultsMode,
|
|
27
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
28
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
29
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
30
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
31
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
34
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
35
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: config?.retryMode ??
|
|
37
|
+
loadNodeConfig({
|
|
38
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
39
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
40
|
+
}),
|
|
41
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
42
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
43
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
46
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
47
|
+
};
|
|
30
48
|
};
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
2
1
|
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
3
2
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
export const getRuntimeConfig = (config) => {
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
5
|
+
return {
|
|
6
|
+
...browserDefaults,
|
|
7
|
+
...config,
|
|
8
|
+
runtime: "react-native",
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
10
|
+
};
|
|
8
11
|
};
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
2
|
import { defaultRegionInfoProvider } from "./endpoints";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
|
|
12
|
-
});
|
|
13
|
-
};
|
|
3
|
+
export const getRuntimeConfig = (config) => ({
|
|
4
|
+
apiVersion: "2018-03-01",
|
|
5
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
|
+
logger: config?.logger ?? {},
|
|
7
|
+
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
|
|
8
|
+
serviceId: config?.serviceId ?? "FSx",
|
|
9
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
10
|
+
});
|
package/dist-types/FSx.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { CopyBackupCommandInput, CopyBackupCommandOutput } from "./commands/Copy
|
|
|
5
5
|
import { CreateBackupCommandInput, CreateBackupCommandOutput } from "./commands/CreateBackupCommand";
|
|
6
6
|
import { CreateDataRepositoryAssociationCommandInput, CreateDataRepositoryAssociationCommandOutput } from "./commands/CreateDataRepositoryAssociationCommand";
|
|
7
7
|
import { CreateDataRepositoryTaskCommandInput, CreateDataRepositoryTaskCommandOutput } from "./commands/CreateDataRepositoryTaskCommand";
|
|
8
|
+
import { CreateFileCacheCommandInput, CreateFileCacheCommandOutput } from "./commands/CreateFileCacheCommand";
|
|
8
9
|
import { CreateFileSystemCommandInput, CreateFileSystemCommandOutput } from "./commands/CreateFileSystemCommand";
|
|
9
10
|
import { CreateFileSystemFromBackupCommandInput, CreateFileSystemFromBackupCommandOutput } from "./commands/CreateFileSystemFromBackupCommand";
|
|
10
11
|
import { CreateSnapshotCommandInput, CreateSnapshotCommandOutput } from "./commands/CreateSnapshotCommand";
|
|
@@ -13,6 +14,7 @@ import { CreateVolumeCommandInput, CreateVolumeCommandOutput } from "./commands/
|
|
|
13
14
|
import { CreateVolumeFromBackupCommandInput, CreateVolumeFromBackupCommandOutput } from "./commands/CreateVolumeFromBackupCommand";
|
|
14
15
|
import { DeleteBackupCommandInput, DeleteBackupCommandOutput } from "./commands/DeleteBackupCommand";
|
|
15
16
|
import { DeleteDataRepositoryAssociationCommandInput, DeleteDataRepositoryAssociationCommandOutput } from "./commands/DeleteDataRepositoryAssociationCommand";
|
|
17
|
+
import { DeleteFileCacheCommandInput, DeleteFileCacheCommandOutput } from "./commands/DeleteFileCacheCommand";
|
|
16
18
|
import { DeleteFileSystemCommandInput, DeleteFileSystemCommandOutput } from "./commands/DeleteFileSystemCommand";
|
|
17
19
|
import { DeleteSnapshotCommandInput, DeleteSnapshotCommandOutput } from "./commands/DeleteSnapshotCommand";
|
|
18
20
|
import { DeleteStorageVirtualMachineCommandInput, DeleteStorageVirtualMachineCommandOutput } from "./commands/DeleteStorageVirtualMachineCommand";
|
|
@@ -20,6 +22,7 @@ import { DeleteVolumeCommandInput, DeleteVolumeCommandOutput } from "./commands/
|
|
|
20
22
|
import { DescribeBackupsCommandInput, DescribeBackupsCommandOutput } from "./commands/DescribeBackupsCommand";
|
|
21
23
|
import { DescribeDataRepositoryAssociationsCommandInput, DescribeDataRepositoryAssociationsCommandOutput } from "./commands/DescribeDataRepositoryAssociationsCommand";
|
|
22
24
|
import { DescribeDataRepositoryTasksCommandInput, DescribeDataRepositoryTasksCommandOutput } from "./commands/DescribeDataRepositoryTasksCommand";
|
|
25
|
+
import { DescribeFileCachesCommandInput, DescribeFileCachesCommandOutput } from "./commands/DescribeFileCachesCommand";
|
|
23
26
|
import { DescribeFileSystemAliasesCommandInput, DescribeFileSystemAliasesCommandOutput } from "./commands/DescribeFileSystemAliasesCommand";
|
|
24
27
|
import { DescribeFileSystemsCommandInput, DescribeFileSystemsCommandOutput } from "./commands/DescribeFileSystemsCommand";
|
|
25
28
|
import { DescribeSnapshotsCommandInput, DescribeSnapshotsCommandOutput } from "./commands/DescribeSnapshotsCommand";
|
|
@@ -32,6 +35,7 @@ import { RestoreVolumeFromSnapshotCommandInput, RestoreVolumeFromSnapshotCommand
|
|
|
32
35
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
33
36
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
34
37
|
import { UpdateDataRepositoryAssociationCommandInput, UpdateDataRepositoryAssociationCommandOutput } from "./commands/UpdateDataRepositoryAssociationCommand";
|
|
38
|
+
import { UpdateFileCacheCommandInput, UpdateFileCacheCommandOutput } from "./commands/UpdateFileCacheCommand";
|
|
35
39
|
import { UpdateFileSystemCommandInput, UpdateFileSystemCommandOutput } from "./commands/UpdateFileSystemCommand";
|
|
36
40
|
import { UpdateSnapshotCommandInput, UpdateSnapshotCommandOutput } from "./commands/UpdateSnapshotCommand";
|
|
37
41
|
import { UpdateStorageVirtualMachineCommandInput, UpdateStorageVirtualMachineCommandOutput } from "./commands/UpdateStorageVirtualMachineCommand";
|
|
@@ -177,6 +181,12 @@ export declare class FSx extends FSxClient {
|
|
|
177
181
|
* for automatic export only, or for both. To learn more about linking a
|
|
178
182
|
* data repository to your file system, see
|
|
179
183
|
* <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/create-dra-linked-data-repo.html">Linking your file system to an S3 bucket</a>.</p>
|
|
184
|
+
* <note>
|
|
185
|
+
* <p>
|
|
186
|
+
* <code>CreateDataRepositoryAssociation</code> isn't supported
|
|
187
|
+
* on Amazon File Cache resources. To create a DRA on Amazon File Cache,
|
|
188
|
+
* use the <code>CreateFileCache</code> operation.</p>
|
|
189
|
+
* </note>
|
|
180
190
|
*/
|
|
181
191
|
createDataRepositoryAssociation(args: CreateDataRepositoryAssociationCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataRepositoryAssociationCommandOutput>;
|
|
182
192
|
createDataRepositoryAssociation(args: CreateDataRepositoryAssociationCommandInput, cb: (err: any, data?: CreateDataRepositoryAssociationCommandOutput) => void): void;
|
|
@@ -196,6 +206,35 @@ export declare class FSx extends FSxClient {
|
|
|
196
206
|
createDataRepositoryTask(args: CreateDataRepositoryTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataRepositoryTaskCommandOutput>;
|
|
197
207
|
createDataRepositoryTask(args: CreateDataRepositoryTaskCommandInput, cb: (err: any, data?: CreateDataRepositoryTaskCommandOutput) => void): void;
|
|
198
208
|
createDataRepositoryTask(args: CreateDataRepositoryTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataRepositoryTaskCommandOutput) => void): void;
|
|
209
|
+
/**
|
|
210
|
+
* <p>Creates a new Amazon File Cache resource.</p>
|
|
211
|
+
* <p>You can use this operation with a client request token in the request that
|
|
212
|
+
* Amazon File Cache uses to ensure idempotent creation.
|
|
213
|
+
* If a cache with the specified client request token exists and the parameters
|
|
214
|
+
* match, <code>CreateFileCache</code> returns the description of the existing
|
|
215
|
+
* cache. If a cache with the specified client request token exists and the
|
|
216
|
+
* parameters don't match, this call returns <code>IncompatibleParameterError</code>.
|
|
217
|
+
* If a file cache with the specified client request token doesn't exist,
|
|
218
|
+
* <code>CreateFileCache</code> does the following: </p>
|
|
219
|
+
* <ul>
|
|
220
|
+
* <li>
|
|
221
|
+
* <p>Creates a new, empty Amazon File Cache resourcewith an assigned ID, and
|
|
222
|
+
* an initial lifecycle state of <code>CREATING</code>.</p>
|
|
223
|
+
* </li>
|
|
224
|
+
* <li>
|
|
225
|
+
* <p>Returns the description of the cache in JSON format.</p>
|
|
226
|
+
* </li>
|
|
227
|
+
* </ul>
|
|
228
|
+
* <note>
|
|
229
|
+
* <p>The <code>CreateFileCache</code> call returns while the cache's lifecycle
|
|
230
|
+
* state is still <code>CREATING</code>. You can check the cache creation status
|
|
231
|
+
* by calling the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeFileCaches.html">DescribeFileCaches</a> operation, which returns the cache state
|
|
232
|
+
* along with other information.</p>
|
|
233
|
+
* </note>
|
|
234
|
+
*/
|
|
235
|
+
createFileCache(args: CreateFileCacheCommandInput, options?: __HttpHandlerOptions): Promise<CreateFileCacheCommandOutput>;
|
|
236
|
+
createFileCache(args: CreateFileCacheCommandInput, cb: (err: any, data?: CreateFileCacheCommandOutput) => void): void;
|
|
237
|
+
createFileCache(args: CreateFileCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFileCacheCommandOutput) => void): void;
|
|
199
238
|
/**
|
|
200
239
|
* <p>Creates a new, empty Amazon FSx file system. You can create the following supported
|
|
201
240
|
* Amazon FSx file systems using the <code>CreateFileSystem</code> API operation:</p>
|
|
@@ -237,16 +276,6 @@ export declare class FSx extends FSxClient {
|
|
|
237
276
|
* <p>Returns the description of the file system in JSON format.</p>
|
|
238
277
|
* </li>
|
|
239
278
|
* </ul>
|
|
240
|
-
*
|
|
241
|
-
* <p>This operation requires a client request token in the request that Amazon FSx
|
|
242
|
-
* uses to ensure idempotent creation. This means that calling the operation multiple times
|
|
243
|
-
* with the same client request token has no effect. By using the idempotent operation, you
|
|
244
|
-
* can retry a <code>CreateFileSystem</code> operation without the risk of creating an
|
|
245
|
-
* extra file system. This approach can be useful when an initial call fails in a way that
|
|
246
|
-
* makes it unclear whether a file system was created. Examples are if a transport-level
|
|
247
|
-
* timeout occurred, or your connection was reset. If you use the same client request token
|
|
248
|
-
* and the initial call created a file system, the client receives a success message as
|
|
249
|
-
* long as the parameters are the same.</p>
|
|
250
279
|
* <note>
|
|
251
280
|
* <p>The <code>CreateFileSystem</code> call returns while the file system's lifecycle
|
|
252
281
|
* state is still <code>CREATING</code>. You can check the file-system creation status
|
|
@@ -378,6 +407,25 @@ export declare class FSx extends FSxClient {
|
|
|
378
407
|
deleteDataRepositoryAssociation(args: DeleteDataRepositoryAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDataRepositoryAssociationCommandOutput>;
|
|
379
408
|
deleteDataRepositoryAssociation(args: DeleteDataRepositoryAssociationCommandInput, cb: (err: any, data?: DeleteDataRepositoryAssociationCommandOutput) => void): void;
|
|
380
409
|
deleteDataRepositoryAssociation(args: DeleteDataRepositoryAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDataRepositoryAssociationCommandOutput) => void): void;
|
|
410
|
+
/**
|
|
411
|
+
* <p>Deletes an Amazon File Cache resource. After deletion, the cache no longer exists, and its data
|
|
412
|
+
* is gone.</p>
|
|
413
|
+
*
|
|
414
|
+
* <p>The <code>DeleteFileCache</code> operation returns while the cache has the
|
|
415
|
+
* <code>DELETING</code> status. You can check the cache deletion status by
|
|
416
|
+
* calling the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeFileCaches.html">DescribeFileCaches</a> operation, which returns a list of caches in your
|
|
417
|
+
* account. If you pass the cache ID for a deleted cache, the
|
|
418
|
+
* <code>DescribeFileCaches</code> operation returns a <code>FileCacheNotFound</code>
|
|
419
|
+
* error.</p>
|
|
420
|
+
*
|
|
421
|
+
* <important>
|
|
422
|
+
* <p>The data in a deleted cache is also deleted and can't be recovered by
|
|
423
|
+
* any means.</p>
|
|
424
|
+
* </important>
|
|
425
|
+
*/
|
|
426
|
+
deleteFileCache(args: DeleteFileCacheCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFileCacheCommandOutput>;
|
|
427
|
+
deleteFileCache(args: DeleteFileCacheCommandInput, cb: (err: any, data?: DeleteFileCacheCommandOutput) => void): void;
|
|
428
|
+
deleteFileCache(args: DeleteFileCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFileCacheCommandOutput) => void): void;
|
|
381
429
|
/**
|
|
382
430
|
* <p>Deletes a file system. After deletion, the file system no longer exists, and its data
|
|
383
431
|
* is gone. Any existing automatic backups and snapshots are also deleted.</p>
|
|
@@ -467,23 +515,25 @@ export declare class FSx extends FSxClient {
|
|
|
467
515
|
describeBackups(args: DescribeBackupsCommandInput, cb: (err: any, data?: DescribeBackupsCommandOutput) => void): void;
|
|
468
516
|
describeBackups(args: DescribeBackupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBackupsCommandOutput) => void): void;
|
|
469
517
|
/**
|
|
470
|
-
* <p>Returns the description of specific Amazon FSx for Lustre
|
|
471
|
-
* one or more <code>AssociationIds</code> values
|
|
472
|
-
*
|
|
473
|
-
* for file systems with the
|
|
518
|
+
* <p>Returns the description of specific Amazon FSx for Lustre or Amazon File Cache
|
|
519
|
+
* data repository associations, if one or more <code>AssociationIds</code> values
|
|
520
|
+
* are provided in the request, or if filters are used in the request. Data repository
|
|
521
|
+
* associations are supported only for Amazon FSx for Lustre file systems with the
|
|
522
|
+
* <code>Persistent_2</code> deployment type and for Amazon File Cache resources.</p>
|
|
474
523
|
*
|
|
475
524
|
* <p>You can use filters to narrow the response to include just data repository
|
|
476
525
|
* associations for specific file systems (use the <code>file-system-id</code> filter with
|
|
477
|
-
* the ID of the file system) or
|
|
478
|
-
*
|
|
479
|
-
*
|
|
480
|
-
*
|
|
481
|
-
*
|
|
526
|
+
* the ID of the file system) or caches (use the <code>file-cache-id</code> filter with
|
|
527
|
+
* the ID of the cache), or data repository associations for a specific repository type
|
|
528
|
+
* (use the <code>data-repository-type</code> filter with a value of <code>S3</code>
|
|
529
|
+
* or <code>NFS</code>). If you don't use filters, the response returns all data
|
|
530
|
+
* repository associations owned by your Amazon Web Services account in the Amazon Web Services Region
|
|
531
|
+
* of the endpoint that you're calling.</p>
|
|
482
532
|
*
|
|
483
533
|
* <p>When retrieving all data repository associations, you can paginate the response by using
|
|
484
534
|
* the optional <code>MaxResults</code> parameter to limit the number of data repository associations
|
|
485
|
-
* returned in a response. If more data repository associations remain,
|
|
486
|
-
* <code>NextToken</code> value in the response. In this case, send a later
|
|
535
|
+
* returned in a response. If more data repository associations remain, a
|
|
536
|
+
* <code>NextToken</code> value is returned in the response. In this case, send a later
|
|
487
537
|
* request with the <code>NextToken</code> request parameter set to the value of
|
|
488
538
|
* <code>NextToken</code> from the last response.</p>
|
|
489
539
|
*/
|
|
@@ -491,21 +541,57 @@ export declare class FSx extends FSxClient {
|
|
|
491
541
|
describeDataRepositoryAssociations(args: DescribeDataRepositoryAssociationsCommandInput, cb: (err: any, data?: DescribeDataRepositoryAssociationsCommandOutput) => void): void;
|
|
492
542
|
describeDataRepositoryAssociations(args: DescribeDataRepositoryAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDataRepositoryAssociationsCommandOutput) => void): void;
|
|
493
543
|
/**
|
|
494
|
-
* <p>Returns the description of specific Amazon FSx for Lustre data repository tasks, if
|
|
544
|
+
* <p>Returns the description of specific Amazon FSx for Lustre or Amazon File Cache data repository tasks, if
|
|
495
545
|
* one or more <code>TaskIds</code> values are provided in the request, or if filters are used in the request.
|
|
496
|
-
* You can use filters to narrow the response to include just tasks for specific file systems,
|
|
546
|
+
* You can use filters to narrow the response to include just tasks for specific file systems or caches,
|
|
497
547
|
* or tasks in a specific lifecycle state. Otherwise, it returns all data repository tasks owned
|
|
498
548
|
* by your Amazon Web Services account in the Amazon Web Services Region of the endpoint that you're calling.</p>
|
|
499
549
|
*
|
|
500
550
|
* <p>When retrieving all tasks, you can paginate the response by using the optional <code>MaxResults</code>
|
|
501
|
-
* parameter to limit the number of tasks returned in a response. If more tasks remain,
|
|
502
|
-
*
|
|
551
|
+
* parameter to limit the number of tasks returned in a response. If more tasks remain,
|
|
552
|
+
* a <code>NextToken</code> value is returned in the response. In this case, send a later
|
|
503
553
|
* request with the <code>NextToken</code> request parameter set to the value of
|
|
504
554
|
* <code>NextToken</code> from the last response.</p>
|
|
505
555
|
*/
|
|
506
556
|
describeDataRepositoryTasks(args: DescribeDataRepositoryTasksCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDataRepositoryTasksCommandOutput>;
|
|
507
557
|
describeDataRepositoryTasks(args: DescribeDataRepositoryTasksCommandInput, cb: (err: any, data?: DescribeDataRepositoryTasksCommandOutput) => void): void;
|
|
508
558
|
describeDataRepositoryTasks(args: DescribeDataRepositoryTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDataRepositoryTasksCommandOutput) => void): void;
|
|
559
|
+
/**
|
|
560
|
+
* <p>Returns the description of a specific Amazon File Cache resource, if a
|
|
561
|
+
* <code>FileCacheIds</code> value is provided for that cache. Otherwise, it
|
|
562
|
+
* returns descriptions of all caches owned by your Amazon Web Services account in the
|
|
563
|
+
* Amazon Web Services Region of the endpoint that you're calling.</p>
|
|
564
|
+
*
|
|
565
|
+
* <p>When retrieving all cache descriptions, you can optionally specify the
|
|
566
|
+
* <code>MaxResults</code> parameter to limit the number of descriptions in a response.
|
|
567
|
+
* If more cache descriptions remain, the operation returns a
|
|
568
|
+
* <code>NextToken</code> value in the response. In this case, send a later request
|
|
569
|
+
* with the <code>NextToken</code> request parameter set to the value of
|
|
570
|
+
* <code>NextToken</code> from the last response.</p>
|
|
571
|
+
*
|
|
572
|
+
* <p>This operation is used in an iterative process to retrieve a list of your cache
|
|
573
|
+
* descriptions. <code>DescribeFileCaches</code> is called first without a
|
|
574
|
+
* <code>NextToken</code>value. Then the operation continues to be called with the
|
|
575
|
+
* <code>NextToken</code> parameter set to the value of the last <code>NextToken</code>
|
|
576
|
+
* value until a response has no <code>NextToken</code>.</p>
|
|
577
|
+
*
|
|
578
|
+
* <p>When using this operation, keep the following in mind:</p>
|
|
579
|
+
* <ul>
|
|
580
|
+
* <li>
|
|
581
|
+
* <p>The implementation might return fewer than <code>MaxResults</code>
|
|
582
|
+
* cache descriptions while still including a <code>NextToken</code>
|
|
583
|
+
* value.</p>
|
|
584
|
+
* </li>
|
|
585
|
+
* <li>
|
|
586
|
+
* <p>The order of caches returned in the response of one
|
|
587
|
+
* <code>DescribeFileCaches</code> call and the order of caches returned
|
|
588
|
+
* across the responses of a multicall iteration is unspecified.</p>
|
|
589
|
+
* </li>
|
|
590
|
+
* </ul>
|
|
591
|
+
*/
|
|
592
|
+
describeFileCaches(args: DescribeFileCachesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFileCachesCommandOutput>;
|
|
593
|
+
describeFileCaches(args: DescribeFileCachesCommandInput, cb: (err: any, data?: DescribeFileCachesCommandOutput) => void): void;
|
|
594
|
+
describeFileCaches(args: DescribeFileCachesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFileCachesCommandOutput) => void): void;
|
|
509
595
|
/**
|
|
510
596
|
* <p>Returns the DNS aliases that are associated with the specified Amazon FSx for Windows File Server file system. A history of
|
|
511
597
|
* all DNS aliases that have been associated with and disassociated from the file system is available in the list of <a>AdministrativeAction</a>
|
|
@@ -539,7 +625,6 @@ export declare class FSx extends FSxClient {
|
|
|
539
625
|
* <p>The implementation might return fewer than <code>MaxResults</code> file
|
|
540
626
|
* system descriptions while still including a <code>NextToken</code>
|
|
541
627
|
* value.</p>
|
|
542
|
-
*
|
|
543
628
|
* </li>
|
|
544
629
|
* <li>
|
|
545
630
|
* <p>The order of file systems returned in the response of one
|
|
@@ -677,6 +762,13 @@ export declare class FSx extends FSxClient {
|
|
|
677
762
|
updateDataRepositoryAssociation(args: UpdateDataRepositoryAssociationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataRepositoryAssociationCommandOutput>;
|
|
678
763
|
updateDataRepositoryAssociation(args: UpdateDataRepositoryAssociationCommandInput, cb: (err: any, data?: UpdateDataRepositoryAssociationCommandOutput) => void): void;
|
|
679
764
|
updateDataRepositoryAssociation(args: UpdateDataRepositoryAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataRepositoryAssociationCommandOutput) => void): void;
|
|
765
|
+
/**
|
|
766
|
+
* <p>Updates the configuration of an existing Amazon File Cache resource.
|
|
767
|
+
* You can update multiple properties in a single request.</p>
|
|
768
|
+
*/
|
|
769
|
+
updateFileCache(args: UpdateFileCacheCommandInput, options?: __HttpHandlerOptions): Promise<UpdateFileCacheCommandOutput>;
|
|
770
|
+
updateFileCache(args: UpdateFileCacheCommandInput, cb: (err: any, data?: UpdateFileCacheCommandOutput) => void): void;
|
|
771
|
+
updateFileCache(args: UpdateFileCacheCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFileCacheCommandOutput) => void): void;
|
|
680
772
|
/**
|
|
681
773
|
* <p>Use this operation to update the configuration of an existing Amazon FSx file
|
|
682
774
|
* system. You can update multiple properties in a single request.</p>
|
|
@@ -12,6 +12,7 @@ import { CopyBackupCommandInput, CopyBackupCommandOutput } from "./commands/Copy
|
|
|
12
12
|
import { CreateBackupCommandInput, CreateBackupCommandOutput } from "./commands/CreateBackupCommand";
|
|
13
13
|
import { CreateDataRepositoryAssociationCommandInput, CreateDataRepositoryAssociationCommandOutput } from "./commands/CreateDataRepositoryAssociationCommand";
|
|
14
14
|
import { CreateDataRepositoryTaskCommandInput, CreateDataRepositoryTaskCommandOutput } from "./commands/CreateDataRepositoryTaskCommand";
|
|
15
|
+
import { CreateFileCacheCommandInput, CreateFileCacheCommandOutput } from "./commands/CreateFileCacheCommand";
|
|
15
16
|
import { CreateFileSystemCommandInput, CreateFileSystemCommandOutput } from "./commands/CreateFileSystemCommand";
|
|
16
17
|
import { CreateFileSystemFromBackupCommandInput, CreateFileSystemFromBackupCommandOutput } from "./commands/CreateFileSystemFromBackupCommand";
|
|
17
18
|
import { CreateSnapshotCommandInput, CreateSnapshotCommandOutput } from "./commands/CreateSnapshotCommand";
|
|
@@ -20,6 +21,7 @@ import { CreateVolumeCommandInput, CreateVolumeCommandOutput } from "./commands/
|
|
|
20
21
|
import { CreateVolumeFromBackupCommandInput, CreateVolumeFromBackupCommandOutput } from "./commands/CreateVolumeFromBackupCommand";
|
|
21
22
|
import { DeleteBackupCommandInput, DeleteBackupCommandOutput } from "./commands/DeleteBackupCommand";
|
|
22
23
|
import { DeleteDataRepositoryAssociationCommandInput, DeleteDataRepositoryAssociationCommandOutput } from "./commands/DeleteDataRepositoryAssociationCommand";
|
|
24
|
+
import { DeleteFileCacheCommandInput, DeleteFileCacheCommandOutput } from "./commands/DeleteFileCacheCommand";
|
|
23
25
|
import { DeleteFileSystemCommandInput, DeleteFileSystemCommandOutput } from "./commands/DeleteFileSystemCommand";
|
|
24
26
|
import { DeleteSnapshotCommandInput, DeleteSnapshotCommandOutput } from "./commands/DeleteSnapshotCommand";
|
|
25
27
|
import { DeleteStorageVirtualMachineCommandInput, DeleteStorageVirtualMachineCommandOutput } from "./commands/DeleteStorageVirtualMachineCommand";
|
|
@@ -27,6 +29,7 @@ import { DeleteVolumeCommandInput, DeleteVolumeCommandOutput } from "./commands/
|
|
|
27
29
|
import { DescribeBackupsCommandInput, DescribeBackupsCommandOutput } from "./commands/DescribeBackupsCommand";
|
|
28
30
|
import { DescribeDataRepositoryAssociationsCommandInput, DescribeDataRepositoryAssociationsCommandOutput } from "./commands/DescribeDataRepositoryAssociationsCommand";
|
|
29
31
|
import { DescribeDataRepositoryTasksCommandInput, DescribeDataRepositoryTasksCommandOutput } from "./commands/DescribeDataRepositoryTasksCommand";
|
|
32
|
+
import { DescribeFileCachesCommandInput, DescribeFileCachesCommandOutput } from "./commands/DescribeFileCachesCommand";
|
|
30
33
|
import { DescribeFileSystemAliasesCommandInput, DescribeFileSystemAliasesCommandOutput } from "./commands/DescribeFileSystemAliasesCommand";
|
|
31
34
|
import { DescribeFileSystemsCommandInput, DescribeFileSystemsCommandOutput } from "./commands/DescribeFileSystemsCommand";
|
|
32
35
|
import { DescribeSnapshotsCommandInput, DescribeSnapshotsCommandOutput } from "./commands/DescribeSnapshotsCommand";
|
|
@@ -39,12 +42,13 @@ import { RestoreVolumeFromSnapshotCommandInput, RestoreVolumeFromSnapshotCommand
|
|
|
39
42
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
40
43
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
41
44
|
import { UpdateDataRepositoryAssociationCommandInput, UpdateDataRepositoryAssociationCommandOutput } from "./commands/UpdateDataRepositoryAssociationCommand";
|
|
45
|
+
import { UpdateFileCacheCommandInput, UpdateFileCacheCommandOutput } from "./commands/UpdateFileCacheCommand";
|
|
42
46
|
import { UpdateFileSystemCommandInput, UpdateFileSystemCommandOutput } from "./commands/UpdateFileSystemCommand";
|
|
43
47
|
import { UpdateSnapshotCommandInput, UpdateSnapshotCommandOutput } from "./commands/UpdateSnapshotCommand";
|
|
44
48
|
import { UpdateStorageVirtualMachineCommandInput, UpdateStorageVirtualMachineCommandOutput } from "./commands/UpdateStorageVirtualMachineCommand";
|
|
45
49
|
import { UpdateVolumeCommandInput, UpdateVolumeCommandOutput } from "./commands/UpdateVolumeCommand";
|
|
46
|
-
export declare type ServiceInputTypes = AssociateFileSystemAliasesCommandInput | CancelDataRepositoryTaskCommandInput | CopyBackupCommandInput | CreateBackupCommandInput | CreateDataRepositoryAssociationCommandInput | CreateDataRepositoryTaskCommandInput | CreateFileSystemCommandInput | CreateFileSystemFromBackupCommandInput | CreateSnapshotCommandInput | CreateStorageVirtualMachineCommandInput | CreateVolumeCommandInput | CreateVolumeFromBackupCommandInput | DeleteBackupCommandInput | DeleteDataRepositoryAssociationCommandInput | DeleteFileSystemCommandInput | DeleteSnapshotCommandInput | DeleteStorageVirtualMachineCommandInput | DeleteVolumeCommandInput | DescribeBackupsCommandInput | DescribeDataRepositoryAssociationsCommandInput | DescribeDataRepositoryTasksCommandInput | DescribeFileSystemAliasesCommandInput | DescribeFileSystemsCommandInput | DescribeSnapshotsCommandInput | DescribeStorageVirtualMachinesCommandInput | DescribeVolumesCommandInput | DisassociateFileSystemAliasesCommandInput | ListTagsForResourceCommandInput | ReleaseFileSystemNfsV3LocksCommandInput | RestoreVolumeFromSnapshotCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDataRepositoryAssociationCommandInput | UpdateFileSystemCommandInput | UpdateSnapshotCommandInput | UpdateStorageVirtualMachineCommandInput | UpdateVolumeCommandInput;
|
|
47
|
-
export declare type ServiceOutputTypes = AssociateFileSystemAliasesCommandOutput | CancelDataRepositoryTaskCommandOutput | CopyBackupCommandOutput | CreateBackupCommandOutput | CreateDataRepositoryAssociationCommandOutput | CreateDataRepositoryTaskCommandOutput | CreateFileSystemCommandOutput | CreateFileSystemFromBackupCommandOutput | CreateSnapshotCommandOutput | CreateStorageVirtualMachineCommandOutput | CreateVolumeCommandOutput | CreateVolumeFromBackupCommandOutput | DeleteBackupCommandOutput | DeleteDataRepositoryAssociationCommandOutput | DeleteFileSystemCommandOutput | DeleteSnapshotCommandOutput | DeleteStorageVirtualMachineCommandOutput | DeleteVolumeCommandOutput | DescribeBackupsCommandOutput | DescribeDataRepositoryAssociationsCommandOutput | DescribeDataRepositoryTasksCommandOutput | DescribeFileSystemAliasesCommandOutput | DescribeFileSystemsCommandOutput | DescribeSnapshotsCommandOutput | DescribeStorageVirtualMachinesCommandOutput | DescribeVolumesCommandOutput | DisassociateFileSystemAliasesCommandOutput | ListTagsForResourceCommandOutput | ReleaseFileSystemNfsV3LocksCommandOutput | RestoreVolumeFromSnapshotCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDataRepositoryAssociationCommandOutput | UpdateFileSystemCommandOutput | UpdateSnapshotCommandOutput | UpdateStorageVirtualMachineCommandOutput | UpdateVolumeCommandOutput;
|
|
50
|
+
export declare type ServiceInputTypes = AssociateFileSystemAliasesCommandInput | CancelDataRepositoryTaskCommandInput | CopyBackupCommandInput | CreateBackupCommandInput | CreateDataRepositoryAssociationCommandInput | CreateDataRepositoryTaskCommandInput | CreateFileCacheCommandInput | CreateFileSystemCommandInput | CreateFileSystemFromBackupCommandInput | CreateSnapshotCommandInput | CreateStorageVirtualMachineCommandInput | CreateVolumeCommandInput | CreateVolumeFromBackupCommandInput | DeleteBackupCommandInput | DeleteDataRepositoryAssociationCommandInput | DeleteFileCacheCommandInput | DeleteFileSystemCommandInput | DeleteSnapshotCommandInput | DeleteStorageVirtualMachineCommandInput | DeleteVolumeCommandInput | DescribeBackupsCommandInput | DescribeDataRepositoryAssociationsCommandInput | DescribeDataRepositoryTasksCommandInput | DescribeFileCachesCommandInput | DescribeFileSystemAliasesCommandInput | DescribeFileSystemsCommandInput | DescribeSnapshotsCommandInput | DescribeStorageVirtualMachinesCommandInput | DescribeVolumesCommandInput | DisassociateFileSystemAliasesCommandInput | ListTagsForResourceCommandInput | ReleaseFileSystemNfsV3LocksCommandInput | RestoreVolumeFromSnapshotCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDataRepositoryAssociationCommandInput | UpdateFileCacheCommandInput | UpdateFileSystemCommandInput | UpdateSnapshotCommandInput | UpdateStorageVirtualMachineCommandInput | UpdateVolumeCommandInput;
|
|
51
|
+
export declare type ServiceOutputTypes = AssociateFileSystemAliasesCommandOutput | CancelDataRepositoryTaskCommandOutput | CopyBackupCommandOutput | CreateBackupCommandOutput | CreateDataRepositoryAssociationCommandOutput | CreateDataRepositoryTaskCommandOutput | CreateFileCacheCommandOutput | CreateFileSystemCommandOutput | CreateFileSystemFromBackupCommandOutput | CreateSnapshotCommandOutput | CreateStorageVirtualMachineCommandOutput | CreateVolumeCommandOutput | CreateVolumeFromBackupCommandOutput | DeleteBackupCommandOutput | DeleteDataRepositoryAssociationCommandOutput | DeleteFileCacheCommandOutput | DeleteFileSystemCommandOutput | DeleteSnapshotCommandOutput | DeleteStorageVirtualMachineCommandOutput | DeleteVolumeCommandOutput | DescribeBackupsCommandOutput | DescribeDataRepositoryAssociationsCommandOutput | DescribeDataRepositoryTasksCommandOutput | DescribeFileCachesCommandOutput | DescribeFileSystemAliasesCommandOutput | DescribeFileSystemsCommandOutput | DescribeSnapshotsCommandOutput | DescribeStorageVirtualMachinesCommandOutput | DescribeVolumesCommandOutput | DisassociateFileSystemAliasesCommandOutput | ListTagsForResourceCommandOutput | ReleaseFileSystemNfsV3LocksCommandOutput | RestoreVolumeFromSnapshotCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDataRepositoryAssociationCommandOutput | UpdateFileCacheCommandOutput | UpdateFileSystemCommandOutput | UpdateSnapshotCommandOutput | UpdateStorageVirtualMachineCommandOutput | UpdateVolumeCommandOutput;
|
|
48
52
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
49
53
|
/**
|
|
50
54
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -18,6 +18,12 @@ export interface CreateDataRepositoryAssociationCommandOutput extends CreateData
|
|
|
18
18
|
* for automatic export only, or for both. To learn more about linking a
|
|
19
19
|
* data repository to your file system, see
|
|
20
20
|
* <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/create-dra-linked-data-repo.html">Linking your file system to an S3 bucket</a>.</p>
|
|
21
|
+
* <note>
|
|
22
|
+
* <p>
|
|
23
|
+
* <code>CreateDataRepositoryAssociation</code> isn't supported
|
|
24
|
+
* on Amazon File Cache resources. To create a DRA on Amazon File Cache,
|
|
25
|
+
* use the <code>CreateFileCache</code> operation.</p>
|
|
26
|
+
* </note>
|
|
21
27
|
* @example
|
|
22
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
23
29
|
* ```javascript
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
+
import { CreateFileCacheRequest, CreateFileCacheResponse } from "../models/models_0";
|
|
5
|
+
export interface CreateFileCacheCommandInput extends CreateFileCacheRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateFileCacheCommandOutput extends CreateFileCacheResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a new Amazon File Cache resource.</p>
|
|
11
|
+
* <p>You can use this operation with a client request token in the request that
|
|
12
|
+
* Amazon File Cache uses to ensure idempotent creation.
|
|
13
|
+
* If a cache with the specified client request token exists and the parameters
|
|
14
|
+
* match, <code>CreateFileCache</code> returns the description of the existing
|
|
15
|
+
* cache. If a cache with the specified client request token exists and the
|
|
16
|
+
* parameters don't match, this call returns <code>IncompatibleParameterError</code>.
|
|
17
|
+
* If a file cache with the specified client request token doesn't exist,
|
|
18
|
+
* <code>CreateFileCache</code> does the following: </p>
|
|
19
|
+
* <ul>
|
|
20
|
+
* <li>
|
|
21
|
+
* <p>Creates a new, empty Amazon File Cache resourcewith an assigned ID, and
|
|
22
|
+
* an initial lifecycle state of <code>CREATING</code>.</p>
|
|
23
|
+
* </li>
|
|
24
|
+
* <li>
|
|
25
|
+
* <p>Returns the description of the cache in JSON format.</p>
|
|
26
|
+
* </li>
|
|
27
|
+
* </ul>
|
|
28
|
+
* <note>
|
|
29
|
+
* <p>The <code>CreateFileCache</code> call returns while the cache's lifecycle
|
|
30
|
+
* state is still <code>CREATING</code>. You can check the cache creation status
|
|
31
|
+
* by calling the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeFileCaches.html">DescribeFileCaches</a> operation, which returns the cache state
|
|
32
|
+
* along with other information.</p>
|
|
33
|
+
* </note>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { FSxClient, CreateFileCacheCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
38
|
+
* // const { FSxClient, CreateFileCacheCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
39
|
+
* const client = new FSxClient(config);
|
|
40
|
+
* const command = new CreateFileCacheCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @see {@link CreateFileCacheCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link CreateFileCacheCommandOutput} for command's `response` shape.
|
|
46
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
export declare class CreateFileCacheCommand extends $Command<CreateFileCacheCommandInput, CreateFileCacheCommandOutput, FSxClientResolvedConfig> {
|
|
50
|
+
readonly input: CreateFileCacheCommandInput;
|
|
51
|
+
constructor(input: CreateFileCacheCommandInput);
|
|
52
|
+
/**
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateFileCacheCommandInput, CreateFileCacheCommandOutput>;
|
|
56
|
+
private serialize;
|
|
57
|
+
private deserialize;
|
|
58
|
+
}
|
|
@@ -47,16 +47,6 @@ export interface CreateFileSystemCommandOutput extends CreateFileSystemResponse,
|
|
|
47
47
|
* <p>Returns the description of the file system in JSON format.</p>
|
|
48
48
|
* </li>
|
|
49
49
|
* </ul>
|
|
50
|
-
*
|
|
51
|
-
* <p>This operation requires a client request token in the request that Amazon FSx
|
|
52
|
-
* uses to ensure idempotent creation. This means that calling the operation multiple times
|
|
53
|
-
* with the same client request token has no effect. By using the idempotent operation, you
|
|
54
|
-
* can retry a <code>CreateFileSystem</code> operation without the risk of creating an
|
|
55
|
-
* extra file system. This approach can be useful when an initial call fails in a way that
|
|
56
|
-
* makes it unclear whether a file system was created. Examples are if a transport-level
|
|
57
|
-
* timeout occurred, or your connection was reset. If you use the same client request token
|
|
58
|
-
* and the initial call created a file system, the client receives a success message as
|
|
59
|
-
* long as the parameters are the same.</p>
|
|
60
50
|
* <note>
|
|
61
51
|
* <p>The <code>CreateFileSystem</code> call returns while the file system's lifecycle
|
|
62
52
|
* state is still <code>CREATING</code>. You can check the file-system creation status
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
+
import { DeleteFileCacheRequest, DeleteFileCacheResponse } from "../models/models_0";
|
|
5
|
+
export interface DeleteFileCacheCommandInput extends DeleteFileCacheRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteFileCacheCommandOutput extends DeleteFileCacheResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes an Amazon File Cache resource. After deletion, the cache no longer exists, and its data
|
|
11
|
+
* is gone.</p>
|
|
12
|
+
*
|
|
13
|
+
* <p>The <code>DeleteFileCache</code> operation returns while the cache has the
|
|
14
|
+
* <code>DELETING</code> status. You can check the cache deletion status by
|
|
15
|
+
* calling the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeFileCaches.html">DescribeFileCaches</a> operation, which returns a list of caches in your
|
|
16
|
+
* account. If you pass the cache ID for a deleted cache, the
|
|
17
|
+
* <code>DescribeFileCaches</code> operation returns a <code>FileCacheNotFound</code>
|
|
18
|
+
* error.</p>
|
|
19
|
+
*
|
|
20
|
+
* <important>
|
|
21
|
+
* <p>The data in a deleted cache is also deleted and can't be recovered by
|
|
22
|
+
* any means.</p>
|
|
23
|
+
* </important>
|
|
24
|
+
* @example
|
|
25
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
+
* ```javascript
|
|
27
|
+
* import { FSxClient, DeleteFileCacheCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
28
|
+
* // const { FSxClient, DeleteFileCacheCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
29
|
+
* const client = new FSxClient(config);
|
|
30
|
+
* const command = new DeleteFileCacheCommand(input);
|
|
31
|
+
* const response = await client.send(command);
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* @see {@link DeleteFileCacheCommandInput} for command's `input` shape.
|
|
35
|
+
* @see {@link DeleteFileCacheCommandOutput} for command's `response` shape.
|
|
36
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
export declare class DeleteFileCacheCommand extends $Command<DeleteFileCacheCommandInput, DeleteFileCacheCommandOutput, FSxClientResolvedConfig> {
|
|
40
|
+
readonly input: DeleteFileCacheCommandInput;
|
|
41
|
+
constructor(input: DeleteFileCacheCommandInput);
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteFileCacheCommandInput, DeleteFileCacheCommandOutput>;
|
|
46
|
+
private serialize;
|
|
47
|
+
private deserialize;
|
|
48
|
+
}
|