StorageGateway module#
Index > StorageGateway
Auto-generated documentation for StorageGateway type annotations stubs module mypy-boto3-storagegateway.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3-stubs
AWS SDK. - Add
StorageGateway
service. - Use provided commands to install generated packages.
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and StorageGateway
.
From PyPI with pip#
Install boto3-stubs
for StorageGateway
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[storagegateway]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[storagegateway]'
# standalone installation
python -m pip install mypy-boto3-storagegateway
How to uninstall#
python -m pip uninstall -y mypy-boto3-storagegateway
Usage#
Code samples can be found in Examples.
StorageGatewayClient#
Type annotations and code completion for boto3.client("storagegateway")
as StorageGatewayClient
boto3 documentation
# StorageGatewayClient usage example
from boto3.session import Session
from mypy_boto3_storagegateway.client import StorageGatewayClient
def get_client() -> StorageGatewayClient:
return Session().client("storagegateway")
Paginators#
Type annotations and code completion for paginators
from boto3.client("storagegateway").get_paginator("...")
.
# DescribeTapeArchivesPaginator usage example
from boto3.session import Session
from mypy_boto3_storagegateway.paginator import DescribeTapeArchivesPaginator
def get_describe_tape_archives_paginator() -> DescribeTapeArchivesPaginator:
return Session().client("storagegateway").get_paginator("describe_tape_archives"))
- DescribeTapeArchivesPaginator
- DescribeTapeRecoveryPointsPaginator
- DescribeTapesPaginator
- DescribeVTLDevicesPaginator
- ListFileSharesPaginator
- ListFileSystemAssociationsPaginator
- ListGatewaysPaginator
- ListTagsForResourcePaginator
- ListTapePoolsPaginator
- ListTapesPaginator
- ListVolumesPaginator
Literals#
Type annotations for literals used in methods and schema.
# ActiveDirectoryStatusType usage example
from mypy_boto3_storagegateway.literals import ActiveDirectoryStatusType
def get_value() -> ActiveDirectoryStatusType:
return "ACCESS_DENIED"
- ActiveDirectoryStatusType
- AutomaticUpdatePolicyType
- AvailabilityMonitorTestStatusType
- CaseSensitivityType
- DescribeTapeArchivesPaginatorName
- DescribeTapeRecoveryPointsPaginatorName
- DescribeTapesPaginatorName
- DescribeVTLDevicesPaginatorName
- EncryptionTypeType
- FileShareTypeType
- GatewayCapacityType
- HostEnvironmentType
- ListFileSharesPaginatorName
- ListFileSystemAssociationsPaginatorName
- ListGatewaysPaginatorName
- ListTagsForResourcePaginatorName
- ListTapePoolsPaginatorName
- ListTapesPaginatorName
- ListVolumesPaginatorName
- ObjectACLType
- PoolStatusType
- RetentionLockTypeType
- SMBSecurityStrategyType
- TapeStorageClassType
- StorageGatewayServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- TagTypeDef
- ResponseMetadataTypeDef
- AddCacheInputRequestTypeDef
- AddUploadBufferInputRequestTypeDef
- AddWorkingStorageInputRequestTypeDef
- AssignTapePoolInputRequestTypeDef
- CacheAttributesTypeDef
- EndpointNetworkConfigurationTypeDef
- AttachVolumeInputRequestTypeDef
- AutomaticTapeCreationRuleTypeDef
- BandwidthRateLimitIntervalOutputTypeDef
- BandwidthRateLimitIntervalTypeDef
- VolumeiSCSIAttributesTypeDef
- CancelArchivalInputRequestTypeDef
- CancelRetrievalInputRequestTypeDef
- ChapInfoTypeDef
- NFSFileShareDefaultsTypeDef
- DeleteAutomaticTapeCreationPolicyInputRequestTypeDef
- DeleteBandwidthRateLimitInputRequestTypeDef
- DeleteChapCredentialsInputRequestTypeDef
- DeleteFileShareInputRequestTypeDef
- DeleteGatewayInputRequestTypeDef
- DeleteSnapshotScheduleInputRequestTypeDef
- DeleteTapeArchiveInputRequestTypeDef
- DeleteTapeInputRequestTypeDef
- DeleteTapePoolInputRequestTypeDef
- DeleteVolumeInputRequestTypeDef
- DescribeAvailabilityMonitorTestInputRequestTypeDef
- DescribeBandwidthRateLimitInputRequestTypeDef
- DescribeBandwidthRateLimitScheduleInputRequestTypeDef
- DescribeCacheInputRequestTypeDef
- DescribeCachediSCSIVolumesInputRequestTypeDef
- DescribeChapCredentialsInputRequestTypeDef
- DescribeFileSystemAssociationsInputRequestTypeDef
- DescribeGatewayInformationInputRequestTypeDef
- NetworkInterfaceTypeDef
- DescribeMaintenanceStartTimeInputRequestTypeDef
- SoftwareUpdatePreferencesTypeDef
- DescribeNFSFileSharesInputRequestTypeDef
- DescribeSMBFileSharesInputRequestTypeDef
- DescribeSMBSettingsInputRequestTypeDef
- SMBLocalGroupsOutputTypeDef
- DescribeSnapshotScheduleInputRequestTypeDef
- DescribeStorediSCSIVolumesInputRequestTypeDef
- PaginatorConfigTypeDef
- DescribeTapeArchivesInputRequestTypeDef
- TapeArchiveTypeDef
- DescribeTapeRecoveryPointsInputRequestTypeDef
- TapeRecoveryPointInfoTypeDef
- DescribeTapesInputRequestTypeDef
- TapeTypeDef
- DescribeUploadBufferInputRequestTypeDef
- DescribeVTLDevicesInputRequestTypeDef
- DescribeWorkingStorageInputRequestTypeDef
- DetachVolumeInputRequestTypeDef
- DeviceiSCSIAttributesTypeDef
- DisableGatewayInputRequestTypeDef
- DisassociateFileSystemInputRequestTypeDef
- DiskTypeDef
- EndpointNetworkConfigurationOutputTypeDef
- FileShareInfoTypeDef
- FileSystemAssociationStatusDetailTypeDef
- FileSystemAssociationSummaryTypeDef
- GatewayInfoTypeDef
- JoinDomainInputRequestTypeDef
- ListAutomaticTapeCreationPoliciesInputRequestTypeDef
- ListFileSharesInputRequestTypeDef
- ListFileSystemAssociationsInputRequestTypeDef
- ListGatewaysInputRequestTypeDef
- ListLocalDisksInputRequestTypeDef
- ListTagsForResourceInputRequestTypeDef
- ListTapePoolsInputRequestTypeDef
- PoolInfoTypeDef
- ListTapesInputRequestTypeDef
- TapeInfoTypeDef
- ListVolumeInitiatorsInputRequestTypeDef
- ListVolumeRecoveryPointsInputRequestTypeDef
- VolumeRecoveryPointInfoTypeDef
- ListVolumesInputRequestTypeDef
- VolumeInfoTypeDef
- NotifyWhenUploadedInputRequestTypeDef
- RefreshCacheInputRequestTypeDef
- RemoveTagsFromResourceInputRequestTypeDef
- ResetCacheInputRequestTypeDef
- RetrieveTapeArchiveInputRequestTypeDef
- RetrieveTapeRecoveryPointInputRequestTypeDef
- SMBLocalGroupsTypeDef
- SetLocalConsolePasswordInputRequestTypeDef
- SetSMBGuestPasswordInputRequestTypeDef
- ShutdownGatewayInputRequestTypeDef
- StartAvailabilityMonitorTestInputRequestTypeDef
- StartGatewayInputRequestTypeDef
- UpdateBandwidthRateLimitInputRequestTypeDef
- UpdateChapCredentialsInputRequestTypeDef
- UpdateGatewayInformationInputRequestTypeDef
- UpdateGatewaySoftwareNowInputRequestTypeDef
- UpdateSMBFileShareVisibilityInputRequestTypeDef
- UpdateSMBSecurityStrategyInputRequestTypeDef
- UpdateVTLDeviceTypeInputRequestTypeDef
- ActivateGatewayInputRequestTypeDef
- AddTagsToResourceInputRequestTypeDef
- CreateCachediSCSIVolumeInputRequestTypeDef
- CreateSnapshotFromVolumeRecoveryPointInputRequestTypeDef
- CreateSnapshotInputRequestTypeDef
- CreateStorediSCSIVolumeInputRequestTypeDef
- CreateTapePoolInputRequestTypeDef
- CreateTapeWithBarcodeInputRequestTypeDef
- CreateTapesInputRequestTypeDef
- UpdateSnapshotScheduleInputRequestTypeDef
- ActivateGatewayOutputTypeDef
- AddCacheOutputTypeDef
- AddTagsToResourceOutputTypeDef
- AddUploadBufferOutputTypeDef
- AddWorkingStorageOutputTypeDef
- AssignTapePoolOutputTypeDef
- AssociateFileSystemOutputTypeDef
- AttachVolumeOutputTypeDef
- CancelArchivalOutputTypeDef
- CancelRetrievalOutputTypeDef
- CreateCachediSCSIVolumeOutputTypeDef
- CreateNFSFileShareOutputTypeDef
- CreateSMBFileShareOutputTypeDef
- CreateSnapshotFromVolumeRecoveryPointOutputTypeDef
- CreateSnapshotOutputTypeDef
- CreateStorediSCSIVolumeOutputTypeDef
- CreateTapePoolOutputTypeDef
- CreateTapeWithBarcodeOutputTypeDef
- CreateTapesOutputTypeDef
- DeleteAutomaticTapeCreationPolicyOutputTypeDef
- DeleteBandwidthRateLimitOutputTypeDef
- DeleteChapCredentialsOutputTypeDef
- DeleteFileShareOutputTypeDef
- DeleteGatewayOutputTypeDef
- DeleteSnapshotScheduleOutputTypeDef
- DeleteTapeArchiveOutputTypeDef
- DeleteTapeOutputTypeDef
- DeleteTapePoolOutputTypeDef
- DeleteVolumeOutputTypeDef
- DescribeAvailabilityMonitorTestOutputTypeDef
- DescribeBandwidthRateLimitOutputTypeDef
- DescribeCacheOutputTypeDef
- DescribeSnapshotScheduleOutputTypeDef
- DescribeUploadBufferOutputTypeDef
- DescribeWorkingStorageOutputTypeDef
- DetachVolumeOutputTypeDef
- DisableGatewayOutputTypeDef
- DisassociateFileSystemOutputTypeDef
- JoinDomainOutputTypeDef
- ListTagsForResourceOutputTypeDef
- ListVolumeInitiatorsOutputTypeDef
- NotifyWhenUploadedOutputTypeDef
- RefreshCacheOutputTypeDef
- RemoveTagsFromResourceOutputTypeDef
- ResetCacheOutputTypeDef
- RetrieveTapeArchiveOutputTypeDef
- RetrieveTapeRecoveryPointOutputTypeDef
- SetLocalConsolePasswordOutputTypeDef
- SetSMBGuestPasswordOutputTypeDef
- ShutdownGatewayOutputTypeDef
- StartAvailabilityMonitorTestOutputTypeDef
- StartGatewayOutputTypeDef
- UpdateAutomaticTapeCreationPolicyOutputTypeDef
- UpdateBandwidthRateLimitOutputTypeDef
- UpdateBandwidthRateLimitScheduleOutputTypeDef
- UpdateChapCredentialsOutputTypeDef
- UpdateFileSystemAssociationOutputTypeDef
- UpdateGatewayInformationOutputTypeDef
- UpdateGatewaySoftwareNowOutputTypeDef
- UpdateMaintenanceStartTimeOutputTypeDef
- UpdateNFSFileShareOutputTypeDef
- UpdateSMBFileShareOutputTypeDef
- UpdateSMBFileShareVisibilityOutputTypeDef
- UpdateSMBLocalGroupsOutputTypeDef
- UpdateSMBSecurityStrategyOutputTypeDef
- UpdateSnapshotScheduleOutputTypeDef
- UpdateVTLDeviceTypeOutputTypeDef
- CreateSMBFileShareInputRequestTypeDef
- SMBFileShareInfoTypeDef
- UpdateFileSystemAssociationInputRequestTypeDef
- UpdateSMBFileShareInputRequestTypeDef
- AssociateFileSystemInputRequestTypeDef
- AutomaticTapeCreationPolicyInfoTypeDef
- UpdateAutomaticTapeCreationPolicyInputRequestTypeDef
- DescribeBandwidthRateLimitScheduleOutputTypeDef
- BandwidthRateLimitIntervalUnionTypeDef
- CachediSCSIVolumeTypeDef
- StorediSCSIVolumeTypeDef
- DescribeChapCredentialsOutputTypeDef
- CreateNFSFileShareInputRequestTypeDef
- NFSFileShareInfoTypeDef
- UpdateNFSFileShareInputRequestTypeDef
- DescribeGatewayInformationOutputTypeDef
- DescribeMaintenanceStartTimeOutputTypeDef
- UpdateMaintenanceStartTimeInputRequestTypeDef
- DescribeSMBSettingsOutputTypeDef
- DescribeTapeArchivesInputPaginateTypeDef
- DescribeTapeRecoveryPointsInputPaginateTypeDef
- DescribeTapesInputPaginateTypeDef
- DescribeVTLDevicesInputPaginateTypeDef
- ListFileSharesInputPaginateTypeDef
- ListFileSystemAssociationsInputPaginateTypeDef
- ListGatewaysInputPaginateTypeDef
- ListTagsForResourceInputPaginateTypeDef
- ListTapePoolsInputPaginateTypeDef
- ListTapesInputPaginateTypeDef
- ListVolumesInputPaginateTypeDef
- DescribeTapeArchivesOutputTypeDef
- DescribeTapeRecoveryPointsOutputTypeDef
- DescribeTapesOutputTypeDef
- VTLDeviceTypeDef
- ListLocalDisksOutputTypeDef
- ListFileSharesOutputTypeDef
- FileSystemAssociationInfoTypeDef
- ListFileSystemAssociationsOutputTypeDef
- ListGatewaysOutputTypeDef
- ListTapePoolsOutputTypeDef
- ListTapesOutputTypeDef
- ListVolumeRecoveryPointsOutputTypeDef
- ListVolumesOutputTypeDef
- UpdateSMBLocalGroupsInputRequestTypeDef
- DescribeSMBFileSharesOutputTypeDef
- ListAutomaticTapeCreationPoliciesOutputTypeDef
- UpdateBandwidthRateLimitScheduleInputRequestTypeDef
- DescribeCachediSCSIVolumesOutputTypeDef
- DescribeStorediSCSIVolumesOutputTypeDef
- DescribeNFSFileSharesOutputTypeDef
- DescribeVTLDevicesOutputTypeDef
- DescribeFileSystemAssociationsOutputTypeDef