StorageGatewayClient#
Index > StorageGateway > StorageGatewayClient
Auto-generated documentation for StorageGateway type annotations stubs module mypy-boto3-storagegateway.
StorageGatewayClient#
Type annotations and code completion for boto3.client("storagegateway")
.
boto3 documentation
# StorageGatewayClient usage example
from boto3.session import Session
from mypy_boto3_storagegateway.client import StorageGatewayClient
def get_storagegateway_client() -> StorageGatewayClient:
return Session().client("storagegateway")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("storagegateway").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("storagegateway")
try:
do_something(client)
except (
client.exceptions.ClientError,
client.exceptions.InternalServerError,
client.exceptions.InvalidGatewayRequestException,
client.exceptions.ServiceUnavailableError,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_storagegateway.client import Exceptions
def handle_error(exc: Exceptions.ClientError) -> None:
...
Methods#
activate_gateway#
Activates the gateway you previously deployed on your host.
Type annotations and code completion for boto3.client("storagegateway").activate_gateway
method.
boto3 documentation
# activate_gateway method definition
def activate_gateway(
self,
*,
ActivationKey: str,
GatewayName: str,
GatewayTimezone: str,
GatewayRegion: str,
GatewayType: str = ...,
TapeDriveType: str = ...,
MediumChangerType: str = ...,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> ActivateGatewayOutputTypeDef: # (2)
...
# activate_gateway method usage example with argument unpacking
kwargs: ActivateGatewayInputRequestTypeDef = { # (1)
"ActivationKey": ...,
"GatewayName": ...,
"GatewayTimezone": ...,
"GatewayRegion": ...,
}
parent.activate_gateway(**kwargs)
add_cache#
Configures one or more gateway local disks as cache for a gateway.
Type annotations and code completion for boto3.client("storagegateway").add_cache
method.
boto3 documentation
# add_cache method definition
def add_cache(
self,
*,
GatewayARN: str,
DiskIds: Sequence[str],
) -> AddCacheOutputTypeDef: # (1)
...
# add_cache method usage example with argument unpacking
kwargs: AddCacheInputRequestTypeDef = { # (1)
"GatewayARN": ...,
"DiskIds": ...,
}
parent.add_cache(**kwargs)
add_tags_to_resource#
Adds one or more tags to the specified resource.
Type annotations and code completion for boto3.client("storagegateway").add_tags_to_resource
method.
boto3 documentation
# add_tags_to_resource method definition
def add_tags_to_resource(
self,
*,
ResourceARN: str,
Tags: Sequence[TagTypeDef], # (1)
) -> AddTagsToResourceOutputTypeDef: # (2)
...
# add_tags_to_resource method usage example with argument unpacking
kwargs: AddTagsToResourceInputRequestTypeDef = { # (1)
"ResourceARN": ...,
"Tags": ...,
}
parent.add_tags_to_resource(**kwargs)
add_upload_buffer#
Configures one or more gateway local disks as upload buffer for a specified gateway.
Type annotations and code completion for boto3.client("storagegateway").add_upload_buffer
method.
boto3 documentation
# add_upload_buffer method definition
def add_upload_buffer(
self,
*,
GatewayARN: str,
DiskIds: Sequence[str],
) -> AddUploadBufferOutputTypeDef: # (1)
...
# add_upload_buffer method usage example with argument unpacking
kwargs: AddUploadBufferInputRequestTypeDef = { # (1)
"GatewayARN": ...,
"DiskIds": ...,
}
parent.add_upload_buffer(**kwargs)
add_working_storage#
Configures one or more gateway local disks as working storage for a gateway.
Type annotations and code completion for boto3.client("storagegateway").add_working_storage
method.
boto3 documentation
# add_working_storage method definition
def add_working_storage(
self,
*,
GatewayARN: str,
DiskIds: Sequence[str],
) -> AddWorkingStorageOutputTypeDef: # (1)
...
# add_working_storage method usage example with argument unpacking
kwargs: AddWorkingStorageInputRequestTypeDef = { # (1)
"GatewayARN": ...,
"DiskIds": ...,
}
parent.add_working_storage(**kwargs)
assign_tape_pool#
Assigns a tape to a tape pool for archiving.
Type annotations and code completion for boto3.client("storagegateway").assign_tape_pool
method.
boto3 documentation
# assign_tape_pool method definition
def assign_tape_pool(
self,
*,
TapeARN: str,
PoolId: str,
BypassGovernanceRetention: bool = ...,
) -> AssignTapePoolOutputTypeDef: # (1)
...
# assign_tape_pool method usage example with argument unpacking
kwargs: AssignTapePoolInputRequestTypeDef = { # (1)
"TapeARN": ...,
"PoolId": ...,
}
parent.assign_tape_pool(**kwargs)
associate_file_system#
Associate an Amazon FSx file system with the FSx File Gateway.
Type annotations and code completion for boto3.client("storagegateway").associate_file_system
method.
boto3 documentation
# associate_file_system method definition
def associate_file_system(
self,
*,
UserName: str,
Password: str,
ClientToken: str,
GatewayARN: str,
LocationARN: str,
Tags: Sequence[TagTypeDef] = ..., # (1)
AuditDestinationARN: str = ...,
CacheAttributes: CacheAttributesTypeDef = ..., # (2)
EndpointNetworkConfiguration: EndpointNetworkConfigurationTypeDef = ..., # (3)
) -> AssociateFileSystemOutputTypeDef: # (4)
...
- See TagTypeDef
- See CacheAttributesTypeDef
- See EndpointNetworkConfigurationTypeDef
- See AssociateFileSystemOutputTypeDef
# associate_file_system method usage example with argument unpacking
kwargs: AssociateFileSystemInputRequestTypeDef = { # (1)
"UserName": ...,
"Password": ...,
"ClientToken": ...,
"GatewayARN": ...,
"LocationARN": ...,
}
parent.associate_file_system(**kwargs)
attach_volume#
Connects a volume to an iSCSI connection and then attaches the volume to the specified gateway.
Type annotations and code completion for boto3.client("storagegateway").attach_volume
method.
boto3 documentation
# attach_volume method definition
def attach_volume(
self,
*,
GatewayARN: str,
VolumeARN: str,
NetworkInterfaceId: str,
TargetName: str = ...,
DiskId: str = ...,
) -> AttachVolumeOutputTypeDef: # (1)
...
# attach_volume method usage example with argument unpacking
kwargs: AttachVolumeInputRequestTypeDef = { # (1)
"GatewayARN": ...,
"VolumeARN": ...,
"NetworkInterfaceId": ...,
}
parent.attach_volume(**kwargs)
can_paginate#
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("storagegateway").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
cancel_archival#
Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is initiated.
Type annotations and code completion for boto3.client("storagegateway").cancel_archival
method.
boto3 documentation
# cancel_archival method definition
def cancel_archival(
self,
*,
GatewayARN: str,
TapeARN: str,
) -> CancelArchivalOutputTypeDef: # (1)
...
# cancel_archival method usage example with argument unpacking
kwargs: CancelArchivalInputRequestTypeDef = { # (1)
"GatewayARN": ...,
"TapeARN": ...,
}
parent.cancel_archival(**kwargs)
cancel_retrieval#
Cancels retrieval of a virtual tape from the virtual tape shelf (VTS) to a gateway after the retrieval process is initiated.
Type annotations and code completion for boto3.client("storagegateway").cancel_retrieval
method.
boto3 documentation
# cancel_retrieval method definition
def cancel_retrieval(
self,
*,
GatewayARN: str,
TapeARN: str,
) -> CancelRetrievalOutputTypeDef: # (1)
...
# cancel_retrieval method usage example with argument unpacking
kwargs: CancelRetrievalInputRequestTypeDef = { # (1)
"GatewayARN": ...,
"TapeARN": ...,
}
parent.cancel_retrieval(**kwargs)
close#
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("storagegateway").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
create_cached_iscsi_volume#
Creates a cached volume on a specified cached volume gateway.
Type annotations and code completion for boto3.client("storagegateway").create_cached_iscsi_volume
method.
boto3 documentation
# create_cached_iscsi_volume method definition
def create_cached_iscsi_volume(
self,
*,
GatewayARN: str,
VolumeSizeInBytes: int,
TargetName: str,
NetworkInterfaceId: str,
ClientToken: str,
SnapshotId: str = ...,
SourceVolumeARN: str = ...,
KMSEncrypted: bool = ...,
KMSKey: str = ...,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateCachediSCSIVolumeOutputTypeDef: # (2)
...
# create_cached_iscsi_volume method usage example with argument unpacking
kwargs: CreateCachediSCSIVolumeInputRequestTypeDef = { # (1)
"GatewayARN": ...,
"VolumeSizeInBytes": ...,
"TargetName": ...,
"NetworkInterfaceId": ...,
"ClientToken": ...,
}
parent.create_cached_iscsi_volume(**kwargs)
create_nfs_file_share#
Creates a Network File System (NFS) file share on an existing S3 File Gateway.
Type annotations and code completion for boto3.client("storagegateway").create_nfs_file_share
method.
boto3 documentation
# create_nfs_file_share method definition
def create_nfs_file_share(
self,
*,
ClientToken: str,
GatewayARN: str,
Role: str,
LocationARN: str,
NFSFileShareDefaults: NFSFileShareDefaultsTypeDef = ..., # (1)
KMSEncrypted: bool = ...,
KMSKey: str = ...,
DefaultStorageClass: str = ...,
ObjectACL: ObjectACLType = ..., # (2)
ClientList: Sequence[str] = ...,
Squash: str = ...,
ReadOnly: bool = ...,
GuessMIMETypeEnabled: bool = ...,
RequesterPays: bool = ...,
Tags: Sequence[TagTypeDef] = ..., # (3)
FileShareName: str = ...,
CacheAttributes: CacheAttributesTypeDef = ..., # (4)
NotificationPolicy: str = ...,
VPCEndpointDNSName: str = ...,
BucketRegion: str = ...,
AuditDestinationARN: str = ...,
) -> CreateNFSFileShareOutputTypeDef: # (5)
...
- See NFSFileShareDefaultsTypeDef
- See ObjectACLType
- See TagTypeDef
- See CacheAttributesTypeDef
- See CreateNFSFileShareOutputTypeDef
# create_nfs_file_share method usage example with argument unpacking
kwargs: CreateNFSFileShareInputRequestTypeDef = { # (1)
"ClientToken": ...,
"GatewayARN": ...,
"Role": ...,
"LocationARN": ...,
}
parent.create_nfs_file_share(**kwargs)
create_smb_file_share#
Creates a Server Message Block (SMB) file share on an existing S3 File Gateway.
Type annotations and code completion for boto3.client("storagegateway").create_smb_file_share
method.
boto3 documentation
# create_smb_file_share method definition
def create_smb_file_share(
self,
*,
ClientToken: str,
GatewayARN: str,
Role: str,
LocationARN: str,
KMSEncrypted: bool = ...,
KMSKey: str = ...,
DefaultStorageClass: str = ...,
ObjectACL: ObjectACLType = ..., # (1)
ReadOnly: bool = ...,
GuessMIMETypeEnabled: bool = ...,
RequesterPays: bool = ...,
SMBACLEnabled: bool = ...,
AccessBasedEnumeration: bool = ...,
AdminUserList: Sequence[str] = ...,
ValidUserList: Sequence[str] = ...,
InvalidUserList: Sequence[str] = ...,
AuditDestinationARN: str = ...,
Authentication: str = ...,
CaseSensitivity: CaseSensitivityType = ..., # (2)
Tags: Sequence[TagTypeDef] = ..., # (3)
FileShareName: str = ...,
CacheAttributes: CacheAttributesTypeDef = ..., # (4)
NotificationPolicy: str = ...,
VPCEndpointDNSName: str = ...,
BucketRegion: str = ...,
OplocksEnabled: bool = ...,
) -> CreateSMBFileShareOutputTypeDef: # (5)
...
- See ObjectACLType
- See CaseSensitivityType
- See TagTypeDef
- See CacheAttributesTypeDef
- See CreateSMBFileShareOutputTypeDef
# create_smb_file_share method usage example with argument unpacking
kwargs: CreateSMBFileShareInputRequestTypeDef = { # (1)
"ClientToken": ...,
"GatewayARN": ...,
"Role": ...,
"LocationARN": ...,
}
parent.create_smb_file_share(**kwargs)
create_snapshot#
Initiates a snapshot of a volume.
Type annotations and code completion for boto3.client("storagegateway").create_snapshot
method.
boto3 documentation
# create_snapshot method definition
def create_snapshot(
self,
*,
VolumeARN: str,
SnapshotDescription: str,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateSnapshotOutputTypeDef: # (2)
...
# create_snapshot method usage example with argument unpacking
kwargs: CreateSnapshotInputRequestTypeDef = { # (1)
"VolumeARN": ...,
"SnapshotDescription": ...,
}
parent.create_snapshot(**kwargs)
create_snapshot_from_volume_recovery_point#
Initiates a snapshot of a gateway from a volume recovery point.
Type annotations and code completion for boto3.client("storagegateway").create_snapshot_from_volume_recovery_point
method.
boto3 documentation
# create_snapshot_from_volume_recovery_point method definition
def create_snapshot_from_volume_recovery_point(
self,
*,
VolumeARN: str,
SnapshotDescription: str,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateSnapshotFromVolumeRecoveryPointOutputTypeDef: # (2)
...
# create_snapshot_from_volume_recovery_point method usage example with argument unpacking
kwargs: CreateSnapshotFromVolumeRecoveryPointInputRequestTypeDef = { # (1)
"VolumeARN": ...,
"SnapshotDescription": ...,
}
parent.create_snapshot_from_volume_recovery_point(**kwargs)
create_stored_iscsi_volume#
Creates a volume on a specified gateway.
Type annotations and code completion for boto3.client("storagegateway").create_stored_iscsi_volume
method.
boto3 documentation
# create_stored_iscsi_volume method definition
def create_stored_iscsi_volume(
self,
*,
GatewayARN: str,
DiskId: str,
PreserveExistingData: bool,
TargetName: str,
NetworkInterfaceId: str,
SnapshotId: str = ...,
KMSEncrypted: bool = ...,
KMSKey: str = ...,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateStorediSCSIVolumeOutputTypeDef: # (2)
...
# create_stored_iscsi_volume method usage example with argument unpacking
kwargs: CreateStorediSCSIVolumeInputRequestTypeDef = { # (1)
"GatewayARN": ...,
"DiskId": ...,
"PreserveExistingData": ...,
"TargetName": ...,
"NetworkInterfaceId": ...,
}
parent.create_stored_iscsi_volume(**kwargs)
create_tape_pool#
Creates a new custom tape pool.
Type annotations and code completion for boto3.client("storagegateway").create_tape_pool
method.
boto3 documentation
# create_tape_pool method definition
def create_tape_pool(
self,
*,
PoolName: str,
StorageClass: TapeStorageClassType, # (1)
RetentionLockType: RetentionLockTypeType = ..., # (2)
RetentionLockTimeInDays: int = ...,
Tags: Sequence[TagTypeDef] = ..., # (3)
) -> CreateTapePoolOutputTypeDef: # (4)
...
# create_tape_pool method usage example with argument unpacking
kwargs: CreateTapePoolInputRequestTypeDef = { # (1)
"PoolName": ...,
"StorageClass": ...,
}
parent.create_tape_pool(**kwargs)
create_tape_with_barcode#
Creates a virtual tape by using your own barcode.
Type annotations and code completion for boto3.client("storagegateway").create_tape_with_barcode
method.
boto3 documentation
# create_tape_with_barcode method definition
def create_tape_with_barcode(
self,
*,
GatewayARN: str,
TapeSizeInBytes: int,
TapeBarcode: str,
KMSEncrypted: bool = ...,
KMSKey: str = ...,
PoolId: str = ...,
Worm: bool = ...,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateTapeWithBarcodeOutputTypeDef: # (2)
...
# create_tape_with_barcode method usage example with argument unpacking
kwargs: CreateTapeWithBarcodeInputRequestTypeDef = { # (1)
"GatewayARN": ...,
"TapeSizeInBytes": ...,
"TapeBarcode": ...,
}
parent.create_tape_with_barcode(**kwargs)
create_tapes#
Creates one or more virtual tapes.
Type annotations and code completion for boto3.client("storagegateway").create_tapes
method.
boto3 documentation
# create_tapes method definition
def create_tapes(
self,
*,
GatewayARN: str,
TapeSizeInBytes: int,
ClientToken: str,
NumTapesToCreate: int,
TapeBarcodePrefix: str,
KMSEncrypted: bool = ...,
KMSKey: str = ...,
PoolId: str = ...,
Worm: bool = ...,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateTapesOutputTypeDef: # (2)
...
- See TagTypeDef
- See CreateTapesOutputTypeDef
# create_tapes method usage example with argument unpacking
kwargs: CreateTapesInputRequestTypeDef = { # (1)
"GatewayARN": ...,
"TapeSizeInBytes": ...,
"ClientToken": ...,
"NumTapesToCreate": ...,
"TapeBarcodePrefix": ...,
}
parent.create_tapes(**kwargs)
delete_automatic_tape_creation_policy#
Deletes the automatic tape creation policy of a gateway.
Type annotations and code completion for boto3.client("storagegateway").delete_automatic_tape_creation_policy
method.
boto3 documentation
# delete_automatic_tape_creation_policy method definition
def delete_automatic_tape_creation_policy(
self,
*,
GatewayARN: str,
) -> DeleteAutomaticTapeCreationPolicyOutputTypeDef: # (1)
...
# delete_automatic_tape_creation_policy method usage example with argument unpacking
kwargs: DeleteAutomaticTapeCreationPolicyInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.delete_automatic_tape_creation_policy(**kwargs)
delete_bandwidth_rate_limit#
Deletes the bandwidth rate limits of a gateway.
Type annotations and code completion for boto3.client("storagegateway").delete_bandwidth_rate_limit
method.
boto3 documentation
# delete_bandwidth_rate_limit method definition
def delete_bandwidth_rate_limit(
self,
*,
GatewayARN: str,
BandwidthType: str,
) -> DeleteBandwidthRateLimitOutputTypeDef: # (1)
...
# delete_bandwidth_rate_limit method usage example with argument unpacking
kwargs: DeleteBandwidthRateLimitInputRequestTypeDef = { # (1)
"GatewayARN": ...,
"BandwidthType": ...,
}
parent.delete_bandwidth_rate_limit(**kwargs)
delete_chap_credentials#
Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair.
Type annotations and code completion for boto3.client("storagegateway").delete_chap_credentials
method.
boto3 documentation
# delete_chap_credentials method definition
def delete_chap_credentials(
self,
*,
TargetARN: str,
InitiatorName: str,
) -> DeleteChapCredentialsOutputTypeDef: # (1)
...
# delete_chap_credentials method usage example with argument unpacking
kwargs: DeleteChapCredentialsInputRequestTypeDef = { # (1)
"TargetARN": ...,
"InitiatorName": ...,
}
parent.delete_chap_credentials(**kwargs)
delete_file_share#
Deletes a file share from an S3 File Gateway.
Type annotations and code completion for boto3.client("storagegateway").delete_file_share
method.
boto3 documentation
# delete_file_share method definition
def delete_file_share(
self,
*,
FileShareARN: str,
ForceDelete: bool = ...,
) -> DeleteFileShareOutputTypeDef: # (1)
...
# delete_file_share method usage example with argument unpacking
kwargs: DeleteFileShareInputRequestTypeDef = { # (1)
"FileShareARN": ...,
}
parent.delete_file_share(**kwargs)
delete_gateway#
Deletes a gateway.
Type annotations and code completion for boto3.client("storagegateway").delete_gateway
method.
boto3 documentation
# delete_gateway method definition
def delete_gateway(
self,
*,
GatewayARN: str,
) -> DeleteGatewayOutputTypeDef: # (1)
...
# delete_gateway method usage example with argument unpacking
kwargs: DeleteGatewayInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.delete_gateway(**kwargs)
delete_snapshot_schedule#
Deletes a snapshot of a volume.
Type annotations and code completion for boto3.client("storagegateway").delete_snapshot_schedule
method.
boto3 documentation
# delete_snapshot_schedule method definition
def delete_snapshot_schedule(
self,
*,
VolumeARN: str,
) -> DeleteSnapshotScheduleOutputTypeDef: # (1)
...
# delete_snapshot_schedule method usage example with argument unpacking
kwargs: DeleteSnapshotScheduleInputRequestTypeDef = { # (1)
"VolumeARN": ...,
}
parent.delete_snapshot_schedule(**kwargs)
delete_tape#
Deletes the specified virtual tape.
Type annotations and code completion for boto3.client("storagegateway").delete_tape
method.
boto3 documentation
# delete_tape method definition
def delete_tape(
self,
*,
GatewayARN: str,
TapeARN: str,
BypassGovernanceRetention: bool = ...,
) -> DeleteTapeOutputTypeDef: # (1)
...
# delete_tape method usage example with argument unpacking
kwargs: DeleteTapeInputRequestTypeDef = { # (1)
"GatewayARN": ...,
"TapeARN": ...,
}
parent.delete_tape(**kwargs)
delete_tape_archive#
Deletes the specified virtual tape from the virtual tape shelf (VTS).
Type annotations and code completion for boto3.client("storagegateway").delete_tape_archive
method.
boto3 documentation
# delete_tape_archive method definition
def delete_tape_archive(
self,
*,
TapeARN: str,
BypassGovernanceRetention: bool = ...,
) -> DeleteTapeArchiveOutputTypeDef: # (1)
...
# delete_tape_archive method usage example with argument unpacking
kwargs: DeleteTapeArchiveInputRequestTypeDef = { # (1)
"TapeARN": ...,
}
parent.delete_tape_archive(**kwargs)
delete_tape_pool#
Delete a custom tape pool.
Type annotations and code completion for boto3.client("storagegateway").delete_tape_pool
method.
boto3 documentation
# delete_tape_pool method definition
def delete_tape_pool(
self,
*,
PoolARN: str,
) -> DeleteTapePoolOutputTypeDef: # (1)
...
# delete_tape_pool method usage example with argument unpacking
kwargs: DeleteTapePoolInputRequestTypeDef = { # (1)
"PoolARN": ...,
}
parent.delete_tape_pool(**kwargs)
delete_volume#
Deletes the specified storage volume that you previously created using the CreateCachediSCSIVolume or CreateStorediSCSIVolume API.
Type annotations and code completion for boto3.client("storagegateway").delete_volume
method.
boto3 documentation
# delete_volume method definition
def delete_volume(
self,
*,
VolumeARN: str,
) -> DeleteVolumeOutputTypeDef: # (1)
...
# delete_volume method usage example with argument unpacking
kwargs: DeleteVolumeInputRequestTypeDef = { # (1)
"VolumeARN": ...,
}
parent.delete_volume(**kwargs)
describe_availability_monitor_test#
Returns information about the most recent high availability monitoring test that was performed on the host in a cluster.
Type annotations and code completion for boto3.client("storagegateway").describe_availability_monitor_test
method.
boto3 documentation
# describe_availability_monitor_test method definition
def describe_availability_monitor_test(
self,
*,
GatewayARN: str,
) -> DescribeAvailabilityMonitorTestOutputTypeDef: # (1)
...
# describe_availability_monitor_test method usage example with argument unpacking
kwargs: DescribeAvailabilityMonitorTestInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.describe_availability_monitor_test(**kwargs)
describe_bandwidth_rate_limit#
Returns the bandwidth rate limits of a gateway.
Type annotations and code completion for boto3.client("storagegateway").describe_bandwidth_rate_limit
method.
boto3 documentation
# describe_bandwidth_rate_limit method definition
def describe_bandwidth_rate_limit(
self,
*,
GatewayARN: str,
) -> DescribeBandwidthRateLimitOutputTypeDef: # (1)
...
# describe_bandwidth_rate_limit method usage example with argument unpacking
kwargs: DescribeBandwidthRateLimitInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.describe_bandwidth_rate_limit(**kwargs)
describe_bandwidth_rate_limit_schedule#
Returns information about the bandwidth rate limit schedule of a gateway.
Type annotations and code completion for boto3.client("storagegateway").describe_bandwidth_rate_limit_schedule
method.
boto3 documentation
# describe_bandwidth_rate_limit_schedule method definition
def describe_bandwidth_rate_limit_schedule(
self,
*,
GatewayARN: str,
) -> DescribeBandwidthRateLimitScheduleOutputTypeDef: # (1)
...
# describe_bandwidth_rate_limit_schedule method usage example with argument unpacking
kwargs: DescribeBandwidthRateLimitScheduleInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.describe_bandwidth_rate_limit_schedule(**kwargs)
describe_cache#
Returns information about the cache of a gateway.
Type annotations and code completion for boto3.client("storagegateway").describe_cache
method.
boto3 documentation
# describe_cache method definition
def describe_cache(
self,
*,
GatewayARN: str,
) -> DescribeCacheOutputTypeDef: # (1)
...
# describe_cache method usage example with argument unpacking
kwargs: DescribeCacheInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.describe_cache(**kwargs)
describe_cached_iscsi_volumes#
Returns a description of the gateway volumes specified in the request.
Type annotations and code completion for boto3.client("storagegateway").describe_cached_iscsi_volumes
method.
boto3 documentation
# describe_cached_iscsi_volumes method definition
def describe_cached_iscsi_volumes(
self,
*,
VolumeARNs: Sequence[str],
) -> DescribeCachediSCSIVolumesOutputTypeDef: # (1)
...
# describe_cached_iscsi_volumes method usage example with argument unpacking
kwargs: DescribeCachediSCSIVolumesInputRequestTypeDef = { # (1)
"VolumeARNs": ...,
}
parent.describe_cached_iscsi_volumes(**kwargs)
describe_chap_credentials#
Returns an array of Challenge-Handshake Authentication Protocol (CHAP) credentials information for a specified iSCSI target, one for each target- initiator pair.
Type annotations and code completion for boto3.client("storagegateway").describe_chap_credentials
method.
boto3 documentation
# describe_chap_credentials method definition
def describe_chap_credentials(
self,
*,
TargetARN: str,
) -> DescribeChapCredentialsOutputTypeDef: # (1)
...
# describe_chap_credentials method usage example with argument unpacking
kwargs: DescribeChapCredentialsInputRequestTypeDef = { # (1)
"TargetARN": ...,
}
parent.describe_chap_credentials(**kwargs)
describe_file_system_associations#
Gets the file system association information.
Type annotations and code completion for boto3.client("storagegateway").describe_file_system_associations
method.
boto3 documentation
# describe_file_system_associations method definition
def describe_file_system_associations(
self,
*,
FileSystemAssociationARNList: Sequence[str],
) -> DescribeFileSystemAssociationsOutputTypeDef: # (1)
...
# describe_file_system_associations method usage example with argument unpacking
kwargs: DescribeFileSystemAssociationsInputRequestTypeDef = { # (1)
"FileSystemAssociationARNList": ...,
}
parent.describe_file_system_associations(**kwargs)
describe_gateway_information#
Returns metadata about a gateway such as its name, network interfaces, configured time zone, and the state (whether the gateway is running or not).
Type annotations and code completion for boto3.client("storagegateway").describe_gateway_information
method.
boto3 documentation
# describe_gateway_information method definition
def describe_gateway_information(
self,
*,
GatewayARN: str,
) -> DescribeGatewayInformationOutputTypeDef: # (1)
...
# describe_gateway_information method usage example with argument unpacking
kwargs: DescribeGatewayInformationInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.describe_gateway_information(**kwargs)
describe_maintenance_start_time#
Returns your gateway's weekly maintenance start time including the day and time of the week.
Type annotations and code completion for boto3.client("storagegateway").describe_maintenance_start_time
method.
boto3 documentation
# describe_maintenance_start_time method definition
def describe_maintenance_start_time(
self,
*,
GatewayARN: str,
) -> DescribeMaintenanceStartTimeOutputTypeDef: # (1)
...
# describe_maintenance_start_time method usage example with argument unpacking
kwargs: DescribeMaintenanceStartTimeInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.describe_maintenance_start_time(**kwargs)
describe_nfs_file_shares#
Gets a description for one or more Network File System (NFS) file shares from an S3 File Gateway.
Type annotations and code completion for boto3.client("storagegateway").describe_nfs_file_shares
method.
boto3 documentation
# describe_nfs_file_shares method definition
def describe_nfs_file_shares(
self,
*,
FileShareARNList: Sequence[str],
) -> DescribeNFSFileSharesOutputTypeDef: # (1)
...
# describe_nfs_file_shares method usage example with argument unpacking
kwargs: DescribeNFSFileSharesInputRequestTypeDef = { # (1)
"FileShareARNList": ...,
}
parent.describe_nfs_file_shares(**kwargs)
describe_smb_file_shares#
Gets a description for one or more Server Message Block (SMB) file shares from a S3 File Gateway.
Type annotations and code completion for boto3.client("storagegateway").describe_smb_file_shares
method.
boto3 documentation
# describe_smb_file_shares method definition
def describe_smb_file_shares(
self,
*,
FileShareARNList: Sequence[str],
) -> DescribeSMBFileSharesOutputTypeDef: # (1)
...
# describe_smb_file_shares method usage example with argument unpacking
kwargs: DescribeSMBFileSharesInputRequestTypeDef = { # (1)
"FileShareARNList": ...,
}
parent.describe_smb_file_shares(**kwargs)
describe_smb_settings#
Gets a description of a Server Message Block (SMB) file share settings from a file gateway.
Type annotations and code completion for boto3.client("storagegateway").describe_smb_settings
method.
boto3 documentation
# describe_smb_settings method definition
def describe_smb_settings(
self,
*,
GatewayARN: str,
) -> DescribeSMBSettingsOutputTypeDef: # (1)
...
# describe_smb_settings method usage example with argument unpacking
kwargs: DescribeSMBSettingsInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.describe_smb_settings(**kwargs)
describe_snapshot_schedule#
Describes the snapshot schedule for the specified gateway volume.
Type annotations and code completion for boto3.client("storagegateway").describe_snapshot_schedule
method.
boto3 documentation
# describe_snapshot_schedule method definition
def describe_snapshot_schedule(
self,
*,
VolumeARN: str,
) -> DescribeSnapshotScheduleOutputTypeDef: # (1)
...
# describe_snapshot_schedule method usage example with argument unpacking
kwargs: DescribeSnapshotScheduleInputRequestTypeDef = { # (1)
"VolumeARN": ...,
}
parent.describe_snapshot_schedule(**kwargs)
describe_stored_iscsi_volumes#
Returns the description of the gateway volumes specified in the request.
Type annotations and code completion for boto3.client("storagegateway").describe_stored_iscsi_volumes
method.
boto3 documentation
# describe_stored_iscsi_volumes method definition
def describe_stored_iscsi_volumes(
self,
*,
VolumeARNs: Sequence[str],
) -> DescribeStorediSCSIVolumesOutputTypeDef: # (1)
...
# describe_stored_iscsi_volumes method usage example with argument unpacking
kwargs: DescribeStorediSCSIVolumesInputRequestTypeDef = { # (1)
"VolumeARNs": ...,
}
parent.describe_stored_iscsi_volumes(**kwargs)
describe_tape_archives#
Returns a description of specified virtual tapes in the virtual tape shelf (VTS).
Type annotations and code completion for boto3.client("storagegateway").describe_tape_archives
method.
boto3 documentation
# describe_tape_archives method definition
def describe_tape_archives(
self,
*,
TapeARNs: Sequence[str] = ...,
Marker: str = ...,
Limit: int = ...,
) -> DescribeTapeArchivesOutputTypeDef: # (1)
...
# describe_tape_archives method usage example with argument unpacking
kwargs: DescribeTapeArchivesInputRequestTypeDef = { # (1)
"TapeARNs": ...,
}
parent.describe_tape_archives(**kwargs)
describe_tape_recovery_points#
Returns a list of virtual tape recovery points that are available for the specified tape gateway.
Type annotations and code completion for boto3.client("storagegateway").describe_tape_recovery_points
method.
boto3 documentation
# describe_tape_recovery_points method definition
def describe_tape_recovery_points(
self,
*,
GatewayARN: str,
Marker: str = ...,
Limit: int = ...,
) -> DescribeTapeRecoveryPointsOutputTypeDef: # (1)
...
# describe_tape_recovery_points method usage example with argument unpacking
kwargs: DescribeTapeRecoveryPointsInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.describe_tape_recovery_points(**kwargs)
describe_tapes#
Returns a description of the specified Amazon Resource Name (ARN) of virtual tapes.
Type annotations and code completion for boto3.client("storagegateway").describe_tapes
method.
boto3 documentation
# describe_tapes method definition
def describe_tapes(
self,
*,
GatewayARN: str,
TapeARNs: Sequence[str] = ...,
Marker: str = ...,
Limit: int = ...,
) -> DescribeTapesOutputTypeDef: # (1)
...
# describe_tapes method usage example with argument unpacking
kwargs: DescribeTapesInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.describe_tapes(**kwargs)
describe_upload_buffer#
Returns information about the upload buffer of a gateway.
Type annotations and code completion for boto3.client("storagegateway").describe_upload_buffer
method.
boto3 documentation
# describe_upload_buffer method definition
def describe_upload_buffer(
self,
*,
GatewayARN: str,
) -> DescribeUploadBufferOutputTypeDef: # (1)
...
# describe_upload_buffer method usage example with argument unpacking
kwargs: DescribeUploadBufferInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.describe_upload_buffer(**kwargs)
describe_vtl_devices#
Returns a description of virtual tape library (VTL) devices for the specified tape gateway.
Type annotations and code completion for boto3.client("storagegateway").describe_vtl_devices
method.
boto3 documentation
# describe_vtl_devices method definition
def describe_vtl_devices(
self,
*,
GatewayARN: str,
VTLDeviceARNs: Sequence[str] = ...,
Marker: str = ...,
Limit: int = ...,
) -> DescribeVTLDevicesOutputTypeDef: # (1)
...
# describe_vtl_devices method usage example with argument unpacking
kwargs: DescribeVTLDevicesInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.describe_vtl_devices(**kwargs)
describe_working_storage#
Returns information about the working storage of a gateway.
Type annotations and code completion for boto3.client("storagegateway").describe_working_storage
method.
boto3 documentation
# describe_working_storage method definition
def describe_working_storage(
self,
*,
GatewayARN: str,
) -> DescribeWorkingStorageOutputTypeDef: # (1)
...
# describe_working_storage method usage example with argument unpacking
kwargs: DescribeWorkingStorageInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.describe_working_storage(**kwargs)
detach_volume#
Disconnects a volume from an iSCSI connection and then detaches the volume from the specified gateway.
Type annotations and code completion for boto3.client("storagegateway").detach_volume
method.
boto3 documentation
# detach_volume method definition
def detach_volume(
self,
*,
VolumeARN: str,
ForceDetach: bool = ...,
) -> DetachVolumeOutputTypeDef: # (1)
...
# detach_volume method usage example with argument unpacking
kwargs: DetachVolumeInputRequestTypeDef = { # (1)
"VolumeARN": ...,
}
parent.detach_volume(**kwargs)
disable_gateway#
Disables a tape gateway when the gateway is no longer functioning.
Type annotations and code completion for boto3.client("storagegateway").disable_gateway
method.
boto3 documentation
# disable_gateway method definition
def disable_gateway(
self,
*,
GatewayARN: str,
) -> DisableGatewayOutputTypeDef: # (1)
...
# disable_gateway method usage example with argument unpacking
kwargs: DisableGatewayInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.disable_gateway(**kwargs)
disassociate_file_system#
Disassociates an Amazon FSx file system from the specified gateway.
Type annotations and code completion for boto3.client("storagegateway").disassociate_file_system
method.
boto3 documentation
# disassociate_file_system method definition
def disassociate_file_system(
self,
*,
FileSystemAssociationARN: str,
ForceDelete: bool = ...,
) -> DisassociateFileSystemOutputTypeDef: # (1)
...
# disassociate_file_system method usage example with argument unpacking
kwargs: DisassociateFileSystemInputRequestTypeDef = { # (1)
"FileSystemAssociationARN": ...,
}
parent.disassociate_file_system(**kwargs)
generate_presigned_url#
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("storagegateway").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:
...
join_domain#
Adds a file gateway to an Active Directory domain.
Type annotations and code completion for boto3.client("storagegateway").join_domain
method.
boto3 documentation
# join_domain method definition
def join_domain(
self,
*,
GatewayARN: str,
DomainName: str,
UserName: str,
Password: str,
OrganizationalUnit: str = ...,
DomainControllers: Sequence[str] = ...,
TimeoutInSeconds: int = ...,
) -> JoinDomainOutputTypeDef: # (1)
...
# join_domain method usage example with argument unpacking
kwargs: JoinDomainInputRequestTypeDef = { # (1)
"GatewayARN": ...,
"DomainName": ...,
"UserName": ...,
"Password": ...,
}
parent.join_domain(**kwargs)
list_automatic_tape_creation_policies#
Lists the automatic tape creation policies for a gateway.
Type annotations and code completion for boto3.client("storagegateway").list_automatic_tape_creation_policies
method.
boto3 documentation
# list_automatic_tape_creation_policies method definition
def list_automatic_tape_creation_policies(
self,
*,
GatewayARN: str = ...,
) -> ListAutomaticTapeCreationPoliciesOutputTypeDef: # (1)
...
# list_automatic_tape_creation_policies method usage example with argument unpacking
kwargs: ListAutomaticTapeCreationPoliciesInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.list_automatic_tape_creation_policies(**kwargs)
list_file_shares#
Gets a list of the file shares for a specific S3 File Gateway, or the list of file shares that belong to the calling user account.
Type annotations and code completion for boto3.client("storagegateway").list_file_shares
method.
boto3 documentation
# list_file_shares method definition
def list_file_shares(
self,
*,
GatewayARN: str = ...,
Limit: int = ...,
Marker: str = ...,
) -> ListFileSharesOutputTypeDef: # (1)
...
# list_file_shares method usage example with argument unpacking
kwargs: ListFileSharesInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.list_file_shares(**kwargs)
list_file_system_associations#
Gets a list of FileSystemAssociationSummary
objects.
Type annotations and code completion for boto3.client("storagegateway").list_file_system_associations
method.
boto3 documentation
# list_file_system_associations method definition
def list_file_system_associations(
self,
*,
GatewayARN: str = ...,
Limit: int = ...,
Marker: str = ...,
) -> ListFileSystemAssociationsOutputTypeDef: # (1)
...
# list_file_system_associations method usage example with argument unpacking
kwargs: ListFileSystemAssociationsInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.list_file_system_associations(**kwargs)
list_gateways#
Lists gateways owned by an Amazon Web Services account in an Amazon Web Services Region specified in the request.
Type annotations and code completion for boto3.client("storagegateway").list_gateways
method.
boto3 documentation
# list_gateways method definition
def list_gateways(
self,
*,
Marker: str = ...,
Limit: int = ...,
) -> ListGatewaysOutputTypeDef: # (1)
...
# list_gateways method usage example with argument unpacking
kwargs: ListGatewaysInputRequestTypeDef = { # (1)
"Marker": ...,
}
parent.list_gateways(**kwargs)
list_local_disks#
Returns a list of the gateway's local disks.
Type annotations and code completion for boto3.client("storagegateway").list_local_disks
method.
boto3 documentation
# list_local_disks method definition
def list_local_disks(
self,
*,
GatewayARN: str,
) -> ListLocalDisksOutputTypeDef: # (1)
...
# list_local_disks method usage example with argument unpacking
kwargs: ListLocalDisksInputRequestTypeDef = { # (1)
"GatewayARN": ...,
}
parent.list_local_disks(**kwargs)
list_tags_for_resource#
Lists the tags that have been added to the specified resource.
Type annotations and code completion for boto3.client("storagegateway").list_tags_for_resource
method.
boto3 documentation
# list_tags_for_resource method definition
def list_tags_for_resource(
self,
*,
ResourceARN: str,
Marker: str = ...,
Limit: int = ...,
) -> ListTagsForResourceOutputTypeDef: # (1)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceInputRequestTypeDef = { # (1)
"ResourceARN": ...,
}
parent.list_tags_for_resource(**kwargs)
list_tape_pools#
Lists custom tape pools.
Type annotations and code completion for boto3.client("storagegateway").list_tape_pools
method.
boto3 documentation
# list_tape_pools method definition
def list_tape_pools(
self,
*,
PoolARNs: Sequence[str] = ...,
Marker: str = ...,
Limit: int = ...,
) -> ListTapePoolsOutputTypeDef: # (1)
...
# list_tape_pools method usage example with argument unpacking
kwargs: ListTapePoolsInputRequestTypeDef = { # (1)
"PoolARNs": ...,
}
parent.list_tape_pools(**kwargs)
list_tapes#
Lists virtual tapes in your virtual tape library (VTL) and your virtual tape shelf (VTS).
Type annotations and code completion for boto3.client("storagegateway").list_tapes
method.