FSxClient#
Auto-generated documentation for FSx type annotations stubs module mypy-boto3-fsx.
FSxClient#
Type annotations and code completion for boto3.client("fsx")
.
boto3 documentation
# FSxClient usage example
from boto3.session import Session
from mypy_boto3_fsx.client import FSxClient
def get_fsx_client() -> FSxClient:
return Session().client("fsx")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("fsx").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("fsx")
try:
do_something(client)
except (
client.exceptions.ActiveDirectoryError,
client.exceptions.BackupBeingCopied,
client.exceptions.BackupInProgress,
client.exceptions.BackupNotFound,
client.exceptions.BackupRestoring,
client.exceptions.BadRequest,
client.exceptions.ClientError,
client.exceptions.DataRepositoryAssociationNotFound,
client.exceptions.DataRepositoryTaskEnded,
client.exceptions.DataRepositoryTaskExecuting,
client.exceptions.DataRepositoryTaskNotFound,
client.exceptions.FileCacheNotFound,
client.exceptions.FileSystemNotFound,
client.exceptions.IncompatibleParameterError,
client.exceptions.IncompatibleRegionForMultiAZ,
client.exceptions.InternalServerError,
client.exceptions.InvalidDataRepositoryType,
client.exceptions.InvalidDestinationKmsKey,
client.exceptions.InvalidExportPath,
client.exceptions.InvalidImportPath,
client.exceptions.InvalidNetworkSettings,
client.exceptions.InvalidPerUnitStorageThroughput,
client.exceptions.InvalidRegion,
client.exceptions.InvalidSourceKmsKey,
client.exceptions.MissingFileCacheConfiguration,
client.exceptions.MissingFileSystemConfiguration,
client.exceptions.MissingVolumeConfiguration,
client.exceptions.NotServiceResourceError,
client.exceptions.ResourceDoesNotSupportTagging,
client.exceptions.ResourceNotFound,
client.exceptions.ServiceLimitExceeded,
client.exceptions.SnapshotNotFound,
client.exceptions.SourceBackupUnavailable,
client.exceptions.StorageVirtualMachineNotFound,
client.exceptions.UnsupportedOperation,
client.exceptions.VolumeNotFound,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_fsx.client import Exceptions
def handle_error(exc: Exceptions.ActiveDirectoryError) -> None:
...
Methods#
can_paginate#
Type annotations and code completion for boto3.client("fsx").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
generate_presigned_url#
Type annotations and code completion for boto3.client("fsx").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
associate_file_system_aliases#
Use this action to associate one or more Domain Name Server (DNS) aliases with an existing Amazon FSx for Windows File Server file system.
Type annotations and code completion for boto3.client("fsx").associate_file_system_aliases
method.
boto3 documentation
# associate_file_system_aliases method definition
def associate_file_system_aliases(
self,
*,
FileSystemId: str,
Aliases: Sequence[str],
ClientRequestToken: str = ...,
) -> AssociateFileSystemAliasesResponseTypeDef: # (1)
...
# associate_file_system_aliases method usage example with argument unpacking
kwargs: AssociateFileSystemAliasesRequestRequestTypeDef = { # (1)
"FileSystemId": ...,
"Aliases": ...,
}
parent.associate_file_system_aliases(**kwargs)
cancel_data_repository_task#
Cancels an existing Amazon FSx for Lustre data repository task if that task is
in either the PENDING
or EXECUTING
state.
Type annotations and code completion for boto3.client("fsx").cancel_data_repository_task
method.
boto3 documentation
# cancel_data_repository_task method definition
def cancel_data_repository_task(
self,
*,
TaskId: str,
) -> CancelDataRepositoryTaskResponseTypeDef: # (1)
...
# cancel_data_repository_task method usage example with argument unpacking
kwargs: CancelDataRepositoryTaskRequestRequestTypeDef = { # (1)
"TaskId": ...,
}
parent.cancel_data_repository_task(**kwargs)
copy_backup#
Copies an existing backup within the same Amazon Web Services account to another Amazon Web Services Region (cross-Region copy) or within the same Amazon Web Services Region (in-Region copy).
Type annotations and code completion for boto3.client("fsx").copy_backup
method.
boto3 documentation
# copy_backup method definition
def copy_backup(
self,
*,
SourceBackupId: str,
ClientRequestToken: str = ...,
SourceRegion: str = ...,
KmsKeyId: str = ...,
CopyTags: bool = ...,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> CopyBackupResponseTypeDef: # (2)
...
- See TagTypeDef
- See CopyBackupResponseTypeDef
# copy_backup method usage example with argument unpacking
kwargs: CopyBackupRequestRequestTypeDef = { # (1)
"SourceBackupId": ...,
}
parent.copy_backup(**kwargs)
copy_snapshot_and_update_volume#
Updates an existing volume by using a snapshot from another Amazon FSx for OpenZFS file system.
Type annotations and code completion for boto3.client("fsx").copy_snapshot_and_update_volume
method.
boto3 documentation
# copy_snapshot_and_update_volume method definition
def copy_snapshot_and_update_volume(
self,
*,
VolumeId: str,
SourceSnapshotARN: str,
ClientRequestToken: str = ...,
CopyStrategy: OpenZFSCopyStrategyType = ..., # (1)
Options: Sequence[UpdateOpenZFSVolumeOptionType] = ..., # (2)
) -> CopySnapshotAndUpdateVolumeResponseTypeDef: # (3)
...
- See OpenZFSCopyStrategyType
- See UpdateOpenZFSVolumeOptionType
- See CopySnapshotAndUpdateVolumeResponseTypeDef
# copy_snapshot_and_update_volume method usage example with argument unpacking
kwargs: CopySnapshotAndUpdateVolumeRequestRequestTypeDef = { # (1)
"VolumeId": ...,
"SourceSnapshotARN": ...,
}
parent.copy_snapshot_and_update_volume(**kwargs)
create_backup#
Creates a backup of an existing Amazon FSx for Windows File Server file system, Amazon FSx for Lustre file system, Amazon FSx for NetApp ONTAP volume, or Amazon FSx for OpenZFS file system.
Type annotations and code completion for boto3.client("fsx").create_backup
method.
boto3 documentation
# create_backup method definition
def create_backup(
self,
*,
FileSystemId: str = ...,
ClientRequestToken: str = ...,
Tags: Sequence[TagTypeDef] = ..., # (1)
VolumeId: str = ...,
) -> CreateBackupResponseTypeDef: # (2)
...
# create_backup method usage example with argument unpacking
kwargs: CreateBackupRequestRequestTypeDef = { # (1)
"FileSystemId": ...,
}
parent.create_backup(**kwargs)
create_data_repository_association#
Creates an Amazon FSx for Lustre data repository association (DRA).
Type annotations and code completion for boto3.client("fsx").create_data_repository_association
method.
boto3 documentation
# create_data_repository_association method definition
def create_data_repository_association(
self,
*,
FileSystemId: str,
DataRepositoryPath: str,
FileSystemPath: str = ...,
BatchImportMetaDataOnCreate: bool = ...,
ImportedFileChunkSize: int = ...,
S3: S3DataRepositoryConfigurationTypeDef = ..., # (1)
ClientRequestToken: str = ...,
Tags: Sequence[TagTypeDef] = ..., # (2)
) -> CreateDataRepositoryAssociationResponseTypeDef: # (3)
...
- See S3DataRepositoryConfigurationTypeDef
- See TagTypeDef
- See CreateDataRepositoryAssociationResponseTypeDef
# create_data_repository_association method usage example with argument unpacking
kwargs: CreateDataRepositoryAssociationRequestRequestTypeDef = { # (1)
"FileSystemId": ...,
"DataRepositoryPath": ...,
}
parent.create_data_repository_association(**kwargs)
create_data_repository_task#
Creates an Amazon FSx for Lustre data repository task.
Type annotations and code completion for boto3.client("fsx").create_data_repository_task
method.
boto3 documentation
# create_data_repository_task method definition
def create_data_repository_task(
self,
*,
Type: DataRepositoryTaskTypeType, # (1)
FileSystemId: str,
Report: CompletionReportTypeDef, # (2)
Paths: Sequence[str] = ...,
ClientRequestToken: str = ...,
Tags: Sequence[TagTypeDef] = ..., # (3)
CapacityToRelease: int = ...,
ReleaseConfiguration: ReleaseConfigurationTypeDef = ..., # (4)
) -> CreateDataRepositoryTaskResponseTypeDef: # (5)
...
- See DataRepositoryTaskTypeType
- See CompletionReportTypeDef
- See TagTypeDef
- See ReleaseConfigurationTypeDef
- See CreateDataRepositoryTaskResponseTypeDef
# create_data_repository_task method usage example with argument unpacking
kwargs: CreateDataRepositoryTaskRequestRequestTypeDef = { # (1)
"Type": ...,
"FileSystemId": ...,
"Report": ...,
}
parent.create_data_repository_task(**kwargs)
create_file_cache#
Creates a new Amazon File Cache resource.
Type annotations and code completion for boto3.client("fsx").create_file_cache
method.
boto3 documentation
# create_file_cache method definition
def create_file_cache(
self,
*,
FileCacheType: FileCacheTypeType, # (1)
FileCacheTypeVersion: str,
StorageCapacity: int,
SubnetIds: Sequence[str],
ClientRequestToken: str = ...,
SecurityGroupIds: Sequence[str] = ...,
Tags: Sequence[TagTypeDef] = ..., # (2)
CopyTagsToDataRepositoryAssociations: bool = ...,
KmsKeyId: str = ...,
LustreConfiguration: CreateFileCacheLustreConfigurationTypeDef = ..., # (3)
DataRepositoryAssociations: Sequence[FileCacheDataRepositoryAssociationTypeDef] = ..., # (4)
) -> CreateFileCacheResponseTypeDef: # (5)
...
- See FileCacheTypeType
- See TagTypeDef
- See CreateFileCacheLustreConfigurationTypeDef
- See FileCacheDataRepositoryAssociationTypeDef
- See CreateFileCacheResponseTypeDef
# create_file_cache method usage example with argument unpacking
kwargs: CreateFileCacheRequestRequestTypeDef = { # (1)
"FileCacheType": ...,
"FileCacheTypeVersion": ...,
"StorageCapacity": ...,
"SubnetIds": ...,
}
parent.create_file_cache(**kwargs)
create_file_system#
Creates a new, empty Amazon FSx file system.
Type annotations and code completion for boto3.client("fsx").create_file_system
method.
boto3 documentation
# create_file_system method definition
def create_file_system(
self,
*,
FileSystemType: FileSystemTypeType, # (1)
SubnetIds: Sequence[str],
ClientRequestToken: str = ...,
StorageCapacity: int = ...,
StorageType: StorageTypeType = ..., # (2)
SecurityGroupIds: Sequence[str] = ...,
Tags: Sequence[TagTypeDef] = ..., # (3)
KmsKeyId: str = ...,
WindowsConfiguration: CreateFileSystemWindowsConfigurationTypeDef = ..., # (4)
LustreConfiguration: CreateFileSystemLustreConfigurationTypeDef = ..., # (5)
OntapConfiguration: CreateFileSystemOntapConfigurationTypeDef = ..., # (6)
FileSystemTypeVersion: str = ...,
OpenZFSConfiguration: CreateFileSystemOpenZFSConfigurationTypeDef = ..., # (7)
) -> CreateFileSystemResponseTypeDef: # (8)
...
- See FileSystemTypeType
- See StorageTypeType
- See TagTypeDef
- See CreateFileSystemWindowsConfigurationTypeDef
- See CreateFileSystemLustreConfigurationTypeDef
- See CreateFileSystemOntapConfigurationTypeDef
- See CreateFileSystemOpenZFSConfigurationTypeDef
- See CreateFileSystemResponseTypeDef
# create_file_system method usage example with argument unpacking
kwargs: CreateFileSystemRequestRequestTypeDef = { # (1)
"FileSystemType": ...,
"SubnetIds": ...,
}
parent.create_file_system(**kwargs)
create_file_system_from_backup#
Creates a new Amazon FSx for Lustre, Amazon FSx for Windows File Server, or Amazon FSx for OpenZFS file system from an existing Amazon FSx backup.
Type annotations and code completion for boto3.client("fsx").create_file_system_from_backup
method.
boto3 documentation
# create_file_system_from_backup method definition
def create_file_system_from_backup(
self,
*,
BackupId: str,
SubnetIds: Sequence[str],
ClientRequestToken: str = ...,
SecurityGroupIds: Sequence[str] = ...,
Tags: Sequence[TagTypeDef] = ..., # (1)
WindowsConfiguration: CreateFileSystemWindowsConfigurationTypeDef = ..., # (2)
LustreConfiguration: CreateFileSystemLustreConfigurationTypeDef = ..., # (3)
StorageType: StorageTypeType = ..., # (4)
KmsKeyId: str = ...,
FileSystemTypeVersion: str = ...,
OpenZFSConfiguration: CreateFileSystemOpenZFSConfigurationTypeDef = ..., # (5)
StorageCapacity: int = ...,
) -> CreateFileSystemFromBackupResponseTypeDef: # (6)
...
- See TagTypeDef
- See CreateFileSystemWindowsConfigurationTypeDef
- See CreateFileSystemLustreConfigurationTypeDef
- See StorageTypeType
- See CreateFileSystemOpenZFSConfigurationTypeDef
- See CreateFileSystemFromBackupResponseTypeDef
# create_file_system_from_backup method usage example with argument unpacking
kwargs: CreateFileSystemFromBackupRequestRequestTypeDef = { # (1)
"BackupId": ...,
"SubnetIds": ...,
}
parent.create_file_system_from_backup(**kwargs)
create_snapshot#
Creates a snapshot of an existing Amazon FSx for OpenZFS volume.
Type annotations and code completion for boto3.client("fsx").create_snapshot
method.
boto3 documentation
# create_snapshot method definition
def create_snapshot(
self,
*,
Name: str,
VolumeId: str,
ClientRequestToken: str = ...,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateSnapshotResponseTypeDef: # (2)
...
# create_snapshot method usage example with argument unpacking
kwargs: CreateSnapshotRequestRequestTypeDef = { # (1)
"Name": ...,
"VolumeId": ...,
}
parent.create_snapshot(**kwargs)
create_storage_virtual_machine#
Creates a storage virtual machine (SVM) for an Amazon FSx for ONTAP file system.
Type annotations and code completion for boto3.client("fsx").create_storage_virtual_machine
method.
boto3 documentation
# create_storage_virtual_machine method definition
def create_storage_virtual_machine(
self,
*,
FileSystemId: str,
Name: str,
ActiveDirectoryConfiguration: CreateSvmActiveDirectoryConfigurationTypeDef = ..., # (1)
ClientRequestToken: str = ...,
SvmAdminPassword: str = ...,
Tags: Sequence[TagTypeDef] = ..., # (2)
RootVolumeSecurityStyle: StorageVirtualMachineRootVolumeSecurityStyleType = ..., # (3)
) -> CreateStorageVirtualMachineResponseTypeDef: # (4)
...
- See CreateSvmActiveDirectoryConfigurationTypeDef
- See TagTypeDef
- See StorageVirtualMachineRootVolumeSecurityStyleType
- See CreateStorageVirtualMachineResponseTypeDef
# create_storage_virtual_machine method usage example with argument unpacking
kwargs: CreateStorageVirtualMachineRequestRequestTypeDef = { # (1)
"FileSystemId": ...,
"Name": ...,
}
parent.create_storage_virtual_machine(**kwargs)
create_volume#
Creates an FSx for ONTAP or Amazon FSx for OpenZFS storage volume.
Type annotations and code completion for boto3.client("fsx").create_volume
method.
boto3 documentation
# create_volume method definition
def create_volume(
self,
*,
VolumeType: VolumeTypeType, # (1)
Name: str,
ClientRequestToken: str = ...,
OntapConfiguration: CreateOntapVolumeConfigurationTypeDef = ..., # (2)
Tags: Sequence[TagTypeDef] = ..., # (3)
OpenZFSConfiguration: CreateOpenZFSVolumeConfigurationTypeDef = ..., # (4)
) -> CreateVolumeResponseTypeDef: # (5)
...
- See VolumeTypeType
- See CreateOntapVolumeConfigurationTypeDef
- See TagTypeDef
- See CreateOpenZFSVolumeConfigurationTypeDef
- See CreateVolumeResponseTypeDef
# create_volume method usage example with argument unpacking
kwargs: CreateVolumeRequestRequestTypeDef = { # (1)
"VolumeType": ...,
"Name": ...,
}
parent.create_volume(**kwargs)
create_volume_from_backup#
Creates a new Amazon FSx for NetApp ONTAP volume from an existing Amazon FSx volume backup.
Type annotations and code completion for boto3.client("fsx").create_volume_from_backup
method.
boto3 documentation
# create_volume_from_backup method definition
def create_volume_from_backup(
self,
*,
BackupId: str,
Name: str,
ClientRequestToken: str = ...,
OntapConfiguration: CreateOntapVolumeConfigurationTypeDef = ..., # (1)
Tags: Sequence[TagTypeDef] = ..., # (2)
) -> CreateVolumeFromBackupResponseTypeDef: # (3)
...
# create_volume_from_backup method usage example with argument unpacking
kwargs: CreateVolumeFromBackupRequestRequestTypeDef = { # (1)
"BackupId": ...,
"Name": ...,
}
parent.create_volume_from_backup(**kwargs)
delete_backup#
Deletes an Amazon FSx backup.
Type annotations and code completion for boto3.client("fsx").delete_backup
method.
boto3 documentation
# delete_backup method definition
def delete_backup(
self,
*,
BackupId: str,
ClientRequestToken: str = ...,
) -> DeleteBackupResponseTypeDef: # (1)
...
# delete_backup method usage example with argument unpacking
kwargs: DeleteBackupRequestRequestTypeDef = { # (1)
"BackupId": ...,
}
parent.delete_backup(**kwargs)
delete_data_repository_association#
Deletes a data repository association on an Amazon FSx for Lustre file system.
Type annotations and code completion for boto3.client("fsx").delete_data_repository_association
method.
boto3 documentation
# delete_data_repository_association method definition
def delete_data_repository_association(
self,
*,
AssociationId: str,
ClientRequestToken: str = ...,
DeleteDataInFileSystem: bool = ...,
) -> DeleteDataRepositoryAssociationResponseTypeDef: # (1)
...
# delete_data_repository_association method usage example with argument unpacking
kwargs: DeleteDataRepositoryAssociationRequestRequestTypeDef = { # (1)
"AssociationId": ...,
}
parent.delete_data_repository_association(**kwargs)
delete_file_cache#
Deletes an Amazon File Cache resource.
Type annotations and code completion for boto3.client("fsx").delete_file_cache
method.
boto3 documentation
# delete_file_cache method definition
def delete_file_cache(
self,
*,
FileCacheId: str,
ClientRequestToken: str = ...,
) -> DeleteFileCacheResponseTypeDef: # (1)
...
# delete_file_cache method usage example with argument unpacking
kwargs: DeleteFileCacheRequestRequestTypeDef = { # (1)
"FileCacheId": ...,
}
parent.delete_file_cache(**kwargs)
delete_file_system#
Deletes a file system.
Type annotations and code completion for boto3.client("fsx").delete_file_system
method.
boto3 documentation
# delete_file_system method definition
def delete_file_system(
self,
*,
FileSystemId: str,
ClientRequestToken: str = ...,
WindowsConfiguration: DeleteFileSystemWindowsConfigurationTypeDef = ..., # (1)
LustreConfiguration: DeleteFileSystemLustreConfigurationTypeDef = ..., # (2)
OpenZFSConfiguration: DeleteFileSystemOpenZFSConfigurationTypeDef = ..., # (3)
) -> DeleteFileSystemResponseTypeDef: # (4)
...
- See DeleteFileSystemWindowsConfigurationTypeDef
- See DeleteFileSystemLustreConfigurationTypeDef
- See DeleteFileSystemOpenZFSConfigurationTypeDef
- See DeleteFileSystemResponseTypeDef
# delete_file_system method usage example with argument unpacking
kwargs: DeleteFileSystemRequestRequestTypeDef = { # (1)
"FileSystemId": ...,
}
parent.delete_file_system(**kwargs)
delete_snapshot#
Deletes an Amazon FSx for OpenZFS snapshot.
Type annotations and code completion for boto3.client("fsx").delete_snapshot
method.
boto3 documentation
# delete_snapshot method definition
def delete_snapshot(
self,
*,
SnapshotId: str,
ClientRequestToken: str = ...,
) -> DeleteSnapshotResponseTypeDef: # (1)
...
# delete_snapshot method usage example with argument unpacking
kwargs: DeleteSnapshotRequestRequestTypeDef = { # (1)
"SnapshotId": ...,
}
parent.delete_snapshot(**kwargs)
delete_storage_virtual_machine#
Deletes an existing Amazon FSx for ONTAP storage virtual machine (SVM).
Type annotations and code completion for boto3.client("fsx").delete_storage_virtual_machine
method.
boto3 documentation
# delete_storage_virtual_machine method definition
def delete_storage_virtual_machine(
self,
*,
StorageVirtualMachineId: str,
ClientRequestToken: str = ...,
) -> DeleteStorageVirtualMachineResponseTypeDef: # (1)
...
# delete_storage_virtual_machine method usage example with argument unpacking
kwargs: DeleteStorageVirtualMachineRequestRequestTypeDef = { # (1)
"StorageVirtualMachineId": ...,
}
parent.delete_storage_virtual_machine(**kwargs)
delete_volume#
Deletes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.
Type annotations and code completion for boto3.client("fsx").delete_volume
method.
boto3 documentation
# delete_volume method definition
def delete_volume(
self,
*,
VolumeId: str,
ClientRequestToken: str = ...,
OntapConfiguration: DeleteVolumeOntapConfigurationTypeDef = ..., # (1)
OpenZFSConfiguration: DeleteVolumeOpenZFSConfigurationTypeDef = ..., # (2)
) -> DeleteVolumeResponseTypeDef: # (3)
...
- See DeleteVolumeOntapConfigurationTypeDef
- See DeleteVolumeOpenZFSConfigurationTypeDef
- See DeleteVolumeResponseTypeDef
# delete_volume method usage example with argument unpacking
kwargs: DeleteVolumeRequestRequestTypeDef = { # (1)
"VolumeId": ...,
}
parent.delete_volume(**kwargs)
describe_backups#
Returns the description of a specific Amazon FSx backup, if a
BackupIds
value is provided for that backup.
Type annotations and code completion for boto3.client("fsx").describe_backups
method.
boto3 documentation
# describe_backups method definition
def describe_backups(
self,
*,
BackupIds: Sequence[str] = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
MaxResults: int = ...,
NextToken: str = ...,
) -> DescribeBackupsResponseTypeDef: # (2)
...
# describe_backups method usage example with argument unpacking
kwargs: DescribeBackupsRequestRequestTypeDef = { # (1)
"BackupIds": ...,
}
parent.describe_backups(**kwargs)
describe_data_repository_associations#
Returns the description of specific Amazon FSx for Lustre or Amazon File Cache
data repository associations, if one or more AssociationIds
values
are provided in the request, or if filters are used in the request.
Type annotations and code completion for boto3.client("fsx").describe_data_repository_associations
method.
boto3 documentation
# describe_data_repository_associations method definition
def describe_data_repository_associations(
self,
*,
AssociationIds: Sequence[str] = ...,
Filters: Sequence[FilterTypeDef] = ..., # (1)
MaxResults: int = ...,
NextToken: str = ...,
) -> DescribeDataRepositoryAssociationsResponseTypeDef: # (2)
...
# describe_data_repository_associations method usage example with argument unpacking
kwargs: DescribeDataRepositoryAssociationsRequestRequestTypeDef = { # (1)
"AssociationIds": ...,
}
parent.describe_data_repository_associations(**kwargs)
describe_data_repository_tasks#
Returns the description of specific Amazon FSx for Lustre or Amazon File Cache
data repository tasks, if one or more TaskIds
values are provided
in the request, or if filters are used in the request.
Type annotations and code completion for boto3.client("fsx").describe_data_repository_tasks
method.
boto3 documentation
# describe_data_repository_tasks method definition
def describe_data_repository_tasks(
self,
*,
TaskIds: Sequence[str] = ...,
Filters: Sequence[DataRepositoryTaskFilterTypeDef] = ..., # (1)
MaxResults: int = ...,
NextToken: str = ...,
) -> DescribeDataRepositoryTasksResponseTypeDef: # (2)
...
# describe_data_repository_tasks method usage example with argument unpacking
kwargs: DescribeDataRepositoryTasksRequestRequestTypeDef = { # (1)
"TaskIds": ...,
}
parent.describe_data_repository_tasks(**kwargs)
describe_file_caches#
Returns the description of a specific Amazon File Cache resource, if a
FileCacheIds
value is provided for that cache.
Type annotations and code completion for boto3.client("fsx").describe_file_caches
method.
boto3 documentation
# describe_file_caches method definition
def describe_file_caches(
self,
*,
FileCacheIds: Sequence[str] = ...,
MaxResults: int = ...,
NextToken: str = ...,
) -> DescribeFileCachesResponseTypeDef: # (1)
...
# describe_file_caches method usage example with argument unpacking
kwargs: DescribeFileCachesRequestRequestTypeDef = { # (1)
"FileCacheIds": ...,
}
parent.describe_file_caches(**kwargs)
describe_file_system_aliases#
Returns the DNS aliases that are associated with the specified Amazon FSx for Windows File Server file system.
Type annotations and code completion for boto3.client("fsx").describe_file_system_aliases
method.
boto3 documentation
# describe_file_system_aliases method definition
def describe_file_system_aliases(
self,
*,
FileSystemId: str,
ClientRequestToken: str = ...,
MaxResults: int = ...,
NextToken: str = ...,
) -> DescribeFileSystemAliasesResponseTypeDef: # (1)
...
# describe_file_system_aliases method usage example with argument unpacking
kwargs: DescribeFileSystemAliasesRequestRequestTypeDef = { # (1)
"FileSystemId": ...,
}
parent.describe_file_system_aliases(**kwargs)
describe_file_systems#
Returns the description of specific Amazon FSx file systems, if a
FileSystemIds
value is provided for that file system.
Type annotations and code completion for boto3.client("fsx").describe_file_systems
method.
boto3 documentation
# describe_file_systems method definition
def describe_file_systems(
self,
*,
FileSystemIds: Sequence[str] = ...,
MaxResults: int = ...,
NextToken: str = ...,
) -> DescribeFileSystemsResponseTypeDef: # (1)
...
# describe_file_systems method usage example with argument unpacking
kwargs: DescribeFileSystemsRequestRequestTypeDef = { # (1)
"FileSystemIds": ...,
}
parent.describe_file_systems(**kwargs)
describe_shared_vpc_configuration#
Indicates whether participant accounts in your organization can create Amazon FSx for NetApp ONTAP Multi-AZ file systems in subnets that are shared by a virtual private cloud (VPC) owner.
Type annotations and code completion for boto3.client("fsx").describe_shared_vpc_configuration
method.
boto3 documentation
# describe_shared_vpc_configuration method definition
def describe_shared_vpc_configuration(
self,
) -> DescribeSharedVpcConfigurationResponseTypeDef: # (1)
...
describe_snapshots#
Returns the description of specific Amazon FSx for OpenZFS snapshots, if a
SnapshotIds
value is provided.
Type annotations and code completion for boto3.client("fsx").describe_snapshots
method.
boto3 documentation
# describe_snapshots method definition
def describe_snapshots(
self,
*,
SnapshotIds: Sequence[str] = ...,
Filters: Sequence[SnapshotFilterTypeDef] = ..., # (1)
MaxResults: int = ...,
NextToken: str = ...,
IncludeShared: bool = ...,
) -> DescribeSnapshotsResponseTypeDef: # (2)
...
# describe_snapshots method usage example with argument unpacking
kwargs: DescribeSnapshotsRequestRequestTypeDef = { # (1)
"SnapshotIds": ...,
}
parent.describe_snapshots(**kwargs)
describe_storage_virtual_machines#
Describes one or more Amazon FSx for NetApp ONTAP storage virtual machines (SVMs).
Type annotations and code completion for boto3.client("fsx").describe_storage_virtual_machines
method.
boto3 documentation
# describe_storage_virtual_machines method definition
def describe_storage_virtual_machines(
self,
*,
StorageVirtualMachineIds: Sequence[str] = ...,
Filters: Sequence[StorageVirtualMachineFilterTypeDef] = ..., # (1)
MaxResults: int = ...,
NextToken: str = ...,
) -> DescribeStorageVirtualMachinesResponseTypeDef: # (2)
...
# describe_storage_virtual_machines method usage example with argument unpacking
kwargs: DescribeStorageVirtualMachinesRequestRequestTypeDef = { # (1)
"StorageVirtualMachineIds": ...,
}
parent.describe_storage_virtual_machines(**kwargs)
describe_volumes#
Describes one or more Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volumes.
Type annotations and code completion for boto3.client("fsx").describe_volumes
method.
boto3 documentation
# describe_volumes method definition
def describe_volumes(
self,
*,
VolumeIds: Sequence[str] = ...,
Filters: Sequence[VolumeFilterTypeDef] = ..., # (1)
MaxResults: int = ...,
NextToken: str = ...,
) -> DescribeVolumesResponseTypeDef: # (2)
...
# describe_volumes method usage example with argument unpacking
kwargs: DescribeVolumesRequestRequestTypeDef = { # (1)
"VolumeIds": ...,
}
parent.describe_volumes(**kwargs)
disassociate_file_system_aliases#
Use this action to disassociate, or remove, one or more Domain Name Service (DNS) aliases from an Amazon FSx for Windows File Server file system.
Type annotations and code completion for boto3.client("fsx").disassociate_file_system_aliases
method.
boto3 documentation
# disassociate_file_system_aliases method definition
def disassociate_file_system_aliases(
self,
*,
FileSystemId: str,
Aliases: Sequence[str],
ClientRequestToken: str = ...,
) -> DisassociateFileSystemAliasesResponseTypeDef: # (1)
...
# disassociate_file_system_aliases method usage example with argument unpacking
kwargs: DisassociateFileSystemAliasesRequestRequestTypeDef = { # (1)
"FileSystemId": ...,
"Aliases": ...,
}
parent.disassociate_file_system_aliases(**kwargs)
list_tags_for_resource#
Lists tags for Amazon FSx resources.
Type annotations and code completion for boto3.client("fsx").list_tags_for_resource
method.
boto3 documentation
# list_tags_for_resource method definition
def list_tags_for_resource(
self,
*,
ResourceARN: str,
MaxResults: int = ...,
NextToken: str = ...,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"ResourceARN": ...,
}
parent.list_tags_for_resource(**kwargs)
release_file_system_nfs_v3_locks#
Releases the file system lock from an Amazon FSx for OpenZFS file system.
Type annotations and code completion for boto3.client("fsx").release_file_system_nfs_v3_locks
method.
boto3 documentation
# release_file_system_nfs_v3_locks method definition
def release_file_system_nfs_v3_locks(
self,
*,
FileSystemId: str,
ClientRequestToken: str = ...,
) -> ReleaseFileSystemNfsV3LocksResponseTypeDef: # (1)
...
# release_file_system_nfs_v3_locks method usage example with argument unpacking
kwargs: ReleaseFileSystemNfsV3LocksRequestRequestTypeDef = { # (1)
"FileSystemId": ...,
}
parent.release_file_system_nfs_v3_locks(**kwargs)
restore_volume_from_snapshot#
Returns an Amazon FSx for OpenZFS volume to the state saved by the specified snapshot.
Type annotations and code completion for boto3.client("fsx").restore_volume_from_snapshot
method.
boto3 documentation
# restore_volume_from_snapshot method definition
def restore_volume_from_snapshot(
self,
*,
VolumeId: str,
SnapshotId: str,
ClientRequestToken: str = ...,
Options: Sequence[RestoreOpenZFSVolumeOptionType] = ..., # (1)
) -> RestoreVolumeFromSnapshotResponseTypeDef: # (2)
...
# restore_volume_from_snapshot method usage example with argument unpacking
kwargs: RestoreVolumeFromSnapshotRequestRequestTypeDef = { # (1)
"VolumeId": ...,
"SnapshotId": ...,
}
parent.restore_volume_from_snapshot(**kwargs)
start_misconfigured_state_recovery#
After performing steps to repair the Active Directory configuration of an FSx for Windows File Server file system, use this action to initiate the process of Amazon FSx attempting to reconnect to the file system.
Type annotations and code completion for boto3.client("fsx").start_misconfigured_state_recovery
method.
boto3 documentation
# start_misconfigured_state_recovery method definition
def start_misconfigured_state_recovery(
self,
*,
FileSystemId: str,
ClientRequestToken: str = ...,
) -> StartMisconfiguredStateRecoveryResponseTypeDef: # (1)
...
# start_misconfigured_state_recovery method usage example with argument unpacking
kwargs: StartMisconfiguredStateRecoveryRequestRequestTypeDef = { # (1)
"FileSystemId": ...,
}
parent.start_misconfigured_state_recovery(**kwargs)
tag_resource#
Tags an Amazon FSx resource.
Type annotations and code completion for boto3.client("fsx").tag_resource
method.
boto3 documentation
# tag_resource method definition
def tag_resource(
self,
*,
ResourceARN: str,
Tags: Sequence[TagTypeDef], # (1)
) -> dict[str, Any]:
...
- See TagTypeDef
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"ResourceARN": ...,
"Tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource#
This action removes a tag from an Amazon FSx resource.
Type annotations and code completion for boto3.client("fsx").untag_resource
method.
boto3 documentation
# untag_resource method definition
def untag_resource(
self,
*,
ResourceARN: str,
TagKeys: Sequence[str],
) -> dict[str, Any]:
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"ResourceARN": ...,
"TagKeys": ...,
}
parent.untag_resource(**kwargs)
update_data_repository_association#
Updates the configuration of an existing data repository association on an Amazon FSx for Lustre file system.
Type annotations and code completion for boto3.client("fsx").update_data_repository_association
method.
boto3 documentation
# update_data_repository_association method definition
def update_data_repository_association(
self,
*,
AssociationId: str,
ClientRequestToken: str = ...,
ImportedFileChunkSize: int = ...,
S3: S3DataRepositoryConfigurationTypeDef = ..., # (1)
) -> UpdateDataRepositoryAssociationResponseTypeDef: # (2)
...
# update_data_repository_association method usage example with argument unpacking
kwargs: UpdateDataRepositoryAssociationRequestRequestTypeDef = { # (1)
"AssociationId": ...,
}
parent.update_data_repository_association(**kwargs)
update_file_cache#
Updates the configuration of an existing Amazon File Cache resource.
Type annotations and code completion for boto3.client("fsx").update_file_cache
method.
boto3 documentation
# update_file_cache method definition
def update_file_cache(
self,
*,
FileCacheId: str,
ClientRequestToken: str = ...,
LustreConfiguration: UpdateFileCacheLustreConfigurationTypeDef = ..., # (1)
) -> UpdateFileCacheResponseTypeDef: # (2)
...
# update_file_cache method usage example with argument unpacking
kwargs: UpdateFileCacheRequestRequestTypeDef = { # (1)
"FileCacheId": ...,
}
parent.update_file_cache(**kwargs)
update_file_system#
Use this operation to update the configuration of an existing Amazon FSx file system.
Type annotations and code completion for boto3.client("fsx").update_file_system
method.
boto3 documentation
# update_file_system method definition
def update_file_system(
self,
*,
FileSystemId: str,
ClientRequestToken: str = ...,
StorageCapacity: int = ...,
WindowsConfiguration: UpdateFileSystemWindowsConfigurationTypeDef = ..., # (1)
LustreConfiguration: UpdateFileSystemLustreConfigurationTypeDef = ..., # (2)
OntapConfiguration: UpdateFileSystemOntapConfigurationTypeDef = ..., # (3)
OpenZFSConfiguration: UpdateFileSystemOpenZFSConfigurationTypeDef = ..., # (4)
StorageType: StorageTypeType = ..., # (5)
) -> UpdateFileSystemResponseTypeDef: # (6)
...
- See UpdateFileSystemWindowsConfigurationTypeDef
- See UpdateFileSystemLustreConfigurationTypeDef
- See UpdateFileSystemOntapConfigurationTypeDef
- See UpdateFileSystemOpenZFSConfigurationTypeDef
- See StorageTypeType
- See UpdateFileSystemResponseTypeDef
# update_file_system method usage example with argument unpacking
kwargs: UpdateFileSystemRequestRequestTypeDef = { # (1)
"FileSystemId": ...,
}
parent.update_file_system(**kwargs)
update_shared_vpc_configuration#
Configures whether participant accounts in your organization can create Amazon FSx for NetApp ONTAP Multi-AZ file systems in subnets that are shared by a virtual private cloud (VPC) owner.
Type annotations and code completion for boto3.client("fsx").update_shared_vpc_configuration
method.
boto3 documentation
# update_shared_vpc_configuration method definition
def update_shared_vpc_configuration(
self,
*,
EnableFsxRouteTableUpdatesFromParticipantAccounts: str = ...,
ClientRequestToken: str = ...,
) -> UpdateSharedVpcConfigurationResponseTypeDef: # (1)
...
# update_shared_vpc_configuration method usage example with argument unpacking
kwargs: UpdateSharedVpcConfigurationRequestRequestTypeDef = { # (1)
"EnableFsxRouteTableUpdatesFromParticipantAccounts": ...,
}
parent.update_shared_vpc_configuration(**kwargs)
update_snapshot#
Updates the name of an Amazon FSx for OpenZFS snapshot.
Type annotations and code completion for boto3.client("fsx").update_snapshot
method.
boto3 documentation
# update_snapshot method definition
def update_snapshot(
self,
*,
Name: str,
SnapshotId: str,
ClientRequestToken: str = ...,
) -> UpdateSnapshotResponseTypeDef: # (1)
...
# update_snapshot method usage example with argument unpacking
kwargs: UpdateSnapshotRequestRequestTypeDef = { # (1)
"Name": ...,
"SnapshotId": ...,
}
parent.update_snapshot(**kwargs)
update_storage_virtual_machine#
Updates an FSx for ONTAP storage virtual machine (SVM).
Type annotations and code completion for boto3.client("fsx").update_storage_virtual_machine
method.
boto3 documentation
# update_storage_virtual_machine method definition
def update_storage_virtual_machine(
self,
*,
StorageVirtualMachineId: str,
ActiveDirectoryConfiguration: UpdateSvmActiveDirectoryConfigurationTypeDef = ..., # (1)
ClientRequestToken: str = ...,
SvmAdminPassword: str = ...,
) -> UpdateStorageVirtualMachineResponseTypeDef: # (2)
...
# update_storage_virtual_machine method usage example with argument unpacking
kwargs: UpdateStorageVirtualMachineRequestRequestTypeDef = { # (1)
"StorageVirtualMachineId": ...,
}
parent.update_storage_virtual_machine(**kwargs)
update_volume#
Updates the configuration of an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.
Type annotations and code completion for boto3.client("fsx").update_volume
method.
boto3 documentation
# update_volume method definition
def update_volume(
self,
*,
VolumeId: str,
ClientRequestToken: str = ...,
OntapConfiguration: UpdateOntapVolumeConfigurationTypeDef = ..., # (1)
Name: str = ...,
OpenZFSConfiguration: UpdateOpenZFSVolumeConfigurationTypeDef = ..., # (2)
) -> UpdateVolumeResponseTypeDef: # (3)
...
- See UpdateOntapVolumeConfigurationTypeDef
- See UpdateOpenZFSVolumeConfigurationTypeDef
- See UpdateVolumeResponseTypeDef
# update_volume method usage example with argument unpacking
kwargs: UpdateVolumeRequestRequestTypeDef = { # (1)
"VolumeId": ...,
}
parent.update_volume(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("fsx").get_paginator
method with overloads.
client.get_paginator("describe_backups")
-> DescribeBackupsPaginatorclient.get_paginator("describe_file_systems")
-> DescribeFileSystemsPaginatorclient.get_paginator("describe_storage_virtual_machines")
-> DescribeStorageVirtualMachinesPaginatorclient.get_paginator("describe_volumes")
-> DescribeVolumesPaginatorclient.get_paginator("list_tags_for_resource")
-> ListTagsForResourcePaginator