@aws-sdk/client-fsx 3.835.0 → 3.839.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/README.md +24 -0
- package/dist-cjs/index.js +470 -66
- package/dist-es/FSx.js +6 -0
- package/dist-es/commands/CopyBackupCommand.js +1 -1
- package/dist-es/commands/CreateAndAttachS3AccessPointCommand.js +22 -0
- package/dist-es/commands/CreateBackupCommand.js +1 -1
- package/dist-es/commands/CreateFileSystemCommand.js +2 -1
- package/dist-es/commands/CreateSnapshotCommand.js +1 -1
- package/dist-es/commands/CreateVolumeCommand.js +1 -1
- package/dist-es/commands/CreateVolumeFromBackupCommand.js +1 -1
- package/dist-es/commands/DescribeBackupsCommand.js +1 -1
- package/dist-es/commands/DescribeFileSystemsCommand.js +1 -1
- package/dist-es/commands/DescribeS3AccessPointAttachmentsCommand.js +22 -0
- package/dist-es/commands/DescribeSnapshotsCommand.js +1 -1
- package/dist-es/commands/DescribeVolumesCommand.js +1 -1
- package/dist-es/commands/DetachAndDeleteS3AccessPointCommand.js +22 -0
- package/dist-es/commands/ReleaseFileSystemNfsV3LocksCommand.js +1 -1
- package/dist-es/commands/StartMisconfiguredStateRecoveryCommand.js +1 -1
- package/dist-es/commands/UpdateFileSystemCommand.js +2 -1
- package/dist-es/commands/UpdateSnapshotCommand.js +1 -1
- package/dist-es/commands/UpdateVolumeCommand.js +1 -1
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +100 -61
- package/dist-es/models/models_1.js +58 -0
- package/dist-es/pagination/DescribeS3AccessPointAttachmentsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +166 -4
- package/dist-types/FSx.d.ts +22 -0
- package/dist-types/FSxClient.d.ts +5 -2
- package/dist-types/commands/CopyBackupCommand.d.ts +2 -1
- package/dist-types/commands/CreateAndAttachS3AccessPointCommand.d.ts +196 -0
- package/dist-types/commands/CreateBackupCommand.d.ts +2 -1
- package/dist-types/commands/CreateFileSystemCommand.d.ts +2 -1
- package/dist-types/commands/CreateSnapshotCommand.d.ts +2 -1
- package/dist-types/commands/CreateVolumeCommand.d.ts +2 -1
- package/dist-types/commands/CreateVolumeFromBackupCommand.d.ts +2 -1
- package/dist-types/commands/DeleteFileSystemCommand.d.ts +6 -0
- package/dist-types/commands/DescribeBackupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFileSystemsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeS3AccessPointAttachmentsCommand.d.ts +135 -0
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeVolumesCommand.d.ts +2 -1
- package/dist-types/commands/DetachAndDeleteS3AccessPointCommand.d.ts +104 -0
- package/dist-types/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +2 -1
- package/dist-types/commands/StartMisconfiguredStateRecoveryCommand.d.ts +2 -1
- package/dist-types/commands/UpdateFileSystemCommand.d.ts +2 -1
- package/dist-types/commands/UpdateSnapshotCommand.d.ts +2 -1
- package/dist-types/commands/UpdateVolumeCommand.d.ts +2 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2132 -2044
- package/dist-types/models/models_1.d.ts +384 -0
- package/dist-types/pagination/DescribeS3AccessPointAttachmentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/FSx.d.ts +52 -0
- package/dist-types/ts3.4/FSxClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CopyBackupCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateAndAttachS3AccessPointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateFileSystemCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateVolumeCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/CreateVolumeFromBackupCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeBackupsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeFileSystemsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeS3AccessPointAttachmentsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeVolumesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DetachAndDeleteS3AccessPointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StartMisconfiguredStateRecoveryCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateFileSystemCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateSnapshotCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateVolumeCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +147 -120
- package/dist-types/ts3.4/models/models_1.d.ts +125 -0
- package/dist-types/ts3.4/pagination/DescribeS3AccessPointAttachmentsPaginator.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 +36 -0
- package/package.json +11 -11
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
-
import { CreateVolumeRequest
|
|
4
|
+
import { CreateVolumeRequest } from "../models/models_0";
|
|
5
|
+
import { CreateVolumeResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
-
import { CreateVolumeFromBackupRequest
|
|
4
|
+
import { CreateVolumeFromBackupRequest } from "../models/models_0";
|
|
5
|
+
import { CreateVolumeFromBackupResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -32,6 +32,12 @@ declare const DeleteFileSystemCommand_base: {
|
|
|
32
32
|
* <p>To delete an Amazon FSx for NetApp ONTAP file system, first delete all the
|
|
33
33
|
* volumes and storage virtual machines (SVMs) on the file system. Then provide a
|
|
34
34
|
* <code>FileSystemId</code> value to the <code>DeleteFileSystem</code> operation.</p>
|
|
35
|
+
* <p>Before deleting an Amazon FSx for OpenZFS file system, make sure that there aren't
|
|
36
|
+
* any Amazon S3 access points attached to any volume. For more information on how to list S3
|
|
37
|
+
* access points that are attached to volumes, see
|
|
38
|
+
* <a href="https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/access-points-list">Listing S3 access point attachments</a>.
|
|
39
|
+
* For more information on how to delete S3 access points, see
|
|
40
|
+
* <a href="https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/delete-points-list">Deleting an S3 access point attachment</a>.</p>
|
|
35
41
|
* <p>By default, when you delete an Amazon FSx for Windows File Server file system,
|
|
36
42
|
* a final backup is created upon deletion. This final backup isn't subject to the file
|
|
37
43
|
* system's retention policy, and must be manually deleted.</p>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
-
import { DescribeBackupsRequest
|
|
4
|
+
import { DescribeBackupsRequest } from "../models/models_0";
|
|
5
|
+
import { DescribeBackupsResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
-
import { DescribeFileSystemsRequest
|
|
4
|
+
import { DescribeFileSystemsRequest } from "../models/models_0";
|
|
5
|
+
import { DescribeFileSystemsResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
+
import { DescribeS3AccessPointAttachmentsRequest, DescribeS3AccessPointAttachmentsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeS3AccessPointAttachmentsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeS3AccessPointAttachmentsCommandInput extends DescribeS3AccessPointAttachmentsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeS3AccessPointAttachmentsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeS3AccessPointAttachmentsCommandOutput extends DescribeS3AccessPointAttachmentsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeS3AccessPointAttachmentsCommand_base: {
|
|
25
|
+
new (input: DescribeS3AccessPointAttachmentsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeS3AccessPointAttachmentsCommandInput, DescribeS3AccessPointAttachmentsCommandOutput, FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [DescribeS3AccessPointAttachmentsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeS3AccessPointAttachmentsCommandInput, DescribeS3AccessPointAttachmentsCommandOutput, FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Describes one or more S3 access points attached to Amazon FSx volumes.</p>
|
|
31
|
+
* <p>The requester requires the following permission to perform this action:</p>
|
|
32
|
+
* <ul>
|
|
33
|
+
* <li>
|
|
34
|
+
* <p>
|
|
35
|
+
* <code>fsx:DescribeS3AccessPointAttachments</code>
|
|
36
|
+
* </p>
|
|
37
|
+
* </li>
|
|
38
|
+
* </ul>
|
|
39
|
+
* @example
|
|
40
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
+
* ```javascript
|
|
42
|
+
* import { FSxClient, DescribeS3AccessPointAttachmentsCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
43
|
+
* // const { FSxClient, DescribeS3AccessPointAttachmentsCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
44
|
+
* const client = new FSxClient(config);
|
|
45
|
+
* const input = { // DescribeS3AccessPointAttachmentsRequest
|
|
46
|
+
* Names: [ // S3AccessPointAttachmentNames
|
|
47
|
+
* "STRING_VALUE",
|
|
48
|
+
* ],
|
|
49
|
+
* Filters: [ // S3AccessPointAttachmentsFilters
|
|
50
|
+
* { // S3AccessPointAttachmentsFilter
|
|
51
|
+
* Name: "file-system-id" || "volume-id" || "type",
|
|
52
|
+
* Values: [ // S3AccessPointAttachmentsFilterValues
|
|
53
|
+
* "STRING_VALUE",
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* MaxResults: Number("int"),
|
|
58
|
+
* NextToken: "STRING_VALUE",
|
|
59
|
+
* };
|
|
60
|
+
* const command = new DescribeS3AccessPointAttachmentsCommand(input);
|
|
61
|
+
* const response = await client.send(command);
|
|
62
|
+
* // { // DescribeS3AccessPointAttachmentsResponse
|
|
63
|
+
* // S3AccessPointAttachments: [ // S3AccessPointAttachments
|
|
64
|
+
* // { // S3AccessPointAttachment
|
|
65
|
+
* // Lifecycle: "AVAILABLE" || "CREATING" || "DELETING" || "UPDATING" || "FAILED",
|
|
66
|
+
* // LifecycleTransitionReason: { // LifecycleTransitionReason
|
|
67
|
+
* // Message: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
70
|
+
* // Name: "STRING_VALUE",
|
|
71
|
+
* // Type: "OPENZFS",
|
|
72
|
+
* // OpenZFSConfiguration: { // S3AccessPointOpenZFSConfiguration
|
|
73
|
+
* // VolumeId: "STRING_VALUE",
|
|
74
|
+
* // FileSystemIdentity: { // OpenZFSFileSystemIdentity
|
|
75
|
+
* // Type: "POSIX", // required
|
|
76
|
+
* // PosixUser: { // OpenZFSPosixFileSystemUser
|
|
77
|
+
* // Uid: Number("long"), // required
|
|
78
|
+
* // Gid: Number("long"), // required
|
|
79
|
+
* // SecondaryGids: [ // FileSystemSecondaryGIDs
|
|
80
|
+
* // Number("long"),
|
|
81
|
+
* // ],
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // S3AccessPoint: { // S3AccessPoint
|
|
86
|
+
* // ResourceARN: "STRING_VALUE",
|
|
87
|
+
* // Alias: "STRING_VALUE",
|
|
88
|
+
* // VpcConfiguration: { // S3AccessPointVpcConfiguration
|
|
89
|
+
* // VpcId: "STRING_VALUE",
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
93
|
+
* // ],
|
|
94
|
+
* // NextToken: "STRING_VALUE",
|
|
95
|
+
* // };
|
|
96
|
+
*
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @param DescribeS3AccessPointAttachmentsCommandInput - {@link DescribeS3AccessPointAttachmentsCommandInput}
|
|
100
|
+
* @returns {@link DescribeS3AccessPointAttachmentsCommandOutput}
|
|
101
|
+
* @see {@link DescribeS3AccessPointAttachmentsCommandInput} for command's `input` shape.
|
|
102
|
+
* @see {@link DescribeS3AccessPointAttachmentsCommandOutput} for command's `response` shape.
|
|
103
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link BadRequest} (client fault)
|
|
106
|
+
* <p>A generic error indicating a failure with a client request.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link InternalServerError} (server fault)
|
|
109
|
+
* <p>A generic error indicating a server-side failure.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link S3AccessPointAttachmentNotFound} (client fault)
|
|
112
|
+
* <p>The access point specified was not found.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link UnsupportedOperation} (client fault)
|
|
115
|
+
* <p>The requested operation is not supported for this resource or API.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link FSxServiceException}
|
|
118
|
+
* <p>Base exception class for all service exceptions from FSx service.</p>
|
|
119
|
+
*
|
|
120
|
+
*
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
export declare class DescribeS3AccessPointAttachmentsCommand extends DescribeS3AccessPointAttachmentsCommand_base {
|
|
124
|
+
/** @internal type navigation helper, not in runtime. */
|
|
125
|
+
protected static __types: {
|
|
126
|
+
api: {
|
|
127
|
+
input: DescribeS3AccessPointAttachmentsRequest;
|
|
128
|
+
output: DescribeS3AccessPointAttachmentsResponse;
|
|
129
|
+
};
|
|
130
|
+
sdk: {
|
|
131
|
+
input: DescribeS3AccessPointAttachmentsCommandInput;
|
|
132
|
+
output: DescribeS3AccessPointAttachmentsCommandOutput;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
-
import { DescribeSnapshotsRequest
|
|
4
|
+
import { DescribeSnapshotsRequest } from "../models/models_0";
|
|
5
|
+
import { DescribeSnapshotsResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
-
import { DescribeVolumesRequest
|
|
4
|
+
import { DescribeVolumesRequest } from "../models/models_0";
|
|
5
|
+
import { DescribeVolumesResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
+
import { DetachAndDeleteS3AccessPointRequest, DetachAndDeleteS3AccessPointResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DetachAndDeleteS3AccessPointCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DetachAndDeleteS3AccessPointCommandInput extends DetachAndDeleteS3AccessPointRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DetachAndDeleteS3AccessPointCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DetachAndDeleteS3AccessPointCommandOutput extends DetachAndDeleteS3AccessPointResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DetachAndDeleteS3AccessPointCommand_base: {
|
|
25
|
+
new (input: DetachAndDeleteS3AccessPointCommandInput): import("@smithy/smithy-client").CommandImpl<DetachAndDeleteS3AccessPointCommandInput, DetachAndDeleteS3AccessPointCommandOutput, FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DetachAndDeleteS3AccessPointCommandInput): import("@smithy/smithy-client").CommandImpl<DetachAndDeleteS3AccessPointCommandInput, DetachAndDeleteS3AccessPointCommandOutput, FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Detaches an S3 access point from an Amazon FSx volume and deletes the S3 access point.</p>
|
|
31
|
+
* <p>The requester requires the following permission to perform this action:</p>
|
|
32
|
+
* <ul>
|
|
33
|
+
* <li>
|
|
34
|
+
* <p>
|
|
35
|
+
* <code>fsx:DetachAndDeleteS3AccessPoint</code>
|
|
36
|
+
* </p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>
|
|
40
|
+
* <code>s3:DeleteAccessPoint</code>
|
|
41
|
+
* </p>
|
|
42
|
+
* </li>
|
|
43
|
+
* </ul>
|
|
44
|
+
* @example
|
|
45
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
46
|
+
* ```javascript
|
|
47
|
+
* import { FSxClient, DetachAndDeleteS3AccessPointCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
48
|
+
* // const { FSxClient, DetachAndDeleteS3AccessPointCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
49
|
+
* const client = new FSxClient(config);
|
|
50
|
+
* const input = { // DetachAndDeleteS3AccessPointRequest
|
|
51
|
+
* ClientRequestToken: "STRING_VALUE",
|
|
52
|
+
* Name: "STRING_VALUE", // required
|
|
53
|
+
* };
|
|
54
|
+
* const command = new DetachAndDeleteS3AccessPointCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // DetachAndDeleteS3AccessPointResponse
|
|
57
|
+
* // Lifecycle: "AVAILABLE" || "CREATING" || "DELETING" || "UPDATING" || "FAILED",
|
|
58
|
+
* // Name: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param DetachAndDeleteS3AccessPointCommandInput - {@link DetachAndDeleteS3AccessPointCommandInput}
|
|
64
|
+
* @returns {@link DetachAndDeleteS3AccessPointCommandOutput}
|
|
65
|
+
* @see {@link DetachAndDeleteS3AccessPointCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link DetachAndDeleteS3AccessPointCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link BadRequest} (client fault)
|
|
70
|
+
* <p>A generic error indicating a failure with a client request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link IncompatibleParameterError} (client fault)
|
|
73
|
+
* <p>The error returned when a second request is received with the same client request
|
|
74
|
+
* token but different parameters settings. A client request token should always uniquely
|
|
75
|
+
* identify a single request.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerError} (server fault)
|
|
78
|
+
* <p>A generic error indicating a server-side failure.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link S3AccessPointAttachmentNotFound} (client fault)
|
|
81
|
+
* <p>The access point specified was not found.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link UnsupportedOperation} (client fault)
|
|
84
|
+
* <p>The requested operation is not supported for this resource or API.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link FSxServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from FSx service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class DetachAndDeleteS3AccessPointCommand extends DetachAndDeleteS3AccessPointCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: DetachAndDeleteS3AccessPointRequest;
|
|
97
|
+
output: DetachAndDeleteS3AccessPointResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: DetachAndDeleteS3AccessPointCommandInput;
|
|
101
|
+
output: DetachAndDeleteS3AccessPointCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
-
import { ReleaseFileSystemNfsV3LocksRequest
|
|
4
|
+
import { ReleaseFileSystemNfsV3LocksRequest } from "../models/models_0";
|
|
5
|
+
import { ReleaseFileSystemNfsV3LocksResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
-
import { StartMisconfiguredStateRecoveryRequest
|
|
4
|
+
import { StartMisconfiguredStateRecoveryRequest } from "../models/models_0";
|
|
5
|
+
import { StartMisconfiguredStateRecoveryResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
-
import { UpdateFileSystemRequest
|
|
4
|
+
import { UpdateFileSystemRequest } from "../models/models_0";
|
|
5
|
+
import { UpdateFileSystemResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
-
import { UpdateSnapshotRequest
|
|
4
|
+
import { UpdateSnapshotRequest } from "../models/models_0";
|
|
5
|
+
import { UpdateSnapshotResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
-
import { UpdateVolumeRequest
|
|
4
|
+
import { UpdateVolumeRequest } from "../models/models_0";
|
|
5
|
+
import { UpdateVolumeResponse } from "../models/models_1";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
@@ -2,6 +2,7 @@ export * from "./AssociateFileSystemAliasesCommand";
|
|
|
2
2
|
export * from "./CancelDataRepositoryTaskCommand";
|
|
3
3
|
export * from "./CopyBackupCommand";
|
|
4
4
|
export * from "./CopySnapshotAndUpdateVolumeCommand";
|
|
5
|
+
export * from "./CreateAndAttachS3AccessPointCommand";
|
|
5
6
|
export * from "./CreateBackupCommand";
|
|
6
7
|
export * from "./CreateDataRepositoryAssociationCommand";
|
|
7
8
|
export * from "./CreateDataRepositoryTaskCommand";
|
|
@@ -25,10 +26,12 @@ export * from "./DescribeDataRepositoryTasksCommand";
|
|
|
25
26
|
export * from "./DescribeFileCachesCommand";
|
|
26
27
|
export * from "./DescribeFileSystemAliasesCommand";
|
|
27
28
|
export * from "./DescribeFileSystemsCommand";
|
|
29
|
+
export * from "./DescribeS3AccessPointAttachmentsCommand";
|
|
28
30
|
export * from "./DescribeSharedVpcConfigurationCommand";
|
|
29
31
|
export * from "./DescribeSnapshotsCommand";
|
|
30
32
|
export * from "./DescribeStorageVirtualMachinesCommand";
|
|
31
33
|
export * from "./DescribeVolumesCommand";
|
|
34
|
+
export * from "./DetachAndDeleteS3AccessPointCommand";
|
|
32
35
|
export * from "./DisassociateFileSystemAliasesCommand";
|
|
33
36
|
export * from "./ListTagsForResourceCommand";
|
|
34
37
|
export * from "./ReleaseFileSystemNfsV3LocksCommand";
|