amazonka-storagegateway 1.4.4 → 1.4.5
raw patch · 61 files changed
+901/−764 lines, 61 filesdep ~amazonka-coredep ~amazonka-storagegatewaydep ~amazonka-testPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: amazonka-core, amazonka-storagegateway, amazonka-test
API changes (from Hackage documentation)
- Network.AWS.StorageGateway.ActivateGateway: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.ActivateGateway.ActivateGateway
- Network.AWS.StorageGateway.AddCache: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.AddCache.AddCache
- Network.AWS.StorageGateway.AddTagsToResource: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.AddTagsToResource.AddTagsToResource
- Network.AWS.StorageGateway.AddUploadBuffer: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.AddUploadBuffer.AddUploadBuffer
- Network.AWS.StorageGateway.AddWorkingStorage: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.AddWorkingStorage.AddWorkingStorage
- Network.AWS.StorageGateway.CancelArchival: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.CancelArchival.CancelArchival
- Network.AWS.StorageGateway.CancelRetrieval: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.CancelRetrieval.CancelRetrieval
- Network.AWS.StorageGateway.CreateCachediSCSIVolume: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.CreateCachediSCSIVolume.CreateCachediSCSIVolume
- Network.AWS.StorageGateway.CreateSnapshot: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.CreateSnapshot.CreateSnapshot
- Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint.CreateSnapshotFromVolumeRecoveryPoint
- Network.AWS.StorageGateway.CreateStorediSCSIVolume: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.CreateStorediSCSIVolume.CreateStorediSCSIVolume
- Network.AWS.StorageGateway.CreateTapeWithBarcode: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.CreateTapeWithBarcode.CreateTapeWithBarcode
- Network.AWS.StorageGateway.CreateTapes: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.CreateTapes.CreateTapes
- Network.AWS.StorageGateway.DeleteBandwidthRateLimit: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DeleteBandwidthRateLimit.DeleteBandwidthRateLimit
- Network.AWS.StorageGateway.DeleteChapCredentials: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DeleteChapCredentials.DeleteChapCredentials
- Network.AWS.StorageGateway.DeleteGateway: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DeleteGateway.DeleteGateway
- Network.AWS.StorageGateway.DeleteSnapshotSchedule: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DeleteSnapshotSchedule.DeleteSnapshotSchedule
- Network.AWS.StorageGateway.DeleteTape: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DeleteTape.DeleteTape
- Network.AWS.StorageGateway.DeleteTapeArchive: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DeleteTapeArchive.DeleteTapeArchive
- Network.AWS.StorageGateway.DeleteVolume: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DeleteVolume.DeleteVolume
- Network.AWS.StorageGateway.DescribeBandwidthRateLimit: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DescribeBandwidthRateLimit.DescribeBandwidthRateLimit
- Network.AWS.StorageGateway.DescribeCache: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DescribeCache.DescribeCache
- Network.AWS.StorageGateway.DescribeCachediSCSIVolumes: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DescribeCachediSCSIVolumes.DescribeCachediSCSIVolumes
- Network.AWS.StorageGateway.DescribeChapCredentials: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DescribeChapCredentials.DescribeChapCredentials
- Network.AWS.StorageGateway.DescribeGatewayInformation: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DescribeGatewayInformation.DescribeGatewayInformation
- Network.AWS.StorageGateway.DescribeMaintenanceStartTime: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DescribeMaintenanceStartTime.DescribeMaintenanceStartTime
- Network.AWS.StorageGateway.DescribeSnapshotSchedule: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DescribeSnapshotSchedule.DescribeSnapshotSchedule
- Network.AWS.StorageGateway.DescribeStorediSCSIVolumes: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DescribeStorediSCSIVolumes.DescribeStorediSCSIVolumes
- Network.AWS.StorageGateway.DescribeTapeArchives: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DescribeTapeArchives.DescribeTapeArchives
- Network.AWS.StorageGateway.DescribeTapeRecoveryPoints: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DescribeTapeRecoveryPoints.DescribeTapeRecoveryPoints
- Network.AWS.StorageGateway.DescribeTapes: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DescribeTapes.DescribeTapes
- Network.AWS.StorageGateway.DescribeUploadBuffer: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DescribeUploadBuffer.DescribeUploadBuffer
- Network.AWS.StorageGateway.DescribeVTLDevices: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DescribeVTLDevices.DescribeVTLDevices
- Network.AWS.StorageGateway.DescribeWorkingStorage: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DescribeWorkingStorage.DescribeWorkingStorage
- Network.AWS.StorageGateway.DisableGateway: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.DisableGateway.DisableGateway
- Network.AWS.StorageGateway.ListGateways: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.ListGateways.ListGateways
- Network.AWS.StorageGateway.ListLocalDisks: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.ListLocalDisks.ListLocalDisks
- Network.AWS.StorageGateway.ListTagsForResource: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.ListTagsForResource.ListTagsForResource
- Network.AWS.StorageGateway.ListTapes: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.ListTapes.ListTapes
- Network.AWS.StorageGateway.ListVolumeInitiators: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.ListVolumeInitiators.ListVolumeInitiators
- Network.AWS.StorageGateway.ListVolumeRecoveryPoints: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.ListVolumeRecoveryPoints.ListVolumeRecoveryPoints
- Network.AWS.StorageGateway.ListVolumes: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.ListVolumes.ListVolumes
- Network.AWS.StorageGateway.RemoveTagsFromResource: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.RemoveTagsFromResource.RemoveTagsFromResource
- Network.AWS.StorageGateway.ResetCache: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.ResetCache.ResetCache
- Network.AWS.StorageGateway.RetrieveTapeArchive: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.RetrieveTapeArchive.RetrieveTapeArchive
- Network.AWS.StorageGateway.RetrieveTapeRecoveryPoint: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.RetrieveTapeRecoveryPoint.RetrieveTapeRecoveryPoint
- Network.AWS.StorageGateway.SetLocalConsolePassword: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.SetLocalConsolePassword.SetLocalConsolePassword
- Network.AWS.StorageGateway.ShutdownGateway: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.ShutdownGateway.ShutdownGateway
- Network.AWS.StorageGateway.StartGateway: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.StartGateway.StartGateway
- Network.AWS.StorageGateway.UpdateBandwidthRateLimit: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.UpdateBandwidthRateLimit.UpdateBandwidthRateLimit
- Network.AWS.StorageGateway.UpdateChapCredentials: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.UpdateChapCredentials.UpdateChapCredentials
- Network.AWS.StorageGateway.UpdateGatewayInformation: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.UpdateGatewayInformation.UpdateGatewayInformation
- Network.AWS.StorageGateway.UpdateGatewaySoftwareNow: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.UpdateGatewaySoftwareNow.UpdateGatewaySoftwareNow
- Network.AWS.StorageGateway.UpdateMaintenanceStartTime: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.UpdateMaintenanceStartTime.UpdateMaintenanceStartTime
- Network.AWS.StorageGateway.UpdateSnapshotSchedule: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.UpdateSnapshotSchedule.UpdateSnapshotSchedule
- Network.AWS.StorageGateway.UpdateVTLDeviceType: instance Data.Aeson.Types.Class.ToJSON Network.AWS.StorageGateway.UpdateVTLDeviceType.UpdateVTLDeviceType
+ Network.AWS.StorageGateway.ActivateGateway: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.ActivateGateway.ActivateGateway
+ Network.AWS.StorageGateway.AddCache: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.AddCache.AddCache
+ Network.AWS.StorageGateway.AddTagsToResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.AddTagsToResource.AddTagsToResource
+ Network.AWS.StorageGateway.AddUploadBuffer: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.AddUploadBuffer.AddUploadBuffer
+ Network.AWS.StorageGateway.AddWorkingStorage: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.AddWorkingStorage.AddWorkingStorage
+ Network.AWS.StorageGateway.CancelArchival: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.CancelArchival.CancelArchival
+ Network.AWS.StorageGateway.CancelRetrieval: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.CancelRetrieval.CancelRetrieval
+ Network.AWS.StorageGateway.CreateCachediSCSIVolume: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.CreateCachediSCSIVolume.CreateCachediSCSIVolume
+ Network.AWS.StorageGateway.CreateSnapshot: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.CreateSnapshot.CreateSnapshot
+ Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint.CreateSnapshotFromVolumeRecoveryPoint
+ Network.AWS.StorageGateway.CreateStorediSCSIVolume: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.CreateStorediSCSIVolume.CreateStorediSCSIVolume
+ Network.AWS.StorageGateway.CreateTapeWithBarcode: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.CreateTapeWithBarcode.CreateTapeWithBarcode
+ Network.AWS.StorageGateway.CreateTapes: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.CreateTapes.CreateTapes
+ Network.AWS.StorageGateway.DeleteBandwidthRateLimit: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DeleteBandwidthRateLimit.DeleteBandwidthRateLimit
+ Network.AWS.StorageGateway.DeleteChapCredentials: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DeleteChapCredentials.DeleteChapCredentials
+ Network.AWS.StorageGateway.DeleteGateway: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DeleteGateway.DeleteGateway
+ Network.AWS.StorageGateway.DeleteSnapshotSchedule: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DeleteSnapshotSchedule.DeleteSnapshotSchedule
+ Network.AWS.StorageGateway.DeleteTape: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DeleteTape.DeleteTape
+ Network.AWS.StorageGateway.DeleteTapeArchive: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DeleteTapeArchive.DeleteTapeArchive
+ Network.AWS.StorageGateway.DeleteVolume: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DeleteVolume.DeleteVolume
+ Network.AWS.StorageGateway.DescribeBandwidthRateLimit: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DescribeBandwidthRateLimit.DescribeBandwidthRateLimit
+ Network.AWS.StorageGateway.DescribeCache: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DescribeCache.DescribeCache
+ Network.AWS.StorageGateway.DescribeCachediSCSIVolumes: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DescribeCachediSCSIVolumes.DescribeCachediSCSIVolumes
+ Network.AWS.StorageGateway.DescribeChapCredentials: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DescribeChapCredentials.DescribeChapCredentials
+ Network.AWS.StorageGateway.DescribeGatewayInformation: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DescribeGatewayInformation.DescribeGatewayInformation
+ Network.AWS.StorageGateway.DescribeMaintenanceStartTime: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DescribeMaintenanceStartTime.DescribeMaintenanceStartTime
+ Network.AWS.StorageGateway.DescribeSnapshotSchedule: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DescribeSnapshotSchedule.DescribeSnapshotSchedule
+ Network.AWS.StorageGateway.DescribeStorediSCSIVolumes: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DescribeStorediSCSIVolumes.DescribeStorediSCSIVolumes
+ Network.AWS.StorageGateway.DescribeTapeArchives: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DescribeTapeArchives.DescribeTapeArchives
+ Network.AWS.StorageGateway.DescribeTapeRecoveryPoints: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DescribeTapeRecoveryPoints.DescribeTapeRecoveryPoints
+ Network.AWS.StorageGateway.DescribeTapes: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DescribeTapes.DescribeTapes
+ Network.AWS.StorageGateway.DescribeUploadBuffer: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DescribeUploadBuffer.DescribeUploadBuffer
+ Network.AWS.StorageGateway.DescribeVTLDevices: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DescribeVTLDevices.DescribeVTLDevices
+ Network.AWS.StorageGateway.DescribeWorkingStorage: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DescribeWorkingStorage.DescribeWorkingStorage
+ Network.AWS.StorageGateway.DisableGateway: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.DisableGateway.DisableGateway
+ Network.AWS.StorageGateway.ListGateways: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.ListGateways.ListGateways
+ Network.AWS.StorageGateway.ListLocalDisks: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.ListLocalDisks.ListLocalDisks
+ Network.AWS.StorageGateway.ListTagsForResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.ListTagsForResource.ListTagsForResource
+ Network.AWS.StorageGateway.ListTapes: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.ListTapes.ListTapes
+ Network.AWS.StorageGateway.ListVolumeInitiators: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.ListVolumeInitiators.ListVolumeInitiators
+ Network.AWS.StorageGateway.ListVolumeRecoveryPoints: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.ListVolumeRecoveryPoints.ListVolumeRecoveryPoints
+ Network.AWS.StorageGateway.ListVolumes: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.ListVolumes.ListVolumes
+ Network.AWS.StorageGateway.RemoveTagsFromResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.RemoveTagsFromResource.RemoveTagsFromResource
+ Network.AWS.StorageGateway.ResetCache: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.ResetCache.ResetCache
+ Network.AWS.StorageGateway.RetrieveTapeArchive: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.RetrieveTapeArchive.RetrieveTapeArchive
+ Network.AWS.StorageGateway.RetrieveTapeRecoveryPoint: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.RetrieveTapeRecoveryPoint.RetrieveTapeRecoveryPoint
+ Network.AWS.StorageGateway.SetLocalConsolePassword: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.SetLocalConsolePassword.SetLocalConsolePassword
+ Network.AWS.StorageGateway.ShutdownGateway: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.ShutdownGateway.ShutdownGateway
+ Network.AWS.StorageGateway.StartGateway: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.StartGateway.StartGateway
+ Network.AWS.StorageGateway.UpdateBandwidthRateLimit: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.UpdateBandwidthRateLimit.UpdateBandwidthRateLimit
+ Network.AWS.StorageGateway.UpdateChapCredentials: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.UpdateChapCredentials.UpdateChapCredentials
+ Network.AWS.StorageGateway.UpdateGatewayInformation: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.UpdateGatewayInformation.UpdateGatewayInformation
+ Network.AWS.StorageGateway.UpdateGatewaySoftwareNow: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.UpdateGatewaySoftwareNow.UpdateGatewaySoftwareNow
+ Network.AWS.StorageGateway.UpdateMaintenanceStartTime: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.UpdateMaintenanceStartTime.UpdateMaintenanceStartTime
+ Network.AWS.StorageGateway.UpdateSnapshotSchedule: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.UpdateSnapshotSchedule.UpdateSnapshotSchedule
+ Network.AWS.StorageGateway.UpdateVTLDeviceType: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.StorageGateway.UpdateVTLDeviceType.UpdateVTLDeviceType
Files
- README.md +9/−48
- amazonka-storagegateway.cabal +10/−53
- gen/Network/AWS/StorageGateway.hs +14/−13
- gen/Network/AWS/StorageGateway/ActivateGateway.hs +29/−32
- gen/Network/AWS/StorageGateway/AddCache.hs +8/−6
- gen/Network/AWS/StorageGateway/AddTagsToResource.hs +20/−10
- gen/Network/AWS/StorageGateway/AddUploadBuffer.hs +7/−5
- gen/Network/AWS/StorageGateway/AddWorkingStorage.hs +14/−9
- gen/Network/AWS/StorageGateway/CancelArchival.hs +11/−5
- gen/Network/AWS/StorageGateway/CancelRetrieval.hs +11/−5
- gen/Network/AWS/StorageGateway/CreateCachediSCSIVolume.hs +11/−11
- gen/Network/AWS/StorageGateway/CreateSnapshot.hs +18/−13
- gen/Network/AWS/StorageGateway/CreateSnapshotFromVolumeRecoveryPoint.hs +10/−10
- gen/Network/AWS/StorageGateway/CreateStorediSCSIVolume.hs +27/−24
- gen/Network/AWS/StorageGateway/CreateTapeWithBarcode.hs +12/−10
- gen/Network/AWS/StorageGateway/CreateTapes.hs +15/−17
- gen/Network/AWS/StorageGateway/DeleteBandwidthRateLimit.hs +9/−5
- gen/Network/AWS/StorageGateway/DeleteChapCredentials.hs +16/−9
- gen/Network/AWS/StorageGateway/DeleteGateway.hs +11/−5
- gen/Network/AWS/StorageGateway/DeleteSnapshotSchedule.hs +6/−6
- gen/Network/AWS/StorageGateway/DeleteTape.hs +12/−6
- gen/Network/AWS/StorageGateway/DeleteTapeArchive.hs +10/−4
- gen/Network/AWS/StorageGateway/DeleteVolume.hs +14/−8
- gen/Network/AWS/StorageGateway/DescribeBandwidthRateLimit.hs +12/−6
- gen/Network/AWS/StorageGateway/DescribeCache.hs +12/−10
- gen/Network/AWS/StorageGateway/DescribeCachediSCSIVolumes.hs +8/−4
- gen/Network/AWS/StorageGateway/DescribeChapCredentials.hs +12/−15
- gen/Network/AWS/StorageGateway/DescribeGatewayInformation.hs +19/−13
- gen/Network/AWS/StorageGateway/DescribeMaintenanceStartTime.hs +13/−9
- gen/Network/AWS/StorageGateway/DescribeSnapshotSchedule.hs +14/−10
- gen/Network/AWS/StorageGateway/DescribeStorediSCSIVolumes.hs +10/−6
- gen/Network/AWS/StorageGateway/DescribeTapeArchives.hs +14/−8
- gen/Network/AWS/StorageGateway/DescribeTapeRecoveryPoints.hs +15/−11
- gen/Network/AWS/StorageGateway/DescribeTapes.hs +17/−17
- gen/Network/AWS/StorageGateway/DescribeUploadBuffer.hs +9/−7
- gen/Network/AWS/StorageGateway/DescribeVTLDevices.hs +15/−11
- gen/Network/AWS/StorageGateway/DescribeWorkingStorage.hs +13/−9
- gen/Network/AWS/StorageGateway/DisableGateway.hs +11/−5
- gen/Network/AWS/StorageGateway/ListGateways.hs +13/−8
- gen/Network/AWS/StorageGateway/ListLocalDisks.hs +11/−7
- gen/Network/AWS/StorageGateway/ListTagsForResource.hs +14/−8
- gen/Network/AWS/StorageGateway/ListTapes.hs +22/−14
- gen/Network/AWS/StorageGateway/ListVolumeInitiators.hs +11/−5
- gen/Network/AWS/StorageGateway/ListVolumeRecoveryPoints.hs +8/−6
- gen/Network/AWS/StorageGateway/ListVolumes.hs +17/−12
- gen/Network/AWS/StorageGateway/RemoveTagsFromResource.hs +12/−6
- gen/Network/AWS/StorageGateway/ResetCache.hs +7/−5
- gen/Network/AWS/StorageGateway/RetrieveTapeArchive.hs +12/−8
- gen/Network/AWS/StorageGateway/RetrieveTapeRecoveryPoint.hs +10/−6
- gen/Network/AWS/StorageGateway/SetLocalConsolePassword.hs +10/−6
- gen/Network/AWS/StorageGateway/ShutdownGateway.hs +11/−9
- gen/Network/AWS/StorageGateway/StartGateway.hs +10/−6
- gen/Network/AWS/StorageGateway/Types.hs +5/−1
- gen/Network/AWS/StorageGateway/Types/Product.hs +120/−122
- gen/Network/AWS/StorageGateway/UpdateBandwidthRateLimit.hs +17/−10
- gen/Network/AWS/StorageGateway/UpdateChapCredentials.hs +22/−21
- gen/Network/AWS/StorageGateway/UpdateGatewayInformation.hs +11/−9
- gen/Network/AWS/StorageGateway/UpdateGatewaySoftwareNow.hs +10/−6
- gen/Network/AWS/StorageGateway/UpdateMaintenanceStartTime.hs +20/−13
- gen/Network/AWS/StorageGateway/UpdateSnapshotSchedule.hs +20/−13
- gen/Network/AWS/StorageGateway/UpdateVTLDeviceType.hs +10/−8
README.md view
@@ -8,66 +8,27 @@ ## Version -`1.4.4`+`1.4.5` ## Description -AWS Storage Gateway Service--AWS Storage Gateway is the service that connects an on-premises software appliance with cloud-based storage to provide seamless and secure integration between an organization\'s on-premises IT environment and AWS\'s storage infrastructure. The service enables you to securely upload data to the AWS cloud for cost effective backup and rapid disaster recovery.--Use the following links to get started using the /AWS Storage Gateway Service API Reference/:--- <http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayHTTPRequestsHeaders.html AWS Storage Gateway Required Request Headers>: Describes the required headers that you must send with every POST request to AWS Storage Gateway.--- <http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewaySigningRequests.html Signing Requests>: AWS Storage Gateway requires that you authenticate every request you send; this topic describes how sign such a request.--- <http://docs.aws.amazon.com/storagegateway/latest/userguide/APIErrorResponses.html Error Responses>: Provides reference information about AWS Storage Gateway errors.--- <http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayAPIOperations.html Operations in AWS Storage Gateway>: Contains detailed descriptions of all AWS Storage Gateway operations, their request parameters, response elements, possible errors, and examples of requests and responses.--- <http://docs.aws.amazon.com/general/latest/gr/index.html?rande.html AWS Storage Gateway Regions and Endpoints>: Provides a list of each of the s and endpoints available for use with AWS Storage Gateway.--AWS Storage Gateway resource IDs are in uppercase. When you use these resource IDs with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change your resource ID to lowercase to use it with the EC2 API. For example, in Storage Gateway the ID for a volume might be - @- vol-1122AABB- @- . When you use this ID with the EC2 API, you must change it to - @- vol-1122aabb- @- . Otherwise, the EC2 API might not behave as expected.--IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway volumes are changing to a longer format. Starting in December 2016, all new volumes and snapshots will be created with a 17-character string. Starting in April 2016, you will be able to use these longer IDs so you can test your systems with the new format. For more information, see <https://aws.amazon.com/ec2/faqs/#longer-ids Longer EC2 and EBS Resource IDs>.--For example, a volume ARN with the longer volume ID format will look like this:--- @- arn:aws:storagegateway:us-west-2:111122223333:gateway\/sgw-12A3456B\/volume\/vol-1122AABBCCDDEEFFG- @- .--A snapshot ID with the longer ID format will look like this: - @- snap-78e226633445566ee- @- .--For more information, see <https://forums.aws.amazon.com/ann.jspa?annID=3557 Announcement: Heads-up – Longer AWS Storage Gateway volume and snapshot IDs coming in 2016>.- Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-storagegateway) and the [AWS API Reference](https://aws.amazon.com/documentation/). The types from this library are intended to be used with [amazonka](http://hackage.haskell.org/package/amazonka),-which provides mechanisms for specifying AuthN/AuthZ information and sending requests.+which provides mechanisms for specifying AuthN/AuthZ information, sending requests,+and receiving responses. -Use of lenses is required for constructing and manipulating types.-This is due to the amount of nesting of AWS types and transparency regarding+Lenses are used for constructing and manipulating types,+due to the depth of nesting of AWS types and transparency regarding de/serialisation into more palatable Haskell values. The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core).++See [Network.AWS.StorageGateway](http://hackage.haskell.org/package/amazonka-storagegateway/docs/Network-AWS-StorageGateway.html)+or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.+ ## Contribute
amazonka-storagegateway.cabal view
@@ -1,5 +1,5 @@ name: amazonka-storagegateway-version: 1.4.4+version: 1.4.5 synopsis: Amazon Storage Gateway SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -13,62 +13,19 @@ cabal-version: >= 1.10 extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep description:- AWS Storage Gateway Service-- AWS Storage Gateway is the service that connects an on-premises software appliance with cloud-based storage to provide seamless and secure integration between an organization\'s on-premises IT environment and AWS\'s storage infrastructure. The service enables you to securely upload data to the AWS cloud for cost effective backup and rapid disaster recovery.-- Use the following links to get started using the /AWS Storage Gateway Service API Reference/:-- - <http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayHTTPRequestsHeaders.html AWS Storage Gateway Required Request Headers>: Describes the required headers that you must send with every POST request to AWS Storage Gateway.-- - <http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewaySigningRequests.html Signing Requests>: AWS Storage Gateway requires that you authenticate every request you send; this topic describes how sign such a request.-- - <http://docs.aws.amazon.com/storagegateway/latest/userguide/APIErrorResponses.html Error Responses>: Provides reference information about AWS Storage Gateway errors.-- - <http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayAPIOperations.html Operations in AWS Storage Gateway>: Contains detailed descriptions of all AWS Storage Gateway operations, their request parameters, response elements, possible errors, and examples of requests and responses.-- - <http://docs.aws.amazon.com/general/latest/gr/index.html?rande.html AWS Storage Gateway Regions and Endpoints>: Provides a list of each of the s and endpoints available for use with AWS Storage Gateway.-- AWS Storage Gateway resource IDs are in uppercase. When you use these resource IDs with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change your resource ID to lowercase to use it with the EC2 API. For example, in Storage Gateway the ID for a volume might be - @- vol-1122AABB- @- . When you use this ID with the EC2 API, you must change it to - @- vol-1122aabb- @- . Otherwise, the EC2 API might not behave as expected.-- IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway volumes are changing to a longer format. Starting in December 2016, all new volumes and snapshots will be created with a 17-character string. Starting in April 2016, you will be able to use these longer IDs so you can test your systems with the new format. For more information, see <https://aws.amazon.com/ec2/faqs/#longer-ids Longer EC2 and EBS Resource IDs>.-- For example, a volume ARN with the longer volume ID format will look like this:-- - @- arn:aws:storagegateway:us-west-2:111122223333:gateway\/sgw-12A3456B\/volume\/vol-1122AABBCCDDEEFFG- @- .-- A snapshot ID with the longer ID format will look like this: - @- snap-78e226633445566ee- @- .-- For more information, see <https://forums.aws.amazon.com/ann.jspa?annID=3557 Announcement: Heads-up – Longer AWS Storage Gateway volume and snapshot IDs coming in 2016>.- . The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>, which provides- mechanisms for specifying AuthN/AuthZ information and sending requests.+ mechanisms for specifying AuthN/AuthZ information, sending requests,+ and receiving responses. .- Use of lenses is required for constructing and manipulating types.- This is due to the amount of nesting of AWS types and transparency regarding+ Lenses are used for constructing and manipulating types,+ due to the depth of nesting of AWS types and transparency regarding de/serialisation into more palatable Haskell values. The provided lenses should be compatible with any of the major lens libraries such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>. .- See "Network.AWS.StorageGateway" or <https://aws.amazon.com/documentation/ the AWS Documentation>+ See "Network.AWS.StorageGateway" or <https://aws.amazon.com/documentation/ the AWS documentation> to get started. source-repository head@@ -147,7 +104,7 @@ , Network.AWS.StorageGateway.Types.Sum build-depends:- amazonka-core == 1.4.4.*+ amazonka-core == 1.4.5.* , base >= 4.7 && < 5 test-suite amazonka-storagegateway-test@@ -167,9 +124,9 @@ , Test.AWS.StorageGateway.Internal build-depends:- amazonka-core == 1.4.4.*- , amazonka-test == 1.4.4.*- , amazonka-storagegateway == 1.4.4.*+ amazonka-core == 1.4.5.*+ , amazonka-test == 1.4.5.*+ , amazonka-storagegateway == 1.4.5.* , base , bytestring , tasty
gen/Network/AWS/StorageGateway.hs view
@@ -11,33 +11,34 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- AWS Storage Gateway Service+-- __AWS Storage Gateway Service__ ----- AWS Storage Gateway is the service that connects an on-premises software appliance with cloud-based storage to provide seamless and secure integration between an organization\'s on-premises IT environment and AWS\'s storage infrastructure. The service enables you to securely upload data to the AWS cloud for cost effective backup and rapid disaster recovery.+-- AWS Storage Gateway is the service that connects an on-premises software appliance with cloud-based storage to provide seamless and secure integration between an organization's on-premises IT environment and AWS's storage infrastructure. The service enables you to securely upload data to the AWS cloud for cost effective backup and rapid disaster recovery. ----- Use the following links to get started using the /AWS Storage Gateway Service API Reference/:+-- Use the following links to get started using the /AWS Storage Gateway Service API Reference/ : ----- - <http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayHTTPRequestsHeaders.html AWS Storage Gateway Required Request Headers>: Describes the required headers that you must send with every POST request to AWS Storage Gateway.+-- * <http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayHTTPRequestsHeaders.html AWS Storage Gateway Required Request Headers> : Describes the required headers that you must send with every POST request to AWS Storage Gateway. ----- - <http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewaySigningRequests.html Signing Requests>: AWS Storage Gateway requires that you authenticate every request you send; this topic describes how sign such a request.+-- * <http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewaySigningRequests.html Signing Requests> : AWS Storage Gateway requires that you authenticate every request you send; this topic describes how sign such a request. ----- - <http://docs.aws.amazon.com/storagegateway/latest/userguide/APIErrorResponses.html Error Responses>: Provides reference information about AWS Storage Gateway errors.+-- * <http://docs.aws.amazon.com/storagegateway/latest/userguide/APIErrorResponses.html Error Responses> : Provides reference information about AWS Storage Gateway errors. ----- - <http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayAPIOperations.html Operations in AWS Storage Gateway>: Contains detailed descriptions of all AWS Storage Gateway operations, their request parameters, response elements, possible errors, and examples of requests and responses.+-- * <http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayAPIOperations.html Operations in AWS Storage Gateway> : Contains detailed descriptions of all AWS Storage Gateway operations, their request parameters, response elements, possible errors, and examples of requests and responses. ----- - <http://docs.aws.amazon.com/general/latest/gr/index.html?rande.html AWS Storage Gateway Regions and Endpoints>: Provides a list of each of the s and endpoints available for use with AWS Storage Gateway.+-- * <http://docs.aws.amazon.com/general/latest/gr/index.html?rande.html AWS Storage Gateway Regions and Endpoints> : Provides a list of each of the s and endpoints available for use with AWS Storage Gateway. ----- AWS Storage Gateway resource IDs are in uppercase. When you use these resource IDs with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change your resource ID to lowercase to use it with the EC2 API. For example, in Storage Gateway the ID for a volume might be 'vol-1122AABB'. When you use this ID with the EC2 API, you must change it to 'vol-1122aabb'. Otherwise, the EC2 API might not behave as expected. ----- IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway volumes are changing to a longer format. Starting in December 2016, all new volumes and snapshots will be created with a 17-character string. Starting in April 2016, you will be able to use these longer IDs so you can test your systems with the new format. For more information, see <https://aws.amazon.com/ec2/faqs/#longer-ids Longer EC2 and EBS Resource IDs>. --+-- /Important:/ IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway volumes are changing to a longer format. Starting in December 2016, all new volumes and snapshots will be created with a 17-character string. Starting in April 2016, you will be able to use these longer IDs so you can test your systems with the new format. For more information, see <https://aws.amazon.com/ec2/faqs/#longer-ids Longer EC2 and EBS Resource IDs> .+-- -- For example, a volume ARN with the longer volume ID format will look like this: ----- 'arn:aws:storagegateway:us-west-2:111122223333:gateway\/sgw-12A3456B\/volume\/vol-1122AABBCCDDEEFFG'.+-- @arn:aws:storagegateway:us-west-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABBCCDDEEFFG@ . ----- A snapshot ID with the longer ID format will look like this: 'snap-78e226633445566ee'.+-- A snapshot ID with the longer ID format will look like this: @snap-78e226633445566ee@ . ----- For more information, see <https://forums.aws.amazon.com/ann.jspa?annID=3557 Announcement: Heads-up – Longer AWS Storage Gateway volume and snapshot IDs coming in 2016>.+-- For more information, see <https://forums.aws.amazon.com/ann.jspa?annID=3557 Announcement: Heads-up – Longer AWS Storage Gateway volume and snapshot IDs coming in 2016> .+-- module Network.AWS.StorageGateway ( -- * Service Configuration
gen/Network/AWS/StorageGateway/ActivateGateway.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Activates the gateway you previously deployed on your host. For more information, see <http://docs.aws.amazon.com/storagegateway/latest/userguide/GettingStartedActivateGateway-common.html Activate the AWS Storage Gateway>. In the activation process, you specify information such as the you want to use for storing snapshots, the time zone for scheduled snapshots the gateway snapshot schedule window, an activation key, and a name for your gateway. The activation process also associates your gateway with your account; for more information, see < UpdateGatewayInformation>.+-- Activates the gateway you previously deployed on your host. For more information, see <http://docs.aws.amazon.com/storagegateway/latest/userguide/GettingStartedActivateGateway-common.html Activate the AWS Storage Gateway> . In the activation process, you specify information such as the you want to use for storing snapshots, the time zone for scheduled snapshots the gateway snapshot schedule window, an activation key, and a name for your gateway. The activation process also associates your gateway with your account; for more information, see 'UpdateGatewayInformation' . ----- You must turn on the gateway VM before you can activate your gateway.+-- module Network.AWS.StorageGateway.ActivateGateway ( -- * Creating a Request@@ -52,21 +52,24 @@ -- | A JSON object containing one or more of the following fields: ----- - < ActivateGatewayInput>ActivationKey> ----- - < ActivateGatewayInput>GatewayName>+-- * 'ActivateGatewayInput$ActivationKey' ----- - < ActivateGatewayInput>GatewayRegion>+-- * 'ActivateGatewayInput$GatewayName' ----- - < ActivateGatewayInput>GatewayTimezone>+-- * 'ActivateGatewayInput$GatewayRegion' ----- - < ActivateGatewayInput>GatewayType>+-- * 'ActivateGatewayInput$GatewayTimezone' ----- - < ActivateGatewayInput>TapeDriveType>+-- * 'ActivateGatewayInput$GatewayType' ----- - < ActivateGatewayInput>MediumChangerType>+-- * 'ActivateGatewayInput$TapeDriveType' --+-- * 'ActivateGatewayInput$MediumChangerType' --+--+--+-- -- /See:/ 'activateGateway' smart constructor. data ActivateGateway = ActivateGateway' { _agMediumChangerType :: !(Maybe Text)@@ -82,19 +85,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'agMediumChangerType'+-- * 'agMediumChangerType' - The value that indicates the type of medium changer to use for gateway-VTL. This field is optional. Valid Values: "STK-L700", "AWS-Gateway-VTL" ----- * 'agTapeDriveType'+-- * 'agTapeDriveType' - The value that indicates the type of tape drive to use for gateway-VTL. This field is optional. Valid Values: "IBM-ULT3580-TD5" ----- * 'agGatewayType'+-- * 'agGatewayType' - A value that defines the type of gateway to activate. The type specified is critical to all later functions of the gateway and cannot be changed after activation. The default value is @STORED@ . ----- * 'agActivationKey'+-- * 'agActivationKey' - Your gateway activation key. You can obtain the activation key by sending an HTTP GET request with redirects enabled to the gateway IP address (port 80). The redirect URL returned in the response provides you the activation key for your gateway in the query string parameter @activationKey@ . It may also include other activation-related parameters, however, these are merely defaults -- the arguments you pass to the @ActivateGateway@ API call determine the actual configuration of your gateway. ----- * 'agGatewayName'+-- * 'agGatewayName' - The name you configured for your gateway. ----- * 'agGatewayTimezone'+-- * 'agGatewayTimezone' - A value that indicates the time zone you want to set for the gateway. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule. ----- * 'agGatewayRegion'+-- * 'agGatewayRegion' - A value that indicates the region where you want to store the snapshot backups. The gateway region specified must be the same region as the region in your @Host@ header in the request. For more information about available regions and endpoints for AWS Storage Gateway, see <http://docs.aws.amazon.com/general/latest/gr/rande.html#sg_region Regions and Endpoints> in the /Amazon Web Services Glossary/ . Valid Values: "us-east-1", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-northeast-1", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "sa-east-1" activateGateway :: Text -- ^ 'agActivationKey' -> Text -- ^ 'agGatewayName'@@ -112,23 +115,19 @@ , _agGatewayRegion = pGatewayRegion_ } --- | The value that indicates the type of medium changer to use for gateway-VTL. This field is optional.------ Valid Values: \"STK-L700\", \"AWS-Gateway-VTL\"+-- | The value that indicates the type of medium changer to use for gateway-VTL. This field is optional. Valid Values: "STK-L700", "AWS-Gateway-VTL" agMediumChangerType :: Lens' ActivateGateway (Maybe Text) agMediumChangerType = lens _agMediumChangerType (\ s a -> s{_agMediumChangerType = a}); --- | The value that indicates the type of tape drive to use for gateway-VTL. This field is optional.------ Valid Values: \"IBM-ULT3580-TD5\"+-- | The value that indicates the type of tape drive to use for gateway-VTL. This field is optional. Valid Values: "IBM-ULT3580-TD5" agTapeDriveType :: Lens' ActivateGateway (Maybe Text) agTapeDriveType = lens _agTapeDriveType (\ s a -> s{_agTapeDriveType = a}); --- | A value that defines the type of gateway to activate. The type specified is critical to all later functions of the gateway and cannot be changed after activation. The default value is 'STORED'.+-- | A value that defines the type of gateway to activate. The type specified is critical to all later functions of the gateway and cannot be changed after activation. The default value is @STORED@ . agGatewayType :: Lens' ActivateGateway (Maybe Text) agGatewayType = lens _agGatewayType (\ s a -> s{_agGatewayType = a}); --- | Your gateway activation key. You can obtain the activation key by sending an HTTP GET request with redirects enabled to the gateway IP address (port 80). The redirect URL returned in the response provides you the activation key for your gateway in the query string parameter 'activationKey'. It may also include other activation-related parameters, however, these are merely defaults -- the arguments you pass to the 'ActivateGateway' API call determine the actual configuration of your gateway.+-- | Your gateway activation key. You can obtain the activation key by sending an HTTP GET request with redirects enabled to the gateway IP address (port 80). The redirect URL returned in the response provides you the activation key for your gateway in the query string parameter @activationKey@ . It may also include other activation-related parameters, however, these are merely defaults -- the arguments you pass to the @ActivateGateway@ API call determine the actual configuration of your gateway. agActivationKey :: Lens' ActivateGateway Text agActivationKey = lens _agActivationKey (\ s a -> s{_agActivationKey = a}); @@ -136,13 +135,11 @@ agGatewayName :: Lens' ActivateGateway Text agGatewayName = lens _agGatewayName (\ s a -> s{_agGatewayName = a}); --- | A value that indicates the time zone you want to set for the gateway. The time zone is used, for example, for scheduling snapshots and your gateway\'s maintenance schedule.+-- | A value that indicates the time zone you want to set for the gateway. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule. agGatewayTimezone :: Lens' ActivateGateway Text agGatewayTimezone = lens _agGatewayTimezone (\ s a -> s{_agGatewayTimezone = a}); --- | A value that indicates the region where you want to store the snapshot backups. The gateway region specified must be the same region as the region in your 'Host' header in the request. For more information about available regions and endpoints for AWS Storage Gateway, see <http://docs.aws.amazon.com/general/latest/gr/rande.html#sg_region Regions and Endpoints> in the /Amazon Web Services Glossary/.------ Valid Values: \"us-east-1\", \"us-west-1\", \"us-west-2\", \"eu-west-1\", \"eu-central-1\", \"ap-northeast-1\", \"ap-northeast-2\", \"ap-southeast-1\", \"ap-southeast-2\", \"sa-east-1\"+-- | A value that indicates the region where you want to store the snapshot backups. The gateway region specified must be the same region as the region in your @Host@ header in the request. For more information about available regions and endpoints for AWS Storage Gateway, see <http://docs.aws.amazon.com/general/latest/gr/rande.html#sg_region Regions and Endpoints> in the /Amazon Web Services Glossary/ . Valid Values: "us-east-1", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-northeast-1", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "sa-east-1" agGatewayRegion :: Lens' ActivateGateway Text agGatewayRegion = lens _agGatewayRegion (\ s a -> s{_agGatewayRegion = a}); @@ -189,8 +186,8 @@ -- | AWS Storage Gateway returns the Amazon Resource Name (ARN) of the activated gateway. It is a string made of information such as your account, gateway name, and region. This ARN is used to reference the gateway in other API operations as well as resource-based authorization. ----- For gateways activated prior to September 02, 2015 the gateway ARN contains the gateway name rather than the gateway id. Changing the name of the gateway has no effect on the gateway ARN. --+-- -- /See:/ 'activateGatewayResponse' smart constructor. data ActivateGatewayResponse = ActivateGatewayResponse' { _agrsGatewayARN :: !(Maybe Text)@@ -201,9 +198,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'agrsGatewayARN'+-- * 'agrsGatewayARN' - Undocumented member. ----- * 'agrsResponseStatus'+-- * 'agrsResponseStatus' - -- | The response status code. activateGatewayResponse :: Int -- ^ 'agrsResponseStatus' -> ActivateGatewayResponse@@ -217,7 +214,7 @@ agrsGatewayARN :: Lens' ActivateGatewayResponse (Maybe Text) agrsGatewayARN = lens _agrsGatewayARN (\ s a -> s{_agrsGatewayARN = a}); --- | The response status code.+-- | -- | The response status code. agrsResponseStatus :: Lens' ActivateGatewayResponse Int agrsResponseStatus = lens _agrsResponseStatus (\ s a -> s{_agrsResponseStatus = a});
gen/Network/AWS/StorageGateway/AddCache.hs view
@@ -18,9 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Configures one or more gateway local disks as cache for a cached-volume gateway. This operation is supported only for the gateway-cached volume architecture (see <http://docs.aws.amazon.com/storagegateway/latest/userguide/StorageGatewayConcepts.html Storage Gateway Concepts>).+-- Configures one or more gateway local disks as cache for a cached-volume gateway. This operation is supported only for the gateway-cached volume architecture (see <http://docs.aws.amazon.com/storagegateway/latest/userguide/StorageGatewayConcepts.html Storage Gateway Concepts> ). --+-- -- In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to add cache, and one or more disk IDs that you want to configure as cache.+-- module Network.AWS.StorageGateway.AddCache ( -- * Creating a Request@@ -55,9 +57,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'acGatewayARN'+-- * 'acGatewayARN' - Undocumented member. ----- * 'acDiskIds'+-- * 'acDiskIds' - Undocumented member. addCache :: Text -- ^ 'acGatewayARN' -> AddCache@@ -120,9 +122,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'acrsGatewayARN'+-- * 'acrsGatewayARN' - Undocumented member. ----- * 'acrsResponseStatus'+-- * 'acrsResponseStatus' - -- | The response status code. addCacheResponse :: Int -- ^ 'acrsResponseStatus' -> AddCacheResponse@@ -136,7 +138,7 @@ acrsGatewayARN :: Lens' AddCacheResponse (Maybe Text) acrsGatewayARN = lens _acrsGatewayARN (\ s a -> s{_acrsGatewayARN = a}); --- | The response status code.+-- | -- | The response status code. acrsResponseStatus :: Lens' AddCacheResponse Int acrsResponseStatus = lens _acrsResponseStatus (\ s a -> s{_acrsResponseStatus = a});
gen/Network/AWS/StorageGateway/AddTagsToResource.hs view
@@ -20,13 +20,21 @@ -- -- Adds one or more tags to the specified resource. You use tags to add metadata to resources, which you can use to categorize these resources. For example, you can categorize resources by purpose, owner, environment, or team. Each tag consists of a key and a value, which you define. You can add tags to the following AWS Storage Gateway resources: ----- - Storage gateways of all types ----- - Storage Volumes+-- * Storage gateways of all types ----- - Virtual Tapes --+--+-- * Storage Volumes+--+--+--+-- * Virtual Tapes+--+--+-- -- You can create a maximum of 10 tags for each resource. Virtual tapes and storage volumes that are recovered to a new gateway maintain their tags.+-- module Network.AWS.StorageGateway.AddTagsToResource ( -- * Creating a Request@@ -53,6 +61,8 @@ -- | AddTagsToResourceInput --+--+-- -- /See:/ 'addTagsToResource' smart constructor. data AddTagsToResource = AddTagsToResource' { _attrResourceARN :: !Text@@ -63,9 +73,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'attrResourceARN'+-- * 'attrResourceARN' - The Amazon Resource Name (ARN) of the resource you want to add tags to. ----- * 'attrTags'+-- * 'attrTags' - The key-value pair that represents the tag you want to add to the resource. The value can be an empty string. addTagsToResource :: Text -- ^ 'attrResourceARN' -> AddTagsToResource@@ -80,8 +90,6 @@ attrResourceARN = lens _attrResourceARN (\ s a -> s{_attrResourceARN = a}); -- | The key-value pair that represents the tag you want to add to the resource. The value can be an empty string.------ Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : \/ \'. attrTags :: Lens' AddTagsToResource [Tag] attrTags = lens _attrTags (\ s a -> s{_attrTags = a}) . _Coerce; @@ -123,6 +131,8 @@ -- | AddTagsToResourceOutput --+--+-- -- /See:/ 'addTagsToResourceResponse' smart constructor. data AddTagsToResourceResponse = AddTagsToResourceResponse' { _attrrsResourceARN :: !(Maybe Text)@@ -133,9 +143,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'attrrsResourceARN'+-- * 'attrrsResourceARN' - The Amazon Resource Name (ARN) of the resource you want to add tags to. ----- * 'attrrsResponseStatus'+-- * 'attrrsResponseStatus' - -- | The response status code. addTagsToResourceResponse :: Int -- ^ 'attrrsResponseStatus' -> AddTagsToResourceResponse@@ -149,7 +159,7 @@ attrrsResourceARN :: Lens' AddTagsToResourceResponse (Maybe Text) attrrsResourceARN = lens _attrrsResourceARN (\ s a -> s{_attrrsResourceARN = a}); --- | The response status code.+-- | -- | The response status code. attrrsResponseStatus :: Lens' AddTagsToResourceResponse Int attrrsResponseStatus = lens _attrrsResponseStatus (\ s a -> s{_attrrsResponseStatus = a});
gen/Network/AWS/StorageGateway/AddUploadBuffer.hs view
@@ -20,7 +20,9 @@ -- -- Configures one or more gateway local disks as upload buffer for a specified gateway. This operation is supported for both the gateway-stored and gateway-cached volume architectures. --+-- -- In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to add upload buffer, and one or more disk IDs that you want to configure as upload buffer.+-- module Network.AWS.StorageGateway.AddUploadBuffer ( -- * Creating a Request@@ -55,9 +57,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aubGatewayARN'+-- * 'aubGatewayARN' - Undocumented member. ----- * 'aubDiskIds'+-- * 'aubDiskIds' - Undocumented member. addUploadBuffer :: Text -- ^ 'aubGatewayARN' -> AddUploadBuffer@@ -121,9 +123,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aubrsGatewayARN'+-- * 'aubrsGatewayARN' - Undocumented member. ----- * 'aubrsResponseStatus'+-- * 'aubrsResponseStatus' - -- | The response status code. addUploadBufferResponse :: Int -- ^ 'aubrsResponseStatus' -> AddUploadBufferResponse@@ -137,7 +139,7 @@ aubrsGatewayARN :: Lens' AddUploadBufferResponse (Maybe Text) aubrsGatewayARN = lens _aubrsGatewayARN (\ s a -> s{_aubrsGatewayARN = a}); --- | The response status code.+-- | -- | The response status code. aubrsResponseStatus :: Lens' AddUploadBufferResponse Int aubrsResponseStatus = lens _aubrsResponseStatus (\ s a -> s{_aubrsResponseStatus = a});
gen/Network/AWS/StorageGateway/AddWorkingStorage.hs view
@@ -18,11 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Configures one or more gateway local disks as working storage for a gateway. This operation is supported only for the gateway-stored volume architecture. This operation is deprecated in cached-volumes API version 20120630. Use < AddUploadBuffer> instead.+-- Configures one or more gateway local disks as working storage for a gateway. This operation is supported only for the gateway-stored volume architecture. This operation is deprecated in cached-volumes API version 20120630. Use 'AddUploadBuffer' instead. ----- Working storage is also referred to as upload buffer. You can also use the < AddUploadBuffer> operation to add upload buffer to a stored-volume gateway. -- -- In the request, you specify the gateway Amazon Resource Name (ARN) to which you want to add working storage, and one or more disk IDs that you want to configure as working storage.+-- module Network.AWS.StorageGateway.AddWorkingStorage ( -- * Creating a Request@@ -49,9 +49,12 @@ -- | A JSON object containing one or more of the following fields: ----- - < AddWorkingStorageInput>DiskIds> --+-- * 'AddWorkingStorageInput$DiskIds' --+--+--+-- -- /See:/ 'addWorkingStorage' smart constructor. data AddWorkingStorage = AddWorkingStorage' { _awsGatewayARN :: !Text@@ -62,9 +65,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'awsGatewayARN'+-- * 'awsGatewayARN' - Undocumented member. ----- * 'awsDiskIds'+-- * 'awsDiskIds' - An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the 'ListLocalDisks' API. addWorkingStorage :: Text -- ^ 'awsGatewayARN' -> AddWorkingStorage@@ -78,7 +81,7 @@ awsGatewayARN :: Lens' AddWorkingStorage Text awsGatewayARN = lens _awsGatewayARN (\ s a -> s{_awsGatewayARN = a}); --- | An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the < ListLocalDisks> API.+-- | An array of strings that identify disks that are to be configured as working storage. Each string have a minimum length of 1 and maximum length of 300. You can get the disk IDs from the 'ListLocalDisks' API. awsDiskIds :: Lens' AddWorkingStorage [Text] awsDiskIds = lens _awsDiskIds (\ s a -> s{_awsDiskIds = a}) . _Coerce; @@ -120,6 +123,8 @@ -- | A JSON object containing the of the gateway for which working storage was configured. --+--+-- -- /See:/ 'addWorkingStorageResponse' smart constructor. data AddWorkingStorageResponse = AddWorkingStorageResponse' { _awsrsGatewayARN :: !(Maybe Text)@@ -130,9 +135,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'awsrsGatewayARN'+-- * 'awsrsGatewayARN' - Undocumented member. ----- * 'awsrsResponseStatus'+-- * 'awsrsResponseStatus' - -- | The response status code. addWorkingStorageResponse :: Int -- ^ 'awsrsResponseStatus' -> AddWorkingStorageResponse@@ -146,7 +151,7 @@ awsrsGatewayARN :: Lens' AddWorkingStorageResponse (Maybe Text) awsrsGatewayARN = lens _awsrsGatewayARN (\ s a -> s{_awsrsGatewayARN = a}); --- | The response status code.+-- | -- | The response status code. awsrsResponseStatus :: Lens' AddWorkingStorageResponse Int awsrsResponseStatus = lens _awsrsResponseStatus (\ s a -> s{_awsrsResponseStatus = a});
gen/Network/AWS/StorageGateway/CancelArchival.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is initiated.+--+-- module Network.AWS.StorageGateway.CancelArchival ( -- * Creating a Request@@ -45,6 +47,8 @@ -- | CancelArchivalInput --+--+-- -- /See:/ 'cancelArchival' smart constructor. data CancelArchival = CancelArchival' { _caGatewayARN :: !Text@@ -55,9 +59,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'caGatewayARN'+-- * 'caGatewayARN' - Undocumented member. ----- * 'caTapeARN'+-- * 'caTapeARN' - The Amazon Resource Name (ARN) of the virtual tape you want to cancel archiving for. cancelArchival :: Text -- ^ 'caGatewayARN' -> Text -- ^ 'caTapeARN'@@ -114,6 +118,8 @@ -- | CancelArchivalOutput --+--+-- -- /See:/ 'cancelArchivalResponse' smart constructor. data CancelArchivalResponse = CancelArchivalResponse' { _carsTapeARN :: !(Maybe Text)@@ -124,9 +130,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'carsTapeARN'+-- * 'carsTapeARN' - The Amazon Resource Name (ARN) of the virtual tape for which archiving was canceled. ----- * 'carsResponseStatus'+-- * 'carsResponseStatus' - -- | The response status code. cancelArchivalResponse :: Int -- ^ 'carsResponseStatus' -> CancelArchivalResponse@@ -140,7 +146,7 @@ carsTapeARN :: Lens' CancelArchivalResponse (Maybe Text) carsTapeARN = lens _carsTapeARN (\ s a -> s{_carsTapeARN = a}); --- | The response status code.+-- | -- | The response status code. carsResponseStatus :: Lens' CancelArchivalResponse Int carsResponseStatus = lens _carsResponseStatus (\ s a -> s{_carsResponseStatus = a});
gen/Network/AWS/StorageGateway/CancelRetrieval.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Cancels retrieval of a virtual tape from the virtual tape shelf (VTS) to a gateway after the retrieval process is initiated. The virtual tape is returned to the VTS.+--+-- module Network.AWS.StorageGateway.CancelRetrieval ( -- * Creating a Request@@ -45,6 +47,8 @@ -- | CancelRetrievalInput --+--+-- -- /See:/ 'cancelRetrieval' smart constructor. data CancelRetrieval = CancelRetrieval' { _crGatewayARN :: !Text@@ -55,9 +59,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'crGatewayARN'+-- * 'crGatewayARN' - Undocumented member. ----- * 'crTapeARN'+-- * 'crTapeARN' - The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval for. cancelRetrieval :: Text -- ^ 'crGatewayARN' -> Text -- ^ 'crTapeARN'@@ -114,6 +118,8 @@ -- | CancelRetrievalOutput --+--+-- -- /See:/ 'cancelRetrievalResponse' smart constructor. data CancelRetrievalResponse = CancelRetrievalResponse' { _crrsTapeARN :: !(Maybe Text)@@ -124,9 +130,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'crrsTapeARN'+-- * 'crrsTapeARN' - The Amazon Resource Name (ARN) of the virtual tape for which retrieval was canceled. ----- * 'crrsResponseStatus'+-- * 'crrsResponseStatus' - -- | The response status code. cancelRetrievalResponse :: Int -- ^ 'crrsResponseStatus' -> CancelRetrievalResponse@@ -140,7 +146,7 @@ crrsTapeARN :: Lens' CancelRetrievalResponse (Maybe Text) crrsTapeARN = lens _crrsTapeARN (\ s a -> s{_crrsTapeARN = a}); --- | The response status code.+-- | -- | The response status code. crrsResponseStatus :: Lens' CancelRetrievalResponse Int crrsResponseStatus = lens _crrsResponseStatus (\ s a -> s{_crrsResponseStatus = a});
gen/Network/AWS/StorageGateway/CreateCachediSCSIVolume.hs view
@@ -20,9 +20,9 @@ -- -- Creates a cached volume on a specified cached gateway. This operation is supported only for the gateway-cached volume architecture. ----- Cache storage must be allocated to the gateway before you can create a cached volume. Use the < AddCache> operation to add cache storage to a gateway. -- -- In the request, you must specify the gateway, size of the volume in bytes, the iSCSI target name, an IP address on which to expose the target, and a unique client token. In response, AWS Storage Gateway creates the volume and returns information about it such as the volume Amazon Resource Name (ARN), its size, and the iSCSI target ARN that initiators can use to connect to the volume target.+-- module Network.AWS.StorageGateway.CreateCachediSCSIVolume ( -- * Creating a Request@@ -66,17 +66,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ccscsivSnapshotId'+-- * 'ccscsivSnapshotId' - Undocumented member. ----- * 'ccscsivGatewayARN'+-- * 'ccscsivGatewayARN' - Undocumented member. ----- * 'ccscsivVolumeSizeInBytes'+-- * 'ccscsivVolumeSizeInBytes' - Undocumented member. ----- * 'ccscsivTargetName'+-- * 'ccscsivTargetName' - Undocumented member. ----- * 'ccscsivNetworkInterfaceId'+-- * 'ccscsivNetworkInterfaceId' - Undocumented member. ----- * 'ccscsivClientToken'+-- * 'ccscsivClientToken' - Undocumented member. createCachediSCSIVolume :: Text -- ^ 'ccscsivGatewayARN' -> Integer -- ^ 'ccscsivVolumeSizeInBytes'@@ -173,11 +173,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ccscsivrsTargetARN'+-- * 'ccscsivrsTargetARN' - Undocumented member. ----- * 'ccscsivrsVolumeARN'+-- * 'ccscsivrsVolumeARN' - Undocumented member. ----- * 'ccscsivrsResponseStatus'+-- * 'ccscsivrsResponseStatus' - -- | The response status code. createCachediSCSIVolumeResponse :: Int -- ^ 'ccscsivrsResponseStatus' -> CreateCachediSCSIVolumeResponse@@ -196,7 +196,7 @@ ccscsivrsVolumeARN :: Lens' CreateCachediSCSIVolumeResponse (Maybe Text) ccscsivrsVolumeARN = lens _ccscsivrsVolumeARN (\ s a -> s{_ccscsivrsVolumeARN = a}); --- | The response status code.+-- | -- | The response status code. ccscsivrsResponseStatus :: Lens' CreateCachediSCSIVolumeResponse Int ccscsivrsResponseStatus = lens _ccscsivrsResponseStatus (\ s a -> s{_ccscsivrsResponseStatus = a});
gen/Network/AWS/StorageGateway/CreateSnapshot.hs view
@@ -20,13 +20,13 @@ -- -- Initiates a snapshot of a volume. ----- AWS Storage Gateway provides the ability to back up point-in-time snapshots of your data to Amazon Simple Storage (S3) for durable off-site recovery, as well as import the data to an Amazon Elastic Block Store (EBS) volume in Amazon Elastic Compute Cloud (EC2). You can take snapshots of your gateway volume on a scheduled or ad-hoc basis. This API enables you to take ad-hoc snapshot. For more information, see <http://docs.aws.amazon.com/storagegateway/latest/userguide/WorkingWithSnapshots.html Working With Snapshots in the AWS Storage Gateway Console>. --+-- AWS Storage Gateway provides the ability to back up point-in-time snapshots of your data to Amazon Simple Storage (S3) for durable off-site recovery, as well as import the data to an Amazon Elastic Block Store (EBS) volume in Amazon Elastic Compute Cloud (EC2). You can take snapshots of your gateway volume on a scheduled or ad-hoc basis. This API enables you to take ad-hoc snapshot. For more information, see <http://docs.aws.amazon.com/storagegateway/latest/userguide/WorkingWithSnapshots.html Working With Snapshots in the AWS Storage Gateway Console> .+-- -- In the CreateSnapshot request you identify the volume by providing its Amazon Resource Name (ARN). You must also provide description for the snapshot. When AWS Storage Gateway takes the snapshot of specified volume, the snapshot and description appears in the AWS Storage Gateway Console. In response, AWS Storage Gateway returns you a snapshot ID. You can use this snapshot ID to check the snapshot progress or later use it when you want to create a volume from a snapshot. ----- To list or delete a snapshot, you must use the Amazon EC2 API. For more information, see DescribeSnapshots or DeleteSnapshot in the <http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Operations.html EC2 API reference>.+-- /Important:/ Volume and snapshot IDs are changing to a longer length ID format. For more information, see the important note on the <http://docs.aws.amazon.com/storagegateway/latest/APIReference/Welcome.html Welcome> page. ----- Volume and snapshot IDs are changing to a longer length ID format. For more information, see the important note on the <http://docs.aws.amazon.com/storagegateway/latest/APIReference/Welcome.html Welcome> page. module Network.AWS.StorageGateway.CreateSnapshot ( -- * Creating a Request@@ -54,11 +54,14 @@ -- | A JSON object containing one or more of the following fields: ----- - < CreateSnapshotInput>SnapshotDescription> ----- - < CreateSnapshotInput>VolumeARN>+-- * 'CreateSnapshotInput$SnapshotDescription' --+-- * 'CreateSnapshotInput$VolumeARN' --+--+--+-- -- /See:/ 'createSnapshot' smart constructor. data CreateSnapshot = CreateSnapshot' { _csVolumeARN :: !Text@@ -69,9 +72,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'csVolumeARN'+-- * 'csVolumeARN' - The Amazon Resource Name (ARN) of the volume. Use the 'ListVolumes' operation to return a list of gateway volumes. ----- * 'csSnapshotDescription'+-- * 'csSnapshotDescription' - Textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the __Description__ field, and in the AWS Storage Gateway snapshot __Details__ pane, __Description__ field createSnapshot :: Text -- ^ 'csVolumeARN' -> Text -- ^ 'csSnapshotDescription'@@ -82,7 +85,7 @@ , _csSnapshotDescription = pSnapshotDescription_ } --- | The Amazon Resource Name (ARN) of the volume. Use the < ListVolumes> operation to return a list of gateway volumes.+-- | The Amazon Resource Name (ARN) of the volume. Use the 'ListVolumes' operation to return a list of gateway volumes. csVolumeARN :: Lens' CreateSnapshot Text csVolumeARN = lens _csVolumeARN (\ s a -> s{_csVolumeARN = a}); @@ -130,6 +133,8 @@ -- | A JSON object containing the following fields: --+--+-- -- /See:/ 'createSnapshotResponse' smart constructor. data CreateSnapshotResponse = CreateSnapshotResponse' { _csrsVolumeARN :: !(Maybe Text)@@ -141,11 +146,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'csrsVolumeARN'+-- * 'csrsVolumeARN' - The Amazon Resource Name (ARN) of the volume of which the snapshot was taken. ----- * 'csrsSnapshotId'+-- * 'csrsSnapshotId' - The snapshot ID that is used to refer to the snapshot in future operations such as describing snapshots (Amazon Elastic Compute Cloud API @DescribeSnapshots@ ) or creating a volume from a snapshot ('CreateStorediSCSIVolume' ). ----- * 'csrsResponseStatus'+-- * 'csrsResponseStatus' - -- | The response status code. createSnapshotResponse :: Int -- ^ 'csrsResponseStatus' -> CreateSnapshotResponse@@ -160,11 +165,11 @@ csrsVolumeARN :: Lens' CreateSnapshotResponse (Maybe Text) csrsVolumeARN = lens _csrsVolumeARN (\ s a -> s{_csrsVolumeARN = a}); --- | The snapshot ID that is used to refer to the snapshot in future operations such as describing snapshots (Amazon Elastic Compute Cloud API 'DescribeSnapshots') or creating a volume from a snapshot (< CreateStorediSCSIVolume>).+-- | The snapshot ID that is used to refer to the snapshot in future operations such as describing snapshots (Amazon Elastic Compute Cloud API @DescribeSnapshots@ ) or creating a volume from a snapshot ('CreateStorediSCSIVolume' ). csrsSnapshotId :: Lens' CreateSnapshotResponse (Maybe Text) csrsSnapshotId = lens _csrsSnapshotId (\ s a -> s{_csrsSnapshotId = a}); --- | The response status code.+-- | -- | The response status code. csrsResponseStatus :: Lens' CreateSnapshotResponse Int csrsResponseStatus = lens _csrsResponseStatus (\ s a -> s{_csrsResponseStatus = a});
gen/Network/AWS/StorageGateway/CreateSnapshotFromVolumeRecoveryPoint.hs view
@@ -20,11 +20,11 @@ -- -- Initiates a snapshot of a gateway from a volume recovery point. This operation is supported only for the gateway-cached volume architecture. ----- A volume recovery point is a point in time at which all data of the volume is consistent and from which you can create a snapshot. To get a list of volume recovery point for gateway-cached volumes, use < ListVolumeRecoveryPoints>. ----- In the 'CreateSnapshotFromVolumeRecoveryPoint' request, you identify the volume by providing its Amazon Resource Name (ARN). You must also provide a description for the snapshot. When AWS Storage Gateway takes a snapshot of the specified volume, the snapshot and its description appear in the AWS Storage Gateway console. In response, AWS Storage Gateway returns you a snapshot ID. You can use this snapshot ID to check the snapshot progress or later use it when you want to create a volume from a snapshot.+-- A volume recovery point is a point in time at which all data of the volume is consistent and from which you can create a snapshot. To get a list of volume recovery point for gateway-cached volumes, use 'ListVolumeRecoveryPoints' . ----- To list or delete a snapshot, you must use the Amazon EC2 API. For more information, in /Amazon Elastic Compute Cloud API Reference/.+-- In the @CreateSnapshotFromVolumeRecoveryPoint@ request, you identify the volume by providing its Amazon Resource Name (ARN). You must also provide a description for the snapshot. When AWS Storage Gateway takes a snapshot of the specified volume, the snapshot and its description appear in the AWS Storage Gateway console. In response, AWS Storage Gateway returns you a snapshot ID. You can use this snapshot ID to check the snapshot progress or later use it when you want to create a volume from a snapshot.+-- module Network.AWS.StorageGateway.CreateSnapshotFromVolumeRecoveryPoint ( -- * Creating a Request@@ -61,9 +61,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'csfvrpVolumeARN'+-- * 'csfvrpVolumeARN' - Undocumented member. ----- * 'csfvrpSnapshotDescription'+-- * 'csfvrpSnapshotDescription' - Undocumented member. createSnapshotFromVolumeRecoveryPoint :: Text -- ^ 'csfvrpVolumeARN' -> Text -- ^ 'csfvrpSnapshotDescription'@@ -142,13 +142,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'csfvrprsVolumeRecoveryPointTime'+-- * 'csfvrprsVolumeRecoveryPointTime' - Undocumented member. ----- * 'csfvrprsVolumeARN'+-- * 'csfvrprsVolumeARN' - Undocumented member. ----- * 'csfvrprsSnapshotId'+-- * 'csfvrprsSnapshotId' - Undocumented member. ----- * 'csfvrprsResponseStatus'+-- * 'csfvrprsResponseStatus' - -- | The response status code. createSnapshotFromVolumeRecoveryPointResponse :: Int -- ^ 'csfvrprsResponseStatus' -> CreateSnapshotFromVolumeRecoveryPointResponse@@ -172,7 +172,7 @@ csfvrprsSnapshotId :: Lens' CreateSnapshotFromVolumeRecoveryPointResponse (Maybe Text) csfvrprsSnapshotId = lens _csfvrprsSnapshotId (\ s a -> s{_csfvrprsSnapshotId = a}); --- | The response status code.+-- | -- | The response status code. csfvrprsResponseStatus :: Lens' CreateSnapshotFromVolumeRecoveryPointResponse Int csfvrprsResponseStatus = lens _csfvrprsResponseStatus (\ s a -> s{_csfvrprsResponseStatus = a});
gen/Network/AWS/StorageGateway/CreateStorediSCSIVolume.hs view
@@ -20,9 +20,11 @@ -- -- Creates a volume on a specified gateway. This operation is supported only for the gateway-stored volume architecture. --+-- -- The size of the volume to create is inferred from the disk size. You can choose to preserve existing data on the disk, create volume from an existing snapshot, or create an empty volume. If you choose to create an empty gateway volume, then any existing data on the disk is erased. -- -- In the request you must specify the gateway and the disk information on which you are creating the volume. In response, AWS Storage Gateway creates the volume and returns volume information such as the volume Amazon Resource Name (ARN), its size, and the iSCSI target ARN that initiators can use to connect to the volume target.+-- module Network.AWS.StorageGateway.CreateStorediSCSIVolume ( -- * Creating a Request@@ -55,17 +57,20 @@ -- | A JSON object containing one or more of the following fields: ----- - < CreateStorediSCSIVolumeInput>DiskId> ----- - < CreateStorediSCSIVolumeInput>NetworkInterfaceId>+-- * 'CreateStorediSCSIVolumeInput$DiskId' ----- - < CreateStorediSCSIVolumeInput>PreserveExistingData>+-- * 'CreateStorediSCSIVolumeInput$NetworkInterfaceId' ----- - < CreateStorediSCSIVolumeInput>SnapshotId>+-- * 'CreateStorediSCSIVolumeInput$PreserveExistingData' ----- - < CreateStorediSCSIVolumeInput>TargetName>+-- * 'CreateStorediSCSIVolumeInput$SnapshotId' --+-- * 'CreateStorediSCSIVolumeInput$TargetName' --+--+--+-- -- /See:/ 'createStorediSCSIVolume' smart constructor. data CreateStorediSCSIVolume = CreateStorediSCSIVolume' { _csscsivSnapshotId :: !(Maybe Text)@@ -80,17 +85,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'csscsivSnapshotId'+-- * 'csscsivSnapshotId' - The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the new stored volume. Specify this field if you want to create the iSCSI storage volume from a snapshot otherwise do not include this field. To list snapshots for your account use <http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSnapshots.html DescribeSnapshots> in the /Amazon Elastic Compute Cloud API Reference/ . ----- * 'csscsivGatewayARN'+-- * 'csscsivGatewayARN' - Undocumented member. ----- * 'csscsivDiskId'+-- * 'csscsivDiskId' - The unique identifier for the gateway local disk that is configured as a stored volume. Use <http://docs.aws.amazon.com/storagegateway/latest/userguide/API_ListLocalDisks.html ListLocalDisks> to list disk IDs for a gateway. ----- * 'csscsivPreserveExistingData'+-- * 'csscsivPreserveExistingData' - Specify this field as true if you want to preserve the data on the local disk. Otherwise, specifying this field as false creates an empty volume. Valid Values: true, false ----- * 'csscsivTargetName'+-- * 'csscsivTargetName' - The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. For example, specifying @TargetName@ as /myvolume/ results in the target ARN of arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. The target name must be unique across all volumes of a gateway. ----- * 'csscsivNetworkInterfaceId'+-- * 'csscsivNetworkInterfaceId' - The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. Use 'DescribeGatewayInformation' to get a list of the network interfaces available on a gateway. Valid Values: A valid IP address. createStorediSCSIVolume :: Text -- ^ 'csscsivGatewayARN' -> Text -- ^ 'csscsivDiskId'@@ -108,7 +113,7 @@ , _csscsivNetworkInterfaceId = pNetworkInterfaceId_ } --- | The snapshot ID (e.g. \"snap-1122aabb\") of the snapshot to restore as the new stored volume. Specify this field if you want to create the iSCSI storage volume from a snapshot otherwise do not include this field. To list snapshots for your account use <http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSnapshots.html DescribeSnapshots> in the /Amazon Elastic Compute Cloud API Reference/.+-- | The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the new stored volume. Specify this field if you want to create the iSCSI storage volume from a snapshot otherwise do not include this field. To list snapshots for your account use <http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSnapshots.html DescribeSnapshots> in the /Amazon Elastic Compute Cloud API Reference/ . csscsivSnapshotId :: Lens' CreateStorediSCSIVolume (Maybe Text) csscsivSnapshotId = lens _csscsivSnapshotId (\ s a -> s{_csscsivSnapshotId = a}); @@ -120,19 +125,15 @@ csscsivDiskId :: Lens' CreateStorediSCSIVolume Text csscsivDiskId = lens _csscsivDiskId (\ s a -> s{_csscsivDiskId = a}); --- | Specify this field as true if you want to preserve the data on the local disk. Otherwise, specifying this field as false creates an empty volume.------ Valid Values: true, false+-- | Specify this field as true if you want to preserve the data on the local disk. Otherwise, specifying this field as false creates an empty volume. Valid Values: true, false csscsivPreserveExistingData :: Lens' CreateStorediSCSIVolume Bool csscsivPreserveExistingData = lens _csscsivPreserveExistingData (\ s a -> s{_csscsivPreserveExistingData = a}); --- | The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. For example, specifying 'TargetName' as /myvolume/ results in the target ARN of arn:aws:storagegateway:us-east-1:111122223333:gateway\/sgw-12A3456B\/target\/iqn.1997-05.com.amazon:myvolume. The target name must be unique across all volumes of a gateway.+-- | The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. For example, specifying @TargetName@ as /myvolume/ results in the target ARN of arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. The target name must be unique across all volumes of a gateway. csscsivTargetName :: Lens' CreateStorediSCSIVolume Text csscsivTargetName = lens _csscsivTargetName (\ s a -> s{_csscsivTargetName = a}); --- | The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. Use < DescribeGatewayInformation> to get a list of the network interfaces available on a gateway.------ Valid Values: A valid IP address.+-- | The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. Use 'DescribeGatewayInformation' to get a list of the network interfaces available on a gateway. Valid Values: A valid IP address. csscsivNetworkInterfaceId :: Lens' CreateStorediSCSIVolume Text csscsivNetworkInterfaceId = lens _csscsivNetworkInterfaceId (\ s a -> s{_csscsivNetworkInterfaceId = a}); @@ -185,6 +186,8 @@ -- | A JSON object containing the following fields: --+--+-- -- /See:/ 'createStorediSCSIVolumeResponse' smart constructor. data CreateStorediSCSIVolumeResponse = CreateStorediSCSIVolumeResponse' { _csscsivrsTargetARN :: !(Maybe Text)@@ -197,13 +200,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'csscsivrsTargetARN'+-- * 'csscsivrsTargetARN' - he Amazon Resource Name (ARN) of the volume target that includes the iSCSI name that initiators can use to connect to the target. ----- * 'csscsivrsVolumeARN'+-- * 'csscsivrsVolumeARN' - The Amazon Resource Name (ARN) of the configured volume. ----- * 'csscsivrsVolumeSizeInBytes'+-- * 'csscsivrsVolumeSizeInBytes' - The size of the volume in bytes. ----- * 'csscsivrsResponseStatus'+-- * 'csscsivrsResponseStatus' - -- | The response status code. createStorediSCSIVolumeResponse :: Int -- ^ 'csscsivrsResponseStatus' -> CreateStorediSCSIVolumeResponse@@ -227,7 +230,7 @@ csscsivrsVolumeSizeInBytes :: Lens' CreateStorediSCSIVolumeResponse (Maybe Integer) csscsivrsVolumeSizeInBytes = lens _csscsivrsVolumeSizeInBytes (\ s a -> s{_csscsivrsVolumeSizeInBytes = a}); --- | The response status code.+-- | -- | The response status code. csscsivrsResponseStatus :: Lens' CreateStorediSCSIVolumeResponse Int csscsivrsResponseStatus = lens _csscsivrsResponseStatus (\ s a -> s{_csscsivrsResponseStatus = a});
gen/Network/AWS/StorageGateway/CreateTapeWithBarcode.hs view
@@ -20,7 +20,7 @@ -- -- Creates a virtual tape by using your own barcode. You write data to the virtual tape and then archive the tape. ----- Cache storage must be allocated to the gateway before you can create a virtual tape. Use the < AddCache> operation to add cache storage to a gateway.+-- module Network.AWS.StorageGateway.CreateTapeWithBarcode ( -- * Creating a Request@@ -48,6 +48,8 @@ -- | CreateTapeWithBarcodeInput --+--+-- -- /See:/ 'createTapeWithBarcode' smart constructor. data CreateTapeWithBarcode = CreateTapeWithBarcode' { _ctwbGatewayARN :: !Text@@ -59,11 +61,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ctwbGatewayARN'+-- * 'ctwbGatewayARN' - The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape with. Use the 'ListGateways' operation to return a list of gateways for your account and region. ----- * 'ctwbTapeSizeInBytes'+-- * 'ctwbTapeSizeInBytes' - The size, in bytes, of the virtual tape that you want to create. ----- * 'ctwbTapeBarcode'+-- * 'ctwbTapeBarcode' - The barcode that you want to assign to the tape. createTapeWithBarcode :: Text -- ^ 'ctwbGatewayARN' -> Integer -- ^ 'ctwbTapeSizeInBytes'@@ -76,13 +78,11 @@ , _ctwbTapeBarcode = pTapeBarcode_ } --- | The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape with. Use the < ListGateways> operation to return a list of gateways for your account and region.+-- | The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tape with. Use the 'ListGateways' operation to return a list of gateways for your account and region. ctwbGatewayARN :: Lens' CreateTapeWithBarcode Text ctwbGatewayARN = lens _ctwbGatewayARN (\ s a -> s{_ctwbGatewayARN = a}); -- | The size, in bytes, of the virtual tape that you want to create.------ The size must be aligned by gigabyte (1024*1024*1024 byte). ctwbTapeSizeInBytes :: Lens' CreateTapeWithBarcode Integer ctwbTapeSizeInBytes = lens _ctwbTapeSizeInBytes (\ s a -> s{_ctwbTapeSizeInBytes = a}); @@ -130,6 +130,8 @@ -- | CreateTapeOutput --+--+-- -- /See:/ 'createTapeWithBarcodeResponse' smart constructor. data CreateTapeWithBarcodeResponse = CreateTapeWithBarcodeResponse' { _ctwbrsTapeARN :: !(Maybe Text)@@ -140,9 +142,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ctwbrsTapeARN'+-- * 'ctwbrsTapeARN' - A unique Amazon Resource Name (ARN) that represents the virtual tape that was created. ----- * 'ctwbrsResponseStatus'+-- * 'ctwbrsResponseStatus' - -- | The response status code. createTapeWithBarcodeResponse :: Int -- ^ 'ctwbrsResponseStatus' -> CreateTapeWithBarcodeResponse@@ -156,7 +158,7 @@ ctwbrsTapeARN :: Lens' CreateTapeWithBarcodeResponse (Maybe Text) ctwbrsTapeARN = lens _ctwbrsTapeARN (\ s a -> s{_ctwbrsTapeARN = a}); --- | The response status code.+-- | -- | The response status code. ctwbrsResponseStatus :: Lens' CreateTapeWithBarcodeResponse Int ctwbrsResponseStatus = lens _ctwbrsResponseStatus (\ s a -> s{_ctwbrsResponseStatus = a});
gen/Network/AWS/StorageGateway/CreateTapes.hs view
@@ -20,7 +20,7 @@ -- -- Creates one or more virtual tapes. You write data to the virtual tapes and then archive the tapes. ----- Cache storage must be allocated to the gateway before you can create virtual tapes. Use the < AddCache> operation to add cache storage to a gateway.+-- module Network.AWS.StorageGateway.CreateTapes ( -- * Creating a Request@@ -50,6 +50,8 @@ -- | CreateTapesInput --+--+-- -- /See:/ 'createTapes' smart constructor. data CreateTapes = CreateTapes' { _ctGatewayARN :: !Text@@ -63,15 +65,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ctGatewayARN'+-- * 'ctGatewayARN' - The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with. Use the 'ListGateways' operation to return a list of gateways for your account and region. ----- * 'ctTapeSizeInBytes'+-- * 'ctTapeSizeInBytes' - The size, in bytes, of the virtual tapes that you want to create. ----- * 'ctClientToken'+-- * 'ctClientToken' - A unique identifier that you use to retry a request. If you retry a request, use the same @ClientToken@ you specified in the initial request. ----- * 'ctNumTapesToCreate'+-- * 'ctNumTapesToCreate' - The number of virtual tapes that you want to create. ----- * 'ctTapeBarcodePrefix'+-- * 'ctTapeBarcodePrefix' - A prefix that you append to the barcode of the virtual tape you are creating. This prefix makes the barcode unique. createTapes :: Text -- ^ 'ctGatewayARN' -> Integer -- ^ 'ctTapeSizeInBytes'@@ -88,19 +90,15 @@ , _ctTapeBarcodePrefix = pTapeBarcodePrefix_ } --- | The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with. Use the < ListGateways> operation to return a list of gateways for your account and region.+-- | The unique Amazon Resource Name (ARN) that represents the gateway to associate the virtual tapes with. Use the 'ListGateways' operation to return a list of gateways for your account and region. ctGatewayARN :: Lens' CreateTapes Text ctGatewayARN = lens _ctGatewayARN (\ s a -> s{_ctGatewayARN = a}); -- | The size, in bytes, of the virtual tapes that you want to create.------ The size must be aligned by gigabyte (1024*1024*1024 byte). ctTapeSizeInBytes :: Lens' CreateTapes Integer ctTapeSizeInBytes = lens _ctTapeSizeInBytes (\ s a -> s{_ctTapeSizeInBytes = a}); --- | A unique identifier that you use to retry a request. If you retry a request, use the same 'ClientToken' you specified in the initial request.------ Using the same 'ClientToken' prevents creating the tape multiple times.+-- | A unique identifier that you use to retry a request. If you retry a request, use the same @ClientToken@ you specified in the initial request. ctClientToken :: Lens' CreateTapes Text ctClientToken = lens _ctClientToken (\ s a -> s{_ctClientToken = a}); @@ -109,8 +107,6 @@ ctNumTapesToCreate = lens _ctNumTapesToCreate (\ s a -> s{_ctNumTapesToCreate = a}) . _Nat; -- | A prefix that you append to the barcode of the virtual tape you are creating. This prefix makes the barcode unique.------ The prefix must be 1 to 4 characters in length and must be one of the uppercase letters from A to Z. ctTapeBarcodePrefix :: Lens' CreateTapes Text ctTapeBarcodePrefix = lens _ctTapeBarcodePrefix (\ s a -> s{_ctTapeBarcodePrefix = a}); @@ -156,6 +152,8 @@ -- | CreateTapeOutput --+--+-- -- /See:/ 'createTapesResponse' smart constructor. data CreateTapesResponse = CreateTapesResponse' { _ctrsTapeARNs :: !(Maybe [Text])@@ -166,9 +164,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ctrsTapeARNs'+-- * 'ctrsTapeARNs' - A list of unique Amazon Resource Names (ARNs) that represents the virtual tapes that were created. ----- * 'ctrsResponseStatus'+-- * 'ctrsResponseStatus' - -- | The response status code. createTapesResponse :: Int -- ^ 'ctrsResponseStatus' -> CreateTapesResponse@@ -182,7 +180,7 @@ ctrsTapeARNs :: Lens' CreateTapesResponse [Text] ctrsTapeARNs = lens _ctrsTapeARNs (\ s a -> s{_ctrsTapeARNs = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. ctrsResponseStatus :: Lens' CreateTapesResponse Int ctrsResponseStatus = lens _ctrsResponseStatus (\ s a -> s{_ctrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DeleteBandwidthRateLimit.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Deletes the bandwidth rate limits of a gateway. You can delete either the upload and download bandwidth rate limit, or you can delete both. If you delete only one of the limits, the other limit remains unchanged. To specify which gateway to work with, use the Amazon Resource Name (ARN) of the gateway in your request.+--+-- module Network.AWS.StorageGateway.DeleteBandwidthRateLimit ( -- * Creating a Request@@ -53,9 +55,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dbrlbGatewayARN'+-- * 'dbrlbGatewayARN' - Undocumented member. ----- * 'dbrlbBandwidthType'+-- * 'dbrlbBandwidthType' - Undocumented member. deleteBandwidthRateLimit :: Text -- ^ 'dbrlbGatewayARN' -> Text -- ^ 'dbrlbBandwidthType'@@ -113,6 +115,8 @@ -- | A JSON object containing the of the gateway whose bandwidth rate information was deleted. --+--+-- -- /See:/ 'deleteBandwidthRateLimitResponse' smart constructor. data DeleteBandwidthRateLimitResponse = DeleteBandwidthRateLimitResponse' { _delrsGatewayARN :: !(Maybe Text)@@ -123,9 +127,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'delrsGatewayARN'+-- * 'delrsGatewayARN' - Undocumented member. ----- * 'delrsResponseStatus'+-- * 'delrsResponseStatus' - -- | The response status code. deleteBandwidthRateLimitResponse :: Int -- ^ 'delrsResponseStatus' -> DeleteBandwidthRateLimitResponse@@ -139,7 +143,7 @@ delrsGatewayARN :: Lens' DeleteBandwidthRateLimitResponse (Maybe Text) delrsGatewayARN = lens _delrsGatewayARN (\ s a -> s{_delrsGatewayARN = a}); --- | The response status code.+-- | -- | The response status code. delrsResponseStatus :: Lens' DeleteBandwidthRateLimitResponse Int delrsResponseStatus = lens _delrsResponseStatus (\ s a -> s{_delrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DeleteChapCredentials.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair.+--+-- module Network.AWS.StorageGateway.DeleteChapCredentials ( -- * Creating a Request@@ -46,11 +48,14 @@ -- | A JSON object containing one or more of the following fields: ----- - < DeleteChapCredentialsInput>InitiatorName> ----- - < DeleteChapCredentialsInput>TargetARN>+-- * 'DeleteChapCredentialsInput$InitiatorName' --+-- * 'DeleteChapCredentialsInput$TargetARN' --+--+--+-- -- /See:/ 'deleteChapCredentials' smart constructor. data DeleteChapCredentials = DeleteChapCredentials' { _dTargetARN :: !Text@@ -61,9 +66,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dTargetARN'+-- * 'dTargetARN' - The Amazon Resource Name (ARN) of the iSCSI volume target. Use the 'DescribeStorediSCSIVolumes' operation to return to retrieve the TargetARN for specified VolumeARN. ----- * 'dInitiatorName'+-- * 'dInitiatorName' - The iSCSI initiator that connects to the target. deleteChapCredentials :: Text -- ^ 'dTargetARN' -> Text -- ^ 'dInitiatorName'@@ -74,7 +79,7 @@ , _dInitiatorName = pInitiatorName_ } --- | The Amazon Resource Name (ARN) of the iSCSI volume target. Use the < DescribeStorediSCSIVolumes> operation to return to retrieve the TargetARN for specified VolumeARN.+-- | The Amazon Resource Name (ARN) of the iSCSI volume target. Use the 'DescribeStorediSCSIVolumes' operation to return to retrieve the TargetARN for specified VolumeARN. dTargetARN :: Lens' DeleteChapCredentials Text dTargetARN = lens _dTargetARN (\ s a -> s{_dTargetARN = a}); @@ -122,6 +127,8 @@ -- | A JSON object containing the following fields: --+--+-- -- /See:/ 'deleteChapCredentialsResponse' smart constructor. data DeleteChapCredentialsResponse = DeleteChapCredentialsResponse' { _drsTargetARN :: !(Maybe Text)@@ -133,11 +140,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drsTargetARN'+-- * 'drsTargetARN' - The Amazon Resource Name (ARN) of the target. ----- * 'drsInitiatorName'+-- * 'drsInitiatorName' - The iSCSI initiator that connects to the target. ----- * 'drsResponseStatus'+-- * 'drsResponseStatus' - -- | The response status code. deleteChapCredentialsResponse :: Int -- ^ 'drsResponseStatus' -> DeleteChapCredentialsResponse@@ -156,7 +163,7 @@ drsInitiatorName :: Lens' DeleteChapCredentialsResponse (Maybe Text) drsInitiatorName = lens _drsInitiatorName (\ s a -> s{_drsInitiatorName = a}); --- | The response status code.+-- | -- | The response status code. drsResponseStatus :: Lens' DeleteChapCredentialsResponse Int drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a});
gen/Network/AWS/StorageGateway/DeleteGateway.hs view
@@ -20,9 +20,11 @@ -- -- Deletes a gateway. To specify which gateway to delete, use the Amazon Resource Name (ARN) of the gateway in your request. The operation deletes the gateway; however, it does not delete the gateway virtual machine (VM) from your host computer. --+-- -- After you delete a gateway, you cannot reactivate it. Completed snapshots of the gateway volumes are not deleted upon deleting the gateway, however, pending snapshots will not complete. After you delete a gateway, your next step is to remove it from your environment. ----- You no longer pay software charges after the gateway is deleted; however, your existing Amazon EBS snapshots persist and you will continue to be billed for these snapshots. You can choose to remove all remaining Amazon EBS snapshots by canceling your Amazon EC2 subscription. If you prefer not to cancel your Amazon EC2 subscription, you can delete your snapshots using the Amazon EC2 console. For more information, see the <http://aws.amazon.com/storagegateway AWS Storage Gateway Detail Page>.+-- /Important:/ You no longer pay software charges after the gateway is deleted; however, your existing Amazon EBS snapshots persist and you will continue to be billed for these snapshots. You can choose to remove all remaining Amazon EBS snapshots by canceling your Amazon EC2 subscription. If you prefer not to cancel your Amazon EC2 subscription, you can delete your snapshots using the Amazon EC2 console. For more information, see the <http://aws.amazon.com/storagegateway AWS Storage Gateway Detail Page> .+-- module Network.AWS.StorageGateway.DeleteGateway ( -- * Creating a Request@@ -48,6 +50,8 @@ -- | A JSON object containing the id of the gateway to delete. --+--+-- -- /See:/ 'deleteGateway' smart constructor. newtype DeleteGateway = DeleteGateway' { _dgGatewayARN :: Text@@ -57,7 +61,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dgGatewayARN'+-- * 'dgGatewayARN' - Undocumented member. deleteGateway :: Text -- ^ 'dgGatewayARN' -> DeleteGateway@@ -106,6 +110,8 @@ -- | A JSON object containing the id of the deleted gateway. --+--+-- -- /See:/ 'deleteGatewayResponse' smart constructor. data DeleteGatewayResponse = DeleteGatewayResponse' { _dgrsGatewayARN :: !(Maybe Text)@@ -116,9 +122,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dgrsGatewayARN'+-- * 'dgrsGatewayARN' - Undocumented member. ----- * 'dgrsResponseStatus'+-- * 'dgrsResponseStatus' - -- | The response status code. deleteGatewayResponse :: Int -- ^ 'dgrsResponseStatus' -> DeleteGatewayResponse@@ -132,7 +138,7 @@ dgrsGatewayARN :: Lens' DeleteGatewayResponse (Maybe Text) dgrsGatewayARN = lens _dgrsGatewayARN (\ s a -> s{_dgrsGatewayARN = a}); --- | The response status code.+-- | -- | The response status code. dgrsResponseStatus :: Lens' DeleteGatewayResponse Int dgrsResponseStatus = lens _dgrsResponseStatus (\ s a -> s{_dgrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DeleteSnapshotSchedule.hs view
@@ -20,9 +20,9 @@ -- -- Deletes a snapshot of a volume. ----- You can take snapshots of your gateway volumes on a scheduled or ad hoc basis. This API action enables you to delete a snapshot schedule for a volume. For more information, see <http://docs.aws.amazon.com/storagegateway/latest/userguide/WorkingWithSnapshots.html Working with Snapshots>. In the 'DeleteSnapshotSchedule' request, you identify the volume by providing its Amazon Resource Name (ARN). ----- To list or delete a snapshot, you must use the Amazon EC2 API. in /Amazon Elastic Compute Cloud API Reference/.+-- You can take snapshots of your gateway volumes on a scheduled or ad hoc basis. This API action enables you to delete a snapshot schedule for a volume. For more information, see <http://docs.aws.amazon.com/storagegateway/latest/userguide/WorkingWithSnapshots.html Working with Snapshots> . In the @DeleteSnapshotSchedule@ request, you identify the volume by providing its Amazon Resource Name (ARN).+-- module Network.AWS.StorageGateway.DeleteSnapshotSchedule ( -- * Creating a Request@@ -55,7 +55,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dVolumeARN'+-- * 'dVolumeARN' - Undocumented member. deleteSnapshotSchedule :: Text -- ^ 'dVolumeARN' -> DeleteSnapshotSchedule@@ -113,9 +113,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dsssrsVolumeARN'+-- * 'dsssrsVolumeARN' - Undocumented member. ----- * 'dsssrsResponseStatus'+-- * 'dsssrsResponseStatus' - -- | The response status code. deleteSnapshotScheduleResponse :: Int -- ^ 'dsssrsResponseStatus' -> DeleteSnapshotScheduleResponse@@ -129,7 +129,7 @@ dsssrsVolumeARN :: Lens' DeleteSnapshotScheduleResponse (Maybe Text) dsssrsVolumeARN = lens _dsssrsVolumeARN (\ s a -> s{_dsssrsVolumeARN = a}); --- | The response status code.+-- | -- | The response status code. dsssrsResponseStatus :: Lens' DeleteSnapshotScheduleResponse Int dsssrsResponseStatus = lens _dsssrsResponseStatus (\ s a -> s{_dsssrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DeleteTape.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Deletes the specified virtual tape.+--+-- module Network.AWS.StorageGateway.DeleteTape ( -- * Creating a Request@@ -45,6 +47,8 @@ -- | DeleteTapeInput --+--+-- -- /See:/ 'deleteTape' smart constructor. data DeleteTape = DeleteTape' { _delGatewayARN :: !Text@@ -55,9 +59,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'delGatewayARN'+-- * 'delGatewayARN' - The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the 'ListGateways' operation to return a list of gateways for your account and region. ----- * 'delTapeARN'+-- * 'delTapeARN' - The Amazon Resource Name (ARN) of the virtual tape to delete. deleteTape :: Text -- ^ 'delGatewayARN' -> Text -- ^ 'delTapeARN'@@ -68,7 +72,7 @@ , _delTapeARN = pTapeARN_ } --- | The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the < ListGateways> operation to return a list of gateways for your account and region.+-- | The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the 'ListGateways' operation to return a list of gateways for your account and region. delGatewayARN :: Lens' DeleteTape Text delGatewayARN = lens _delGatewayARN (\ s a -> s{_delGatewayARN = a}); @@ -113,6 +117,8 @@ -- | DeleteTapeOutput --+--+-- -- /See:/ 'deleteTapeResponse' smart constructor. data DeleteTapeResponse = DeleteTapeResponse' { _dtrsTapeARN :: !(Maybe Text)@@ -123,9 +129,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtrsTapeARN'+-- * 'dtrsTapeARN' - The Amazon Resource Name (ARN) of the deleted virtual tape. ----- * 'dtrsResponseStatus'+-- * 'dtrsResponseStatus' - -- | The response status code. deleteTapeResponse :: Int -- ^ 'dtrsResponseStatus' -> DeleteTapeResponse@@ -139,7 +145,7 @@ dtrsTapeARN :: Lens' DeleteTapeResponse (Maybe Text) dtrsTapeARN = lens _dtrsTapeARN (\ s a -> s{_dtrsTapeARN = a}); --- | The response status code.+-- | -- | The response status code. dtrsResponseStatus :: Lens' DeleteTapeResponse Int dtrsResponseStatus = lens _dtrsResponseStatus (\ s a -> s{_dtrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DeleteTapeArchive.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Deletes the specified virtual tape from the virtual tape shelf (VTS).+--+-- module Network.AWS.StorageGateway.DeleteTapeArchive ( -- * Creating a Request@@ -44,6 +46,8 @@ -- | DeleteTapeArchiveInput --+--+-- -- /See:/ 'deleteTapeArchive' smart constructor. newtype DeleteTapeArchive = DeleteTapeArchive' { _dtaTapeARN :: Text@@ -53,7 +57,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtaTapeARN'+-- * 'dtaTapeARN' - The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf (VTS). deleteTapeArchive :: Text -- ^ 'dtaTapeARN' -> DeleteTapeArchive@@ -102,6 +106,8 @@ -- | DeleteTapeArchiveOutput --+--+-- -- /See:/ 'deleteTapeArchiveResponse' smart constructor. data DeleteTapeArchiveResponse = DeleteTapeArchiveResponse' { _dtatrsTapeARN :: !(Maybe Text)@@ -112,9 +118,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtatrsTapeARN'+-- * 'dtatrsTapeARN' - The Amazon Resource Name (ARN) of the virtual tape that was deleted from the virtual tape shelf (VTS). ----- * 'dtatrsResponseStatus'+-- * 'dtatrsResponseStatus' - -- | The response status code. deleteTapeArchiveResponse :: Int -- ^ 'dtatrsResponseStatus' -> DeleteTapeArchiveResponse@@ -128,7 +134,7 @@ dtatrsTapeARN :: Lens' DeleteTapeArchiveResponse (Maybe Text) dtatrsTapeARN = lens _dtatrsTapeARN (\ s a -> s{_dtatrsTapeARN = a}); --- | The response status code.+-- | -- | The response status code. dtatrsResponseStatus :: Lens' DeleteTapeArchiveResponse Int dtatrsResponseStatus = lens _dtatrsResponseStatus (\ s a -> s{_dtatrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DeleteVolume.hs view
@@ -18,11 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the specified gateway volume that you previously created using the < CreateCachediSCSIVolume> or < CreateStorediSCSIVolume> API. For gateway-stored volumes, the local disk that was configured as the storage volume is not deleted. You can reuse the local disk to create another storage volume.+-- Deletes the specified gateway volume that you previously created using the 'CreateCachediSCSIVolume' or 'CreateStorediSCSIVolume' API. For gateway-stored volumes, the local disk that was configured as the storage volume is not deleted. You can reuse the local disk to create another storage volume. ----- Before you delete a gateway volume, make sure there are no iSCSI connections to the volume you are deleting. You should also make sure there is no snapshot in progress. You can use the Amazon Elastic Compute Cloud (Amazon EC2) API to query snapshots on the volume you are deleting and check the snapshot status. For more information, go to <http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSnapshots.html DescribeSnapshots> in the /Amazon Elastic Compute Cloud API Reference/. --+-- Before you delete a gateway volume, make sure there are no iSCSI connections to the volume you are deleting. You should also make sure there is no snapshot in progress. You can use the Amazon Elastic Compute Cloud (Amazon EC2) API to query snapshots on the volume you are deleting and check the snapshot status. For more information, go to <http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSnapshots.html DescribeSnapshots> in the /Amazon Elastic Compute Cloud API Reference/ .+-- -- In the request, you must provide the Amazon Resource Name (ARN) of the storage volume you want to delete.+-- module Network.AWS.StorageGateway.DeleteVolume ( -- * Creating a Request@@ -46,8 +48,10 @@ import Network.AWS.StorageGateway.Types import Network.AWS.StorageGateway.Types.Product --- | A JSON object containing the < DeleteVolumeInput>VolumeARN> to delete.+-- | A JSON object containing the 'DeleteVolumeInput$VolumeARN' to delete. --+--+-- -- /See:/ 'deleteVolume' smart constructor. newtype DeleteVolume = DeleteVolume' { _dvVolumeARN :: Text@@ -57,7 +61,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dvVolumeARN'+-- * 'dvVolumeARN' - The Amazon Resource Name (ARN) of the volume. Use the 'ListVolumes' operation to return a list of gateway volumes. deleteVolume :: Text -- ^ 'dvVolumeARN' -> DeleteVolume@@ -66,7 +70,7 @@ { _dvVolumeARN = pVolumeARN_ } --- | The Amazon Resource Name (ARN) of the volume. Use the < ListVolumes> operation to return a list of gateway volumes.+-- | The Amazon Resource Name (ARN) of the volume. Use the 'ListVolumes' operation to return a list of gateway volumes. dvVolumeARN :: Lens' DeleteVolume Text dvVolumeARN = lens _dvVolumeARN (\ s a -> s{_dvVolumeARN = a}); @@ -106,6 +110,8 @@ -- | A JSON object containing the of the storage volume that was deleted --+--+-- -- /See:/ 'deleteVolumeResponse' smart constructor. data DeleteVolumeResponse = DeleteVolumeResponse' { _dvrsVolumeARN :: !(Maybe Text)@@ -116,9 +122,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dvrsVolumeARN'+-- * 'dvrsVolumeARN' - The Amazon Resource Name (ARN) of the storage volume that was deleted. It is the same ARN you provided in the request. ----- * 'dvrsResponseStatus'+-- * 'dvrsResponseStatus' - -- | The response status code. deleteVolumeResponse :: Int -- ^ 'dvrsResponseStatus' -> DeleteVolumeResponse@@ -132,7 +138,7 @@ dvrsVolumeARN :: Lens' DeleteVolumeResponse (Maybe Text) dvrsVolumeARN = lens _dvrsVolumeARN (\ s a -> s{_dvrsVolumeARN = a}); --- | The response status code.+-- | -- | The response status code. dvrsResponseStatus :: Lens' DeleteVolumeResponse Int dvrsResponseStatus = lens _dvrsResponseStatus (\ s a -> s{_dvrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DescribeBandwidthRateLimit.hs view
@@ -20,7 +20,9 @@ -- -- Returns the bandwidth rate limits of a gateway. By default, these limits are not set, which means no bandwidth rate limiting is in effect. --+-- -- This operation only returns a value for a bandwidth rate limit only if the limit is set. If no limits are set for the gateway, then this operation returns only the gateway ARN in the response body. To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request.+-- module Network.AWS.StorageGateway.DescribeBandwidthRateLimit ( -- * Creating a Request@@ -48,6 +50,8 @@ -- | A JSON object containing the of the gateway. --+--+-- -- /See:/ 'describeBandwidthRateLimit' smart constructor. newtype DescribeBandwidthRateLimit = DescribeBandwidthRateLimit' { _dbrlGatewayARN :: Text@@ -57,7 +61,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dbrlGatewayARN'+-- * 'dbrlGatewayARN' - Undocumented member. describeBandwidthRateLimit :: Text -- ^ 'dbrlGatewayARN' -> DescribeBandwidthRateLimit@@ -110,6 +114,8 @@ -- | A JSON object containing the following fields: --+--+-- -- /See:/ 'describeBandwidthRateLimitResponse' smart constructor. data DescribeBandwidthRateLimitResponse = DescribeBandwidthRateLimitResponse' { _dbrlrsGatewayARN :: !(Maybe Text)@@ -122,13 +128,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dbrlrsGatewayARN'+-- * 'dbrlrsGatewayARN' - Undocumented member. ----- * 'dbrlrsAverageUploadRateLimitInBitsPerSec'+-- * 'dbrlrsAverageUploadRateLimitInBitsPerSec' - The average upload bandwidth rate limit in bits per second. This field does not appear in the response if the upload rate limit is not set. ----- * 'dbrlrsAverageDownloadRateLimitInBitsPerSec'+-- * 'dbrlrsAverageDownloadRateLimitInBitsPerSec' - The average download bandwidth rate limit in bits per second. This field does not appear in the response if the download rate limit is not set. ----- * 'dbrlrsResponseStatus'+-- * 'dbrlrsResponseStatus' - -- | The response status code. describeBandwidthRateLimitResponse :: Int -- ^ 'dbrlrsResponseStatus' -> DescribeBandwidthRateLimitResponse@@ -152,7 +158,7 @@ dbrlrsAverageDownloadRateLimitInBitsPerSec :: Lens' DescribeBandwidthRateLimitResponse (Maybe Natural) dbrlrsAverageDownloadRateLimitInBitsPerSec = lens _dbrlrsAverageDownloadRateLimitInBitsPerSec (\ s a -> s{_dbrlrsAverageDownloadRateLimitInBitsPerSec = a}) . mapping _Nat; --- | The response status code.+-- | -- | The response status code. dbrlrsResponseStatus :: Lens' DescribeBandwidthRateLimitResponse Int dbrlrsResponseStatus = lens _dbrlrsResponseStatus (\ s a -> s{_dbrlrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DescribeCache.hs view
@@ -20,7 +20,9 @@ -- -- Returns information about the cache of a gateway. This operation is supported only for the gateway-cached volume architecture. --+-- -- The response includes disk IDs that are configured as cache, and it includes the amount of cache allocated and used.+-- module Network.AWS.StorageGateway.DescribeCache ( -- * Creating a Request@@ -59,7 +61,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dcGatewayARN'+-- * 'dcGatewayARN' - Undocumented member. describeCache :: Text -- ^ 'dcGatewayARN' -> DescribeCache@@ -128,21 +130,21 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dcrsGatewayARN'+-- * 'dcrsGatewayARN' - Undocumented member. ----- * 'dcrsDiskIds'+-- * 'dcrsDiskIds' - Undocumented member. ----- * 'dcrsCacheUsedPercentage'+-- * 'dcrsCacheUsedPercentage' - Undocumented member. ----- * 'dcrsCacheHitPercentage'+-- * 'dcrsCacheHitPercentage' - Undocumented member. ----- * 'dcrsCacheMissPercentage'+-- * 'dcrsCacheMissPercentage' - Undocumented member. ----- * 'dcrsCacheAllocatedInBytes'+-- * 'dcrsCacheAllocatedInBytes' - Undocumented member. ----- * 'dcrsCacheDirtyPercentage'+-- * 'dcrsCacheDirtyPercentage' - Undocumented member. ----- * 'dcrsResponseStatus'+-- * 'dcrsResponseStatus' - -- | The response status code. describeCacheResponse :: Int -- ^ 'dcrsResponseStatus' -> DescribeCacheResponse@@ -186,7 +188,7 @@ dcrsCacheDirtyPercentage :: Lens' DescribeCacheResponse (Maybe Double) dcrsCacheDirtyPercentage = lens _dcrsCacheDirtyPercentage (\ s a -> s{_dcrsCacheDirtyPercentage = a}); --- | The response status code.+-- | -- | The response status code. dcrsResponseStatus :: Lens' DescribeCacheResponse Int dcrsResponseStatus = lens _dcrsResponseStatus (\ s a -> s{_dcrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DescribeCachediSCSIVolumes.hs view
@@ -20,7 +20,9 @@ -- -- Returns a description of the gateway volumes specified in the request. This operation is supported only for the gateway-cached volume architecture. --+-- -- The list of gateway volumes in the request must be from one gateway. In the response Amazon Storage Gateway returns volume information sorted by volume Amazon Resource Name (ARN).+-- module Network.AWS.StorageGateway.DescribeCachediSCSIVolumes ( -- * Creating a Request@@ -53,7 +55,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dcscsivVolumeARNs'+-- * 'dcscsivVolumeARNs' - Undocumented member. describeCachediSCSIVolumes :: DescribeCachediSCSIVolumes describeCachediSCSIVolumes =@@ -104,6 +106,8 @@ -- | A JSON object containing the following fields: --+--+-- -- /See:/ 'describeCachediSCSIVolumesResponse' smart constructor. data DescribeCachediSCSIVolumesResponse = DescribeCachediSCSIVolumesResponse' { _dcscsivrsCachediSCSIVolumes :: !(Maybe [CachediSCSIVolume])@@ -114,9 +118,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dcscsivrsCachediSCSIVolumes'+-- * 'dcscsivrsCachediSCSIVolumes' - An array of objects where each object contains metadata about one cached volume. ----- * 'dcscsivrsResponseStatus'+-- * 'dcscsivrsResponseStatus' - -- | The response status code. describeCachediSCSIVolumesResponse :: Int -- ^ 'dcscsivrsResponseStatus' -> DescribeCachediSCSIVolumesResponse@@ -130,7 +134,7 @@ dcscsivrsCachediSCSIVolumes :: Lens' DescribeCachediSCSIVolumesResponse [CachediSCSIVolume] dcscsivrsCachediSCSIVolumes = lens _dcscsivrsCachediSCSIVolumes (\ s a -> s{_dcscsivrsCachediSCSIVolumes = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dcscsivrsResponseStatus :: Lens' DescribeCachediSCSIVolumesResponse Int dcscsivrsResponseStatus = lens _dcscsivrsResponseStatus (\ s a -> s{_dcscsivrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DescribeChapCredentials.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Returns an array of Challenge-Handshake Authentication Protocol (CHAP) credentials information for a specified iSCSI target, one for each target-initiator pair.+--+-- module Network.AWS.StorageGateway.DescribeChapCredentials ( -- * Creating a Request@@ -44,6 +46,8 @@ -- | A JSON object containing the Amazon Resource Name (ARN) of the iSCSI volume target. --+--+-- -- /See:/ 'describeChapCredentials' smart constructor. newtype DescribeChapCredentials = DescribeChapCredentials' { _dccTargetARN :: Text@@ -53,7 +57,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dccTargetARN'+-- * 'dccTargetARN' - The Amazon Resource Name (ARN) of the iSCSI volume target. Use the 'DescribeStorediSCSIVolumes' operation to return to retrieve the TargetARN for specified VolumeARN. describeChapCredentials :: Text -- ^ 'dccTargetARN' -> DescribeChapCredentials@@ -62,7 +66,7 @@ { _dccTargetARN = pTargetARN_ } --- | The Amazon Resource Name (ARN) of the iSCSI volume target. Use the < DescribeStorediSCSIVolumes> operation to return to retrieve the TargetARN for specified VolumeARN.+-- | The Amazon Resource Name (ARN) of the iSCSI volume target. Use the 'DescribeStorediSCSIVolumes' operation to return to retrieve the TargetARN for specified VolumeARN. dccTargetARN :: Lens' DescribeChapCredentials Text dccTargetARN = lens _dccTargetARN (\ s a -> s{_dccTargetARN = a}); @@ -104,6 +108,8 @@ -- | A JSON object containing a . --+--+-- -- /See:/ 'describeChapCredentialsResponse' smart constructor. data DescribeChapCredentialsResponse = DescribeChapCredentialsResponse' { _dccrsChapCredentials :: !(Maybe [ChapInfo])@@ -114,9 +120,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dccrsChapCredentials'+-- * 'dccrsChapCredentials' - An array of 'ChapInfo' objects that represent CHAP credentials. Each object in the array contains CHAP credential information for one target-initiator pair. If no CHAP credentials are set, an empty array is returned. CHAP credential information is provided in a JSON object with the following fields: * __InitiatorName__ : The iSCSI initiator that connects to the target. * __SecretToAuthenticateInitiator__ : The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target. * __SecretToAuthenticateTarget__ : The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client). * __TargetARN__ : The Amazon Resource Name (ARN) of the storage volume. ----- * 'dccrsResponseStatus'+-- * 'dccrsResponseStatus' - -- | The response status code. describeChapCredentialsResponse :: Int -- ^ 'dccrsResponseStatus' -> DescribeChapCredentialsResponse@@ -126,20 +132,11 @@ , _dccrsResponseStatus = pResponseStatus_ } --- | An array of < ChapInfo> objects that represent CHAP credentials. Each object in the array contains CHAP credential information for one target-initiator pair. If no CHAP credentials are set, an empty array is returned. CHAP credential information is provided in a JSON object with the following fields:------ - __InitiatorName__: The iSCSI initiator that connects to the target.------ - __SecretToAuthenticateInitiator__: The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.------ - __SecretToAuthenticateTarget__: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).------ - __TargetARN__: The Amazon Resource Name (ARN) of the storage volume.---+-- | An array of 'ChapInfo' objects that represent CHAP credentials. Each object in the array contains CHAP credential information for one target-initiator pair. If no CHAP credentials are set, an empty array is returned. CHAP credential information is provided in a JSON object with the following fields: * __InitiatorName__ : The iSCSI initiator that connects to the target. * __SecretToAuthenticateInitiator__ : The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target. * __SecretToAuthenticateTarget__ : The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client). * __TargetARN__ : The Amazon Resource Name (ARN) of the storage volume. dccrsChapCredentials :: Lens' DescribeChapCredentialsResponse [ChapInfo] dccrsChapCredentials = lens _dccrsChapCredentials (\ s a -> s{_dccrsChapCredentials = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dccrsResponseStatus :: Lens' DescribeChapCredentialsResponse Int dccrsResponseStatus = lens _dccrsResponseStatus (\ s a -> s{_dccrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DescribeGatewayInformation.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Returns metadata about a gateway such as its name, network interfaces, configured time zone, and the state (whether the gateway is running or not). To specify which gateway to describe, use the Amazon Resource Name (ARN) of the gateway in your request.+--+-- module Network.AWS.StorageGateway.DescribeGatewayInformation ( -- * Creating a Request@@ -52,6 +54,8 @@ -- | A JSON object containing the id of the gateway. --+--+-- -- /See:/ 'describeGatewayInformation' smart constructor. newtype DescribeGatewayInformation = DescribeGatewayInformation' { _dgiGatewayARN :: Text@@ -61,7 +65,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dgiGatewayARN'+-- * 'dgiGatewayARN' - Undocumented member. describeGatewayInformation :: Text -- ^ 'dgiGatewayARN' -> DescribeGatewayInformation@@ -119,6 +123,8 @@ -- | A JSON object containing the following fields: --+--+-- -- /See:/ 'describeGatewayInformationResponse' smart constructor. data DescribeGatewayInformationResponse = DescribeGatewayInformationResponse' { _dgirsGatewayState :: !(Maybe Text)@@ -137,25 +143,25 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dgirsGatewayState'+-- * 'dgirsGatewayState' - A value that indicates the operating state of the gateway. ----- * 'dgirsGatewayARN'+-- * 'dgirsGatewayARN' - Undocumented member. ----- * 'dgirsGatewayNetworkInterfaces'+-- * 'dgirsGatewayNetworkInterfaces' - A 'NetworkInterface' array that contains descriptions of the gateway network interfaces. ----- * 'dgirsNextUpdateAvailabilityDate'+-- * 'dgirsNextUpdateAvailabilityDate' - The date on which an update to the gateway is available. This date is in the time zone of the gateway. If the gateway is not available for an update this field is not returned in the response. ----- * 'dgirsLastSoftwareUpdate'+-- * 'dgirsLastSoftwareUpdate' - The date on which the last software update was applied to the gateway. If the gateway has never been updated, this field does not return a value in the response. ----- * 'dgirsGatewayName'+-- * 'dgirsGatewayName' - The name you configured for your gateway. ----- * 'dgirsGatewayId'+-- * 'dgirsGatewayId' - The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations. ----- * 'dgirsGatewayType'+-- * 'dgirsGatewayType' - The type of the gateway. ----- * 'dgirsGatewayTimezone'+-- * 'dgirsGatewayTimezone' - A value that indicates the time zone configured for the gateway. ----- * 'dgirsResponseStatus'+-- * 'dgirsResponseStatus' - -- | The response status code. describeGatewayInformationResponse :: Int -- ^ 'dgirsResponseStatus' -> DescribeGatewayInformationResponse@@ -181,7 +187,7 @@ dgirsGatewayARN :: Lens' DescribeGatewayInformationResponse (Maybe Text) dgirsGatewayARN = lens _dgirsGatewayARN (\ s a -> s{_dgirsGatewayARN = a}); --- | A < NetworkInterface> array that contains descriptions of the gateway network interfaces.+-- | A 'NetworkInterface' array that contains descriptions of the gateway network interfaces. dgirsGatewayNetworkInterfaces :: Lens' DescribeGatewayInformationResponse [NetworkInterface] dgirsGatewayNetworkInterfaces = lens _dgirsGatewayNetworkInterfaces (\ s a -> s{_dgirsGatewayNetworkInterfaces = a}) . _Default . _Coerce; @@ -209,7 +215,7 @@ dgirsGatewayTimezone :: Lens' DescribeGatewayInformationResponse (Maybe Text) dgirsGatewayTimezone = lens _dgirsGatewayTimezone (\ s a -> s{_dgirsGatewayTimezone = a}); --- | The response status code.+-- | -- | The response status code. dgirsResponseStatus :: Lens' DescribeGatewayInformationResponse Int dgirsResponseStatus = lens _dgirsResponseStatus (\ s a -> s{_dgirsResponseStatus = a});
gen/Network/AWS/StorageGateway/DescribeMaintenanceStartTime.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns your gateway\'s weekly maintenance start time including the day and time of the week. Note that values are in terms of the gateway\'s time zone.+-- Returns your gateway's weekly maintenance start time including the day and time of the week. Note that values are in terms of the gateway's time zone.+--+-- module Network.AWS.StorageGateway.DescribeMaintenanceStartTime ( -- * Creating a Request@@ -48,6 +50,8 @@ -- | A JSON object containing the of the gateway. --+--+-- -- /See:/ 'describeMaintenanceStartTime' smart constructor. newtype DescribeMaintenanceStartTime = DescribeMaintenanceStartTime' { _dmstGatewayARN :: Text@@ -57,7 +61,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dmstGatewayARN'+-- * 'dmstGatewayARN' - Undocumented member. describeMaintenanceStartTime :: Text -- ^ 'dmstGatewayARN' -> DescribeMaintenanceStartTime@@ -124,17 +128,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dmstrsGatewayARN'+-- * 'dmstrsGatewayARN' - Undocumented member. ----- * 'dmstrsMinuteOfHour'+-- * 'dmstrsMinuteOfHour' - Undocumented member. ----- * 'dmstrsHourOfDay'+-- * 'dmstrsHourOfDay' - Undocumented member. ----- * 'dmstrsTimezone'+-- * 'dmstrsTimezone' - Undocumented member. ----- * 'dmstrsDayOfWeek'+-- * 'dmstrsDayOfWeek' - Undocumented member. ----- * 'dmstrsResponseStatus'+-- * 'dmstrsResponseStatus' - -- | The response status code. describeMaintenanceStartTimeResponse :: Int -- ^ 'dmstrsResponseStatus' -> DescribeMaintenanceStartTimeResponse@@ -168,7 +172,7 @@ dmstrsDayOfWeek :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Natural) dmstrsDayOfWeek = lens _dmstrsDayOfWeek (\ s a -> s{_dmstrsDayOfWeek = a}) . mapping _Nat; --- | The response status code.+-- | -- | The response status code. dmstrsResponseStatus :: Lens' DescribeMaintenanceStartTimeResponse Int dmstrsResponseStatus = lens _dmstrsResponseStatus (\ s a -> s{_dmstrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DescribeSnapshotSchedule.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Describes the snapshot schedule for the specified gateway volume. The snapshot schedule information includes intervals at which snapshots are automatically initiated on the volume.+--+-- module Network.AWS.StorageGateway.DescribeSnapshotSchedule ( -- * Creating a Request@@ -46,8 +48,10 @@ import Network.AWS.StorageGateway.Types import Network.AWS.StorageGateway.Types.Product --- | A JSON object containing the < DescribeSnapshotScheduleInput>VolumeARN> of the volume.+-- | A JSON object containing the 'DescribeSnapshotScheduleInput$VolumeARN' of the volume. --+--+-- -- /See:/ 'describeSnapshotSchedule' smart constructor. newtype DescribeSnapshotSchedule = DescribeSnapshotSchedule' { _dssVolumeARN :: Text@@ -57,7 +61,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dssVolumeARN'+-- * 'dssVolumeARN' - The Amazon Resource Name (ARN) of the volume. Use the 'ListVolumes' operation to return a list of gateway volumes. describeSnapshotSchedule :: Text -- ^ 'dssVolumeARN' -> DescribeSnapshotSchedule@@ -66,7 +70,7 @@ { _dssVolumeARN = pVolumeARN_ } --- | The Amazon Resource Name (ARN) of the volume. Use the < ListVolumes> operation to return a list of gateway volumes.+-- | The Amazon Resource Name (ARN) of the volume. Use the 'ListVolumes' operation to return a list of gateway volumes. dssVolumeARN :: Lens' DescribeSnapshotSchedule Text dssVolumeARN = lens _dssVolumeARN (\ s a -> s{_dssVolumeARN = a}); @@ -123,17 +127,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dssrsStartAt'+-- * 'dssrsStartAt' - Undocumented member. ----- * 'dssrsVolumeARN'+-- * 'dssrsVolumeARN' - Undocumented member. ----- * 'dssrsRecurrenceInHours'+-- * 'dssrsRecurrenceInHours' - Undocumented member. ----- * 'dssrsTimezone'+-- * 'dssrsTimezone' - Undocumented member. ----- * 'dssrsDescription'+-- * 'dssrsDescription' - Undocumented member. ----- * 'dssrsResponseStatus'+-- * 'dssrsResponseStatus' - -- | The response status code. describeSnapshotScheduleResponse :: Int -- ^ 'dssrsResponseStatus' -> DescribeSnapshotScheduleResponse@@ -167,7 +171,7 @@ dssrsDescription :: Lens' DescribeSnapshotScheduleResponse (Maybe Text) dssrsDescription = lens _dssrsDescription (\ s a -> s{_dssrsDescription = a}); --- | The response status code.+-- | -- | The response status code. dssrsResponseStatus :: Lens' DescribeSnapshotScheduleResponse Int dssrsResponseStatus = lens _dssrsResponseStatus (\ s a -> s{_dssrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DescribeStorediSCSIVolumes.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Returns the description of the gateway volumes specified in the request. The list of gateway volumes in the request must be from one gateway. In the response Amazon Storage Gateway returns volume information sorted by volume ARNs.+--+-- module Network.AWS.StorageGateway.DescribeStorediSCSIVolumes ( -- * Creating a Request@@ -42,8 +44,10 @@ import Network.AWS.StorageGateway.Types import Network.AWS.StorageGateway.Types.Product --- | A JSON object containing a list of < DescribeStorediSCSIVolumesInput>VolumeARNs>.+-- | A JSON object containing a list of 'DescribeStorediSCSIVolumesInput$VolumeARNs' . --+--+-- -- /See:/ 'describeStorediSCSIVolumes' smart constructor. newtype DescribeStorediSCSIVolumes = DescribeStorediSCSIVolumes' { _dsscsivVolumeARNs :: [Text]@@ -53,7 +57,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dsscsivVolumeARNs'+-- * 'dsscsivVolumeARNs' - An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use 'ListVolumes' to get volume ARNs for a gateway. describeStorediSCSIVolumes :: DescribeStorediSCSIVolumes describeStorediSCSIVolumes =@@ -61,7 +65,7 @@ { _dsscsivVolumeARNs = mempty } --- | An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use < ListVolumes> to get volume ARNs for a gateway.+-- | An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use 'ListVolumes' to get volume ARNs for a gateway. dsscsivVolumeARNs :: Lens' DescribeStorediSCSIVolumes [Text] dsscsivVolumeARNs = lens _dsscsivVolumeARNs (\ s a -> s{_dsscsivVolumeARNs = a}) . _Coerce; @@ -112,9 +116,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dsscsivrsStorediSCSIVolumes'+-- * 'dsscsivrsStorediSCSIVolumes' - Undocumented member. ----- * 'dsscsivrsResponseStatus'+-- * 'dsscsivrsResponseStatus' - -- | The response status code. describeStorediSCSIVolumesResponse :: Int -- ^ 'dsscsivrsResponseStatus' -> DescribeStorediSCSIVolumesResponse@@ -128,7 +132,7 @@ dsscsivrsStorediSCSIVolumes :: Lens' DescribeStorediSCSIVolumesResponse [StorediSCSIVolume] dsscsivrsStorediSCSIVolumes = lens _dsscsivrsStorediSCSIVolumes (\ s a -> s{_dsscsivrsStorediSCSIVolumes = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dsscsivrsResponseStatus :: Lens' DescribeStorediSCSIVolumesResponse Int dsscsivrsResponseStatus = lens _dsscsivrsResponseStatus (\ s a -> s{_dsscsivrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DescribeTapeArchives.hs view
@@ -20,8 +20,10 @@ -- -- Returns a description of specified virtual tapes in the virtual tape shelf (VTS). ----- If a specific 'TapeARN' is not specified, AWS Storage Gateway returns a description of all virtual tapes found in the VTS associated with your account. --+-- If a specific @TapeARN@ is not specified, AWS Storage Gateway returns a description of all virtual tapes found in the VTS associated with your account.+--+-- -- This operation returns paginated results. module Network.AWS.StorageGateway.DescribeTapeArchives (@@ -52,6 +54,8 @@ -- | DescribeTapeArchivesInput --+--+-- -- /See:/ 'describeTapeArchives' smart constructor. data DescribeTapeArchives = DescribeTapeArchives' { _dtaMarker :: !(Maybe Text)@@ -63,11 +67,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtaMarker'+-- * 'dtaMarker' - An opaque string that indicates the position at which to begin describing virtual tapes. ----- * 'dtaLimit'+-- * 'dtaLimit' - Specifies that the number of virtual tapes descried be limited to the specified number. ----- * 'dtaTapeARNs'+-- * 'dtaTapeARNs' - Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. describeTapeArchives :: DescribeTapeArchives describeTapeArchives =@@ -138,6 +142,8 @@ -- | DescribeTapeArchivesOutput --+--+-- -- /See:/ 'describeTapeArchivesResponse' smart constructor. data DescribeTapeArchivesResponse = DescribeTapeArchivesResponse' { _dtarsTapeArchives :: !(Maybe [TapeArchive])@@ -149,11 +155,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtarsTapeArchives'+-- * 'dtarsTapeArchives' - An array of virtual tape objects in the virtual tape shelf (VTS). The description includes of the Amazon Resource Name(ARN) of the virtual tapes. The information returned includes the Amazon Resource Names (ARNs) of the tapes, size of the tapes, status of the tapes, progress of the description and tape barcode. ----- * 'dtarsMarker'+-- * 'dtarsMarker' - An opaque string that indicates the position at which the virtual tapes that were fetched for description ended. Use this marker in your next request to fetch the next set of virtual tapes in the virtual tape shelf (VTS). If there are no more virtual tapes to describe, this field does not appear in the response. ----- * 'dtarsResponseStatus'+-- * 'dtarsResponseStatus' - -- | The response status code. describeTapeArchivesResponse :: Int -- ^ 'dtarsResponseStatus' -> DescribeTapeArchivesResponse@@ -172,7 +178,7 @@ dtarsMarker :: Lens' DescribeTapeArchivesResponse (Maybe Text) dtarsMarker = lens _dtarsMarker (\ s a -> s{_dtarsMarker = a}); --- | The response status code.+-- | -- | The response status code. dtarsResponseStatus :: Lens' DescribeTapeArchivesResponse Int dtarsResponseStatus = lens _dtarsResponseStatus (\ s a -> s{_dtarsResponseStatus = a});
gen/Network/AWS/StorageGateway/DescribeTapeRecoveryPoints.hs view
@@ -20,8 +20,10 @@ -- -- Returns a list of virtual tape recovery points that are available for the specified gateway-VTL. --+-- -- A recovery point is a point-in-time view of a virtual tape at which all the data on the virtual tape is consistent. If your gateway crashes, virtual tapes that have recovery points can be recovered to a new gateway. --+-- -- This operation returns paginated results. module Network.AWS.StorageGateway.DescribeTapeRecoveryPoints (@@ -53,6 +55,8 @@ -- | DescribeTapeRecoveryPointsInput --+--+-- -- /See:/ 'describeTapeRecoveryPoints' smart constructor. data DescribeTapeRecoveryPoints = DescribeTapeRecoveryPoints' { _dtrpMarker :: !(Maybe Text)@@ -64,11 +68,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtrpMarker'+-- * 'dtrpMarker' - An opaque string that indicates the position at which to begin describing the virtual tape recovery points. ----- * 'dtrpLimit'+-- * 'dtrpLimit' - Specifies that the number of virtual tape recovery points that are described be limited to the specified number. ----- * 'dtrpGatewayARN'+-- * 'dtrpGatewayARN' - Undocumented member. describeTapeRecoveryPoints :: Text -- ^ 'dtrpGatewayARN' -> DescribeTapeRecoveryPoints@@ -141,6 +145,8 @@ -- | DescribeTapeRecoveryPointsOutput --+--+-- -- /See:/ 'describeTapeRecoveryPointsResponse' smart constructor. data DescribeTapeRecoveryPointsResponse = DescribeTapeRecoveryPointsResponse' { _dtrprsTapeRecoveryPointInfos :: !(Maybe [TapeRecoveryPointInfo])@@ -153,13 +159,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtrprsTapeRecoveryPointInfos'+-- * 'dtrprsTapeRecoveryPointInfos' - An array of TapeRecoveryPointInfos that are available for the specified gateway. ----- * 'dtrprsGatewayARN'+-- * 'dtrprsGatewayARN' - Undocumented member. ----- * 'dtrprsMarker'+-- * 'dtrprsMarker' - An opaque string that indicates the position at which the virtual tape recovery points that were listed for description ended. Use this marker in your next request to list the next set of virtual tape recovery points in the list. If there are no more recovery points to describe, this field does not appear in the response. ----- * 'dtrprsResponseStatus'+-- * 'dtrprsResponseStatus' - -- | The response status code. describeTapeRecoveryPointsResponse :: Int -- ^ 'dtrprsResponseStatus' -> DescribeTapeRecoveryPointsResponse@@ -179,13 +185,11 @@ dtrprsGatewayARN :: Lens' DescribeTapeRecoveryPointsResponse (Maybe Text) dtrprsGatewayARN = lens _dtrprsGatewayARN (\ s a -> s{_dtrprsGatewayARN = a}); --- | An opaque string that indicates the position at which the virtual tape recovery points that were listed for description ended.------ Use this marker in your next request to list the next set of virtual tape recovery points in the list. If there are no more recovery points to describe, this field does not appear in the response.+-- | An opaque string that indicates the position at which the virtual tape recovery points that were listed for description ended. Use this marker in your next request to list the next set of virtual tape recovery points in the list. If there are no more recovery points to describe, this field does not appear in the response. dtrprsMarker :: Lens' DescribeTapeRecoveryPointsResponse (Maybe Text) dtrprsMarker = lens _dtrprsMarker (\ s a -> s{_dtrprsMarker = a}); --- | The response status code.+-- | -- | The response status code. dtrprsResponseStatus :: Lens' DescribeTapeRecoveryPointsResponse Int dtrprsResponseStatus = lens _dtrprsResponseStatus (\ s a -> s{_dtrprsResponseStatus = a});
gen/Network/AWS/StorageGateway/DescribeTapes.hs view
@@ -18,8 +18,10 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns a description of the specified Amazon Resource Name (ARN) of virtual tapes. If a 'TapeARN' is not specified, returns a description of all virtual tapes associated with the specified gateway.+-- Returns a description of the specified Amazon Resource Name (ARN) of virtual tapes. If a @TapeARN@ is not specified, returns a description of all virtual tapes associated with the specified gateway. --+--+-- -- This operation returns paginated results. module Network.AWS.StorageGateway.DescribeTapes (@@ -51,6 +53,8 @@ -- | DescribeTapesInput --+--+-- -- /See:/ 'describeTapes' smart constructor. data DescribeTapes = DescribeTapes' { _dtMarker :: !(Maybe Text)@@ -63,13 +67,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtMarker'+-- * 'dtMarker' - A marker value, obtained in a previous call to @DescribeTapes@ . This marker indicates which page of results to retrieve. If not specified, the first page of results is retrieved. ----- * 'dtLimit'+-- * 'dtLimit' - Specifies that the number of virtual tapes described be limited to the specified number. ----- * 'dtTapeARNs'+-- * 'dtTapeARNs' - Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway. ----- * 'dtGatewayARN'+-- * 'dtGatewayARN' - Undocumented member. describeTapes :: Text -- ^ 'dtGatewayARN' -> DescribeTapes@@ -81,15 +85,11 @@ , _dtGatewayARN = pGatewayARN_ } --- | A marker value, obtained in a previous call to 'DescribeTapes'. This marker indicates which page of results to retrieve.------ If not specified, the first page of results is retrieved.+-- | A marker value, obtained in a previous call to @DescribeTapes@ . This marker indicates which page of results to retrieve. If not specified, the first page of results is retrieved. dtMarker :: Lens' DescribeTapes (Maybe Text) dtMarker = lens _dtMarker (\ s a -> s{_dtMarker = a}); -- | Specifies that the number of virtual tapes described be limited to the specified number.------ Amazon Web Services may impose its own limit, if this field is not set. dtLimit :: Lens' DescribeTapes (Maybe Natural) dtLimit = lens _dtLimit (\ s a -> s{_dtLimit = a}) . mapping _Nat; @@ -149,6 +149,8 @@ -- | DescribeTapesOutput --+--+-- -- /See:/ 'describeTapesResponse' smart constructor. data DescribeTapesResponse = DescribeTapesResponse' { _dtsrsMarker :: !(Maybe Text)@@ -160,11 +162,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtsrsMarker'+-- * 'dtsrsMarker' - An opaque string which can be used as part of a subsequent DescribeTapes call to retrieve the next page of results. If a response does not contain a marker, then there are no more results to be retrieved. ----- * 'dtsrsTapes'+-- * 'dtsrsTapes' - An array of virtual tape descriptions. ----- * 'dtsrsResponseStatus'+-- * 'dtsrsResponseStatus' - -- | The response status code. describeTapesResponse :: Int -- ^ 'dtsrsResponseStatus' -> DescribeTapesResponse@@ -175,9 +177,7 @@ , _dtsrsResponseStatus = pResponseStatus_ } --- | An opaque string which can be used as part of a subsequent DescribeTapes call to retrieve the next page of results.------ If a response does not contain a marker, then there are no more results to be retrieved.+-- | An opaque string which can be used as part of a subsequent DescribeTapes call to retrieve the next page of results. If a response does not contain a marker, then there are no more results to be retrieved. dtsrsMarker :: Lens' DescribeTapesResponse (Maybe Text) dtsrsMarker = lens _dtsrsMarker (\ s a -> s{_dtsrsMarker = a}); @@ -185,7 +185,7 @@ dtsrsTapes :: Lens' DescribeTapesResponse [Tape] dtsrsTapes = lens _dtsrsTapes (\ s a -> s{_dtsrsTapes = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. dtsrsResponseStatus :: Lens' DescribeTapesResponse Int dtsrsResponseStatus = lens _dtsrsResponseStatus (\ s a -> s{_dtsrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DescribeUploadBuffer.hs view
@@ -20,7 +20,9 @@ -- -- Returns information about the upload buffer of a gateway. This operation is supported for both the gateway-stored and gateway-cached volume architectures. --+-- -- The response includes disk IDs that are configured as upload buffer space, and it includes the amount of upload buffer space allocated and used.+-- module Network.AWS.StorageGateway.DescribeUploadBuffer ( -- * Creating a Request@@ -56,7 +58,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dubGatewayARN'+-- * 'dubGatewayARN' - Undocumented member. describeUploadBuffer :: Text -- ^ 'dubGatewayARN' -> DescribeUploadBuffer@@ -121,15 +123,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dubrsUploadBufferAllocatedInBytes'+-- * 'dubrsUploadBufferAllocatedInBytes' - Undocumented member. ----- * 'dubrsGatewayARN'+-- * 'dubrsGatewayARN' - Undocumented member. ----- * 'dubrsDiskIds'+-- * 'dubrsDiskIds' - Undocumented member. ----- * 'dubrsUploadBufferUsedInBytes'+-- * 'dubrsUploadBufferUsedInBytes' - Undocumented member. ----- * 'dubrsResponseStatus'+-- * 'dubrsResponseStatus' - -- | The response status code. describeUploadBufferResponse :: Int -- ^ 'dubrsResponseStatus' -> DescribeUploadBufferResponse@@ -158,7 +160,7 @@ dubrsUploadBufferUsedInBytes :: Lens' DescribeUploadBufferResponse (Maybe Integer) dubrsUploadBufferUsedInBytes = lens _dubrsUploadBufferUsedInBytes (\ s a -> s{_dubrsUploadBufferUsedInBytes = a}); --- | The response status code.+-- | -- | The response status code. dubrsResponseStatus :: Lens' DescribeUploadBufferResponse Int dubrsResponseStatus = lens _dubrsResponseStatus (\ s a -> s{_dubrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DescribeVTLDevices.hs view
@@ -20,8 +20,10 @@ -- -- Returns a description of virtual tape library (VTL) devices for the specified gateway. In the response, AWS Storage Gateway returns VTL device information. --+-- -- The list of VTL devices must be from one gateway. --+-- -- This operation returns paginated results. module Network.AWS.StorageGateway.DescribeVTLDevices (@@ -54,6 +56,8 @@ -- | DescribeVTLDevicesInput --+--+-- -- /See:/ 'describeVTLDevices' smart constructor. data DescribeVTLDevices = DescribeVTLDevices' { _dvtldMarker :: !(Maybe Text)@@ -66,13 +70,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dvtldMarker'+-- * 'dvtldMarker' - An opaque string that indicates the position at which to begin describing the VTL devices. ----- * 'dvtldLimit'+-- * 'dvtldLimit' - Specifies that the number of VTL devices described be limited to the specified number. ----- * 'dvtldVTLDeviceARNs'+-- * 'dvtldVTLDeviceARNs' - An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device. ----- * 'dvtldGatewayARN'+-- * 'dvtldGatewayARN' - Undocumented member. describeVTLDevices :: Text -- ^ 'dvtldGatewayARN' -> DescribeVTLDevices@@ -93,8 +97,6 @@ dvtldLimit = lens _dvtldLimit (\ s a -> s{_dvtldLimit = a}) . mapping _Nat; -- | An array of strings, where each string represents the Amazon Resource Name (ARN) of a VTL device.------ All of the specified VTL devices must be from the same gateway. If no VTL devices are specified, the result will contain all devices on the specified gateway. dvtldVTLDeviceARNs :: Lens' DescribeVTLDevices [Text] dvtldVTLDeviceARNs = lens _dvtldVTLDeviceARNs (\ s a -> s{_dvtldVTLDeviceARNs = a}) . _Default . _Coerce; @@ -153,6 +155,8 @@ -- | DescribeVTLDevicesOutput --+--+-- -- /See:/ 'describeVTLDevicesResponse' smart constructor. data DescribeVTLDevicesResponse = DescribeVTLDevicesResponse' { _dvtldrsVTLDevices :: !(Maybe [VTLDevice])@@ -165,13 +169,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dvtldrsVTLDevices'+-- * 'dvtldrsVTLDevices' - An array of VTL device objects composed of the Amazon Resource Name(ARN) of the VTL devices. ----- * 'dvtldrsGatewayARN'+-- * 'dvtldrsGatewayARN' - Undocumented member. ----- * 'dvtldrsMarker'+-- * 'dvtldrsMarker' - An opaque string that indicates the position at which the VTL devices that were fetched for description ended. Use the marker in your next request to fetch the next set of VTL devices in the list. If there are no more VTL devices to describe, this field does not appear in the response. ----- * 'dvtldrsResponseStatus'+-- * 'dvtldrsResponseStatus' - -- | The response status code. describeVTLDevicesResponse :: Int -- ^ 'dvtldrsResponseStatus' -> DescribeVTLDevicesResponse@@ -195,7 +199,7 @@ dvtldrsMarker :: Lens' DescribeVTLDevicesResponse (Maybe Text) dvtldrsMarker = lens _dvtldrsMarker (\ s a -> s{_dvtldrsMarker = a}); --- | The response status code.+-- | -- | The response status code. dvtldrsResponseStatus :: Lens' DescribeVTLDevicesResponse Int dvtldrsResponseStatus = lens _dvtldrsResponseStatus (\ s a -> s{_dvtldrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DescribeWorkingStorage.hs view
@@ -20,9 +20,9 @@ -- -- Returns information about the working storage of a gateway. This operation is supported only for the gateway-stored volume architecture. This operation is deprecated in cached-volumes API version (20120630). Use DescribeUploadBuffer instead. ----- Working storage is also referred to as upload buffer. You can also use the DescribeUploadBuffer operation to add upload buffer to a stored-volume gateway. -- -- The response includes disk IDs that are configured as working storage, and it includes the amount of working storage allocated and used.+-- module Network.AWS.StorageGateway.DescribeWorkingStorage ( -- * Creating a Request@@ -51,6 +51,8 @@ -- | A JSON object containing the of the gateway. --+--+-- -- /See:/ 'describeWorkingStorage' smart constructor. newtype DescribeWorkingStorage = DescribeWorkingStorage' { _dwsGatewayARN :: Text@@ -60,7 +62,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dwsGatewayARN'+-- * 'dwsGatewayARN' - Undocumented member. describeWorkingStorage :: Text -- ^ 'dwsGatewayARN' -> DescribeWorkingStorage@@ -113,6 +115,8 @@ -- | A JSON object containing the following fields: --+--+-- -- /See:/ 'describeWorkingStorageResponse' smart constructor. data DescribeWorkingStorageResponse = DescribeWorkingStorageResponse' { _dwsrsGatewayARN :: !(Maybe Text)@@ -126,15 +130,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dwsrsGatewayARN'+-- * 'dwsrsGatewayARN' - Undocumented member. ----- * 'dwsrsDiskIds'+-- * 'dwsrsDiskIds' - An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty. ----- * 'dwsrsWorkingStorageAllocatedInBytes'+-- * 'dwsrsWorkingStorageAllocatedInBytes' - The total working storage in bytes allocated for the gateway. If no working storage is configured for the gateway, this field returns 0. ----- * 'dwsrsWorkingStorageUsedInBytes'+-- * 'dwsrsWorkingStorageUsedInBytes' - The total working storage in bytes in use by the gateway. If no working storage is configured for the gateway, this field returns 0. ----- * 'dwsrsResponseStatus'+-- * 'dwsrsResponseStatus' - -- | The response status code. describeWorkingStorageResponse :: Int -- ^ 'dwsrsResponseStatus' -> DescribeWorkingStorageResponse@@ -151,7 +155,7 @@ dwsrsGatewayARN :: Lens' DescribeWorkingStorageResponse (Maybe Text) dwsrsGatewayARN = lens _dwsrsGatewayARN (\ s a -> s{_dwsrsGatewayARN = a}); --- | An array of the gateway\'s local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty.+-- | An array of the gateway's local disk IDs that are configured as working storage. Each local disk ID is specified as a string (minimum length of 1 and maximum length of 300). If no local disks are configured as working storage, then the DiskIds array is empty. dwsrsDiskIds :: Lens' DescribeWorkingStorageResponse [Text] dwsrsDiskIds = lens _dwsrsDiskIds (\ s a -> s{_dwsrsDiskIds = a}) . _Default . _Coerce; @@ -163,7 +167,7 @@ dwsrsWorkingStorageUsedInBytes :: Lens' DescribeWorkingStorageResponse (Maybe Integer) dwsrsWorkingStorageUsedInBytes = lens _dwsrsWorkingStorageUsedInBytes (\ s a -> s{_dwsrsWorkingStorageUsedInBytes = a}); --- | The response status code.+-- | -- | The response status code. dwsrsResponseStatus :: Lens' DescribeWorkingStorageResponse Int dwsrsResponseStatus = lens _dwsrsResponseStatus (\ s a -> s{_dwsrsResponseStatus = a});
gen/Network/AWS/StorageGateway/DisableGateway.hs view
@@ -20,9 +20,11 @@ -- -- Disables a gateway when the gateway is no longer functioning. For example, if your gateway VM is damaged, you can disable the gateway so you can recover virtual tapes. --+-- -- Use this operation for a gateway-VTL that is not reachable or not functioning. ----- Once a gateway is disabled it cannot be enabled.+-- /Important:/ Once a gateway is disabled it cannot be enabled.+-- module Network.AWS.StorageGateway.DisableGateway ( -- * Creating a Request@@ -48,6 +50,8 @@ -- | DisableGatewayInput --+--+-- -- /See:/ 'disableGateway' smart constructor. newtype DisableGateway = DisableGateway' { _dGatewayARN :: Text@@ -57,7 +61,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dGatewayARN'+-- * 'dGatewayARN' - Undocumented member. disableGateway :: Text -- ^ 'dGatewayARN' -> DisableGateway@@ -106,6 +110,8 @@ -- | DisableGatewayOutput --+--+-- -- /See:/ 'disableGatewayResponse' smart constructor. data DisableGatewayResponse = DisableGatewayResponse' { _disrsGatewayARN :: !(Maybe Text)@@ -116,9 +122,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'disrsGatewayARN'+-- * 'disrsGatewayARN' - The unique Amazon Resource Name of the disabled gateway. ----- * 'disrsResponseStatus'+-- * 'disrsResponseStatus' - -- | The response status code. disableGatewayResponse :: Int -- ^ 'disrsResponseStatus' -> DisableGatewayResponse@@ -132,7 +138,7 @@ disrsGatewayARN :: Lens' DisableGatewayResponse (Maybe Text) disrsGatewayARN = lens _disrsGatewayARN (\ s a -> s{_disrsGatewayARN = a}); --- | The response status code.+-- | -- | The response status code. disrsResponseStatus :: Lens' DisableGatewayResponse Int disrsResponseStatus = lens _disrsResponseStatus (\ s a -> s{_disrsResponseStatus = a});
gen/Network/AWS/StorageGateway/ListGateways.hs view
@@ -20,10 +20,12 @@ -- -- Lists gateways owned by an AWS account in a region specified in the request. The returned list is ordered by gateway Amazon Resource Name (ARN). --+-- -- By default, the operation returns a maximum of 100 gateways. This operation supports pagination that allows you to optionally reduce the number of gateways returned in a response. -- -- If you have more gateways than are returned in a response (that is, the response returns only a truncated list of your gateways), the response contains a marker that you can specify in your next request to fetch the next page of gateways. --+-- -- This operation returns paginated results. module Network.AWS.StorageGateway.ListGateways (@@ -53,11 +55,14 @@ -- | A JSON object containing zero or more of the following fields: ----- - < ListGatewaysInput>Limit> ----- - < ListGatewaysInput>Marker>+-- * 'ListGatewaysInput$Limit' --+-- * 'ListGatewaysInput$Marker' --+--+--+-- -- /See:/ 'listGateways' smart constructor. data ListGateways = ListGateways' { _lgMarker :: !(Maybe Text)@@ -68,9 +73,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lgMarker'+-- * 'lgMarker' - An opaque string that indicates the position at which to begin the returned list of gateways. ----- * 'lgLimit'+-- * 'lgLimit' - Specifies that the list of gateways returned be limited to the specified number of items. listGateways :: ListGateways listGateways =@@ -142,11 +147,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lgrsMarker'+-- * 'lgrsMarker' - Undocumented member. ----- * 'lgrsGateways'+-- * 'lgrsGateways' - Undocumented member. ----- * 'lgrsResponseStatus'+-- * 'lgrsResponseStatus' - -- | The response status code. listGatewaysResponse :: Int -- ^ 'lgrsResponseStatus' -> ListGatewaysResponse@@ -165,7 +170,7 @@ lgrsGateways :: Lens' ListGatewaysResponse [GatewayInfo] lgrsGateways = lens _lgrsGateways (\ s a -> s{_lgrsGateways = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. lgrsResponseStatus :: Lens' ListGatewaysResponse Int lgrsResponseStatus = lens _lgrsResponseStatus (\ s a -> s{_lgrsResponseStatus = a});
gen/Network/AWS/StorageGateway/ListLocalDisks.hs view
@@ -18,9 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns a list of the gateway\'s local disks. To specify which gateway to describe, you use the Amazon Resource Name (ARN) of the gateway in the body of the request.+-- Returns a list of the gateway's local disks. To specify which gateway to describe, you use the Amazon Resource Name (ARN) of the gateway in the body of the request. ----- The request returns a list of all disks, specifying which are configured as working storage, cache storage, or stored volume or not configured at all. The response includes a 'DiskStatus' field. This field can have a value of present (the disk is available to use), missing (the disk is no longer connected to the gateway), or mismatch (the disk node is occupied by a disk that has incorrect metadata or the disk content is corrupted).+--+-- The request returns a list of all disks, specifying which are configured as working storage, cache storage, or stored volume or not configured at all. The response includes a @DiskStatus@ field. This field can have a value of present (the disk is available to use), missing (the disk is no longer connected to the gateway), or mismatch (the disk node is occupied by a disk that has incorrect metadata or the disk content is corrupted).+-- module Network.AWS.StorageGateway.ListLocalDisks ( -- * Creating a Request@@ -47,6 +49,8 @@ -- | A JSON object containing the of the gateway. --+--+-- -- /See:/ 'listLocalDisks' smart constructor. newtype ListLocalDisks = ListLocalDisks' { _lldGatewayARN :: Text@@ -56,7 +60,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lldGatewayARN'+-- * 'lldGatewayARN' - Undocumented member. listLocalDisks :: Text -- ^ 'lldGatewayARN' -> ListLocalDisks@@ -115,11 +119,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lldrsGatewayARN'+-- * 'lldrsGatewayARN' - Undocumented member. ----- * 'lldrsDisks'+-- * 'lldrsDisks' - Undocumented member. ----- * 'lldrsResponseStatus'+-- * 'lldrsResponseStatus' - -- | The response status code. listLocalDisksResponse :: Int -- ^ 'lldrsResponseStatus' -> ListLocalDisksResponse@@ -138,7 +142,7 @@ lldrsDisks :: Lens' ListLocalDisksResponse [Disk] lldrsDisks = lens _lldrsDisks (\ s a -> s{_lldrsDisks = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. lldrsResponseStatus :: Lens' ListLocalDisksResponse Int lldrsResponseStatus = lens _lldrsResponseStatus (\ s a -> s{_lldrsResponseStatus = a});
gen/Network/AWS/StorageGateway/ListTagsForResource.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Lists the tags that have been added to the specified resource.+--+-- module Network.AWS.StorageGateway.ListTagsForResource ( -- * Creating a Request@@ -48,6 +50,8 @@ -- | ListTagsForResourceInput --+--+-- -- /See:/ 'listTagsForResource' smart constructor. data ListTagsForResource = ListTagsForResource' { _ltfrMarker :: !(Maybe Text)@@ -59,11 +63,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltfrMarker'+-- * 'ltfrMarker' - An opaque string that indicates the position at which to begin returning the list of tags. ----- * 'ltfrLimit'+-- * 'ltfrLimit' - Specifies that the list of tags returned be limited to the specified number of items. ----- * 'ltfrResourceARN'+-- * 'ltfrResourceARN' - The Amazon Resource Name (ARN) of the resource for which you want to list tags. listTagsForResource :: Text -- ^ 'ltfrResourceARN' -> ListTagsForResource@@ -128,6 +132,8 @@ -- | ListTagsForResourceOutput --+--+-- -- /See:/ 'listTagsForResourceResponse' smart constructor. data ListTagsForResourceResponse = ListTagsForResourceResponse' { _ltfrrsResourceARN :: !(Maybe Text)@@ -140,13 +146,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltfrrsResourceARN'+-- * 'ltfrrsResourceARN' - he Amazon Resource Name (ARN) of the resource for which you want to list tags. ----- * 'ltfrrsMarker'+-- * 'ltfrrsMarker' - An opaque string that indicates the position at which to stop returning the list of tags. ----- * 'ltfrrsTags'+-- * 'ltfrrsTags' - An array that contains the tags for the specified resource. ----- * 'ltfrrsResponseStatus'+-- * 'ltfrrsResponseStatus' - -- | The response status code. listTagsForResourceResponse :: Int -- ^ 'ltfrrsResponseStatus' -> ListTagsForResourceResponse@@ -170,7 +176,7 @@ ltfrrsTags :: Lens' ListTagsForResourceResponse [Tag] ltfrrsTags = lens _ltfrrsTags (\ s a -> s{_ltfrrsTags = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int ltfrrsResponseStatus = lens _ltfrrsResponseStatus (\ s a -> s{_ltfrrsResponseStatus = a});
gen/Network/AWS/StorageGateway/ListTapes.hs view
@@ -18,9 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists virtual tapes in your virtual tape library (VTL) and your virtual tape shelf (VTS). You specify the tapes to list by specifying one or more tape Amazon Resource Names (ARNs). If you don\'t specify a tape ARN, the operation lists all virtual tapes in both your VTL and VTS.+-- Lists virtual tapes in your virtual tape library (VTL) and your virtual tape shelf (VTS). You specify the tapes to list by specifying one or more tape Amazon Resource Names (ARNs). If you don't specify a tape ARN, the operation lists all virtual tapes in both your VTL and VTS. ----- This operation supports pagination. By default, the operation returns a maximum of up to 100 tapes. You can optionally specify the 'Limit' parameter in the body to limit the number of tapes in the response. If the number of tapes returned in the response is truncated, the response includes a 'Marker' element that you can use in your subsequent request to retrieve the next set of tapes.+--+-- This operation supports pagination. By default, the operation returns a maximum of up to 100 tapes. You can optionally specify the @Limit@ parameter in the body to limit the number of tapes in the response. If the number of tapes returned in the response is truncated, the response includes a @Marker@ element that you can use in your subsequent request to retrieve the next set of tapes.+-- module Network.AWS.StorageGateway.ListTapes ( -- * Creating a Request@@ -49,13 +51,16 @@ -- | A JSON object that contains one or more of the following fields: ----- - < ListTapesInput>Limit> ----- - < ListTapesInput>Marker>+-- * 'ListTapesInput$Limit' ----- - < ListTapesInput>TapeARNs>+-- * 'ListTapesInput$Marker' --+-- * 'ListTapesInput$TapeARNs' --+--+--+-- -- /See:/ 'listTapes' smart constructor. data ListTapes = ListTapes' { _ltMarker :: !(Maybe Text)@@ -67,11 +72,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltMarker'+-- * 'ltMarker' - A string that indicates the position at which to begin the returned list of tapes. ----- * 'ltLimit'+-- * 'ltLimit' - An optional number limit for the tapes in the list returned by this call. ----- * 'ltTapeARNs'+-- * 'ltTapeARNs' - Undocumented member. listTapes :: ListTapes listTapes =@@ -132,11 +137,14 @@ -- | A JSON object containing the following fields: ----- - < ListTapesOutput>Marker> ----- - < ListTapesOutput>VolumeInfos>+-- * 'ListTapesOutput$Marker' --+-- * 'ListTapesOutput$VolumeInfos' --+--+--+-- -- /See:/ 'listTapesResponse' smart constructor. data ListTapesResponse = ListTapesResponse' { _ltrsMarker :: !(Maybe Text)@@ -148,11 +156,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltrsMarker'+-- * 'ltrsMarker' - A string that indicates the position at which to begin returning the next list of tapes. Use the marker in your next request to continue pagination of tapes. If there are no more tapes to list, this element does not appear in the response body. ----- * 'ltrsTapeInfos'+-- * 'ltrsTapeInfos' - Undocumented member. ----- * 'ltrsResponseStatus'+-- * 'ltrsResponseStatus' - -- | The response status code. listTapesResponse :: Int -- ^ 'ltrsResponseStatus' -> ListTapesResponse@@ -171,7 +179,7 @@ ltrsTapeInfos :: Lens' ListTapesResponse [TapeInfo] ltrsTapeInfos = lens _ltrsTapeInfos (\ s a -> s{_ltrsTapeInfos = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. ltrsResponseStatus :: Lens' ListTapesResponse Int ltrsResponseStatus = lens _ltrsResponseStatus (\ s a -> s{_ltrsResponseStatus = a});
gen/Network/AWS/StorageGateway/ListVolumeInitiators.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Lists iSCSI initiators that are connected to a volume. You can use this operation to determine whether a volume is being used or not.+--+-- module Network.AWS.StorageGateway.ListVolumeInitiators ( -- * Creating a Request@@ -44,6 +46,8 @@ -- | ListVolumeInitiatorsInput --+--+-- -- /See:/ 'listVolumeInitiators' smart constructor. newtype ListVolumeInitiators = ListVolumeInitiators' { _lviVolumeARN :: Text@@ -53,7 +57,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lviVolumeARN'+-- * 'lviVolumeARN' - The Amazon Resource Name (ARN) of the volume. Use the 'ListVolumes' operation to return a list of gateway volumes for the gateway. listVolumeInitiators :: Text -- ^ 'lviVolumeARN' -> ListVolumeInitiators@@ -62,7 +66,7 @@ { _lviVolumeARN = pVolumeARN_ } --- | The Amazon Resource Name (ARN) of the volume. Use the < ListVolumes> operation to return a list of gateway volumes for the gateway.+-- | The Amazon Resource Name (ARN) of the volume. Use the 'ListVolumes' operation to return a list of gateway volumes for the gateway. lviVolumeARN :: Lens' ListVolumeInitiators Text lviVolumeARN = lens _lviVolumeARN (\ s a -> s{_lviVolumeARN = a}); @@ -104,6 +108,8 @@ -- | ListVolumeInitiatorsOutput --+--+-- -- /See:/ 'listVolumeInitiatorsResponse' smart constructor. data ListVolumeInitiatorsResponse = ListVolumeInitiatorsResponse' { _lvirsInitiators :: !(Maybe [Text])@@ -114,9 +120,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lvirsInitiators'+-- * 'lvirsInitiators' - The host names and port numbers of all iSCSI initiators that are connected to the gateway. ----- * 'lvirsResponseStatus'+-- * 'lvirsResponseStatus' - -- | The response status code. listVolumeInitiatorsResponse :: Int -- ^ 'lvirsResponseStatus' -> ListVolumeInitiatorsResponse@@ -130,7 +136,7 @@ lvirsInitiators :: Lens' ListVolumeInitiatorsResponse [Text] lvirsInitiators = lens _lvirsInitiators (\ s a -> s{_lvirsInitiators = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. lvirsResponseStatus :: Lens' ListVolumeInitiatorsResponse Int lvirsResponseStatus = lens _lvirsResponseStatus (\ s a -> s{_lvirsResponseStatus = a});
gen/Network/AWS/StorageGateway/ListVolumeRecoveryPoints.hs view
@@ -20,7 +20,9 @@ -- -- Lists the recovery points for a specified gateway. This operation is supported only for the gateway-cached volume architecture. ----- Each gateway-cached volume has one recovery point. A volume recovery point is a point in time at which all data of the volume is consistent and from which you can create a snapshot. To create a snapshot from a volume recovery point use the < CreateSnapshotFromVolumeRecoveryPoint> operation.+--+-- Each gateway-cached volume has one recovery point. A volume recovery point is a point in time at which all data of the volume is consistent and from which you can create a snapshot. To create a snapshot from a volume recovery point use the 'CreateSnapshotFromVolumeRecoveryPoint' operation.+-- module Network.AWS.StorageGateway.ListVolumeRecoveryPoints ( -- * Creating a Request@@ -54,7 +56,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lvrpGatewayARN'+-- * 'lvrpGatewayARN' - Undocumented member. listVolumeRecoveryPoints :: Text -- ^ 'lvrpGatewayARN' -> ListVolumeRecoveryPoints@@ -115,11 +117,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lvrprsVolumeRecoveryPointInfos'+-- * 'lvrprsVolumeRecoveryPointInfos' - Undocumented member. ----- * 'lvrprsGatewayARN'+-- * 'lvrprsGatewayARN' - Undocumented member. ----- * 'lvrprsResponseStatus'+-- * 'lvrprsResponseStatus' - -- | The response status code. listVolumeRecoveryPointsResponse :: Int -- ^ 'lvrprsResponseStatus' -> ListVolumeRecoveryPointsResponse@@ -138,7 +140,7 @@ lvrprsGatewayARN :: Lens' ListVolumeRecoveryPointsResponse (Maybe Text) lvrprsGatewayARN = lens _lvrprsGatewayARN (\ s a -> s{_lvrprsGatewayARN = a}); --- | The response status code.+-- | -- | The response status code. lvrprsResponseStatus :: Lens' ListVolumeRecoveryPointsResponse Int lvrprsResponseStatus = lens _lvrprsResponseStatus (\ s a -> s{_lvrprsResponseStatus = a});
gen/Network/AWS/StorageGateway/ListVolumes.hs view
@@ -18,10 +18,12 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists the iSCSI stored volumes of a gateway. Results are sorted by volume ARN. The response includes only the volume ARNs. If you want additional volume information, use the < DescribeStorediSCSIVolumes> API.+-- Lists the iSCSI stored volumes of a gateway. Results are sorted by volume ARN. The response includes only the volume ARNs. If you want additional volume information, use the 'DescribeStorediSCSIVolumes' API. ----- The operation supports pagination. By default, the operation returns a maximum of up to 100 volumes. You can optionally specify the 'Limit' field in the body to limit the number of volumes in the response. If the number of volumes returned in the response is truncated, the response includes a Marker field. You can use this Marker value in your subsequent request to retrieve the next set of volumes. --+-- The operation supports pagination. By default, the operation returns a maximum of up to 100 volumes. You can optionally specify the @Limit@ field in the body to limit the number of volumes in the response. If the number of volumes returned in the response is truncated, the response includes a Marker field. You can use this Marker value in your subsequent request to retrieve the next set of volumes.+--+-- -- This operation returns paginated results. module Network.AWS.StorageGateway.ListVolumes (@@ -53,11 +55,14 @@ -- | A JSON object that contains one or more of the following fields: ----- - < ListVolumesInput>Limit> ----- - < ListVolumesInput>Marker>+-- * 'ListVolumesInput$Limit' --+-- * 'ListVolumesInput$Marker' --+--+--+-- -- /See:/ 'listVolumes' smart constructor. data ListVolumes = ListVolumes' { _lvGatewayARN :: !(Maybe Text)@@ -69,11 +74,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lvGatewayARN'+-- * 'lvGatewayARN' - Undocumented member. ----- * 'lvMarker'+-- * 'lvMarker' - A string that indicates the position at which to begin the returned list of volumes. Obtain the marker from the response of a previous List iSCSI Volumes request. ----- * 'lvLimit'+-- * 'lvLimit' - Specifies that the list of volumes returned be limited to the specified number of items. listVolumes :: ListVolumes listVolumes =@@ -153,13 +158,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lvrsGatewayARN'+-- * 'lvrsGatewayARN' - Undocumented member. ----- * 'lvrsMarker'+-- * 'lvrsMarker' - Undocumented member. ----- * 'lvrsVolumeInfos'+-- * 'lvrsVolumeInfos' - Undocumented member. ----- * 'lvrsResponseStatus'+-- * 'lvrsResponseStatus' - -- | The response status code. listVolumesResponse :: Int -- ^ 'lvrsResponseStatus' -> ListVolumesResponse@@ -183,7 +188,7 @@ lvrsVolumeInfos :: Lens' ListVolumesResponse [VolumeInfo] lvrsVolumeInfos = lens _lvrsVolumeInfos (\ s a -> s{_lvrsVolumeInfos = a}) . _Default . _Coerce; --- | The response status code.+-- | -- | The response status code. lvrsResponseStatus :: Lens' ListVolumesResponse Int lvrsResponseStatus = lens _lvrsResponseStatus (\ s a -> s{_lvrsResponseStatus = a});
gen/Network/AWS/StorageGateway/RemoveTagsFromResource.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Removes one or more tags from the specified resource.+--+-- module Network.AWS.StorageGateway.RemoveTagsFromResource ( -- * Creating a Request@@ -45,6 +47,8 @@ -- | RemoveTagsFromResourceInput --+--+-- -- /See:/ 'removeTagsFromResource' smart constructor. data RemoveTagsFromResource = RemoveTagsFromResource' { _rtfrResourceARN :: !Text@@ -55,9 +59,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rtfrResourceARN'+-- * 'rtfrResourceARN' - The Amazon Resource Name (ARN) of the resource you want to remove the tags from. ----- * 'rtfrTagKeys'+-- * 'rtfrTagKeys' - The keys of the tags you want to remove from the specified resource. A tag is composed of a key/value pair. removeTagsFromResource :: Text -- ^ 'rtfrResourceARN' -> RemoveTagsFromResource@@ -71,7 +75,7 @@ rtfrResourceARN :: Lens' RemoveTagsFromResource Text rtfrResourceARN = lens _rtfrResourceARN (\ s a -> s{_rtfrResourceARN = a}); --- | The keys of the tags you want to remove from the specified resource. A tag is composed of a key\/value pair.+-- | The keys of the tags you want to remove from the specified resource. A tag is composed of a key/value pair. rtfrTagKeys :: Lens' RemoveTagsFromResource [Text] rtfrTagKeys = lens _rtfrTagKeys (\ s a -> s{_rtfrTagKeys = a}) . _Coerce; @@ -114,6 +118,8 @@ -- | RemoveTagsFromResourceOutput --+--+-- -- /See:/ 'removeTagsFromResourceResponse' smart constructor. data RemoveTagsFromResourceResponse = RemoveTagsFromResourceResponse' { _rtfrrsResourceARN :: !(Maybe Text)@@ -124,9 +130,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rtfrrsResourceARN'+-- * 'rtfrrsResourceARN' - The Amazon Resource Name (ARN) of the resource that the tags were removed from. ----- * 'rtfrrsResponseStatus'+-- * 'rtfrrsResponseStatus' - -- | The response status code. removeTagsFromResourceResponse :: Int -- ^ 'rtfrrsResponseStatus' -> RemoveTagsFromResourceResponse@@ -140,7 +146,7 @@ rtfrrsResourceARN :: Lens' RemoveTagsFromResourceResponse (Maybe Text) rtfrrsResourceARN = lens _rtfrrsResourceARN (\ s a -> s{_rtfrrsResourceARN = a}); --- | The response status code.+-- | -- | The response status code. rtfrrsResponseStatus :: Lens' RemoveTagsFromResourceResponse Int rtfrrsResponseStatus = lens _rtfrrsResponseStatus (\ s a -> s{_rtfrrsResponseStatus = a});
gen/Network/AWS/StorageGateway/ResetCache.hs view
@@ -20,7 +20,9 @@ -- -- Resets all cache disks that have encountered a error and makes the disks available for reconfiguration as cache storage. If your cache disk encounters a error, the gateway prevents read and write operations on virtual tapes in the gateway. For example, an error can occur when a disk is corrupted or removed from the gateway. When a cache is reset, the gateway loses its cache storage. At this point you can reconfigure the disks as cache disks. ----- If the cache disk you are resetting contains data that has not been uploaded to Amazon S3 yet, that data can be lost. After you reset cache disks, there will be no configured cache disks left in the gateway, so you must configure at least one new cache disk for your gateway to function properly.+--+-- /Important:/ If the cache disk you are resetting contains data that has not been uploaded to Amazon S3 yet, that data can be lost. After you reset cache disks, there will be no configured cache disks left in the gateway, so you must configure at least one new cache disk for your gateway to function properly.+-- module Network.AWS.StorageGateway.ResetCache ( -- * Creating a Request@@ -53,7 +55,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rcGatewayARN'+-- * 'rcGatewayARN' - Undocumented member. resetCache :: Text -- ^ 'rcGatewayARN' -> ResetCache@@ -109,9 +111,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rcrsGatewayARN'+-- * 'rcrsGatewayARN' - Undocumented member. ----- * 'rcrsResponseStatus'+-- * 'rcrsResponseStatus' - -- | The response status code. resetCacheResponse :: Int -- ^ 'rcrsResponseStatus' -> ResetCacheResponse@@ -125,7 +127,7 @@ rcrsGatewayARN :: Lens' ResetCacheResponse (Maybe Text) rcrsGatewayARN = lens _rcrsGatewayARN (\ s a -> s{_rcrsGatewayARN = a}); --- | The response status code.+-- | -- | The response status code. rcrsResponseStatus :: Lens' ResetCacheResponse Int rcrsResponseStatus = lens _rcrsResponseStatus (\ s a -> s{_rcrsResponseStatus = a});
gen/Network/AWS/StorageGateway/RetrieveTapeArchive.hs view
@@ -20,7 +20,9 @@ -- -- Retrieves an archived virtual tape from the virtual tape shelf (VTS) to a gateway-VTL. Virtual tapes archived in the VTS are not associated with any gateway. However after a tape is retrieved, it is associated with a gateway, even though it is also listed in the VTS. --+-- -- Once a tape is successfully retrieved to a gateway, it cannot be retrieved again to another gateway. You must archive the tape again before you can retrieve it to another gateway.+-- module Network.AWS.StorageGateway.RetrieveTapeArchive ( -- * Creating a Request@@ -47,6 +49,8 @@ -- | RetrieveTapeArchiveInput --+--+-- -- /See:/ 'retrieveTapeArchive' smart constructor. data RetrieveTapeArchive = RetrieveTapeArchive' { _rtaTapeARN :: !Text@@ -57,9 +61,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rtaTapeARN'+-- * 'rtaTapeARN' - The Amazon Resource Name (ARN) of the virtual tape you want to retrieve from the virtual tape shelf (VTS). ----- * 'rtaGatewayARN'+-- * 'rtaGatewayARN' - The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to. Use the 'ListGateways' operation to return a list of gateways for your account and region. You retrieve archived virtual tapes to only one gateway and the gateway must be a gateway-VTL. retrieveTapeArchive :: Text -- ^ 'rtaTapeARN' -> Text -- ^ 'rtaGatewayARN'@@ -74,9 +78,7 @@ rtaTapeARN :: Lens' RetrieveTapeArchive Text rtaTapeARN = lens _rtaTapeARN (\ s a -> s{_rtaTapeARN = a}); --- | The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to. Use the < ListGateways> operation to return a list of gateways for your account and region.------ You retrieve archived virtual tapes to only one gateway and the gateway must be a gateway-VTL.+-- | The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to. Use the 'ListGateways' operation to return a list of gateways for your account and region. You retrieve archived virtual tapes to only one gateway and the gateway must be a gateway-VTL. rtaGatewayARN :: Lens' RetrieveTapeArchive Text rtaGatewayARN = lens _rtaGatewayARN (\ s a -> s{_rtaGatewayARN = a}); @@ -119,6 +121,8 @@ -- | RetrieveTapeArchiveOutput --+--+-- -- /See:/ 'retrieveTapeArchiveResponse' smart constructor. data RetrieveTapeArchiveResponse = RetrieveTapeArchiveResponse' { _rtarsTapeARN :: !(Maybe Text)@@ -129,9 +133,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rtarsTapeARN'+-- * 'rtarsTapeARN' - The Amazon Resource Name (ARN) of the retrieved virtual tape. ----- * 'rtarsResponseStatus'+-- * 'rtarsResponseStatus' - -- | The response status code. retrieveTapeArchiveResponse :: Int -- ^ 'rtarsResponseStatus' -> RetrieveTapeArchiveResponse@@ -145,7 +149,7 @@ rtarsTapeARN :: Lens' RetrieveTapeArchiveResponse (Maybe Text) rtarsTapeARN = lens _rtarsTapeARN (\ s a -> s{_rtarsTapeARN = a}); --- | The response status code.+-- | -- | The response status code. rtarsResponseStatus :: Lens' RetrieveTapeArchiveResponse Int rtarsResponseStatus = lens _rtarsResponseStatus (\ s a -> s{_rtarsResponseStatus = a});
gen/Network/AWS/StorageGateway/RetrieveTapeRecoveryPoint.hs view
@@ -20,9 +20,9 @@ -- -- Retrieves the recovery point for the specified virtual tape. --+-- -- A recovery point is a point in time view of a virtual tape at which all the data on the tape is consistent. If your gateway crashes, virtual tapes that have recovery points can be recovered to a new gateway. ----- The virtual tape can be retrieved to only one gateway. The retrieved tape is read-only. The virtual tape can be retrieved to only a gateway-VTL. There is no charge for retrieving recovery points. module Network.AWS.StorageGateway.RetrieveTapeRecoveryPoint ( -- * Creating a Request@@ -49,6 +49,8 @@ -- | RetrieveTapeRecoveryPointInput --+--+-- -- /See:/ 'retrieveTapeRecoveryPoint' smart constructor. data RetrieveTapeRecoveryPoint = RetrieveTapeRecoveryPoint' { _rtrpTapeARN :: !Text@@ -59,9 +61,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rtrpTapeARN'+-- * 'rtrpTapeARN' - The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the recovery point. ----- * 'rtrpGatewayARN'+-- * 'rtrpGatewayARN' - Undocumented member. retrieveTapeRecoveryPoint :: Text -- ^ 'rtrpTapeARN' -> Text -- ^ 'rtrpGatewayARN'@@ -119,6 +121,8 @@ -- | RetrieveTapeRecoveryPointOutput --+--+-- -- /See:/ 'retrieveTapeRecoveryPointResponse' smart constructor. data RetrieveTapeRecoveryPointResponse = RetrieveTapeRecoveryPointResponse' { _rtrprsTapeARN :: !(Maybe Text)@@ -129,9 +133,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rtrprsTapeARN'+-- * 'rtrprsTapeARN' - The Amazon Resource Name (ARN) of the virtual tape for which the recovery point was retrieved. ----- * 'rtrprsResponseStatus'+-- * 'rtrprsResponseStatus' - -- | The response status code. retrieveTapeRecoveryPointResponse :: Int -- ^ 'rtrprsResponseStatus' -> RetrieveTapeRecoveryPointResponse@@ -145,7 +149,7 @@ rtrprsTapeARN :: Lens' RetrieveTapeRecoveryPointResponse (Maybe Text) rtrprsTapeARN = lens _rtrprsTapeARN (\ s a -> s{_rtrprsTapeARN = a}); --- | The response status code.+-- | -- | The response status code. rtrprsResponseStatus :: Lens' RetrieveTapeRecoveryPointResponse Int rtrprsResponseStatus = lens _rtrprsResponseStatus (\ s a -> s{_rtrprsResponseStatus = a});
gen/Network/AWS/StorageGateway/SetLocalConsolePassword.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Sets the password for your VM local console. When you log in to the local console for the first time, you log in to the VM with the default credentials. We recommend that you set a new password. You don\'t need to know the default password to set a new password.+-- Sets the password for your VM local console. When you log in to the local console for the first time, you log in to the VM with the default credentials. We recommend that you set a new password. You don't need to know the default password to set a new password.+--+-- module Network.AWS.StorageGateway.SetLocalConsolePassword ( -- * Creating a Request@@ -45,6 +47,8 @@ -- | SetLocalConsolePasswordInput --+--+-- -- /See:/ 'setLocalConsolePassword' smart constructor. data SetLocalConsolePassword = SetLocalConsolePassword' { _slcpGatewayARN :: !Text@@ -55,9 +59,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'slcpGatewayARN'+-- * 'slcpGatewayARN' - Undocumented member. ----- * 'slcpLocalConsolePassword'+-- * 'slcpLocalConsolePassword' - The password you want to set for your VM local console. setLocalConsolePassword :: Text -- ^ 'slcpGatewayARN' -> Text -- ^ 'slcpLocalConsolePassword'@@ -125,9 +129,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'slcprsGatewayARN'+-- * 'slcprsGatewayARN' - Undocumented member. ----- * 'slcprsResponseStatus'+-- * 'slcprsResponseStatus' - -- | The response status code. setLocalConsolePasswordResponse :: Int -- ^ 'slcprsResponseStatus' -> SetLocalConsolePasswordResponse@@ -141,7 +145,7 @@ slcprsGatewayARN :: Lens' SetLocalConsolePasswordResponse (Maybe Text) slcprsGatewayARN = lens _slcprsGatewayARN (\ s a -> s{_slcprsGatewayARN = a}); --- | The response status code.+-- | -- | The response status code. slcprsResponseStatus :: Lens' SetLocalConsolePasswordResponse Int slcprsResponseStatus = lens _slcprsResponseStatus (\ s a -> s{_slcprsResponseStatus = a});
gen/Network/AWS/StorageGateway/ShutdownGateway.hs view
@@ -20,15 +20,13 @@ -- -- Shuts down a gateway. To specify which gateway to shut down, use the Amazon Resource Name (ARN) of the gateway in the body of your request. ----- The operation shuts down the gateway service component running in the storage gateway\'s virtual machine (VM) and not the VM. ----- If you want to shut down the VM, it is recommended that you first shut down the gateway component in the VM to avoid unpredictable conditions.+-- The operation shuts down the gateway service component running in the storage gateway's virtual machine (VM) and not the VM. ----- After the gateway is shutdown, you cannot call any other API except < StartGateway>, < DescribeGatewayInformation>, and < ListGateways>. For more information, see < ActivateGateway>. Your applications cannot read from or write to the gateway\'s storage volumes, and there are no snapshots taken.+-- After the gateway is shutdown, you cannot call any other API except 'StartGateway' , 'DescribeGatewayInformation' , and 'ListGateways' . For more information, see 'ActivateGateway' . Your applications cannot read from or write to the gateway's storage volumes, and there are no snapshots taken. ----- When you make a shutdown request, you will get a '200 OK' success response immediately. However, it might take some time for the gateway to shut down. You can call the < DescribeGatewayInformation> API to check the status. For more information, see < ActivateGateway>.+-- If do not intend to use the gateway again, you must delete the gateway (using 'DeleteGateway' ) to no longer pay software charges associated with the gateway. ----- If do not intend to use the gateway again, you must delete the gateway (using < DeleteGateway>) to no longer pay software charges associated with the gateway. module Network.AWS.StorageGateway.ShutdownGateway ( -- * Creating a Request@@ -54,6 +52,8 @@ -- | A JSON object containing the of the gateway to shut down. --+--+-- -- /See:/ 'shutdownGateway' smart constructor. newtype ShutdownGateway = ShutdownGateway' { _sGatewayARN :: Text@@ -63,7 +63,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sGatewayARN'+-- * 'sGatewayARN' - Undocumented member. shutdownGateway :: Text -- ^ 'sGatewayARN' -> ShutdownGateway@@ -112,6 +112,8 @@ -- | A JSON object containing the of the gateway that was shut down. --+--+-- -- /See:/ 'shutdownGatewayResponse' smart constructor. data ShutdownGatewayResponse = ShutdownGatewayResponse' { _srsGatewayARN :: !(Maybe Text)@@ -122,9 +124,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'srsGatewayARN'+-- * 'srsGatewayARN' - Undocumented member. ----- * 'srsResponseStatus'+-- * 'srsResponseStatus' - -- | The response status code. shutdownGatewayResponse :: Int -- ^ 'srsResponseStatus' -> ShutdownGatewayResponse@@ -138,7 +140,7 @@ srsGatewayARN :: Lens' ShutdownGatewayResponse (Maybe Text) srsGatewayARN = lens _srsGatewayARN (\ s a -> s{_srsGatewayARN = a}); --- | The response status code.+-- | -- | The response status code. srsResponseStatus :: Lens' ShutdownGatewayResponse Int srsResponseStatus = lens _srsResponseStatus (\ s a -> s{_srsResponseStatus = a});
gen/Network/AWS/StorageGateway/StartGateway.hs view
@@ -18,11 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Starts a gateway that you previously shut down (see < ShutdownGateway>). After the gateway starts, you can then make other API calls, your applications can read from or write to the gateway\'s storage volumes and you will be able to take snapshot backups.+-- Starts a gateway that you previously shut down (see 'ShutdownGateway' ). After the gateway starts, you can then make other API calls, your applications can read from or write to the gateway's storage volumes and you will be able to take snapshot backups. ----- When you make a request, you will get a 200 OK success response immediately. However, it might take some time for the gateway to be ready. You should call < DescribeGatewayInformation> and check the status before making any additional API calls. For more information, see < ActivateGateway>. -- -- To specify which gateway to start, use the Amazon Resource Name (ARN) of the gateway in your request.+-- module Network.AWS.StorageGateway.StartGateway ( -- * Creating a Request@@ -48,6 +48,8 @@ -- | A JSON object containing the of the gateway to start. --+--+-- -- /See:/ 'startGateway' smart constructor. newtype StartGateway = StartGateway' { _sgGatewayARN :: Text@@ -57,7 +59,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sgGatewayARN'+-- * 'sgGatewayARN' - Undocumented member. startGateway :: Text -- ^ 'sgGatewayARN' -> StartGateway@@ -106,6 +108,8 @@ -- | A JSON object containing the of the gateway that was restarted. --+--+-- -- /See:/ 'startGatewayResponse' smart constructor. data StartGatewayResponse = StartGatewayResponse' { _sgrsGatewayARN :: !(Maybe Text)@@ -116,9 +120,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sgrsGatewayARN'+-- * 'sgrsGatewayARN' - Undocumented member. ----- * 'sgrsResponseStatus'+-- * 'sgrsResponseStatus' - -- | The response status code. startGatewayResponse :: Int -- ^ 'sgrsResponseStatus' -> StartGatewayResponse@@ -132,7 +136,7 @@ sgrsGatewayARN :: Lens' StartGatewayResponse (Maybe Text) sgrsGatewayARN = lens _sgrsGatewayARN (\ s a -> s{_sgrsGatewayARN = a}); --- | The response status code.+-- | -- | The response status code. sgrsResponseStatus :: Lens' StartGatewayResponse Int sgrsResponseStatus = lens _sgrsResponseStatus (\ s a -> s{_sgrsResponseStatus = a});
gen/Network/AWS/StorageGateway/Types.hs view
@@ -174,7 +174,7 @@ import Network.AWS.StorageGateway.Types.Product import Network.AWS.StorageGateway.Types.Sum --- | API version '2013-06-30' of the Amazon Storage Gateway SDK configuration.+-- | API version @2013-06-30@ of the Amazon Storage Gateway SDK configuration. storageGateway :: Service storageGateway = Service@@ -209,10 +209,14 @@ | otherwise = Nothing -- | An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.+--+-- _InvalidGatewayRequestException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidGatewayRequestException = _ServiceError . hasCode "InvalidGatewayRequestException" -- | An internal server error has occurred during the request. For more information, see the error and message fields.+--+-- _InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError _InternalServerError = _ServiceError . hasCode "InternalServerError"
gen/Network/AWS/StorageGateway/Types/Product.hs view
@@ -37,21 +37,21 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cscsivVolumeiSCSIAttributes'+-- * 'cscsivVolumeiSCSIAttributes' - Undocumented member. ----- * 'cscsivVolumeStatus'+-- * 'cscsivVolumeStatus' - Undocumented member. ----- * 'cscsivSourceSnapshotId'+-- * 'cscsivSourceSnapshotId' - Undocumented member. ----- * 'cscsivVolumeARN'+-- * 'cscsivVolumeARN' - Undocumented member. ----- * 'cscsivVolumeProgress'+-- * 'cscsivVolumeProgress' - Undocumented member. ----- * 'cscsivVolumeSizeInBytes'+-- * 'cscsivVolumeSizeInBytes' - Undocumented member. ----- * 'cscsivVolumeId'+-- * 'cscsivVolumeId' - Undocumented member. ----- * 'cscsivVolumeType'+-- * 'cscsivVolumeType' - Undocumented member. cachediSCSIVolume :: CachediSCSIVolume cachediSCSIVolume =@@ -118,6 +118,8 @@ -- | Describes Challenge-Handshake Authentication Protocol (CHAP) information that supports authentication between your gateway and iSCSI initiators. --+--+-- -- /See:/ 'chapInfo' smart constructor. data ChapInfo = ChapInfo' { _ciTargetARN :: !(Maybe Text)@@ -130,13 +132,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ciTargetARN'+-- * 'ciTargetARN' - The Amazon Resource Name (ARN) of the volume. Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-). ----- * 'ciSecretToAuthenticateInitiator'+-- * 'ciSecretToAuthenticateInitiator' - The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target. ----- * 'ciInitiatorName'+-- * 'ciInitiatorName' - The iSCSI initiator that connects to the target. ----- * 'ciSecretToAuthenticateTarget'+-- * 'ciSecretToAuthenticateTarget' - The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client). chapInfo :: ChapInfo chapInfo =@@ -147,9 +149,7 @@ , _ciSecretToAuthenticateTarget = Nothing } --- | The Amazon Resource Name (ARN) of the volume.------ Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).+-- | The Amazon Resource Name (ARN) of the volume. Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-). ciTargetARN :: Lens' ChapInfo (Maybe Text) ciTargetARN = lens _ciTargetARN (\ s a -> s{_ciTargetARN = a}); @@ -181,6 +181,8 @@ -- | Lists iSCSI information about a VTL device. --+--+-- -- /See:/ 'deviceiSCSIAttributes' smart constructor. data DeviceiSCSIAttributes = DeviceiSCSIAttributes' { _dscsiaTargetARN :: !(Maybe Text)@@ -193,13 +195,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dscsiaTargetARN'+-- * 'dscsiaTargetARN' - Specifies the unique Amazon Resource Name(ARN) that encodes the iSCSI qualified name(iqn) of a tape drive or media changer target. ----- * 'dscsiaChapEnabled'+-- * 'dscsiaChapEnabled' - Indicates whether mutual CHAP is enabled for the iSCSI target. ----- * 'dscsiaNetworkInterfaceId'+-- * 'dscsiaNetworkInterfaceId' - The network interface identifier of the VTL device. ----- * 'dscsiaNetworkInterfacePort'+-- * 'dscsiaNetworkInterfacePort' - The port used to communicate with iSCSI VTL device targets. deviceiSCSIAttributes :: DeviceiSCSIAttributes deviceiSCSIAttributes =@@ -254,19 +256,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dDiskAllocationResource'+-- * 'dDiskAllocationResource' - Undocumented member. ----- * 'dDiskAllocationType'+-- * 'dDiskAllocationType' - Undocumented member. ----- * 'dDiskNode'+-- * 'dDiskNode' - Undocumented member. ----- * 'dDiskPath'+-- * 'dDiskPath' - Undocumented member. ----- * 'dDiskSizeInBytes'+-- * 'dDiskSizeInBytes' - Undocumented member. ----- * 'dDiskStatus'+-- * 'dDiskStatus' - Undocumented member. ----- * 'dDiskId'+-- * 'dDiskId' - Undocumented member. disk :: Disk disk =@@ -327,6 +329,8 @@ -- | Describes a gateway object. --+--+-- -- /See:/ 'gatewayInfo' smart constructor. data GatewayInfo = GatewayInfo' { _giGatewayARN :: !(Maybe Text)@@ -340,15 +344,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'giGatewayARN'+-- * 'giGatewayARN' - The Amazon Resource Name (ARN) of the gateway. Use the 'ListGateways' operation to return a list of gateways for your account and region. ----- * 'giGatewayOperationalState'+-- * 'giGatewayOperationalState' - The state of the gateway. Valid Values: DISABLED or ACTIVE ----- * 'giGatewayName'+-- * 'giGatewayName' - The name of the gateway. ----- * 'giGatewayId'+-- * 'giGatewayId' - The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations. ----- * 'giGatewayType'+-- * 'giGatewayType' - The type of the gateway. gatewayInfo :: GatewayInfo gatewayInfo =@@ -360,13 +364,11 @@ , _giGatewayType = Nothing } --- | The Amazon Resource Name (ARN) of the gateway. Use the < ListGateways> operation to return a list of gateways for your account and region.+-- | The Amazon Resource Name (ARN) of the gateway. Use the 'ListGateways' operation to return a list of gateways for your account and region. giGatewayARN :: Lens' GatewayInfo (Maybe Text) giGatewayARN = lens _giGatewayARN (\ s a -> s{_giGatewayARN = a}); --- | The state of the gateway.------ Valid Values: DISABLED or ACTIVE+-- | The state of the gateway. Valid Values: DISABLED or ACTIVE giGatewayOperationalState :: Lens' GatewayInfo (Maybe Text) giGatewayOperationalState = lens _giGatewayOperationalState (\ s a -> s{_giGatewayOperationalState = a}); @@ -397,8 +399,10 @@ instance NFData GatewayInfo --- | Describes a gateway\'s network interface.+-- | Describes a gateway's network interface. --+--+-- -- /See:/ 'networkInterface' smart constructor. data NetworkInterface = NetworkInterface' { _niIPv6Address :: !(Maybe Text)@@ -410,11 +414,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'niIPv6Address'+-- * 'niIPv6Address' - The Internet Protocol version 6 (IPv6) address of the interface. /Currently not supported/ . ----- * 'niMACAddress'+-- * 'niMACAddress' - The Media Access Control (MAC) address of the interface. ----- * 'niIPv4Address'+-- * 'niIPv4Address' - The Internet Protocol version 4 (IPv4) address of the interface. networkInterface :: NetworkInterface networkInterface =@@ -424,13 +428,11 @@ , _niIPv4Address = Nothing } --- | The Internet Protocol version 6 (IPv6) address of the interface. /Currently not supported/.+-- | The Internet Protocol version 6 (IPv6) address of the interface. /Currently not supported/ . niIPv6Address :: Lens' NetworkInterface (Maybe Text) niIPv6Address = lens _niIPv6Address (\ s a -> s{_niIPv6Address = a}); -- | The Media Access Control (MAC) address of the interface.------ This is currently unsupported and will not be returned in output. niMACAddress :: Lens' NetworkInterface (Maybe Text) niMACAddress = lens _niMACAddress (\ s a -> s{_niMACAddress = a}); @@ -468,25 +470,25 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sscsivVolumeiSCSIAttributes'+-- * 'sscsivVolumeiSCSIAttributes' - Undocumented member. ----- * 'sscsivVolumeStatus'+-- * 'sscsivVolumeStatus' - Undocumented member. ----- * 'sscsivSourceSnapshotId'+-- * 'sscsivSourceSnapshotId' - Undocumented member. ----- * 'sscsivPreservedExistingData'+-- * 'sscsivPreservedExistingData' - Undocumented member. ----- * 'sscsivVolumeARN'+-- * 'sscsivVolumeARN' - Undocumented member. ----- * 'sscsivVolumeProgress'+-- * 'sscsivVolumeProgress' - Undocumented member. ----- * 'sscsivVolumeSizeInBytes'+-- * 'sscsivVolumeSizeInBytes' - Undocumented member. ----- * 'sscsivVolumeId'+-- * 'sscsivVolumeId' - Undocumented member. ----- * 'sscsivVolumeDiskId'+-- * 'sscsivVolumeDiskId' - Undocumented member. ----- * 'sscsivVolumeType'+-- * 'sscsivVolumeType' - Undocumented member. storediSCSIVolume :: StorediSCSIVolume storediSCSIVolume =@@ -573,9 +575,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tagKey'+-- * 'tagKey' - Undocumented member. ----- * 'tagValue'+-- * 'tagValue' - Undocumented member. tag :: Text -- ^ 'tagKey' -> Text -- ^ 'tagValue'@@ -612,6 +614,8 @@ -- | Describes a virtual tape object. --+--+-- -- /See:/ 'tape' smart constructor. data Tape = Tape' { _tTapeBarcode :: !(Maybe Text)@@ -626,17 +630,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tTapeBarcode'+-- * 'tTapeBarcode' - The barcode that identifies a specific virtual tape. ----- * 'tTapeStatus'+-- * 'tTapeStatus' - The current state of the virtual tape. ----- * 'tTapeARN'+-- * 'tTapeARN' - The Amazon Resource Name (ARN) of the virtual tape. ----- * 'tProgress'+-- * 'tProgress' - For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete. Range: 0 (not started) to 100 (complete). ----- * 'tTapeSizeInBytes'+-- * 'tTapeSizeInBytes' - The size, in bytes, of the virtual tape. ----- * 'tVTLDevice'+-- * 'tVTLDevice' - The virtual tape library (VTL) device that the virtual tape is associated with. tape :: Tape tape =@@ -661,9 +665,7 @@ tTapeARN :: Lens' Tape (Maybe Text) tTapeARN = lens _tTapeARN (\ s a -> s{_tTapeARN = a}); --- | For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete.------ Range: 0 (not started) to 100 (complete).+-- | For archiving virtual tapes, indicates how much data remains to be uploaded before archiving is complete. Range: 0 (not started) to 100 (complete). tProgress :: Lens' Tape (Maybe Double) tProgress = lens _tProgress (\ s a -> s{_tProgress = a}); @@ -692,6 +694,8 @@ -- | Represents a virtual tape that is archived in the virtual tape shelf (VTS). --+--+-- -- /See:/ 'tapeArchive' smart constructor. data TapeArchive = TapeArchive' { _taTapeBarcode :: !(Maybe Text)@@ -706,17 +710,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'taTapeBarcode'+-- * 'taTapeBarcode' - The barcode that identifies the archived virtual tape. ----- * 'taTapeStatus'+-- * 'taTapeStatus' - The current state of the archived virtual tape. ----- * 'taTapeARN'+-- * 'taTapeARN' - The Amazon Resource Name (ARN) of an archived virtual tape. ----- * 'taTapeSizeInBytes'+-- * 'taTapeSizeInBytes' - The size, in bytes, of the archived virtual tape. ----- * 'taCompletionTime'+-- * 'taCompletionTime' - The time that the archiving of the virtual tape was completed. The string format of the completion time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format. ----- * 'taRetrievedTo'+-- * 'taRetrievedTo' - The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape is being retrieved to. The virtual tape is retrieved from the virtual tape shelf (VTS). tapeArchive :: TapeArchive tapeArchive =@@ -745,15 +749,11 @@ taTapeSizeInBytes :: Lens' TapeArchive (Maybe Integer) taTapeSizeInBytes = lens _taTapeSizeInBytes (\ s a -> s{_taTapeSizeInBytes = a}); --- | The time that the archiving of the virtual tape was completed.------ The string format of the completion time is in the ISO8601 extended YYYY-MM-DD\'T\'HH:MM:SS\'Z\' format.+-- | The time that the archiving of the virtual tape was completed. The string format of the completion time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format. taCompletionTime :: Lens' TapeArchive (Maybe UTCTime) taCompletionTime = lens _taCompletionTime (\ s a -> s{_taCompletionTime = a}) . mapping _Time; --- | The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape is being retrieved to.------ The virtual tape is retrieved from the virtual tape shelf (VTS).+-- | The Amazon Resource Name (ARN) of the gateway-VTL that the virtual tape is being retrieved to. The virtual tape is retrieved from the virtual tape shelf (VTS). taRetrievedTo :: Lens' TapeArchive (Maybe Text) taRetrievedTo = lens _taRetrievedTo (\ s a -> s{_taRetrievedTo = a}); @@ -774,6 +774,8 @@ -- | Describes a virtual tape. --+--+-- -- /See:/ 'tapeInfo' smart constructor. data TapeInfo = TapeInfo' { _tiTapeBarcode :: !(Maybe Text)@@ -787,15 +789,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tiTapeBarcode'+-- * 'tiTapeBarcode' - The barcode that identifies a specific virtual tape. ----- * 'tiTapeStatus'+-- * 'tiTapeStatus' - The status of the tape. ----- * 'tiTapeARN'+-- * 'tiTapeARN' - The Amazon Resource Name (ARN) of a virtual tape. ----- * 'tiGatewayARN'+-- * 'tiGatewayARN' - The Amazon Resource Name (ARN) of the gateway. Use the 'ListGateways' operation to return a list of gateways for your account and region. ----- * 'tiTapeSizeInBytes'+-- * 'tiTapeSizeInBytes' - The size, in bytes, of a virtual tape. tapeInfo :: TapeInfo tapeInfo =@@ -819,7 +821,7 @@ tiTapeARN :: Lens' TapeInfo (Maybe Text) tiTapeARN = lens _tiTapeARN (\ s a -> s{_tiTapeARN = a}); --- | The Amazon Resource Name (ARN) of the gateway. Use the < ListGateways> operation to return a list of gateways for your account and region.+-- | The Amazon Resource Name (ARN) of the gateway. Use the 'ListGateways' operation to return a list of gateways for your account and region. tiGatewayARN :: Lens' TapeInfo (Maybe Text) tiGatewayARN = lens _tiGatewayARN (\ s a -> s{_tiGatewayARN = a}); @@ -843,6 +845,8 @@ -- | Describes a recovery point. --+--+-- -- /See:/ 'tapeRecoveryPointInfo' smart constructor. data TapeRecoveryPointInfo = TapeRecoveryPointInfo' { _trpiTapeStatus :: !(Maybe Text)@@ -855,13 +859,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'trpiTapeStatus'+-- * 'trpiTapeStatus' - Undocumented member. ----- * 'trpiTapeRecoveryPointTime'+-- * 'trpiTapeRecoveryPointTime' - The time when the point-in-time view of the virtual tape was replicated for later recovery. The string format of the tape recovery point time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format. ----- * 'trpiTapeARN'+-- * 'trpiTapeARN' - The Amazon Resource Name (ARN) of the virtual tape. ----- * 'trpiTapeSizeInBytes'+-- * 'trpiTapeSizeInBytes' - The size, in bytes, of the virtual tapes to recover. tapeRecoveryPointInfo :: TapeRecoveryPointInfo tapeRecoveryPointInfo =@@ -876,9 +880,7 @@ trpiTapeStatus :: Lens' TapeRecoveryPointInfo (Maybe Text) trpiTapeStatus = lens _trpiTapeStatus (\ s a -> s{_trpiTapeStatus = a}); --- | The time when the point-in-time view of the virtual tape was replicated for later recovery.------ The string format of the tape recovery point time is in the ISO8601 extended YYYY-MM-DD\'T\'HH:MM:SS\'Z\' format.+-- | The time when the point-in-time view of the virtual tape was replicated for later recovery. The string format of the tape recovery point time is in the ISO8601 extended YYYY-MM-DD'T'HH:MM:SS'Z' format. trpiTapeRecoveryPointTime :: Lens' TapeRecoveryPointInfo (Maybe UTCTime) trpiTapeRecoveryPointTime = lens _trpiTapeRecoveryPointTime (\ s a -> s{_trpiTapeRecoveryPointTime = a}) . mapping _Time; @@ -906,6 +908,8 @@ -- | Represents a device object associated with a gateway-VTL. --+--+-- -- /See:/ 'vTLDevice' smart constructor. data VTLDevice = VTLDevice' { _vtldDeviceiSCSIAttributes :: !(Maybe DeviceiSCSIAttributes)@@ -919,15 +923,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'vtldDeviceiSCSIAttributes'+-- * 'vtldDeviceiSCSIAttributes' - A list of iSCSI information about a VTL device. ----- * 'vtldVTLDeviceVendor'+-- * 'vtldVTLDeviceVendor' - Undocumented member. ----- * 'vtldVTLDeviceARN'+-- * 'vtldVTLDeviceARN' - Specifies the unique Amazon Resource Name (ARN) of the device (tape drive or media changer). ----- * 'vtldVTLDeviceType'+-- * 'vtldVTLDeviceType' - Undocumented member. ----- * 'vtldVTLDeviceProductIdentifier'+-- * 'vtldVTLDeviceProductIdentifier' - Undocumented member. vTLDevice :: VTLDevice vTLDevice =@@ -976,6 +980,8 @@ -- | Describes a storage volume object. --+--+-- -- /See:/ 'volumeInfo' smart constructor. data VolumeInfo = VolumeInfo' { _viGatewayARN :: !(Maybe Text)@@ -990,17 +996,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'viGatewayARN'+-- * 'viGatewayARN' - Undocumented member. ----- * 'viVolumeARN'+-- * 'viVolumeARN' - The Amazon Resource Name (ARN) for the storage volume. For example, the following is a valid ARN: @arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB@ Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-). ----- * 'viVolumeSizeInBytes'+-- * 'viVolumeSizeInBytes' - The size, in bytes, of the volume. Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-). ----- * 'viVolumeId'+-- * 'viVolumeId' - The unique identifier assigned to the volume. This ID becomes part of the volume Amazon Resource Name (ARN), which you use as input for other operations. Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-). ----- * 'viGatewayId'+-- * 'viGatewayId' - The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations. Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-). ----- * 'viVolumeType'+-- * 'viVolumeType' - Undocumented member. volumeInfo :: VolumeInfo volumeInfo =@@ -1017,29 +1023,19 @@ viGatewayARN :: Lens' VolumeInfo (Maybe Text) viGatewayARN = lens _viGatewayARN (\ s a -> s{_viGatewayARN = a}); --- | The Amazon Resource Name (ARN) for the storage volume. For example, the following is a valid ARN:------ 'arn:aws:storagegateway:us-east-1:111122223333:gateway\/sgw-12A3456B\/volume\/vol-1122AABB'------ Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).+-- | The Amazon Resource Name (ARN) for the storage volume. For example, the following is a valid ARN: @arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB@ Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-). viVolumeARN :: Lens' VolumeInfo (Maybe Text) viVolumeARN = lens _viVolumeARN (\ s a -> s{_viVolumeARN = a}); --- | The size, in bytes, of the volume.------ Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).+-- | The size, in bytes, of the volume. Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-). viVolumeSizeInBytes :: Lens' VolumeInfo (Maybe Integer) viVolumeSizeInBytes = lens _viVolumeSizeInBytes (\ s a -> s{_viVolumeSizeInBytes = a}); --- | The unique identifier assigned to the volume. This ID becomes part of the volume Amazon Resource Name (ARN), which you use as input for other operations.------ Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).+-- | The unique identifier assigned to the volume. This ID becomes part of the volume Amazon Resource Name (ARN), which you use as input for other operations. Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-). viVolumeId :: Lens' VolumeInfo (Maybe Text) viVolumeId = lens _viVolumeId (\ s a -> s{_viVolumeId = a}); --- | The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.------ Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).+-- | The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations. Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-). viGatewayId :: Lens' VolumeInfo (Maybe Text) viGatewayId = lens _viGatewayId (\ s a -> s{_viGatewayId = a}); @@ -1074,13 +1070,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'vrpiVolumeRecoveryPointTime'+-- * 'vrpiVolumeRecoveryPointTime' - Undocumented member. ----- * 'vrpiVolumeARN'+-- * 'vrpiVolumeARN' - Undocumented member. ----- * 'vrpiVolumeSizeInBytes'+-- * 'vrpiVolumeSizeInBytes' - Undocumented member. ----- * 'vrpiVolumeUsageInBytes'+-- * 'vrpiVolumeUsageInBytes' - Undocumented member. volumeRecoveryPointInfo :: VolumeRecoveryPointInfo volumeRecoveryPointInfo =@@ -1123,6 +1119,8 @@ -- | Lists iSCSI information about a volume. --+--+-- -- /See:/ 'volumeiSCSIAttributes' smart constructor. data VolumeiSCSIAttributes = VolumeiSCSIAttributes' { _vscsiaLunNumber :: !(Maybe Nat)@@ -1136,15 +1134,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'vscsiaLunNumber'+-- * 'vscsiaLunNumber' - The logical disk number. ----- * 'vscsiaTargetARN'+-- * 'vscsiaTargetARN' - The Amazon Resource Name (ARN) of the volume target. ----- * 'vscsiaChapEnabled'+-- * 'vscsiaChapEnabled' - Indicates whether mutual CHAP is enabled for the iSCSI target. ----- * 'vscsiaNetworkInterfaceId'+-- * 'vscsiaNetworkInterfaceId' - The network interface identifier. ----- * 'vscsiaNetworkInterfacePort'+-- * 'vscsiaNetworkInterfacePort' - The port used to communicate with iSCSI targets. volumeiSCSIAttributes :: VolumeiSCSIAttributes volumeiSCSIAttributes =
gen/Network/AWS/StorageGateway/UpdateBandwidthRateLimit.hs view
@@ -18,11 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates the bandwidth rate limits of a gateway. You can update both the upload and download bandwidth rate limit or specify only one of the two. If you don\'t set a bandwidth rate limit, the existing rate limit remains.+-- Updates the bandwidth rate limits of a gateway. You can update both the upload and download bandwidth rate limit or specify only one of the two. If you don't set a bandwidth rate limit, the existing rate limit remains. ----- By default, a gateway\'s bandwidth rate limits are not set. If you don\'t set any limit, the gateway does not have any limitations on its bandwidth usage and could potentially use the maximum available bandwidth. --+-- By default, a gateway's bandwidth rate limits are not set. If you don't set any limit, the gateway does not have any limitations on its bandwidth usage and could potentially use the maximum available bandwidth.+-- -- To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request.+-- module Network.AWS.StorageGateway.UpdateBandwidthRateLimit ( -- * Creating a Request@@ -50,11 +52,14 @@ -- | A JSON object containing one or more of the following fields: ----- - < UpdateBandwidthRateLimitInput>AverageDownloadRateLimitInBitsPerSec> ----- - < UpdateBandwidthRateLimitInput>AverageUploadRateLimitInBitsPerSec>+-- * 'UpdateBandwidthRateLimitInput$AverageDownloadRateLimitInBitsPerSec' --+-- * 'UpdateBandwidthRateLimitInput$AverageUploadRateLimitInBitsPerSec' --+--+--+-- -- /See:/ 'updateBandwidthRateLimit' smart constructor. data UpdateBandwidthRateLimit = UpdateBandwidthRateLimit' { _ubrlAverageUploadRateLimitInBitsPerSec :: !(Maybe Nat)@@ -66,11 +71,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ubrlAverageUploadRateLimitInBitsPerSec'+-- * 'ubrlAverageUploadRateLimitInBitsPerSec' - The average upload bandwidth rate limit in bits per second. ----- * 'ubrlAverageDownloadRateLimitInBitsPerSec'+-- * 'ubrlAverageDownloadRateLimitInBitsPerSec' - The average download bandwidth rate limit in bits per second. ----- * 'ubrlGatewayARN'+-- * 'ubrlGatewayARN' - Undocumented member. updateBandwidthRateLimit :: Text -- ^ 'ubrlGatewayARN' -> UpdateBandwidthRateLimit@@ -135,6 +140,8 @@ -- | A JSON object containing the of the gateway whose throttle information was updated. --+--+-- -- /See:/ 'updateBandwidthRateLimitResponse' smart constructor. data UpdateBandwidthRateLimitResponse = UpdateBandwidthRateLimitResponse' { _ubrlrsGatewayARN :: !(Maybe Text)@@ -145,9 +152,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ubrlrsGatewayARN'+-- * 'ubrlrsGatewayARN' - Undocumented member. ----- * 'ubrlrsResponseStatus'+-- * 'ubrlrsResponseStatus' - -- | The response status code. updateBandwidthRateLimitResponse :: Int -- ^ 'ubrlrsResponseStatus' -> UpdateBandwidthRateLimitResponse@@ -161,7 +168,7 @@ ubrlrsGatewayARN :: Lens' UpdateBandwidthRateLimitResponse (Maybe Text) ubrlrsGatewayARN = lens _ubrlrsGatewayARN (\ s a -> s{_ubrlrsGatewayARN = a}); --- | The response status code.+-- | -- | The response status code. ubrlrsResponseStatus :: Lens' UpdateBandwidthRateLimitResponse Int ubrlrsResponseStatus = lens _ubrlrsResponseStatus (\ s a -> s{_ubrlrsResponseStatus = a});
gen/Network/AWS/StorageGateway/UpdateChapCredentials.hs view
@@ -20,7 +20,9 @@ -- -- Updates the Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target. By default, a gateway does not have CHAP enabled; however, for added security, you might use it. ----- When you update CHAP credentials, all existing connections on the target are closed and initiators must reconnect with the new credentials.+--+-- /Important:/ When you update CHAP credentials, all existing connections on the target are closed and initiators must reconnect with the new credentials.+-- module Network.AWS.StorageGateway.UpdateChapCredentials ( -- * Creating a Request@@ -50,15 +52,18 @@ -- | A JSON object containing one or more of the following fields: ----- - < UpdateChapCredentialsInput>InitiatorName> ----- - < UpdateChapCredentialsInput>SecretToAuthenticateInitiator>+-- * 'UpdateChapCredentialsInput$InitiatorName' ----- - < UpdateChapCredentialsInput>SecretToAuthenticateTarget>+-- * 'UpdateChapCredentialsInput$SecretToAuthenticateInitiator' ----- - < UpdateChapCredentialsInput>TargetARN>+-- * 'UpdateChapCredentialsInput$SecretToAuthenticateTarget' --+-- * 'UpdateChapCredentialsInput$TargetARN' --+--+--+-- -- /See:/ 'updateChapCredentials' smart constructor. data UpdateChapCredentials = UpdateChapCredentials' { _uccSecretToAuthenticateTarget :: !(Maybe Text)@@ -71,13 +76,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uccSecretToAuthenticateTarget'+-- * 'uccSecretToAuthenticateTarget' - The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client). Byte constraints: Minimum bytes of 12. Maximum bytes of 16. ----- * 'uccTargetARN'+-- * 'uccTargetARN' - The Amazon Resource Name (ARN) of the iSCSI volume target. Use the 'DescribeStorediSCSIVolumes' operation to return the TargetARN for specified VolumeARN. ----- * 'uccSecretToAuthenticateInitiator'+-- * 'uccSecretToAuthenticateInitiator' - The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target. ----- * 'uccInitiatorName'+-- * 'uccInitiatorName' - The iSCSI initiator that connects to the target. updateChapCredentials :: Text -- ^ 'uccTargetARN' -> Text -- ^ 'uccSecretToAuthenticateInitiator'@@ -91,21 +96,15 @@ , _uccInitiatorName = pInitiatorName_ } --- | The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).------ Byte constraints: Minimum bytes of 12. Maximum bytes of 16.------ The secret key must be between 12 and 16 bytes when encoded in UTF-8.+-- | The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client). Byte constraints: Minimum bytes of 12. Maximum bytes of 16. uccSecretToAuthenticateTarget :: Lens' UpdateChapCredentials (Maybe Text) uccSecretToAuthenticateTarget = lens _uccSecretToAuthenticateTarget (\ s a -> s{_uccSecretToAuthenticateTarget = a}); --- | The Amazon Resource Name (ARN) of the iSCSI volume target. Use the < DescribeStorediSCSIVolumes> operation to return the TargetARN for specified VolumeARN.+-- | The Amazon Resource Name (ARN) of the iSCSI volume target. Use the 'DescribeStorediSCSIVolumes' operation to return the TargetARN for specified VolumeARN. uccTargetARN :: Lens' UpdateChapCredentials Text uccTargetARN = lens _uccTargetARN (\ s a -> s{_uccTargetARN = a}); -- | The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.------ The secret key must be between 12 and 16 bytes when encoded in UTF-8. uccSecretToAuthenticateInitiator :: Lens' UpdateChapCredentials Text uccSecretToAuthenticateInitiator = lens _uccSecretToAuthenticateInitiator (\ s a -> s{_uccSecretToAuthenticateInitiator = a}); @@ -158,6 +157,8 @@ -- | A JSON object containing the following fields: --+--+-- -- /See:/ 'updateChapCredentialsResponse' smart constructor. data UpdateChapCredentialsResponse = UpdateChapCredentialsResponse' { _uccrsTargetARN :: !(Maybe Text)@@ -169,11 +170,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uccrsTargetARN'+-- * 'uccrsTargetARN' - The Amazon Resource Name (ARN) of the target. This is the same target specified in the request. ----- * 'uccrsInitiatorName'+-- * 'uccrsInitiatorName' - The iSCSI initiator that connects to the target. This is the same initiator name specified in the request. ----- * 'uccrsResponseStatus'+-- * 'uccrsResponseStatus' - -- | The response status code. updateChapCredentialsResponse :: Int -- ^ 'uccrsResponseStatus' -> UpdateChapCredentialsResponse@@ -192,7 +193,7 @@ uccrsInitiatorName :: Lens' UpdateChapCredentialsResponse (Maybe Text) uccrsInitiatorName = lens _uccrsInitiatorName (\ s a -> s{_uccrsInitiatorName = a}); --- | The response status code.+-- | -- | The response status code. uccrsResponseStatus :: Lens' UpdateChapCredentialsResponse Int uccrsResponseStatus = lens _uccrsResponseStatus (\ s a -> s{_uccrsResponseStatus = a});
gen/Network/AWS/StorageGateway/UpdateGatewayInformation.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates a gateway\'s metadata, which includes the gateway\'s name and time zone. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request.+-- Updates a gateway's metadata, which includes the gateway's name and time zone. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request. ----- For Gateways activated after September 2, 2015, the gateway\'s ARN contains the gateway ID rather than the gateway name. However, changing the name of the gateway has no effect on the gateway\'s ARN.+-- module Network.AWS.StorageGateway.UpdateGatewayInformation ( -- * Creating a Request@@ -58,11 +58,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ugiGatewayName'+-- * 'ugiGatewayName' - Undocumented member. ----- * 'ugiGatewayTimezone'+-- * 'ugiGatewayTimezone' - Undocumented member. ----- * 'ugiGatewayARN'+-- * 'ugiGatewayARN' - Undocumented member. updateGatewayInformation :: Text -- ^ 'ugiGatewayARN' -> UpdateGatewayInformation@@ -126,6 +126,8 @@ -- | A JSON object containing the ARN of the gateway that was updated. --+--+-- -- /See:/ 'updateGatewayInformationResponse' smart constructor. data UpdateGatewayInformationResponse = UpdateGatewayInformationResponse' { _ugirsGatewayARN :: !(Maybe Text)@@ -137,11 +139,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ugirsGatewayARN'+-- * 'ugirsGatewayARN' - Undocumented member. ----- * 'ugirsGatewayName'+-- * 'ugirsGatewayName' - Undocumented member. ----- * 'ugirsResponseStatus'+-- * 'ugirsResponseStatus' - -- | The response status code. updateGatewayInformationResponse :: Int -- ^ 'ugirsResponseStatus' -> UpdateGatewayInformationResponse@@ -160,7 +162,7 @@ ugirsGatewayName :: Lens' UpdateGatewayInformationResponse (Maybe Text) ugirsGatewayName = lens _ugirsGatewayName (\ s a -> s{_ugirsGatewayName = a}); --- | The response status code.+-- | -- | The response status code. ugirsResponseStatus :: Lens' UpdateGatewayInformationResponse Int ugirsResponseStatus = lens _ugirsResponseStatus (\ s a -> s{_ugirsResponseStatus = a});
gen/Network/AWS/StorageGateway/UpdateGatewaySoftwareNow.hs view
@@ -20,9 +20,9 @@ -- -- Updates the gateway virtual machine (VM) software. The request immediately triggers the software update. ----- When you make this request, you get a '200 OK' success response immediately. However, it might take some time for the update to complete. You can call < DescribeGatewayInformation> to verify the gateway is in the 'STATE_RUNNING' state. ----- A software update forces a system restart of your gateway. You can minimize the chance of any disruption to your applications by increasing your iSCSI Initiators\' timeouts. For more information about increasing iSCSI Initiator timeouts for Windows and Linux, see <http://docs.aws.amazon.com/storagegateway/latest/userguide/ConfiguringiSCSIClientInitiatorWindowsClient.html#CustomizeWindowsiSCSISettings Customizing Your Windows iSCSI Settings> and <http://docs.aws.amazon.com/storagegateway/latest/userguide/ConfiguringiSCSIClientInitiatorRedHatClient.html#CustomizeLinuxiSCSISettings Customizing Your Linux iSCSI Settings>, respectively.+-- /Important:/ A software update forces a system restart of your gateway. You can minimize the chance of any disruption to your applications by increasing your iSCSI Initiators' timeouts. For more information about increasing iSCSI Initiator timeouts for Windows and Linux, see <http://docs.aws.amazon.com/storagegateway/latest/userguide/ConfiguringiSCSIClientInitiatorWindowsClient.html#CustomizeWindowsiSCSISettings Customizing Your Windows iSCSI Settings> and <http://docs.aws.amazon.com/storagegateway/latest/userguide/ConfiguringiSCSIClientInitiatorRedHatClient.html#CustomizeLinuxiSCSISettings Customizing Your Linux iSCSI Settings> , respectively.+-- module Network.AWS.StorageGateway.UpdateGatewaySoftwareNow ( -- * Creating a Request@@ -48,6 +48,8 @@ -- | A JSON object containing the of the gateway to update. --+--+-- -- /See:/ 'updateGatewaySoftwareNow' smart constructor. newtype UpdateGatewaySoftwareNow = UpdateGatewaySoftwareNow' { _ugsnGatewayARN :: Text@@ -57,7 +59,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ugsnGatewayARN'+-- * 'ugsnGatewayARN' - Undocumented member. updateGatewaySoftwareNow :: Text -- ^ 'ugsnGatewayARN' -> UpdateGatewaySoftwareNow@@ -107,6 +109,8 @@ -- | A JSON object containing the of the gateway that was updated. --+--+-- -- /See:/ 'updateGatewaySoftwareNowResponse' smart constructor. data UpdateGatewaySoftwareNowResponse = UpdateGatewaySoftwareNowResponse' { _ugsnrsGatewayARN :: !(Maybe Text)@@ -117,9 +121,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ugsnrsGatewayARN'+-- * 'ugsnrsGatewayARN' - Undocumented member. ----- * 'ugsnrsResponseStatus'+-- * 'ugsnrsResponseStatus' - -- | The response status code. updateGatewaySoftwareNowResponse :: Int -- ^ 'ugsnrsResponseStatus' -> UpdateGatewaySoftwareNowResponse@@ -133,7 +137,7 @@ ugsnrsGatewayARN :: Lens' UpdateGatewaySoftwareNowResponse (Maybe Text) ugsnrsGatewayARN = lens _ugsnrsGatewayARN (\ s a -> s{_ugsnrsGatewayARN = a}); --- | The response status code.+-- | -- | The response status code. ugsnrsResponseStatus :: Lens' UpdateGatewaySoftwareNowResponse Int ugsnrsResponseStatus = lens _ugsnrsResponseStatus (\ s a -> s{_ugsnrsResponseStatus = a});
gen/Network/AWS/StorageGateway/UpdateMaintenanceStartTime.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates a gateway\'s weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway\'s time zone.+-- Updates a gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone.+--+-- module Network.AWS.StorageGateway.UpdateMaintenanceStartTime ( -- * Creating a Request@@ -47,13 +49,16 @@ -- | A JSON object containing the following fields: ----- - < UpdateMaintenanceStartTimeInput>DayOfWeek> ----- - < UpdateMaintenanceStartTimeInput>HourOfDay>+-- * 'UpdateMaintenanceStartTimeInput$DayOfWeek' ----- - < UpdateMaintenanceStartTimeInput>MinuteOfHour>+-- * 'UpdateMaintenanceStartTimeInput$HourOfDay' --+-- * 'UpdateMaintenanceStartTimeInput$MinuteOfHour' --+--+--+-- -- /See:/ 'updateMaintenanceStartTime' smart constructor. data UpdateMaintenanceStartTime = UpdateMaintenanceStartTime' { _umstGatewayARN :: !Text@@ -66,13 +71,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'umstGatewayARN'+-- * 'umstGatewayARN' - Undocumented member. ----- * 'umstHourOfDay'+-- * 'umstHourOfDay' - The hour component of the maintenance start time represented as /hh/ , where /hh/ is the hour (00 to 23). The hour of the day is in the time zone of the gateway. ----- * 'umstMinuteOfHour'+-- * 'umstMinuteOfHour' - The minute component of the maintenance start time represented as /mm/ , where /mm/ is the minute (00 to 59). The minute of the hour is in the time zone of the gateway. ----- * 'umstDayOfWeek'+-- * 'umstDayOfWeek' - The maintenance start time day of the week. updateMaintenanceStartTime :: Text -- ^ 'umstGatewayARN' -> Natural -- ^ 'umstHourOfDay'@@ -91,11 +96,11 @@ umstGatewayARN :: Lens' UpdateMaintenanceStartTime Text umstGatewayARN = lens _umstGatewayARN (\ s a -> s{_umstGatewayARN = a}); --- | The hour component of the maintenance start time represented as /hh/, where /hh/ is the hour (00 to 23). The hour of the day is in the time zone of the gateway.+-- | The hour component of the maintenance start time represented as /hh/ , where /hh/ is the hour (00 to 23). The hour of the day is in the time zone of the gateway. umstHourOfDay :: Lens' UpdateMaintenanceStartTime Natural umstHourOfDay = lens _umstHourOfDay (\ s a -> s{_umstHourOfDay = a}) . _Nat; --- | The minute component of the maintenance start time represented as /mm/, where /mm/ is the minute (00 to 59). The minute of the hour is in the time zone of the gateway.+-- | The minute component of the maintenance start time represented as /mm/ , where /mm/ is the minute (00 to 59). The minute of the hour is in the time zone of the gateway. umstMinuteOfHour :: Lens' UpdateMaintenanceStartTime Natural umstMinuteOfHour = lens _umstMinuteOfHour (\ s a -> s{_umstMinuteOfHour = a}) . _Nat; @@ -144,6 +149,8 @@ -- | A JSON object containing the of the gateway whose maintenance start time is updated. --+--+-- -- /See:/ 'updateMaintenanceStartTimeResponse' smart constructor. data UpdateMaintenanceStartTimeResponse = UpdateMaintenanceStartTimeResponse' { _umstrsGatewayARN :: !(Maybe Text)@@ -154,9 +161,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'umstrsGatewayARN'+-- * 'umstrsGatewayARN' - Undocumented member. ----- * 'umstrsResponseStatus'+-- * 'umstrsResponseStatus' - -- | The response status code. updateMaintenanceStartTimeResponse :: Int -- ^ 'umstrsResponseStatus' -> UpdateMaintenanceStartTimeResponse@@ -170,7 +177,7 @@ umstrsGatewayARN :: Lens' UpdateMaintenanceStartTimeResponse (Maybe Text) umstrsGatewayARN = lens _umstrsGatewayARN (\ s a -> s{_umstrsGatewayARN = a}); --- | The response status code.+-- | -- | The response status code. umstrsResponseStatus :: Lens' UpdateMaintenanceStartTimeResponse Int umstrsResponseStatus = lens _umstrsResponseStatus (\ s a -> s{_umstrsResponseStatus = a});
gen/Network/AWS/StorageGateway/UpdateSnapshotSchedule.hs view
@@ -20,9 +20,11 @@ -- -- Updates a snapshot schedule configured for a gateway volume. --+-- -- The default snapshot schedule for volume is once every 24 hours, starting at the creation time of the volume. You can use this API to change the snapshot schedule configured for the volume. -- -- In the request you must identify the gateway volume whose snapshot schedule you want to update, and the schedule information, including when you want the snapshot to begin on a day and the frequency (in hours) of snapshots.+-- module Network.AWS.StorageGateway.UpdateSnapshotSchedule ( -- * Creating a Request@@ -51,15 +53,18 @@ -- | A JSON object containing one or more of the following fields: ----- - < UpdateSnapshotScheduleInput>Description> ----- - < UpdateSnapshotScheduleInput>RecurrenceInHours>+-- * 'UpdateSnapshotScheduleInput$Description' ----- - < UpdateSnapshotScheduleInput>StartAt>+-- * 'UpdateSnapshotScheduleInput$RecurrenceInHours' ----- - < UpdateSnapshotScheduleInput>VolumeARN>+-- * 'UpdateSnapshotScheduleInput$StartAt' --+-- * 'UpdateSnapshotScheduleInput$VolumeARN' --+--+--+-- -- /See:/ 'updateSnapshotSchedule' smart constructor. data UpdateSnapshotSchedule = UpdateSnapshotSchedule' { _ussDescription :: !(Maybe Text)@@ -72,13 +77,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ussDescription'+-- * 'ussDescription' - Optional description of the snapshot that overwrites the existing description. ----- * 'ussVolumeARN'+-- * 'ussVolumeARN' - The Amazon Resource Name (ARN) of the volume. Use the 'ListVolumes' operation to return a list of gateway volumes. ----- * 'ussStartAt'+-- * 'ussStartAt' - The hour of the day at which the snapshot schedule begins represented as /hh/ , where /hh/ is the hour (0 to 23). The hour of the day is in the time zone of the gateway. ----- * 'ussRecurrenceInHours'+-- * 'ussRecurrenceInHours' - Frequency of snapshots. Specify the number of hours between snapshots. updateSnapshotSchedule :: Text -- ^ 'ussVolumeARN' -> Natural -- ^ 'ussStartAt'@@ -96,11 +101,11 @@ ussDescription :: Lens' UpdateSnapshotSchedule (Maybe Text) ussDescription = lens _ussDescription (\ s a -> s{_ussDescription = a}); --- | The Amazon Resource Name (ARN) of the volume. Use the < ListVolumes> operation to return a list of gateway volumes.+-- | The Amazon Resource Name (ARN) of the volume. Use the 'ListVolumes' operation to return a list of gateway volumes. ussVolumeARN :: Lens' UpdateSnapshotSchedule Text ussVolumeARN = lens _ussVolumeARN (\ s a -> s{_ussVolumeARN = a}); --- | The hour of the day at which the snapshot schedule begins represented as /hh/, where /hh/ is the hour (0 to 23). The hour of the day is in the time zone of the gateway.+-- | The hour of the day at which the snapshot schedule begins represented as /hh/ , where /hh/ is the hour (0 to 23). The hour of the day is in the time zone of the gateway. ussStartAt :: Lens' UpdateSnapshotSchedule Natural ussStartAt = lens _ussStartAt (\ s a -> s{_ussStartAt = a}) . _Nat; @@ -149,6 +154,8 @@ -- | A JSON object containing the of the updated storage volume. --+--+-- -- /See:/ 'updateSnapshotScheduleResponse' smart constructor. data UpdateSnapshotScheduleResponse = UpdateSnapshotScheduleResponse' { _ussrsVolumeARN :: !(Maybe Text)@@ -159,9 +166,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ussrsVolumeARN'+-- * 'ussrsVolumeARN' - ----- * 'ussrsResponseStatus'+-- * 'ussrsResponseStatus' - -- | The response status code. updateSnapshotScheduleResponse :: Int -- ^ 'ussrsResponseStatus' -> UpdateSnapshotScheduleResponse@@ -175,7 +182,7 @@ ussrsVolumeARN :: Lens' UpdateSnapshotScheduleResponse (Maybe Text) ussrsVolumeARN = lens _ussrsVolumeARN (\ s a -> s{_ussrsVolumeARN = a}); --- | The response status code.+-- | -- | The response status code. ussrsResponseStatus :: Lens' UpdateSnapshotScheduleResponse Int ussrsResponseStatus = lens _ussrsResponseStatus (\ s a -> s{_ussrsResponseStatus = a});
gen/Network/AWS/StorageGateway/UpdateVTLDeviceType.hs view
@@ -19,6 +19,8 @@ -- Portability : non-portable (GHC extensions) -- -- Updates the type of medium changer in a gateway-VTL. When you activate a gateway-VTL, you select a medium changer type for the gateway-VTL. This operation enables you to select a different type of medium changer after a gateway-VTL is activated.+--+-- module Network.AWS.StorageGateway.UpdateVTLDeviceType ( -- * Creating a Request@@ -53,9 +55,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uvtldtVTLDeviceARN'+-- * 'uvtldtVTLDeviceARN' - The Amazon Resource Name (ARN) of the medium changer you want to select. ----- * 'uvtldtDeviceType'+-- * 'uvtldtDeviceType' - The type of medium changer you want to select. Valid Values: "STK-L700", "AWS-Gateway-VTL" updateVTLDeviceType :: Text -- ^ 'uvtldtVTLDeviceARN' -> Text -- ^ 'uvtldtDeviceType'@@ -70,9 +72,7 @@ uvtldtVTLDeviceARN :: Lens' UpdateVTLDeviceType Text uvtldtVTLDeviceARN = lens _uvtldtVTLDeviceARN (\ s a -> s{_uvtldtVTLDeviceARN = a}); --- | The type of medium changer you want to select.------ Valid Values: \"STK-L700\", \"AWS-Gateway-VTL\"+-- | The type of medium changer you want to select. Valid Values: "STK-L700", "AWS-Gateway-VTL" uvtldtDeviceType :: Lens' UpdateVTLDeviceType Text uvtldtDeviceType = lens _uvtldtDeviceType (\ s a -> s{_uvtldtDeviceType = a}); @@ -115,6 +115,8 @@ -- | UpdateVTLDeviceTypeOutput --+--+-- -- /See:/ 'updateVTLDeviceTypeResponse' smart constructor. data UpdateVTLDeviceTypeResponse = UpdateVTLDeviceTypeResponse' { _uvtldtrsVTLDeviceARN :: !(Maybe Text)@@ -125,9 +127,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uvtldtrsVTLDeviceARN'+-- * 'uvtldtrsVTLDeviceARN' - The Amazon Resource Name (ARN) of the medium changer you have selected. ----- * 'uvtldtrsResponseStatus'+-- * 'uvtldtrsResponseStatus' - -- | The response status code. updateVTLDeviceTypeResponse :: Int -- ^ 'uvtldtrsResponseStatus' -> UpdateVTLDeviceTypeResponse@@ -141,7 +143,7 @@ uvtldtrsVTLDeviceARN :: Lens' UpdateVTLDeviceTypeResponse (Maybe Text) uvtldtrsVTLDeviceARN = lens _uvtldtrsVTLDeviceARN (\ s a -> s{_uvtldtrsVTLDeviceARN = a}); --- | The response status code.+-- | -- | The response status code. uvtldtrsResponseStatus :: Lens' UpdateVTLDeviceTypeResponse Int uvtldtrsResponseStatus = lens _uvtldtrsResponseStatus (\ s a -> s{_uvtldtrsResponseStatus = a});