Documentation ¶
Overview ¶
Package storagegateway provides a client for AWS Storage Gateway.
Index ¶
- Constants
- type ActivateGatewayInput
- func (s ActivateGatewayInput) GoString() string
- func (s *ActivateGatewayInput) SetActivationKey(v string) *ActivateGatewayInput
- func (s *ActivateGatewayInput) SetGatewayName(v string) *ActivateGatewayInput
- func (s *ActivateGatewayInput) SetGatewayRegion(v string) *ActivateGatewayInput
- func (s *ActivateGatewayInput) SetGatewayTimezone(v string) *ActivateGatewayInput
- func (s *ActivateGatewayInput) SetGatewayType(v string) *ActivateGatewayInput
- func (s *ActivateGatewayInput) SetMediumChangerType(v string) *ActivateGatewayInput
- func (s *ActivateGatewayInput) SetTapeDriveType(v string) *ActivateGatewayInput
- func (s ActivateGatewayInput) String() string
- func (s *ActivateGatewayInput) Validate() error
- type ActivateGatewayOutput
- type AddCacheInput
- type AddCacheOutput
- type AddTagsToResourceInput
- func (s AddTagsToResourceInput) GoString() string
- func (s *AddTagsToResourceInput) SetResourceARN(v string) *AddTagsToResourceInput
- func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput
- func (s AddTagsToResourceInput) String() string
- func (s *AddTagsToResourceInput) Validate() error
- type AddTagsToResourceOutput
- type AddUploadBufferInput
- type AddUploadBufferOutput
- type AddWorkingStorageInput
- func (s AddWorkingStorageInput) GoString() string
- func (s *AddWorkingStorageInput) SetDiskIds(v []*string) *AddWorkingStorageInput
- func (s *AddWorkingStorageInput) SetGatewayARN(v string) *AddWorkingStorageInput
- func (s AddWorkingStorageInput) String() string
- func (s *AddWorkingStorageInput) Validate() error
- type AddWorkingStorageOutput
- type CachediSCSIVolume
- func (s CachediSCSIVolume) GoString() string
- func (s *CachediSCSIVolume) SetSourceSnapshotId(v string) *CachediSCSIVolume
- func (s *CachediSCSIVolume) SetVolumeARN(v string) *CachediSCSIVolume
- func (s *CachediSCSIVolume) SetVolumeId(v string) *CachediSCSIVolume
- func (s *CachediSCSIVolume) SetVolumeProgress(v float64) *CachediSCSIVolume
- func (s *CachediSCSIVolume) SetVolumeSizeInBytes(v int64) *CachediSCSIVolume
- func (s *CachediSCSIVolume) SetVolumeStatus(v string) *CachediSCSIVolume
- func (s *CachediSCSIVolume) SetVolumeType(v string) *CachediSCSIVolume
- func (s *CachediSCSIVolume) SetVolumeiSCSIAttributes(v *VolumeiSCSIAttributes) *CachediSCSIVolume
- func (s CachediSCSIVolume) String() string
- type CancelArchivalInput
- type CancelArchivalOutput
- type CancelRetrievalInput
- type CancelRetrievalOutput
- type ChapInfo
- func (s ChapInfo) GoString() string
- func (s *ChapInfo) SetInitiatorName(v string) *ChapInfo
- func (s *ChapInfo) SetSecretToAuthenticateInitiator(v string) *ChapInfo
- func (s *ChapInfo) SetSecretToAuthenticateTarget(v string) *ChapInfo
- func (s *ChapInfo) SetTargetARN(v string) *ChapInfo
- func (s ChapInfo) String() string
- type CreateCachediSCSIVolumeInput
- func (s CreateCachediSCSIVolumeInput) GoString() string
- func (s *CreateCachediSCSIVolumeInput) SetClientToken(v string) *CreateCachediSCSIVolumeInput
- func (s *CreateCachediSCSIVolumeInput) SetGatewayARN(v string) *CreateCachediSCSIVolumeInput
- func (s *CreateCachediSCSIVolumeInput) SetNetworkInterfaceId(v string) *CreateCachediSCSIVolumeInput
- func (s *CreateCachediSCSIVolumeInput) SetSnapshotId(v string) *CreateCachediSCSIVolumeInput
- func (s *CreateCachediSCSIVolumeInput) SetTargetName(v string) *CreateCachediSCSIVolumeInput
- func (s *CreateCachediSCSIVolumeInput) SetVolumeSizeInBytes(v int64) *CreateCachediSCSIVolumeInput
- func (s CreateCachediSCSIVolumeInput) String() string
- func (s *CreateCachediSCSIVolumeInput) Validate() error
- type CreateCachediSCSIVolumeOutput
- type CreateSnapshotFromVolumeRecoveryPointInput
- func (s CreateSnapshotFromVolumeRecoveryPointInput) GoString() string
- func (s *CreateSnapshotFromVolumeRecoveryPointInput) SetSnapshotDescription(v string) *CreateSnapshotFromVolumeRecoveryPointInput
- func (s *CreateSnapshotFromVolumeRecoveryPointInput) SetVolumeARN(v string) *CreateSnapshotFromVolumeRecoveryPointInput
- func (s CreateSnapshotFromVolumeRecoveryPointInput) String() string
- func (s *CreateSnapshotFromVolumeRecoveryPointInput) Validate() error
- type CreateSnapshotFromVolumeRecoveryPointOutput
- func (s CreateSnapshotFromVolumeRecoveryPointOutput) GoString() string
- func (s *CreateSnapshotFromVolumeRecoveryPointOutput) SetSnapshotId(v string) *CreateSnapshotFromVolumeRecoveryPointOutput
- func (s *CreateSnapshotFromVolumeRecoveryPointOutput) SetVolumeARN(v string) *CreateSnapshotFromVolumeRecoveryPointOutput
- func (s *CreateSnapshotFromVolumeRecoveryPointOutput) SetVolumeRecoveryPointTime(v string) *CreateSnapshotFromVolumeRecoveryPointOutput
- func (s CreateSnapshotFromVolumeRecoveryPointOutput) String() string
- type CreateSnapshotInput
- type CreateSnapshotOutput
- type CreateStorediSCSIVolumeInput
- func (s CreateStorediSCSIVolumeInput) GoString() string
- func (s *CreateStorediSCSIVolumeInput) SetDiskId(v string) *CreateStorediSCSIVolumeInput
- func (s *CreateStorediSCSIVolumeInput) SetGatewayARN(v string) *CreateStorediSCSIVolumeInput
- func (s *CreateStorediSCSIVolumeInput) SetNetworkInterfaceId(v string) *CreateStorediSCSIVolumeInput
- func (s *CreateStorediSCSIVolumeInput) SetPreserveExistingData(v bool) *CreateStorediSCSIVolumeInput
- func (s *CreateStorediSCSIVolumeInput) SetSnapshotId(v string) *CreateStorediSCSIVolumeInput
- func (s *CreateStorediSCSIVolumeInput) SetTargetName(v string) *CreateStorediSCSIVolumeInput
- func (s CreateStorediSCSIVolumeInput) String() string
- func (s *CreateStorediSCSIVolumeInput) Validate() error
- type CreateStorediSCSIVolumeOutput
- func (s CreateStorediSCSIVolumeOutput) GoString() string
- func (s *CreateStorediSCSIVolumeOutput) SetTargetARN(v string) *CreateStorediSCSIVolumeOutput
- func (s *CreateStorediSCSIVolumeOutput) SetVolumeARN(v string) *CreateStorediSCSIVolumeOutput
- func (s *CreateStorediSCSIVolumeOutput) SetVolumeSizeInBytes(v int64) *CreateStorediSCSIVolumeOutput
- func (s CreateStorediSCSIVolumeOutput) String() string
- type CreateTapeWithBarcodeInput
- func (s CreateTapeWithBarcodeInput) GoString() string
- func (s *CreateTapeWithBarcodeInput) SetGatewayARN(v string) *CreateTapeWithBarcodeInput
- func (s *CreateTapeWithBarcodeInput) SetTapeBarcode(v string) *CreateTapeWithBarcodeInput
- func (s *CreateTapeWithBarcodeInput) SetTapeSizeInBytes(v int64) *CreateTapeWithBarcodeInput
- func (s CreateTapeWithBarcodeInput) String() string
- func (s *CreateTapeWithBarcodeInput) Validate() error
- type CreateTapeWithBarcodeOutput
- type CreateTapesInput
- func (s CreateTapesInput) GoString() string
- func (s *CreateTapesInput) SetClientToken(v string) *CreateTapesInput
- func (s *CreateTapesInput) SetGatewayARN(v string) *CreateTapesInput
- func (s *CreateTapesInput) SetNumTapesToCreate(v int64) *CreateTapesInput
- func (s *CreateTapesInput) SetTapeBarcodePrefix(v string) *CreateTapesInput
- func (s *CreateTapesInput) SetTapeSizeInBytes(v int64) *CreateTapesInput
- func (s CreateTapesInput) String() string
- func (s *CreateTapesInput) Validate() error
- type CreateTapesOutput
- type DeleteBandwidthRateLimitInput
- func (s DeleteBandwidthRateLimitInput) GoString() string
- func (s *DeleteBandwidthRateLimitInput) SetBandwidthType(v string) *DeleteBandwidthRateLimitInput
- func (s *DeleteBandwidthRateLimitInput) SetGatewayARN(v string) *DeleteBandwidthRateLimitInput
- func (s DeleteBandwidthRateLimitInput) String() string
- func (s *DeleteBandwidthRateLimitInput) Validate() error
- type DeleteBandwidthRateLimitOutput
- type DeleteChapCredentialsInput
- func (s DeleteChapCredentialsInput) GoString() string
- func (s *DeleteChapCredentialsInput) SetInitiatorName(v string) *DeleteChapCredentialsInput
- func (s *DeleteChapCredentialsInput) SetTargetARN(v string) *DeleteChapCredentialsInput
- func (s DeleteChapCredentialsInput) String() string
- func (s *DeleteChapCredentialsInput) Validate() error
- type DeleteChapCredentialsOutput
- type DeleteGatewayInput
- type DeleteGatewayOutput
- type DeleteSnapshotScheduleInput
- type DeleteSnapshotScheduleOutput
- type DeleteTapeArchiveInput
- type DeleteTapeArchiveOutput
- type DeleteTapeInput
- type DeleteTapeOutput
- type DeleteVolumeInput
- type DeleteVolumeOutput
- type DescribeBandwidthRateLimitInput
- type DescribeBandwidthRateLimitOutput
- func (s DescribeBandwidthRateLimitOutput) GoString() string
- func (s *DescribeBandwidthRateLimitOutput) SetAverageDownloadRateLimitInBitsPerSec(v int64) *DescribeBandwidthRateLimitOutput
- func (s *DescribeBandwidthRateLimitOutput) SetAverageUploadRateLimitInBitsPerSec(v int64) *DescribeBandwidthRateLimitOutput
- func (s *DescribeBandwidthRateLimitOutput) SetGatewayARN(v string) *DescribeBandwidthRateLimitOutput
- func (s DescribeBandwidthRateLimitOutput) String() string
- type DescribeCacheInput
- type DescribeCacheOutput
- func (s DescribeCacheOutput) GoString() string
- func (s *DescribeCacheOutput) SetCacheAllocatedInBytes(v int64) *DescribeCacheOutput
- func (s *DescribeCacheOutput) SetCacheDirtyPercentage(v float64) *DescribeCacheOutput
- func (s *DescribeCacheOutput) SetCacheHitPercentage(v float64) *DescribeCacheOutput
- func (s *DescribeCacheOutput) SetCacheMissPercentage(v float64) *DescribeCacheOutput
- func (s *DescribeCacheOutput) SetCacheUsedPercentage(v float64) *DescribeCacheOutput
- func (s *DescribeCacheOutput) SetDiskIds(v []*string) *DescribeCacheOutput
- func (s *DescribeCacheOutput) SetGatewayARN(v string) *DescribeCacheOutput
- func (s DescribeCacheOutput) String() string
- type DescribeCachediSCSIVolumesInput
- type DescribeCachediSCSIVolumesOutput
- type DescribeChapCredentialsInput
- type DescribeChapCredentialsOutput
- type DescribeGatewayInformationInput
- type DescribeGatewayInformationOutput
- func (s DescribeGatewayInformationOutput) GoString() string
- func (s *DescribeGatewayInformationOutput) SetGatewayARN(v string) *DescribeGatewayInformationOutput
- func (s *DescribeGatewayInformationOutput) SetGatewayId(v string) *DescribeGatewayInformationOutput
- func (s *DescribeGatewayInformationOutput) SetGatewayName(v string) *DescribeGatewayInformationOutput
- func (s *DescribeGatewayInformationOutput) SetGatewayNetworkInterfaces(v []*NetworkInterface) *DescribeGatewayInformationOutput
- func (s *DescribeGatewayInformationOutput) SetGatewayState(v string) *DescribeGatewayInformationOutput
- func (s *DescribeGatewayInformationOutput) SetGatewayTimezone(v string) *DescribeGatewayInformationOutput
- func (s *DescribeGatewayInformationOutput) SetGatewayType(v string) *DescribeGatewayInformationOutput
- func (s *DescribeGatewayInformationOutput) SetLastSoftwareUpdate(v string) *DescribeGatewayInformationOutput
- func (s *DescribeGatewayInformationOutput) SetNextUpdateAvailabilityDate(v string) *DescribeGatewayInformationOutput
- func (s DescribeGatewayInformationOutput) String() string
- type DescribeMaintenanceStartTimeInput
- type DescribeMaintenanceStartTimeOutput
- func (s DescribeMaintenanceStartTimeOutput) GoString() string
- func (s *DescribeMaintenanceStartTimeOutput) SetDayOfWeek(v int64) *DescribeMaintenanceStartTimeOutput
- func (s *DescribeMaintenanceStartTimeOutput) SetGatewayARN(v string) *DescribeMaintenanceStartTimeOutput
- func (s *DescribeMaintenanceStartTimeOutput) SetHourOfDay(v int64) *DescribeMaintenanceStartTimeOutput
- func (s *DescribeMaintenanceStartTimeOutput) SetMinuteOfHour(v int64) *DescribeMaintenanceStartTimeOutput
- func (s *DescribeMaintenanceStartTimeOutput) SetTimezone(v string) *DescribeMaintenanceStartTimeOutput
- func (s DescribeMaintenanceStartTimeOutput) String() string
- type DescribeSnapshotScheduleInput
- type DescribeSnapshotScheduleOutput
- func (s DescribeSnapshotScheduleOutput) GoString() string
- func (s *DescribeSnapshotScheduleOutput) SetDescription(v string) *DescribeSnapshotScheduleOutput
- func (s *DescribeSnapshotScheduleOutput) SetRecurrenceInHours(v int64) *DescribeSnapshotScheduleOutput
- func (s *DescribeSnapshotScheduleOutput) SetStartAt(v int64) *DescribeSnapshotScheduleOutput
- func (s *DescribeSnapshotScheduleOutput) SetTimezone(v string) *DescribeSnapshotScheduleOutput
- func (s *DescribeSnapshotScheduleOutput) SetVolumeARN(v string) *DescribeSnapshotScheduleOutput
- func (s DescribeSnapshotScheduleOutput) String() string
- type DescribeStorediSCSIVolumesInput
- type DescribeStorediSCSIVolumesOutput
- type DescribeTapeArchivesInput
- func (s DescribeTapeArchivesInput) GoString() string
- func (s *DescribeTapeArchivesInput) SetLimit(v int64) *DescribeTapeArchivesInput
- func (s *DescribeTapeArchivesInput) SetMarker(v string) *DescribeTapeArchivesInput
- func (s *DescribeTapeArchivesInput) SetTapeARNs(v []*string) *DescribeTapeArchivesInput
- func (s DescribeTapeArchivesInput) String() string
- func (s *DescribeTapeArchivesInput) Validate() error
- type DescribeTapeArchivesOutput
- type DescribeTapeRecoveryPointsInput
- func (s DescribeTapeRecoveryPointsInput) GoString() string
- func (s *DescribeTapeRecoveryPointsInput) SetGatewayARN(v string) *DescribeTapeRecoveryPointsInput
- func (s *DescribeTapeRecoveryPointsInput) SetLimit(v int64) *DescribeTapeRecoveryPointsInput
- func (s *DescribeTapeRecoveryPointsInput) SetMarker(v string) *DescribeTapeRecoveryPointsInput
- func (s DescribeTapeRecoveryPointsInput) String() string
- func (s *DescribeTapeRecoveryPointsInput) Validate() error
- type DescribeTapeRecoveryPointsOutput
- func (s DescribeTapeRecoveryPointsOutput) GoString() string
- func (s *DescribeTapeRecoveryPointsOutput) SetGatewayARN(v string) *DescribeTapeRecoveryPointsOutput
- func (s *DescribeTapeRecoveryPointsOutput) SetMarker(v string) *DescribeTapeRecoveryPointsOutput
- func (s *DescribeTapeRecoveryPointsOutput) SetTapeRecoveryPointInfos(v []*TapeRecoveryPointInfo) *DescribeTapeRecoveryPointsOutput
- func (s DescribeTapeRecoveryPointsOutput) String() string
- type DescribeTapesInput
- func (s DescribeTapesInput) GoString() string
- func (s *DescribeTapesInput) SetGatewayARN(v string) *DescribeTapesInput
- func (s *DescribeTapesInput) SetLimit(v int64) *DescribeTapesInput
- func (s *DescribeTapesInput) SetMarker(v string) *DescribeTapesInput
- func (s *DescribeTapesInput) SetTapeARNs(v []*string) *DescribeTapesInput
- func (s DescribeTapesInput) String() string
- func (s *DescribeTapesInput) Validate() error
- type DescribeTapesOutput
- type DescribeUploadBufferInput
- type DescribeUploadBufferOutput
- func (s DescribeUploadBufferOutput) GoString() string
- func (s *DescribeUploadBufferOutput) SetDiskIds(v []*string) *DescribeUploadBufferOutput
- func (s *DescribeUploadBufferOutput) SetGatewayARN(v string) *DescribeUploadBufferOutput
- func (s *DescribeUploadBufferOutput) SetUploadBufferAllocatedInBytes(v int64) *DescribeUploadBufferOutput
- func (s *DescribeUploadBufferOutput) SetUploadBufferUsedInBytes(v int64) *DescribeUploadBufferOutput
- func (s DescribeUploadBufferOutput) String() string
- type DescribeVTLDevicesInput
- func (s DescribeVTLDevicesInput) GoString() string
- func (s *DescribeVTLDevicesInput) SetGatewayARN(v string) *DescribeVTLDevicesInput
- func (s *DescribeVTLDevicesInput) SetLimit(v int64) *DescribeVTLDevicesInput
- func (s *DescribeVTLDevicesInput) SetMarker(v string) *DescribeVTLDevicesInput
- func (s *DescribeVTLDevicesInput) SetVTLDeviceARNs(v []*string) *DescribeVTLDevicesInput
- func (s DescribeVTLDevicesInput) String() string
- func (s *DescribeVTLDevicesInput) Validate() error
- type DescribeVTLDevicesOutput
- func (s DescribeVTLDevicesOutput) GoString() string
- func (s *DescribeVTLDevicesOutput) SetGatewayARN(v string) *DescribeVTLDevicesOutput
- func (s *DescribeVTLDevicesOutput) SetMarker(v string) *DescribeVTLDevicesOutput
- func (s *DescribeVTLDevicesOutput) SetVTLDevices(v []*VTLDevice) *DescribeVTLDevicesOutput
- func (s DescribeVTLDevicesOutput) String() string
- type DescribeWorkingStorageInput
- type DescribeWorkingStorageOutput
- func (s DescribeWorkingStorageOutput) GoString() string
- func (s *DescribeWorkingStorageOutput) SetDiskIds(v []*string) *DescribeWorkingStorageOutput
- func (s *DescribeWorkingStorageOutput) SetGatewayARN(v string) *DescribeWorkingStorageOutput
- func (s *DescribeWorkingStorageOutput) SetWorkingStorageAllocatedInBytes(v int64) *DescribeWorkingStorageOutput
- func (s *DescribeWorkingStorageOutput) SetWorkingStorageUsedInBytes(v int64) *DescribeWorkingStorageOutput
- func (s DescribeWorkingStorageOutput) String() string
- type DeviceiSCSIAttributes
- func (s DeviceiSCSIAttributes) GoString() string
- func (s *DeviceiSCSIAttributes) SetChapEnabled(v bool) *DeviceiSCSIAttributes
- func (s *DeviceiSCSIAttributes) SetNetworkInterfaceId(v string) *DeviceiSCSIAttributes
- func (s *DeviceiSCSIAttributes) SetNetworkInterfacePort(v int64) *DeviceiSCSIAttributes
- func (s *DeviceiSCSIAttributes) SetTargetARN(v string) *DeviceiSCSIAttributes
- func (s DeviceiSCSIAttributes) String() string
- type DisableGatewayInput
- type DisableGatewayOutput
- type Disk
- func (s Disk) GoString() string
- func (s *Disk) SetDiskAllocationResource(v string) *Disk
- func (s *Disk) SetDiskAllocationType(v string) *Disk
- func (s *Disk) SetDiskId(v string) *Disk
- func (s *Disk) SetDiskNode(v string) *Disk
- func (s *Disk) SetDiskPath(v string) *Disk
- func (s *Disk) SetDiskSizeInBytes(v int64) *Disk
- func (s *Disk) SetDiskStatus(v string) *Disk
- func (s Disk) String() string
- type Error
- type GatewayInfo
- func (s GatewayInfo) GoString() string
- func (s *GatewayInfo) SetGatewayARN(v string) *GatewayInfo
- func (s *GatewayInfo) SetGatewayId(v string) *GatewayInfo
- func (s *GatewayInfo) SetGatewayName(v string) *GatewayInfo
- func (s *GatewayInfo) SetGatewayOperationalState(v string) *GatewayInfo
- func (s *GatewayInfo) SetGatewayType(v string) *GatewayInfo
- func (s GatewayInfo) String() string
- type ListGatewaysInput
- type ListGatewaysOutput
- type ListLocalDisksInput
- type ListLocalDisksOutput
- type ListTagsForResourceInput
- func (s ListTagsForResourceInput) GoString() string
- func (s *ListTagsForResourceInput) SetLimit(v int64) *ListTagsForResourceInput
- func (s *ListTagsForResourceInput) SetMarker(v string) *ListTagsForResourceInput
- func (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput
- func (s ListTagsForResourceInput) String() string
- func (s *ListTagsForResourceInput) Validate() error
- type ListTagsForResourceOutput
- func (s ListTagsForResourceOutput) GoString() string
- func (s *ListTagsForResourceOutput) SetMarker(v string) *ListTagsForResourceOutput
- func (s *ListTagsForResourceOutput) SetResourceARN(v string) *ListTagsForResourceOutput
- func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput
- func (s ListTagsForResourceOutput) String() string
- type ListTapesInput
- func (s ListTapesInput) GoString() string
- func (s *ListTapesInput) SetLimit(v int64) *ListTapesInput
- func (s *ListTapesInput) SetMarker(v string) *ListTapesInput
- func (s *ListTapesInput) SetTapeARNs(v []*string) *ListTapesInput
- func (s ListTapesInput) String() string
- func (s *ListTapesInput) Validate() error
- type ListTapesOutput
- type ListVolumeInitiatorsInput
- type ListVolumeInitiatorsOutput
- type ListVolumeRecoveryPointsInput
- type ListVolumeRecoveryPointsOutput
- func (s ListVolumeRecoveryPointsOutput) GoString() string
- func (s *ListVolumeRecoveryPointsOutput) SetGatewayARN(v string) *ListVolumeRecoveryPointsOutput
- func (s *ListVolumeRecoveryPointsOutput) SetVolumeRecoveryPointInfos(v []*VolumeRecoveryPointInfo) *ListVolumeRecoveryPointsOutput
- func (s ListVolumeRecoveryPointsOutput) String() string
- type ListVolumesInput
- func (s ListVolumesInput) GoString() string
- func (s *ListVolumesInput) SetGatewayARN(v string) *ListVolumesInput
- func (s *ListVolumesInput) SetLimit(v int64) *ListVolumesInput
- func (s *ListVolumesInput) SetMarker(v string) *ListVolumesInput
- func (s ListVolumesInput) String() string
- func (s *ListVolumesInput) Validate() error
- type ListVolumesOutput
- func (s ListVolumesOutput) GoString() string
- func (s *ListVolumesOutput) SetGatewayARN(v string) *ListVolumesOutput
- func (s *ListVolumesOutput) SetMarker(v string) *ListVolumesOutput
- func (s *ListVolumesOutput) SetVolumeInfos(v []*VolumeInfo) *ListVolumesOutput
- func (s ListVolumesOutput) String() string
- type NetworkInterface
- type RemoveTagsFromResourceInput
- func (s RemoveTagsFromResourceInput) GoString() string
- func (s *RemoveTagsFromResourceInput) SetResourceARN(v string) *RemoveTagsFromResourceInput
- func (s *RemoveTagsFromResourceInput) SetTagKeys(v []*string) *RemoveTagsFromResourceInput
- func (s RemoveTagsFromResourceInput) String() string
- func (s *RemoveTagsFromResourceInput) Validate() error
- type RemoveTagsFromResourceOutput
- type ResetCacheInput
- type ResetCacheOutput
- type RetrieveTapeArchiveInput
- func (s RetrieveTapeArchiveInput) GoString() string
- func (s *RetrieveTapeArchiveInput) SetGatewayARN(v string) *RetrieveTapeArchiveInput
- func (s *RetrieveTapeArchiveInput) SetTapeARN(v string) *RetrieveTapeArchiveInput
- func (s RetrieveTapeArchiveInput) String() string
- func (s *RetrieveTapeArchiveInput) Validate() error
- type RetrieveTapeArchiveOutput
- type RetrieveTapeRecoveryPointInput
- func (s RetrieveTapeRecoveryPointInput) GoString() string
- func (s *RetrieveTapeRecoveryPointInput) SetGatewayARN(v string) *RetrieveTapeRecoveryPointInput
- func (s *RetrieveTapeRecoveryPointInput) SetTapeARN(v string) *RetrieveTapeRecoveryPointInput
- func (s RetrieveTapeRecoveryPointInput) String() string
- func (s *RetrieveTapeRecoveryPointInput) Validate() error
- type RetrieveTapeRecoveryPointOutput
- type SetLocalConsolePasswordInput
- func (s SetLocalConsolePasswordInput) GoString() string
- func (s *SetLocalConsolePasswordInput) SetGatewayARN(v string) *SetLocalConsolePasswordInput
- func (s *SetLocalConsolePasswordInput) SetLocalConsolePassword(v string) *SetLocalConsolePasswordInput
- func (s SetLocalConsolePasswordInput) String() string
- func (s *SetLocalConsolePasswordInput) Validate() error
- type SetLocalConsolePasswordOutput
- type ShutdownGatewayInput
- type ShutdownGatewayOutput
- type StartGatewayInput
- type StartGatewayOutput
- type StorageGateway
- func (c *StorageGateway) ActivateGateway(input *ActivateGatewayInput) (*ActivateGatewayOutput, error)
- func (c *StorageGateway) ActivateGatewayRequest(input *ActivateGatewayInput) (req *request.Request, output *ActivateGatewayOutput)
- func (c *StorageGateway) AddCache(input *AddCacheInput) (*AddCacheOutput, error)
- func (c *StorageGateway) AddCacheRequest(input *AddCacheInput) (req *request.Request, output *AddCacheOutput)
- func (c *StorageGateway) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error)
- func (c *StorageGateway) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput)
- func (c *StorageGateway) AddUploadBuffer(input *AddUploadBufferInput) (*AddUploadBufferOutput, error)
- func (c *StorageGateway) AddUploadBufferRequest(input *AddUploadBufferInput) (req *request.Request, output *AddUploadBufferOutput)
- func (c *StorageGateway) AddWorkingStorage(input *AddWorkingStorageInput) (*AddWorkingStorageOutput, error)
- func (c *StorageGateway) AddWorkingStorageRequest(input *AddWorkingStorageInput) (req *request.Request, output *AddWorkingStorageOutput)
- func (c *StorageGateway) CancelArchival(input *CancelArchivalInput) (*CancelArchivalOutput, error)
- func (c *StorageGateway) CancelArchivalRequest(input *CancelArchivalInput) (req *request.Request, output *CancelArchivalOutput)
- func (c *StorageGateway) CancelRetrieval(input *CancelRetrievalInput) (*CancelRetrievalOutput, error)
- func (c *StorageGateway) CancelRetrievalRequest(input *CancelRetrievalInput) (req *request.Request, output *CancelRetrievalOutput)
- func (c *StorageGateway) CreateCachediSCSIVolume(input *CreateCachediSCSIVolumeInput) (*CreateCachediSCSIVolumeOutput, error)
- func (c *StorageGateway) CreateCachediSCSIVolumeRequest(input *CreateCachediSCSIVolumeInput) (req *request.Request, output *CreateCachediSCSIVolumeOutput)
- func (c *StorageGateway) CreateSnapshot(input *CreateSnapshotInput) (*CreateSnapshotOutput, error)
- func (c *StorageGateway) CreateSnapshotFromVolumeRecoveryPoint(input *CreateSnapshotFromVolumeRecoveryPointInput) (*CreateSnapshotFromVolumeRecoveryPointOutput, error)
- func (c *StorageGateway) CreateSnapshotFromVolumeRecoveryPointRequest(input *CreateSnapshotFromVolumeRecoveryPointInput) (req *request.Request, output *CreateSnapshotFromVolumeRecoveryPointOutput)
- func (c *StorageGateway) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Request, output *CreateSnapshotOutput)
- func (c *StorageGateway) CreateStorediSCSIVolume(input *CreateStorediSCSIVolumeInput) (*CreateStorediSCSIVolumeOutput, error)
- func (c *StorageGateway) CreateStorediSCSIVolumeRequest(input *CreateStorediSCSIVolumeInput) (req *request.Request, output *CreateStorediSCSIVolumeOutput)
- func (c *StorageGateway) CreateTapeWithBarcode(input *CreateTapeWithBarcodeInput) (*CreateTapeWithBarcodeOutput, error)
- func (c *StorageGateway) CreateTapeWithBarcodeRequest(input *CreateTapeWithBarcodeInput) (req *request.Request, output *CreateTapeWithBarcodeOutput)
- func (c *StorageGateway) CreateTapes(input *CreateTapesInput) (*CreateTapesOutput, error)
- func (c *StorageGateway) CreateTapesRequest(input *CreateTapesInput) (req *request.Request, output *CreateTapesOutput)
- func (c *StorageGateway) DeleteBandwidthRateLimit(input *DeleteBandwidthRateLimitInput) (*DeleteBandwidthRateLimitOutput, error)
- func (c *StorageGateway) DeleteBandwidthRateLimitRequest(input *DeleteBandwidthRateLimitInput) (req *request.Request, output *DeleteBandwidthRateLimitOutput)
- func (c *StorageGateway) DeleteChapCredentials(input *DeleteChapCredentialsInput) (*DeleteChapCredentialsOutput, error)
- func (c *StorageGateway) DeleteChapCredentialsRequest(input *DeleteChapCredentialsInput) (req *request.Request, output *DeleteChapCredentialsOutput)
- func (c *StorageGateway) DeleteGateway(input *DeleteGatewayInput) (*DeleteGatewayOutput, error)
- func (c *StorageGateway) DeleteGatewayRequest(input *DeleteGatewayInput) (req *request.Request, output *DeleteGatewayOutput)
- func (c *StorageGateway) DeleteSnapshotSchedule(input *DeleteSnapshotScheduleInput) (*DeleteSnapshotScheduleOutput, error)
- func (c *StorageGateway) DeleteSnapshotScheduleRequest(input *DeleteSnapshotScheduleInput) (req *request.Request, output *DeleteSnapshotScheduleOutput)
- func (c *StorageGateway) DeleteTape(input *DeleteTapeInput) (*DeleteTapeOutput, error)
- func (c *StorageGateway) DeleteTapeArchive(input *DeleteTapeArchiveInput) (*DeleteTapeArchiveOutput, error)
- func (c *StorageGateway) DeleteTapeArchiveRequest(input *DeleteTapeArchiveInput) (req *request.Request, output *DeleteTapeArchiveOutput)
- func (c *StorageGateway) DeleteTapeRequest(input *DeleteTapeInput) (req *request.Request, output *DeleteTapeOutput)
- func (c *StorageGateway) DeleteVolume(input *DeleteVolumeInput) (*DeleteVolumeOutput, error)
- func (c *StorageGateway) DeleteVolumeRequest(input *DeleteVolumeInput) (req *request.Request, output *DeleteVolumeOutput)
- func (c *StorageGateway) DescribeBandwidthRateLimit(input *DescribeBandwidthRateLimitInput) (*DescribeBandwidthRateLimitOutput, error)
- func (c *StorageGateway) DescribeBandwidthRateLimitRequest(input *DescribeBandwidthRateLimitInput) (req *request.Request, output *DescribeBandwidthRateLimitOutput)
- func (c *StorageGateway) DescribeCache(input *DescribeCacheInput) (*DescribeCacheOutput, error)
- func (c *StorageGateway) DescribeCacheRequest(input *DescribeCacheInput) (req *request.Request, output *DescribeCacheOutput)
- func (c *StorageGateway) DescribeCachediSCSIVolumes(input *DescribeCachediSCSIVolumesInput) (*DescribeCachediSCSIVolumesOutput, error)
- func (c *StorageGateway) DescribeCachediSCSIVolumesRequest(input *DescribeCachediSCSIVolumesInput) (req *request.Request, output *DescribeCachediSCSIVolumesOutput)
- func (c *StorageGateway) DescribeChapCredentials(input *DescribeChapCredentialsInput) (*DescribeChapCredentialsOutput, error)
- func (c *StorageGateway) DescribeChapCredentialsRequest(input *DescribeChapCredentialsInput) (req *request.Request, output *DescribeChapCredentialsOutput)
- func (c *StorageGateway) DescribeGatewayInformation(input *DescribeGatewayInformationInput) (*DescribeGatewayInformationOutput, error)
- func (c *StorageGateway) DescribeGatewayInformationRequest(input *DescribeGatewayInformationInput) (req *request.Request, output *DescribeGatewayInformationOutput)
- func (c *StorageGateway) DescribeMaintenanceStartTime(input *DescribeMaintenanceStartTimeInput) (*DescribeMaintenanceStartTimeOutput, error)
- func (c *StorageGateway) DescribeMaintenanceStartTimeRequest(input *DescribeMaintenanceStartTimeInput) (req *request.Request, output *DescribeMaintenanceStartTimeOutput)
- func (c *StorageGateway) DescribeSnapshotSchedule(input *DescribeSnapshotScheduleInput) (*DescribeSnapshotScheduleOutput, error)
- func (c *StorageGateway) DescribeSnapshotScheduleRequest(input *DescribeSnapshotScheduleInput) (req *request.Request, output *DescribeSnapshotScheduleOutput)
- func (c *StorageGateway) DescribeStorediSCSIVolumes(input *DescribeStorediSCSIVolumesInput) (*DescribeStorediSCSIVolumesOutput, error)
- func (c *StorageGateway) DescribeStorediSCSIVolumesRequest(input *DescribeStorediSCSIVolumesInput) (req *request.Request, output *DescribeStorediSCSIVolumesOutput)
- func (c *StorageGateway) DescribeTapeArchives(input *DescribeTapeArchivesInput) (*DescribeTapeArchivesOutput, error)
- func (c *StorageGateway) DescribeTapeArchivesPages(input *DescribeTapeArchivesInput, ...) error
- func (c *StorageGateway) DescribeTapeArchivesRequest(input *DescribeTapeArchivesInput) (req *request.Request, output *DescribeTapeArchivesOutput)
- func (c *StorageGateway) DescribeTapeRecoveryPoints(input *DescribeTapeRecoveryPointsInput) (*DescribeTapeRecoveryPointsOutput, error)
- func (c *StorageGateway) DescribeTapeRecoveryPointsPages(input *DescribeTapeRecoveryPointsInput, ...) error
- func (c *StorageGateway) DescribeTapeRecoveryPointsRequest(input *DescribeTapeRecoveryPointsInput) (req *request.Request, output *DescribeTapeRecoveryPointsOutput)
- func (c *StorageGateway) DescribeTapes(input *DescribeTapesInput) (*DescribeTapesOutput, error)
- func (c *StorageGateway) DescribeTapesPages(input *DescribeTapesInput, ...) error
- func (c *StorageGateway) DescribeTapesRequest(input *DescribeTapesInput) (req *request.Request, output *DescribeTapesOutput)
- func (c *StorageGateway) DescribeUploadBuffer(input *DescribeUploadBufferInput) (*DescribeUploadBufferOutput, error)
- func (c *StorageGateway) DescribeUploadBufferRequest(input *DescribeUploadBufferInput) (req *request.Request, output *DescribeUploadBufferOutput)
- func (c *StorageGateway) DescribeVTLDevices(input *DescribeVTLDevicesInput) (*DescribeVTLDevicesOutput, error)
- func (c *StorageGateway) DescribeVTLDevicesPages(input *DescribeVTLDevicesInput, ...) error
- func (c *StorageGateway) DescribeVTLDevicesRequest(input *DescribeVTLDevicesInput) (req *request.Request, output *DescribeVTLDevicesOutput)
- func (c *StorageGateway) DescribeWorkingStorage(input *DescribeWorkingStorageInput) (*DescribeWorkingStorageOutput, error)
- func (c *StorageGateway) DescribeWorkingStorageRequest(input *DescribeWorkingStorageInput) (req *request.Request, output *DescribeWorkingStorageOutput)
- func (c *StorageGateway) DisableGateway(input *DisableGatewayInput) (*DisableGatewayOutput, error)
- func (c *StorageGateway) DisableGatewayRequest(input *DisableGatewayInput) (req *request.Request, output *DisableGatewayOutput)
- func (c *StorageGateway) ListGateways(input *ListGatewaysInput) (*ListGatewaysOutput, error)
- func (c *StorageGateway) ListGatewaysPages(input *ListGatewaysInput, ...) error
- func (c *StorageGateway) ListGatewaysRequest(input *ListGatewaysInput) (req *request.Request, output *ListGatewaysOutput)
- func (c *StorageGateway) ListLocalDisks(input *ListLocalDisksInput) (*ListLocalDisksOutput, error)
- func (c *StorageGateway) ListLocalDisksRequest(input *ListLocalDisksInput) (req *request.Request, output *ListLocalDisksOutput)
- func (c *StorageGateway) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
- func (c *StorageGateway) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
- func (c *StorageGateway) ListTapes(input *ListTapesInput) (*ListTapesOutput, error)
- func (c *StorageGateway) ListTapesRequest(input *ListTapesInput) (req *request.Request, output *ListTapesOutput)
- func (c *StorageGateway) ListVolumeInitiators(input *ListVolumeInitiatorsInput) (*ListVolumeInitiatorsOutput, error)
- func (c *StorageGateway) ListVolumeInitiatorsRequest(input *ListVolumeInitiatorsInput) (req *request.Request, output *ListVolumeInitiatorsOutput)
- func (c *StorageGateway) ListVolumeRecoveryPoints(input *ListVolumeRecoveryPointsInput) (*ListVolumeRecoveryPointsOutput, error)
- func (c *StorageGateway) ListVolumeRecoveryPointsRequest(input *ListVolumeRecoveryPointsInput) (req *request.Request, output *ListVolumeRecoveryPointsOutput)
- func (c *StorageGateway) ListVolumes(input *ListVolumesInput) (*ListVolumesOutput, error)
- func (c *StorageGateway) ListVolumesPages(input *ListVolumesInput, ...) error
- func (c *StorageGateway) ListVolumesRequest(input *ListVolumesInput) (req *request.Request, output *ListVolumesOutput)
- func (c *StorageGateway) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error)
- func (c *StorageGateway) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput)
- func (c *StorageGateway) ResetCache(input *ResetCacheInput) (*ResetCacheOutput, error)
- func (c *StorageGateway) ResetCacheRequest(input *ResetCacheInput) (req *request.Request, output *ResetCacheOutput)
- func (c *StorageGateway) RetrieveTapeArchive(input *RetrieveTapeArchiveInput) (*RetrieveTapeArchiveOutput, error)
- func (c *StorageGateway) RetrieveTapeArchiveRequest(input *RetrieveTapeArchiveInput) (req *request.Request, output *RetrieveTapeArchiveOutput)
- func (c *StorageGateway) RetrieveTapeRecoveryPoint(input *RetrieveTapeRecoveryPointInput) (*RetrieveTapeRecoveryPointOutput, error)
- func (c *StorageGateway) RetrieveTapeRecoveryPointRequest(input *RetrieveTapeRecoveryPointInput) (req *request.Request, output *RetrieveTapeRecoveryPointOutput)
- func (c *StorageGateway) SetLocalConsolePassword(input *SetLocalConsolePasswordInput) (*SetLocalConsolePasswordOutput, error)
- func (c *StorageGateway) SetLocalConsolePasswordRequest(input *SetLocalConsolePasswordInput) (req *request.Request, output *SetLocalConsolePasswordOutput)
- func (c *StorageGateway) ShutdownGateway(input *ShutdownGatewayInput) (*ShutdownGatewayOutput, error)
- func (c *StorageGateway) ShutdownGatewayRequest(input *ShutdownGatewayInput) (req *request.Request, output *ShutdownGatewayOutput)
- func (c *StorageGateway) StartGateway(input *StartGatewayInput) (*StartGatewayOutput, error)
- func (c *StorageGateway) StartGatewayRequest(input *StartGatewayInput) (req *request.Request, output *StartGatewayOutput)
- func (c *StorageGateway) UpdateBandwidthRateLimit(input *UpdateBandwidthRateLimitInput) (*UpdateBandwidthRateLimitOutput, error)
- func (c *StorageGateway) UpdateBandwidthRateLimitRequest(input *UpdateBandwidthRateLimitInput) (req *request.Request, output *UpdateBandwidthRateLimitOutput)
- func (c *StorageGateway) UpdateChapCredentials(input *UpdateChapCredentialsInput) (*UpdateChapCredentialsOutput, error)
- func (c *StorageGateway) UpdateChapCredentialsRequest(input *UpdateChapCredentialsInput) (req *request.Request, output *UpdateChapCredentialsOutput)
- func (c *StorageGateway) UpdateGatewayInformation(input *UpdateGatewayInformationInput) (*UpdateGatewayInformationOutput, error)
- func (c *StorageGateway) UpdateGatewayInformationRequest(input *UpdateGatewayInformationInput) (req *request.Request, output *UpdateGatewayInformationOutput)
- func (c *StorageGateway) UpdateGatewaySoftwareNow(input *UpdateGatewaySoftwareNowInput) (*UpdateGatewaySoftwareNowOutput, error)
- func (c *StorageGateway) UpdateGatewaySoftwareNowRequest(input *UpdateGatewaySoftwareNowInput) (req *request.Request, output *UpdateGatewaySoftwareNowOutput)
- func (c *StorageGateway) UpdateMaintenanceStartTime(input *UpdateMaintenanceStartTimeInput) (*UpdateMaintenanceStartTimeOutput, error)
- func (c *StorageGateway) UpdateMaintenanceStartTimeRequest(input *UpdateMaintenanceStartTimeInput) (req *request.Request, output *UpdateMaintenanceStartTimeOutput)
- func (c *StorageGateway) UpdateSnapshotSchedule(input *UpdateSnapshotScheduleInput) (*UpdateSnapshotScheduleOutput, error)
- func (c *StorageGateway) UpdateSnapshotScheduleRequest(input *UpdateSnapshotScheduleInput) (req *request.Request, output *UpdateSnapshotScheduleOutput)
- func (c *StorageGateway) UpdateVTLDeviceType(input *UpdateVTLDeviceTypeInput) (*UpdateVTLDeviceTypeOutput, error)
- func (c *StorageGateway) UpdateVTLDeviceTypeRequest(input *UpdateVTLDeviceTypeInput) (req *request.Request, output *UpdateVTLDeviceTypeOutput)
- type StorediSCSIVolume
- func (s StorediSCSIVolume) GoString() string
- func (s *StorediSCSIVolume) SetPreservedExistingData(v bool) *StorediSCSIVolume
- func (s *StorediSCSIVolume) SetSourceSnapshotId(v string) *StorediSCSIVolume
- func (s *StorediSCSIVolume) SetVolumeARN(v string) *StorediSCSIVolume
- func (s *StorediSCSIVolume) SetVolumeDiskId(v string) *StorediSCSIVolume
- func (s *StorediSCSIVolume) SetVolumeId(v string) *StorediSCSIVolume
- func (s *StorediSCSIVolume) SetVolumeProgress(v float64) *StorediSCSIVolume
- func (s *StorediSCSIVolume) SetVolumeSizeInBytes(v int64) *StorediSCSIVolume
- func (s *StorediSCSIVolume) SetVolumeStatus(v string) *StorediSCSIVolume
- func (s *StorediSCSIVolume) SetVolumeType(v string) *StorediSCSIVolume
- func (s *StorediSCSIVolume) SetVolumeiSCSIAttributes(v *VolumeiSCSIAttributes) *StorediSCSIVolume
- func (s StorediSCSIVolume) String() string
- type Tag
- type Tape
- func (s Tape) GoString() string
- func (s *Tape) SetProgress(v float64) *Tape
- func (s *Tape) SetTapeARN(v string) *Tape
- func (s *Tape) SetTapeBarcode(v string) *Tape
- func (s *Tape) SetTapeSizeInBytes(v int64) *Tape
- func (s *Tape) SetTapeStatus(v string) *Tape
- func (s *Tape) SetVTLDevice(v string) *Tape
- func (s Tape) String() string
- type TapeArchive
- func (s TapeArchive) GoString() string
- func (s *TapeArchive) SetCompletionTime(v time.Time) *TapeArchive
- func (s *TapeArchive) SetRetrievedTo(v string) *TapeArchive
- func (s *TapeArchive) SetTapeARN(v string) *TapeArchive
- func (s *TapeArchive) SetTapeBarcode(v string) *TapeArchive
- func (s *TapeArchive) SetTapeSizeInBytes(v int64) *TapeArchive
- func (s *TapeArchive) SetTapeStatus(v string) *TapeArchive
- func (s TapeArchive) String() string
- type TapeInfo
- func (s TapeInfo) GoString() string
- func (s *TapeInfo) SetGatewayARN(v string) *TapeInfo
- func (s *TapeInfo) SetTapeARN(v string) *TapeInfo
- func (s *TapeInfo) SetTapeBarcode(v string) *TapeInfo
- func (s *TapeInfo) SetTapeSizeInBytes(v int64) *TapeInfo
- func (s *TapeInfo) SetTapeStatus(v string) *TapeInfo
- func (s TapeInfo) String() string
- type TapeRecoveryPointInfo
- func (s TapeRecoveryPointInfo) GoString() string
- func (s *TapeRecoveryPointInfo) SetTapeARN(v string) *TapeRecoveryPointInfo
- func (s *TapeRecoveryPointInfo) SetTapeRecoveryPointTime(v time.Time) *TapeRecoveryPointInfo
- func (s *TapeRecoveryPointInfo) SetTapeSizeInBytes(v int64) *TapeRecoveryPointInfo
- func (s *TapeRecoveryPointInfo) SetTapeStatus(v string) *TapeRecoveryPointInfo
- func (s TapeRecoveryPointInfo) String() string
- type UpdateBandwidthRateLimitInput
- func (s UpdateBandwidthRateLimitInput) GoString() string
- func (s *UpdateBandwidthRateLimitInput) SetAverageDownloadRateLimitInBitsPerSec(v int64) *UpdateBandwidthRateLimitInput
- func (s *UpdateBandwidthRateLimitInput) SetAverageUploadRateLimitInBitsPerSec(v int64) *UpdateBandwidthRateLimitInput
- func (s *UpdateBandwidthRateLimitInput) SetGatewayARN(v string) *UpdateBandwidthRateLimitInput
- func (s UpdateBandwidthRateLimitInput) String() string
- func (s *UpdateBandwidthRateLimitInput) Validate() error
- type UpdateBandwidthRateLimitOutput
- type UpdateChapCredentialsInput
- func (s UpdateChapCredentialsInput) GoString() string
- func (s *UpdateChapCredentialsInput) SetInitiatorName(v string) *UpdateChapCredentialsInput
- func (s *UpdateChapCredentialsInput) SetSecretToAuthenticateInitiator(v string) *UpdateChapCredentialsInput
- func (s *UpdateChapCredentialsInput) SetSecretToAuthenticateTarget(v string) *UpdateChapCredentialsInput
- func (s *UpdateChapCredentialsInput) SetTargetARN(v string) *UpdateChapCredentialsInput
- func (s UpdateChapCredentialsInput) String() string
- func (s *UpdateChapCredentialsInput) Validate() error
- type UpdateChapCredentialsOutput
- type UpdateGatewayInformationInput
- func (s UpdateGatewayInformationInput) GoString() string
- func (s *UpdateGatewayInformationInput) SetGatewayARN(v string) *UpdateGatewayInformationInput
- func (s *UpdateGatewayInformationInput) SetGatewayName(v string) *UpdateGatewayInformationInput
- func (s *UpdateGatewayInformationInput) SetGatewayTimezone(v string) *UpdateGatewayInformationInput
- func (s UpdateGatewayInformationInput) String() string
- func (s *UpdateGatewayInformationInput) Validate() error
- type UpdateGatewayInformationOutput
- func (s UpdateGatewayInformationOutput) GoString() string
- func (s *UpdateGatewayInformationOutput) SetGatewayARN(v string) *UpdateGatewayInformationOutput
- func (s *UpdateGatewayInformationOutput) SetGatewayName(v string) *UpdateGatewayInformationOutput
- func (s UpdateGatewayInformationOutput) String() string
- type UpdateGatewaySoftwareNowInput
- type UpdateGatewaySoftwareNowOutput
- type UpdateMaintenanceStartTimeInput
- func (s UpdateMaintenanceStartTimeInput) GoString() string
- func (s *UpdateMaintenanceStartTimeInput) SetDayOfWeek(v int64) *UpdateMaintenanceStartTimeInput
- func (s *UpdateMaintenanceStartTimeInput) SetGatewayARN(v string) *UpdateMaintenanceStartTimeInput
- func (s *UpdateMaintenanceStartTimeInput) SetHourOfDay(v int64) *UpdateMaintenanceStartTimeInput
- func (s *UpdateMaintenanceStartTimeInput) SetMinuteOfHour(v int64) *UpdateMaintenanceStartTimeInput
- func (s UpdateMaintenanceStartTimeInput) String() string
- func (s *UpdateMaintenanceStartTimeInput) Validate() error
- type UpdateMaintenanceStartTimeOutput
- type UpdateSnapshotScheduleInput
- func (s UpdateSnapshotScheduleInput) GoString() string
- func (s *UpdateSnapshotScheduleInput) SetDescription(v string) *UpdateSnapshotScheduleInput
- func (s *UpdateSnapshotScheduleInput) SetRecurrenceInHours(v int64) *UpdateSnapshotScheduleInput
- func (s *UpdateSnapshotScheduleInput) SetStartAt(v int64) *UpdateSnapshotScheduleInput
- func (s *UpdateSnapshotScheduleInput) SetVolumeARN(v string) *UpdateSnapshotScheduleInput
- func (s UpdateSnapshotScheduleInput) String() string
- func (s *UpdateSnapshotScheduleInput) Validate() error
- type UpdateSnapshotScheduleOutput
- type UpdateVTLDeviceTypeInput
- func (s UpdateVTLDeviceTypeInput) GoString() string
- func (s *UpdateVTLDeviceTypeInput) SetDeviceType(v string) *UpdateVTLDeviceTypeInput
- func (s *UpdateVTLDeviceTypeInput) SetVTLDeviceARN(v string) *UpdateVTLDeviceTypeInput
- func (s UpdateVTLDeviceTypeInput) String() string
- func (s *UpdateVTLDeviceTypeInput) Validate() error
- type UpdateVTLDeviceTypeOutput
- type VTLDevice
- func (s VTLDevice) GoString() string
- func (s *VTLDevice) SetDeviceiSCSIAttributes(v *DeviceiSCSIAttributes) *VTLDevice
- func (s *VTLDevice) SetVTLDeviceARN(v string) *VTLDevice
- func (s *VTLDevice) SetVTLDeviceProductIdentifier(v string) *VTLDevice
- func (s *VTLDevice) SetVTLDeviceType(v string) *VTLDevice
- func (s *VTLDevice) SetVTLDeviceVendor(v string) *VTLDevice
- func (s VTLDevice) String() string
- type VolumeInfo
- func (s VolumeInfo) GoString() string
- func (s *VolumeInfo) SetGatewayARN(v string) *VolumeInfo
- func (s *VolumeInfo) SetGatewayId(v string) *VolumeInfo
- func (s *VolumeInfo) SetVolumeARN(v string) *VolumeInfo
- func (s *VolumeInfo) SetVolumeId(v string) *VolumeInfo
- func (s *VolumeInfo) SetVolumeSizeInBytes(v int64) *VolumeInfo
- func (s *VolumeInfo) SetVolumeType(v string) *VolumeInfo
- func (s VolumeInfo) String() string
- type VolumeRecoveryPointInfo
- func (s VolumeRecoveryPointInfo) GoString() string
- func (s *VolumeRecoveryPointInfo) SetVolumeARN(v string) *VolumeRecoveryPointInfo
- func (s *VolumeRecoveryPointInfo) SetVolumeRecoveryPointTime(v string) *VolumeRecoveryPointInfo
- func (s *VolumeRecoveryPointInfo) SetVolumeSizeInBytes(v int64) *VolumeRecoveryPointInfo
- func (s *VolumeRecoveryPointInfo) SetVolumeUsageInBytes(v int64) *VolumeRecoveryPointInfo
- func (s VolumeRecoveryPointInfo) String() string
- type VolumeiSCSIAttributes
- func (s VolumeiSCSIAttributes) GoString() string
- func (s *VolumeiSCSIAttributes) SetChapEnabled(v bool) *VolumeiSCSIAttributes
- func (s *VolumeiSCSIAttributes) SetLunNumber(v int64) *VolumeiSCSIAttributes
- func (s *VolumeiSCSIAttributes) SetNetworkInterfaceId(v string) *VolumeiSCSIAttributes
- func (s *VolumeiSCSIAttributes) SetNetworkInterfacePort(v int64) *VolumeiSCSIAttributes
- func (s *VolumeiSCSIAttributes) SetTargetARN(v string) *VolumeiSCSIAttributes
- func (s VolumeiSCSIAttributes) String() string
Examples ¶
- StorageGateway.ActivateGateway
- StorageGateway.AddCache
- StorageGateway.AddTagsToResource
- StorageGateway.AddUploadBuffer
- StorageGateway.AddWorkingStorage
- StorageGateway.CancelArchival
- StorageGateway.CancelRetrieval
- StorageGateway.CreateCachediSCSIVolume
- StorageGateway.CreateSnapshot
- StorageGateway.CreateSnapshotFromVolumeRecoveryPoint
- StorageGateway.CreateStorediSCSIVolume
- StorageGateway.CreateTapeWithBarcode
- StorageGateway.CreateTapes
- StorageGateway.DeleteBandwidthRateLimit
- StorageGateway.DeleteChapCredentials
- StorageGateway.DeleteGateway
- StorageGateway.DeleteSnapshotSchedule
- StorageGateway.DeleteTape
- StorageGateway.DeleteTapeArchive
- StorageGateway.DeleteVolume
- StorageGateway.DescribeBandwidthRateLimit
- StorageGateway.DescribeCache
- StorageGateway.DescribeCachediSCSIVolumes
- StorageGateway.DescribeChapCredentials
- StorageGateway.DescribeGatewayInformation
- StorageGateway.DescribeMaintenanceStartTime
- StorageGateway.DescribeSnapshotSchedule
- StorageGateway.DescribeStorediSCSIVolumes
- StorageGateway.DescribeTapeArchives
- StorageGateway.DescribeTapeRecoveryPoints
- StorageGateway.DescribeTapes
- StorageGateway.DescribeUploadBuffer
- StorageGateway.DescribeVTLDevices
- StorageGateway.DescribeWorkingStorage
- StorageGateway.DisableGateway
- StorageGateway.ListGateways
- StorageGateway.ListLocalDisks
- StorageGateway.ListTagsForResource
- StorageGateway.ListTapes
- StorageGateway.ListVolumeInitiators
- StorageGateway.ListVolumeRecoveryPoints
- StorageGateway.ListVolumes
- StorageGateway.RemoveTagsFromResource
- StorageGateway.ResetCache
- StorageGateway.RetrieveTapeArchive
- StorageGateway.RetrieveTapeRecoveryPoint
- StorageGateway.SetLocalConsolePassword
- StorageGateway.ShutdownGateway
- StorageGateway.StartGateway
- StorageGateway.UpdateBandwidthRateLimit
- StorageGateway.UpdateChapCredentials
- StorageGateway.UpdateGatewayInformation
- StorageGateway.UpdateGatewaySoftwareNow
- StorageGateway.UpdateMaintenanceStartTime
- StorageGateway.UpdateSnapshotSchedule
- StorageGateway.UpdateVTLDeviceType
Constants ¶
const ( // ErrorCodeActivationKeyExpired is a ErrorCode enum value ErrorCodeActivationKeyExpired = "ActivationKeyExpired" // ErrorCodeActivationKeyInvalid is a ErrorCode enum value ErrorCodeActivationKeyInvalid = "ActivationKeyInvalid" // ErrorCodeActivationKeyNotFound is a ErrorCode enum value ErrorCodeActivationKeyNotFound = "ActivationKeyNotFound" // ErrorCodeGatewayInternalError is a ErrorCode enum value ErrorCodeGatewayInternalError = "GatewayInternalError" // ErrorCodeGatewayNotConnected is a ErrorCode enum value ErrorCodeGatewayNotConnected = "GatewayNotConnected" // ErrorCodeGatewayNotFound is a ErrorCode enum value ErrorCodeGatewayNotFound = "GatewayNotFound" // ErrorCodeGatewayProxyNetworkConnectionBusy is a ErrorCode enum value ErrorCodeGatewayProxyNetworkConnectionBusy = "GatewayProxyNetworkConnectionBusy" // ErrorCodeAuthenticationFailure is a ErrorCode enum value ErrorCodeAuthenticationFailure = "AuthenticationFailure" // ErrorCodeBandwidthThrottleScheduleNotFound is a ErrorCode enum value ErrorCodeBandwidthThrottleScheduleNotFound = "BandwidthThrottleScheduleNotFound" // ErrorCodeBlocked is a ErrorCode enum value ErrorCodeBlocked = "Blocked" // ErrorCodeCannotExportSnapshot is a ErrorCode enum value ErrorCodeCannotExportSnapshot = "CannotExportSnapshot" // ErrorCodeChapCredentialNotFound is a ErrorCode enum value ErrorCodeChapCredentialNotFound = "ChapCredentialNotFound" // ErrorCodeDiskAlreadyAllocated is a ErrorCode enum value ErrorCodeDiskAlreadyAllocated = "DiskAlreadyAllocated" // ErrorCodeDiskDoesNotExist is a ErrorCode enum value ErrorCodeDiskDoesNotExist = "DiskDoesNotExist" // ErrorCodeDiskSizeGreaterThanVolumeMaxSize is a ErrorCode enum value ErrorCodeDiskSizeGreaterThanVolumeMaxSize = "DiskSizeGreaterThanVolumeMaxSize" // ErrorCodeDiskSizeLessThanVolumeSize is a ErrorCode enum value ErrorCodeDiskSizeLessThanVolumeSize = "DiskSizeLessThanVolumeSize" // ErrorCodeDiskSizeNotGigAligned is a ErrorCode enum value ErrorCodeDiskSizeNotGigAligned = "DiskSizeNotGigAligned" // ErrorCodeDuplicateCertificateInfo is a ErrorCode enum value ErrorCodeDuplicateCertificateInfo = "DuplicateCertificateInfo" // ErrorCodeDuplicateSchedule is a ErrorCode enum value ErrorCodeDuplicateSchedule = "DuplicateSchedule" // ErrorCodeEndpointNotFound is a ErrorCode enum value ErrorCodeEndpointNotFound = "EndpointNotFound" // ErrorCodeIamnotSupported is a ErrorCode enum value ErrorCodeIamnotSupported = "IAMNotSupported" // ErrorCodeInitiatorInvalid is a ErrorCode enum value ErrorCodeInitiatorInvalid = "InitiatorInvalid" // ErrorCodeInitiatorNotFound is a ErrorCode enum value ErrorCodeInitiatorNotFound = "InitiatorNotFound" // ErrorCodeInternalError is a ErrorCode enum value ErrorCodeInternalError = "InternalError" // ErrorCodeInvalidGateway is a ErrorCode enum value ErrorCodeInvalidGateway = "InvalidGateway" // ErrorCodeInvalidEndpoint is a ErrorCode enum value ErrorCodeInvalidEndpoint = "InvalidEndpoint" // ErrorCodeInvalidParameters is a ErrorCode enum value ErrorCodeInvalidParameters = "InvalidParameters" // ErrorCodeInvalidSchedule is a ErrorCode enum value ErrorCodeInvalidSchedule = "InvalidSchedule" // ErrorCodeLocalStorageLimitExceeded is a ErrorCode enum value ErrorCodeLocalStorageLimitExceeded = "LocalStorageLimitExceeded" // ErrorCodeLunAlreadyAllocated is a ErrorCode enum value ErrorCodeLunAlreadyAllocated = "LunAlreadyAllocated " // ErrorCodeLunInvalid is a ErrorCode enum value ErrorCodeLunInvalid = "LunInvalid" // ErrorCodeMaximumContentLengthExceeded is a ErrorCode enum value ErrorCodeMaximumContentLengthExceeded = "MaximumContentLengthExceeded" // ErrorCodeMaximumTapeCartridgeCountExceeded is a ErrorCode enum value ErrorCodeMaximumTapeCartridgeCountExceeded = "MaximumTapeCartridgeCountExceeded" // ErrorCodeMaximumVolumeCountExceeded is a ErrorCode enum value ErrorCodeMaximumVolumeCountExceeded = "MaximumVolumeCountExceeded" // ErrorCodeNetworkConfigurationChanged is a ErrorCode enum value ErrorCodeNetworkConfigurationChanged = "NetworkConfigurationChanged" // ErrorCodeNoDisksAvailable is a ErrorCode enum value ErrorCodeNoDisksAvailable = "NoDisksAvailable" // ErrorCodeNotImplemented is a ErrorCode enum value ErrorCodeNotImplemented = "NotImplemented" // ErrorCodeNotSupported is a ErrorCode enum value ErrorCodeNotSupported = "NotSupported" // ErrorCodeOperationAborted is a ErrorCode enum value ErrorCodeOperationAborted = "OperationAborted" // ErrorCodeOutdatedGateway is a ErrorCode enum value ErrorCodeOutdatedGateway = "OutdatedGateway" // ErrorCodeParametersNotImplemented is a ErrorCode enum value ErrorCodeParametersNotImplemented = "ParametersNotImplemented" // ErrorCodeRegionInvalid is a ErrorCode enum value ErrorCodeRegionInvalid = "RegionInvalid" // ErrorCodeRequestTimeout is a ErrorCode enum value ErrorCodeRequestTimeout = "RequestTimeout" ErrorCodeServiceUnavailable = "ServiceUnavailable" // ErrorCodeSnapshotDeleted is a ErrorCode enum value ErrorCodeSnapshotDeleted = "SnapshotDeleted" // ErrorCodeSnapshotIdInvalid is a ErrorCode enum value ErrorCodeSnapshotIdInvalid = "SnapshotIdInvalid" // ErrorCodeSnapshotInProgress is a ErrorCode enum value ErrorCodeSnapshotInProgress = "SnapshotInProgress" // ErrorCodeSnapshotNotFound is a ErrorCode enum value ErrorCodeSnapshotNotFound = "SnapshotNotFound" // ErrorCodeSnapshotScheduleNotFound is a ErrorCode enum value ErrorCodeSnapshotScheduleNotFound = "SnapshotScheduleNotFound" // ErrorCodeStagingAreaFull is a ErrorCode enum value ErrorCodeStagingAreaFull = "StagingAreaFull" // ErrorCodeStorageFailure is a ErrorCode enum value ErrorCodeStorageFailure = "StorageFailure" // ErrorCodeTapeCartridgeNotFound is a ErrorCode enum value ErrorCodeTapeCartridgeNotFound = "TapeCartridgeNotFound" // ErrorCodeTargetAlreadyExists is a ErrorCode enum value ErrorCodeTargetAlreadyExists = "TargetAlreadyExists" // ErrorCodeTargetInvalid is a ErrorCode enum value ErrorCodeTargetInvalid = "TargetInvalid" // ErrorCodeTargetNotFound is a ErrorCode enum value ErrorCodeTargetNotFound = "TargetNotFound" ErrorCodeUnauthorizedOperation = "UnauthorizedOperation" // ErrorCodeVolumeAlreadyExists is a ErrorCode enum value ErrorCodeVolumeAlreadyExists = "VolumeAlreadyExists" // ErrorCodeVolumeIdInvalid is a ErrorCode enum value ErrorCodeVolumeIdInvalid = "VolumeIdInvalid" // ErrorCodeVolumeInUse is a ErrorCode enum value ErrorCodeVolumeInUse = "VolumeInUse" // ErrorCodeVolumeNotFound is a ErrorCode enum value ErrorCodeVolumeNotFound = "VolumeNotFound" // ErrorCodeVolumeNotReady is a ErrorCode enum value ErrorCodeVolumeNotReady = "VolumeNotReady" )
const ( ServiceName = "storagegateway" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateGatewayInput ¶
type ActivateGatewayInput struct { // 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. // // ActivationKey is a required field ActivationKey *string `min:"1" type:"string" required:"true"` // The name you configured for your gateway. // // GatewayName is a required field GatewayName *string `min:"2" type:"string" required:"true"` // 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 Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html#sg_region) // 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" // // GatewayRegion is a required field GatewayRegion *string `min:"1" type:"string" required:"true"` // 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. // // GatewayTimezone is a required field GatewayTimezone *string `min:"3" type:"string" required:"true"` // 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. GatewayType *string `min:"2" type:"string"` // 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" MediumChangerType *string `min:"2" type:"string"` // The value that indicates the type of tape drive to use for gateway-VTL. This // field is optional. // // Valid Values: "IBM-ULT3580-TD5" TapeDriveType *string `min:"2" type:"string"` // contains filtered or unexported fields }
A JSON object containing one or more of the following fields:
ActivateGatewayInput$ActivationKey
ActivateGatewayInput$GatewayName
ActivateGatewayInput$GatewayRegion
ActivateGatewayInput$GatewayTimezone
ActivateGatewayInput$GatewayType
ActivateGatewayInput$TapeDriveType
ActivateGatewayInput$MediumChangerType
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ActivateGatewayInput
func (ActivateGatewayInput) GoString ¶ added in v0.6.5
func (s ActivateGatewayInput) GoString() string
GoString returns the string representation
func (*ActivateGatewayInput) SetActivationKey ¶ added in v1.5.0
func (s *ActivateGatewayInput) SetActivationKey(v string) *ActivateGatewayInput
SetActivationKey sets the ActivationKey field's value.
func (*ActivateGatewayInput) SetGatewayName ¶ added in v1.5.0
func (s *ActivateGatewayInput) SetGatewayName(v string) *ActivateGatewayInput
SetGatewayName sets the GatewayName field's value.
func (*ActivateGatewayInput) SetGatewayRegion ¶ added in v1.5.0
func (s *ActivateGatewayInput) SetGatewayRegion(v string) *ActivateGatewayInput
SetGatewayRegion sets the GatewayRegion field's value.
func (*ActivateGatewayInput) SetGatewayTimezone ¶ added in v1.5.0
func (s *ActivateGatewayInput) SetGatewayTimezone(v string) *ActivateGatewayInput
SetGatewayTimezone sets the GatewayTimezone field's value.
func (*ActivateGatewayInput) SetGatewayType ¶ added in v1.5.0
func (s *ActivateGatewayInput) SetGatewayType(v string) *ActivateGatewayInput
SetGatewayType sets the GatewayType field's value.
func (*ActivateGatewayInput) SetMediumChangerType ¶ added in v1.5.0
func (s *ActivateGatewayInput) SetMediumChangerType(v string) *ActivateGatewayInput
SetMediumChangerType sets the MediumChangerType field's value.
func (*ActivateGatewayInput) SetTapeDriveType ¶ added in v1.5.0
func (s *ActivateGatewayInput) SetTapeDriveType(v string) *ActivateGatewayInput
SetTapeDriveType sets the TapeDriveType field's value.
func (ActivateGatewayInput) String ¶ added in v0.6.5
func (s ActivateGatewayInput) String() string
String returns the string representation
func (*ActivateGatewayInput) Validate ¶ added in v1.1.21
func (s *ActivateGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ActivateGatewayOutput ¶
type ActivateGatewayOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ActivateGatewayOutput
func (ActivateGatewayOutput) GoString ¶ added in v0.6.5
func (s ActivateGatewayOutput) GoString() string
GoString returns the string representation
func (*ActivateGatewayOutput) SetGatewayARN ¶ added in v1.5.0
func (s *ActivateGatewayOutput) SetGatewayARN(v string) *ActivateGatewayOutput
SetGatewayARN sets the GatewayARN field's value.
func (ActivateGatewayOutput) String ¶ added in v0.6.5
func (s ActivateGatewayOutput) String() string
String returns the string representation
type AddCacheInput ¶
type AddCacheInput struct { // DiskIds is a required field DiskIds []*string `type:"list" required:"true"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddCacheInput
func (AddCacheInput) GoString ¶ added in v0.6.5
func (s AddCacheInput) GoString() string
GoString returns the string representation
func (*AddCacheInput) SetDiskIds ¶ added in v1.5.0
func (s *AddCacheInput) SetDiskIds(v []*string) *AddCacheInput
SetDiskIds sets the DiskIds field's value.
func (*AddCacheInput) SetGatewayARN ¶ added in v1.5.0
func (s *AddCacheInput) SetGatewayARN(v string) *AddCacheInput
SetGatewayARN sets the GatewayARN field's value.
func (AddCacheInput) String ¶ added in v0.6.5
func (s AddCacheInput) String() string
String returns the string representation
func (*AddCacheInput) Validate ¶ added in v1.1.21
func (s *AddCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddCacheOutput ¶
type AddCacheOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddCacheOutput
func (AddCacheOutput) GoString ¶ added in v0.6.5
func (s AddCacheOutput) GoString() string
GoString returns the string representation
func (*AddCacheOutput) SetGatewayARN ¶ added in v1.5.0
func (s *AddCacheOutput) SetGatewayARN(v string) *AddCacheOutput
SetGatewayARN sets the GatewayARN field's value.
func (AddCacheOutput) String ¶ added in v0.6.5
func (s AddCacheOutput) String() string
String returns the string representation
type AddTagsToResourceInput ¶ added in v0.9.5
type AddTagsToResourceInput struct { // The Amazon Resource Name (ARN) of the resource you want to add tags to. // // ResourceARN is a required field ResourceARN *string `min:"50" type:"string" required:"true"` // 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: + - = . _ : / @. // // Tags is a required field Tags []*Tag `type:"list" required:"true"` // contains filtered or unexported fields }
AddTagsToResourceInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddTagsToResourceInput
func (AddTagsToResourceInput) GoString ¶ added in v0.9.5
func (s AddTagsToResourceInput) GoString() string
GoString returns the string representation
func (*AddTagsToResourceInput) SetResourceARN ¶ added in v1.5.0
func (s *AddTagsToResourceInput) SetResourceARN(v string) *AddTagsToResourceInput
SetResourceARN sets the ResourceARN field's value.
func (*AddTagsToResourceInput) SetTags ¶ added in v1.5.0
func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput
SetTags sets the Tags field's value.
func (AddTagsToResourceInput) String ¶ added in v0.9.5
func (s AddTagsToResourceInput) String() string
String returns the string representation
func (*AddTagsToResourceInput) Validate ¶ added in v1.1.21
func (s *AddTagsToResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddTagsToResourceOutput ¶ added in v0.9.5
type AddTagsToResourceOutput struct { // The Amazon Resource Name (ARN) of the resource you want to add tags to. ResourceARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
AddTagsToResourceOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddTagsToResourceOutput
func (AddTagsToResourceOutput) GoString ¶ added in v0.9.5
func (s AddTagsToResourceOutput) GoString() string
GoString returns the string representation
func (*AddTagsToResourceOutput) SetResourceARN ¶ added in v1.5.0
func (s *AddTagsToResourceOutput) SetResourceARN(v string) *AddTagsToResourceOutput
SetResourceARN sets the ResourceARN field's value.
func (AddTagsToResourceOutput) String ¶ added in v0.9.5
func (s AddTagsToResourceOutput) String() string
String returns the string representation
type AddUploadBufferInput ¶
type AddUploadBufferInput struct { // DiskIds is a required field DiskIds []*string `type:"list" required:"true"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddUploadBufferInput
func (AddUploadBufferInput) GoString ¶ added in v0.6.5
func (s AddUploadBufferInput) GoString() string
GoString returns the string representation
func (*AddUploadBufferInput) SetDiskIds ¶ added in v1.5.0
func (s *AddUploadBufferInput) SetDiskIds(v []*string) *AddUploadBufferInput
SetDiskIds sets the DiskIds field's value.
func (*AddUploadBufferInput) SetGatewayARN ¶ added in v1.5.0
func (s *AddUploadBufferInput) SetGatewayARN(v string) *AddUploadBufferInput
SetGatewayARN sets the GatewayARN field's value.
func (AddUploadBufferInput) String ¶ added in v0.6.5
func (s AddUploadBufferInput) String() string
String returns the string representation
func (*AddUploadBufferInput) Validate ¶ added in v1.1.21
func (s *AddUploadBufferInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddUploadBufferOutput ¶
type AddUploadBufferOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddUploadBufferOutput
func (AddUploadBufferOutput) GoString ¶ added in v0.6.5
func (s AddUploadBufferOutput) GoString() string
GoString returns the string representation
func (*AddUploadBufferOutput) SetGatewayARN ¶ added in v1.5.0
func (s *AddUploadBufferOutput) SetGatewayARN(v string) *AddUploadBufferOutput
SetGatewayARN sets the GatewayARN field's value.
func (AddUploadBufferOutput) String ¶ added in v0.6.5
func (s AddUploadBufferOutput) String() string
String returns the string representation
type AddWorkingStorageInput ¶
type AddWorkingStorageInput struct { // 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. // // DiskIds is a required field DiskIds []*string `type:"list" required:"true"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing one or more of the following fields:
- AddWorkingStorageInput$DiskIds
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddWorkingStorageInput
func (AddWorkingStorageInput) GoString ¶ added in v0.6.5
func (s AddWorkingStorageInput) GoString() string
GoString returns the string representation
func (*AddWorkingStorageInput) SetDiskIds ¶ added in v1.5.0
func (s *AddWorkingStorageInput) SetDiskIds(v []*string) *AddWorkingStorageInput
SetDiskIds sets the DiskIds field's value.
func (*AddWorkingStorageInput) SetGatewayARN ¶ added in v1.5.0
func (s *AddWorkingStorageInput) SetGatewayARN(v string) *AddWorkingStorageInput
SetGatewayARN sets the GatewayARN field's value.
func (AddWorkingStorageInput) String ¶ added in v0.6.5
func (s AddWorkingStorageInput) String() string
String returns the string representation
func (*AddWorkingStorageInput) Validate ¶ added in v1.1.21
func (s *AddWorkingStorageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddWorkingStorageOutput ¶
type AddWorkingStorageOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the of the gateway for which working storage was configured. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddWorkingStorageOutput
func (AddWorkingStorageOutput) GoString ¶ added in v0.6.5
func (s AddWorkingStorageOutput) GoString() string
GoString returns the string representation
func (*AddWorkingStorageOutput) SetGatewayARN ¶ added in v1.5.0
func (s *AddWorkingStorageOutput) SetGatewayARN(v string) *AddWorkingStorageOutput
SetGatewayARN sets the GatewayARN field's value.
func (AddWorkingStorageOutput) String ¶ added in v0.6.5
func (s AddWorkingStorageOutput) String() string
String returns the string representation
type CachediSCSIVolume ¶
type CachediSCSIVolume struct { SourceSnapshotId *string `type:"string"` VolumeARN *string `min:"50" type:"string"` VolumeId *string `min:"12" type:"string"` VolumeProgress *float64 `type:"double"` VolumeSizeInBytes *int64 `type:"long"` VolumeStatus *string `min:"3" type:"string"` VolumeType *string `min:"3" type:"string"` // Lists iSCSI information about a volume. VolumeiSCSIAttributes *VolumeiSCSIAttributes `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CachediSCSIVolume
func (CachediSCSIVolume) GoString ¶ added in v0.6.5
func (s CachediSCSIVolume) GoString() string
GoString returns the string representation
func (*CachediSCSIVolume) SetSourceSnapshotId ¶ added in v1.5.0
func (s *CachediSCSIVolume) SetSourceSnapshotId(v string) *CachediSCSIVolume
SetSourceSnapshotId sets the SourceSnapshotId field's value.
func (*CachediSCSIVolume) SetVolumeARN ¶ added in v1.5.0
func (s *CachediSCSIVolume) SetVolumeARN(v string) *CachediSCSIVolume
SetVolumeARN sets the VolumeARN field's value.
func (*CachediSCSIVolume) SetVolumeId ¶ added in v1.5.0
func (s *CachediSCSIVolume) SetVolumeId(v string) *CachediSCSIVolume
SetVolumeId sets the VolumeId field's value.
func (*CachediSCSIVolume) SetVolumeProgress ¶ added in v1.5.0
func (s *CachediSCSIVolume) SetVolumeProgress(v float64) *CachediSCSIVolume
SetVolumeProgress sets the VolumeProgress field's value.
func (*CachediSCSIVolume) SetVolumeSizeInBytes ¶ added in v1.5.0
func (s *CachediSCSIVolume) SetVolumeSizeInBytes(v int64) *CachediSCSIVolume
SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value.
func (*CachediSCSIVolume) SetVolumeStatus ¶ added in v1.5.0
func (s *CachediSCSIVolume) SetVolumeStatus(v string) *CachediSCSIVolume
SetVolumeStatus sets the VolumeStatus field's value.
func (*CachediSCSIVolume) SetVolumeType ¶ added in v1.5.0
func (s *CachediSCSIVolume) SetVolumeType(v string) *CachediSCSIVolume
SetVolumeType sets the VolumeType field's value.
func (*CachediSCSIVolume) SetVolumeiSCSIAttributes ¶ added in v1.5.0
func (s *CachediSCSIVolume) SetVolumeiSCSIAttributes(v *VolumeiSCSIAttributes) *CachediSCSIVolume
SetVolumeiSCSIAttributes sets the VolumeiSCSIAttributes field's value.
func (CachediSCSIVolume) String ¶ added in v0.6.5
func (s CachediSCSIVolume) String() string
String returns the string representation
type CancelArchivalInput ¶
type CancelArchivalInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the virtual tape you want to cancel archiving // for. // // TapeARN is a required field TapeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
CancelArchivalInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelArchivalInput
func (CancelArchivalInput) GoString ¶ added in v0.6.5
func (s CancelArchivalInput) GoString() string
GoString returns the string representation
func (*CancelArchivalInput) SetGatewayARN ¶ added in v1.5.0
func (s *CancelArchivalInput) SetGatewayARN(v string) *CancelArchivalInput
SetGatewayARN sets the GatewayARN field's value.
func (*CancelArchivalInput) SetTapeARN ¶ added in v1.5.0
func (s *CancelArchivalInput) SetTapeARN(v string) *CancelArchivalInput
SetTapeARN sets the TapeARN field's value.
func (CancelArchivalInput) String ¶ added in v0.6.5
func (s CancelArchivalInput) String() string
String returns the string representation
func (*CancelArchivalInput) Validate ¶ added in v1.1.21
func (s *CancelArchivalInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelArchivalOutput ¶
type CancelArchivalOutput struct { // The Amazon Resource Name (ARN) of the virtual tape for which archiving was // canceled. TapeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
CancelArchivalOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelArchivalOutput
func (CancelArchivalOutput) GoString ¶ added in v0.6.5
func (s CancelArchivalOutput) GoString() string
GoString returns the string representation
func (*CancelArchivalOutput) SetTapeARN ¶ added in v1.5.0
func (s *CancelArchivalOutput) SetTapeARN(v string) *CancelArchivalOutput
SetTapeARN sets the TapeARN field's value.
func (CancelArchivalOutput) String ¶ added in v0.6.5
func (s CancelArchivalOutput) String() string
String returns the string representation
type CancelRetrievalInput ¶
type CancelRetrievalInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval // for. // // TapeARN is a required field TapeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
CancelRetrievalInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelRetrievalInput
func (CancelRetrievalInput) GoString ¶ added in v0.6.5
func (s CancelRetrievalInput) GoString() string
GoString returns the string representation
func (*CancelRetrievalInput) SetGatewayARN ¶ added in v1.5.0
func (s *CancelRetrievalInput) SetGatewayARN(v string) *CancelRetrievalInput
SetGatewayARN sets the GatewayARN field's value.
func (*CancelRetrievalInput) SetTapeARN ¶ added in v1.5.0
func (s *CancelRetrievalInput) SetTapeARN(v string) *CancelRetrievalInput
SetTapeARN sets the TapeARN field's value.
func (CancelRetrievalInput) String ¶ added in v0.6.5
func (s CancelRetrievalInput) String() string
String returns the string representation
func (*CancelRetrievalInput) Validate ¶ added in v1.1.21
func (s *CancelRetrievalInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelRetrievalOutput ¶
type CancelRetrievalOutput struct { // The Amazon Resource Name (ARN) of the virtual tape for which retrieval was // canceled. TapeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
CancelRetrievalOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelRetrievalOutput
func (CancelRetrievalOutput) GoString ¶ added in v0.6.5
func (s CancelRetrievalOutput) GoString() string
GoString returns the string representation
func (*CancelRetrievalOutput) SetTapeARN ¶ added in v1.5.0
func (s *CancelRetrievalOutput) SetTapeARN(v string) *CancelRetrievalOutput
SetTapeARN sets the TapeARN field's value.
func (CancelRetrievalOutput) String ¶ added in v0.6.5
func (s CancelRetrievalOutput) String() string
String returns the string representation
type ChapInfo ¶
type ChapInfo struct { // The iSCSI initiator that connects to the target. InitiatorName *string `min:"1" type:"string"` // The secret key that the initiator (for example, the Windows client) must // provide to participate in mutual CHAP with the target. SecretToAuthenticateInitiator *string `min:"1" type:"string"` // The secret key that the target must provide to participate in mutual CHAP // with the initiator (e.g. Windows client). SecretToAuthenticateTarget *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the volume. // // Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens // (-). TargetARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
Describes Challenge-Handshake Authentication Protocol (CHAP) information that supports authentication between your gateway and iSCSI initiators. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ChapInfo
func (*ChapInfo) SetInitiatorName ¶ added in v1.5.0
SetInitiatorName sets the InitiatorName field's value.
func (*ChapInfo) SetSecretToAuthenticateInitiator ¶ added in v1.5.0
SetSecretToAuthenticateInitiator sets the SecretToAuthenticateInitiator field's value.
func (*ChapInfo) SetSecretToAuthenticateTarget ¶ added in v1.5.0
SetSecretToAuthenticateTarget sets the SecretToAuthenticateTarget field's value.
func (*ChapInfo) SetTargetARN ¶ added in v1.5.0
SetTargetARN sets the TargetARN field's value.
type CreateCachediSCSIVolumeInput ¶
type CreateCachediSCSIVolumeInput struct { // ClientToken is a required field ClientToken *string `min:"5" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // NetworkInterfaceId is a required field NetworkInterfaceId *string `type:"string" required:"true"` SnapshotId *string `type:"string"` // TargetName is a required field TargetName *string `min:"1" type:"string" required:"true"` // VolumeSizeInBytes is a required field VolumeSizeInBytes *int64 `type:"long" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateCachediSCSIVolumeInput
func (CreateCachediSCSIVolumeInput) GoString ¶ added in v0.6.5
func (s CreateCachediSCSIVolumeInput) GoString() string
GoString returns the string representation
func (*CreateCachediSCSIVolumeInput) SetClientToken ¶ added in v1.5.0
func (s *CreateCachediSCSIVolumeInput) SetClientToken(v string) *CreateCachediSCSIVolumeInput
SetClientToken sets the ClientToken field's value.
func (*CreateCachediSCSIVolumeInput) SetGatewayARN ¶ added in v1.5.0
func (s *CreateCachediSCSIVolumeInput) SetGatewayARN(v string) *CreateCachediSCSIVolumeInput
SetGatewayARN sets the GatewayARN field's value.
func (*CreateCachediSCSIVolumeInput) SetNetworkInterfaceId ¶ added in v1.5.0
func (s *CreateCachediSCSIVolumeInput) SetNetworkInterfaceId(v string) *CreateCachediSCSIVolumeInput
SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
func (*CreateCachediSCSIVolumeInput) SetSnapshotId ¶ added in v1.5.0
func (s *CreateCachediSCSIVolumeInput) SetSnapshotId(v string) *CreateCachediSCSIVolumeInput
SetSnapshotId sets the SnapshotId field's value.
func (*CreateCachediSCSIVolumeInput) SetTargetName ¶ added in v1.5.0
func (s *CreateCachediSCSIVolumeInput) SetTargetName(v string) *CreateCachediSCSIVolumeInput
SetTargetName sets the TargetName field's value.
func (*CreateCachediSCSIVolumeInput) SetVolumeSizeInBytes ¶ added in v1.5.0
func (s *CreateCachediSCSIVolumeInput) SetVolumeSizeInBytes(v int64) *CreateCachediSCSIVolumeInput
SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value.
func (CreateCachediSCSIVolumeInput) String ¶ added in v0.6.5
func (s CreateCachediSCSIVolumeInput) String() string
String returns the string representation
func (*CreateCachediSCSIVolumeInput) Validate ¶ added in v1.1.21
func (s *CreateCachediSCSIVolumeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateCachediSCSIVolumeOutput ¶
type CreateCachediSCSIVolumeOutput struct { TargetARN *string `min:"50" type:"string"` VolumeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateCachediSCSIVolumeOutput
func (CreateCachediSCSIVolumeOutput) GoString ¶ added in v0.6.5
func (s CreateCachediSCSIVolumeOutput) GoString() string
GoString returns the string representation
func (*CreateCachediSCSIVolumeOutput) SetTargetARN ¶ added in v1.5.0
func (s *CreateCachediSCSIVolumeOutput) SetTargetARN(v string) *CreateCachediSCSIVolumeOutput
SetTargetARN sets the TargetARN field's value.
func (*CreateCachediSCSIVolumeOutput) SetVolumeARN ¶ added in v1.5.0
func (s *CreateCachediSCSIVolumeOutput) SetVolumeARN(v string) *CreateCachediSCSIVolumeOutput
SetVolumeARN sets the VolumeARN field's value.
func (CreateCachediSCSIVolumeOutput) String ¶ added in v0.6.5
func (s CreateCachediSCSIVolumeOutput) String() string
String returns the string representation
type CreateSnapshotFromVolumeRecoveryPointInput ¶
type CreateSnapshotFromVolumeRecoveryPointInput struct { // SnapshotDescription is a required field SnapshotDescription *string `min:"1" type:"string" required:"true"` // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshotFromVolumeRecoveryPointInput
func (CreateSnapshotFromVolumeRecoveryPointInput) GoString ¶ added in v0.6.5
func (s CreateSnapshotFromVolumeRecoveryPointInput) GoString() string
GoString returns the string representation
func (*CreateSnapshotFromVolumeRecoveryPointInput) SetSnapshotDescription ¶ added in v1.5.0
func (s *CreateSnapshotFromVolumeRecoveryPointInput) SetSnapshotDescription(v string) *CreateSnapshotFromVolumeRecoveryPointInput
SetSnapshotDescription sets the SnapshotDescription field's value.
func (*CreateSnapshotFromVolumeRecoveryPointInput) SetVolumeARN ¶ added in v1.5.0
func (s *CreateSnapshotFromVolumeRecoveryPointInput) SetVolumeARN(v string) *CreateSnapshotFromVolumeRecoveryPointInput
SetVolumeARN sets the VolumeARN field's value.
func (CreateSnapshotFromVolumeRecoveryPointInput) String ¶ added in v0.6.5
func (s CreateSnapshotFromVolumeRecoveryPointInput) String() string
String returns the string representation
func (*CreateSnapshotFromVolumeRecoveryPointInput) Validate ¶ added in v1.1.21
func (s *CreateSnapshotFromVolumeRecoveryPointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSnapshotFromVolumeRecoveryPointOutput ¶
type CreateSnapshotFromVolumeRecoveryPointOutput struct { SnapshotId *string `type:"string"` VolumeARN *string `min:"50" type:"string"` VolumeRecoveryPointTime *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshotFromVolumeRecoveryPointOutput
func (CreateSnapshotFromVolumeRecoveryPointOutput) GoString ¶ added in v0.6.5
func (s CreateSnapshotFromVolumeRecoveryPointOutput) GoString() string
GoString returns the string representation
func (*CreateSnapshotFromVolumeRecoveryPointOutput) SetSnapshotId ¶ added in v1.5.0
func (s *CreateSnapshotFromVolumeRecoveryPointOutput) SetSnapshotId(v string) *CreateSnapshotFromVolumeRecoveryPointOutput
SetSnapshotId sets the SnapshotId field's value.
func (*CreateSnapshotFromVolumeRecoveryPointOutput) SetVolumeARN ¶ added in v1.5.0
func (s *CreateSnapshotFromVolumeRecoveryPointOutput) SetVolumeARN(v string) *CreateSnapshotFromVolumeRecoveryPointOutput
SetVolumeARN sets the VolumeARN field's value.
func (*CreateSnapshotFromVolumeRecoveryPointOutput) SetVolumeRecoveryPointTime ¶ added in v1.5.0
func (s *CreateSnapshotFromVolumeRecoveryPointOutput) SetVolumeRecoveryPointTime(v string) *CreateSnapshotFromVolumeRecoveryPointOutput
SetVolumeRecoveryPointTime sets the VolumeRecoveryPointTime field's value.
func (CreateSnapshotFromVolumeRecoveryPointOutput) String ¶ added in v0.6.5
func (s CreateSnapshotFromVolumeRecoveryPointOutput) String() string
String returns the string representation
type CreateSnapshotInput ¶
type CreateSnapshotInput struct { // 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 // // SnapshotDescription is a required field SnapshotDescription *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation // to return a list of gateway volumes. // // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing one or more of the following fields:
CreateSnapshotInput$SnapshotDescription
CreateSnapshotInput$VolumeARN
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshotInput
func (CreateSnapshotInput) GoString ¶ added in v0.6.5
func (s CreateSnapshotInput) GoString() string
GoString returns the string representation
func (*CreateSnapshotInput) SetSnapshotDescription ¶ added in v1.5.0
func (s *CreateSnapshotInput) SetSnapshotDescription(v string) *CreateSnapshotInput
SetSnapshotDescription sets the SnapshotDescription field's value.
func (*CreateSnapshotInput) SetVolumeARN ¶ added in v1.5.0
func (s *CreateSnapshotInput) SetVolumeARN(v string) *CreateSnapshotInput
SetVolumeARN sets the VolumeARN field's value.
func (CreateSnapshotInput) String ¶ added in v0.6.5
func (s CreateSnapshotInput) String() string
String returns the string representation
func (*CreateSnapshotInput) Validate ¶ added in v1.1.21
func (s *CreateSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSnapshotOutput ¶
type CreateSnapshotOutput struct { // 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). SnapshotId *string `type:"string"` // The Amazon Resource Name (ARN) of the volume of which the snapshot was taken. VolumeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the following fields: Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshotOutput
func (CreateSnapshotOutput) GoString ¶ added in v0.6.5
func (s CreateSnapshotOutput) GoString() string
GoString returns the string representation
func (*CreateSnapshotOutput) SetSnapshotId ¶ added in v1.5.0
func (s *CreateSnapshotOutput) SetSnapshotId(v string) *CreateSnapshotOutput
SetSnapshotId sets the SnapshotId field's value.
func (*CreateSnapshotOutput) SetVolumeARN ¶ added in v1.5.0
func (s *CreateSnapshotOutput) SetVolumeARN(v string) *CreateSnapshotOutput
SetVolumeARN sets the VolumeARN field's value.
func (CreateSnapshotOutput) String ¶ added in v0.6.5
func (s CreateSnapshotOutput) String() string
String returns the string representation
type CreateStorediSCSIVolumeInput ¶
type CreateStorediSCSIVolumeInput struct { // The unique identifier for the gateway local disk that is configured as a // stored volume. Use ListLocalDisks (http://docs.aws.amazon.com/storagegateway/latest/userguide/API_ListLocalDisks.html) // to list disk IDs for a gateway. // // DiskId is a required field DiskId *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // 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. // // NetworkInterfaceId is a required field NetworkInterfaceId *string `type:"string" required:"true"` // 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 // // PreserveExistingData is a required field PreserveExistingData *bool `type:"boolean" required:"true"` // 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 DescribeSnapshots (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSnapshots.html) // in the Amazon Elastic Compute Cloud API Reference. SnapshotId *string `type:"string"` // 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. // // TargetName is a required field TargetName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing one or more of the following fields:
CreateStorediSCSIVolumeInput$DiskId
CreateStorediSCSIVolumeInput$NetworkInterfaceId
CreateStorediSCSIVolumeInput$PreserveExistingData
CreateStorediSCSIVolumeInput$SnapshotId
CreateStorediSCSIVolumeInput$TargetName
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateStorediSCSIVolumeInput
func (CreateStorediSCSIVolumeInput) GoString ¶ added in v0.6.5
func (s CreateStorediSCSIVolumeInput) GoString() string
GoString returns the string representation
func (*CreateStorediSCSIVolumeInput) SetDiskId ¶ added in v1.5.0
func (s *CreateStorediSCSIVolumeInput) SetDiskId(v string) *CreateStorediSCSIVolumeInput
SetDiskId sets the DiskId field's value.
func (*CreateStorediSCSIVolumeInput) SetGatewayARN ¶ added in v1.5.0
func (s *CreateStorediSCSIVolumeInput) SetGatewayARN(v string) *CreateStorediSCSIVolumeInput
SetGatewayARN sets the GatewayARN field's value.
func (*CreateStorediSCSIVolumeInput) SetNetworkInterfaceId ¶ added in v1.5.0
func (s *CreateStorediSCSIVolumeInput) SetNetworkInterfaceId(v string) *CreateStorediSCSIVolumeInput
SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
func (*CreateStorediSCSIVolumeInput) SetPreserveExistingData ¶ added in v1.5.0
func (s *CreateStorediSCSIVolumeInput) SetPreserveExistingData(v bool) *CreateStorediSCSIVolumeInput
SetPreserveExistingData sets the PreserveExistingData field's value.
func (*CreateStorediSCSIVolumeInput) SetSnapshotId ¶ added in v1.5.0
func (s *CreateStorediSCSIVolumeInput) SetSnapshotId(v string) *CreateStorediSCSIVolumeInput
SetSnapshotId sets the SnapshotId field's value.
func (*CreateStorediSCSIVolumeInput) SetTargetName ¶ added in v1.5.0
func (s *CreateStorediSCSIVolumeInput) SetTargetName(v string) *CreateStorediSCSIVolumeInput
SetTargetName sets the TargetName field's value.
func (CreateStorediSCSIVolumeInput) String ¶ added in v0.6.5
func (s CreateStorediSCSIVolumeInput) String() string
String returns the string representation
func (*CreateStorediSCSIVolumeInput) Validate ¶ added in v1.1.21
func (s *CreateStorediSCSIVolumeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateStorediSCSIVolumeOutput ¶
type CreateStorediSCSIVolumeOutput struct { // he Amazon Resource Name (ARN) of the volume target that includes the iSCSI // name that initiators can use to connect to the target. TargetARN *string `min:"50" type:"string"` // The Amazon Resource Name (ARN) of the configured volume. VolumeARN *string `min:"50" type:"string"` // The size of the volume in bytes. VolumeSizeInBytes *int64 `type:"long"` // contains filtered or unexported fields }
A JSON object containing the following fields: Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateStorediSCSIVolumeOutput
func (CreateStorediSCSIVolumeOutput) GoString ¶ added in v0.6.5
func (s CreateStorediSCSIVolumeOutput) GoString() string
GoString returns the string representation
func (*CreateStorediSCSIVolumeOutput) SetTargetARN ¶ added in v1.5.0
func (s *CreateStorediSCSIVolumeOutput) SetTargetARN(v string) *CreateStorediSCSIVolumeOutput
SetTargetARN sets the TargetARN field's value.
func (*CreateStorediSCSIVolumeOutput) SetVolumeARN ¶ added in v1.5.0
func (s *CreateStorediSCSIVolumeOutput) SetVolumeARN(v string) *CreateStorediSCSIVolumeOutput
SetVolumeARN sets the VolumeARN field's value.
func (*CreateStorediSCSIVolumeOutput) SetVolumeSizeInBytes ¶ added in v1.5.0
func (s *CreateStorediSCSIVolumeOutput) SetVolumeSizeInBytes(v int64) *CreateStorediSCSIVolumeOutput
SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value.
func (CreateStorediSCSIVolumeOutput) String ¶ added in v0.6.5
func (s CreateStorediSCSIVolumeOutput) String() string
String returns the string representation
type CreateTapeWithBarcodeInput ¶ added in v1.1.4
type CreateTapeWithBarcodeInput struct { // 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. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The barcode that you want to assign to the tape. // // TapeBarcode is a required field TapeBarcode *string `min:"7" type:"string" required:"true"` // The size, in bytes, of the virtual tape that you want to create. // // The size must be aligned by gigabyte (1024*1024*1024 byte). // // TapeSizeInBytes is a required field TapeSizeInBytes *int64 `type:"long" required:"true"` // contains filtered or unexported fields }
CreateTapeWithBarcodeInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapeWithBarcodeInput
func (CreateTapeWithBarcodeInput) GoString ¶ added in v1.1.4
func (s CreateTapeWithBarcodeInput) GoString() string
GoString returns the string representation
func (*CreateTapeWithBarcodeInput) SetGatewayARN ¶ added in v1.5.0
func (s *CreateTapeWithBarcodeInput) SetGatewayARN(v string) *CreateTapeWithBarcodeInput
SetGatewayARN sets the GatewayARN field's value.
func (*CreateTapeWithBarcodeInput) SetTapeBarcode ¶ added in v1.5.0
func (s *CreateTapeWithBarcodeInput) SetTapeBarcode(v string) *CreateTapeWithBarcodeInput
SetTapeBarcode sets the TapeBarcode field's value.
func (*CreateTapeWithBarcodeInput) SetTapeSizeInBytes ¶ added in v1.5.0
func (s *CreateTapeWithBarcodeInput) SetTapeSizeInBytes(v int64) *CreateTapeWithBarcodeInput
SetTapeSizeInBytes sets the TapeSizeInBytes field's value.
func (CreateTapeWithBarcodeInput) String ¶ added in v1.1.4
func (s CreateTapeWithBarcodeInput) String() string
String returns the string representation
func (*CreateTapeWithBarcodeInput) Validate ¶ added in v1.1.21
func (s *CreateTapeWithBarcodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTapeWithBarcodeOutput ¶ added in v1.1.4
type CreateTapeWithBarcodeOutput struct { // A unique Amazon Resource Name (ARN) that represents the virtual tape that // was created. TapeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
CreateTapeOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapeWithBarcodeOutput
func (CreateTapeWithBarcodeOutput) GoString ¶ added in v1.1.4
func (s CreateTapeWithBarcodeOutput) GoString() string
GoString returns the string representation
func (*CreateTapeWithBarcodeOutput) SetTapeARN ¶ added in v1.5.0
func (s *CreateTapeWithBarcodeOutput) SetTapeARN(v string) *CreateTapeWithBarcodeOutput
SetTapeARN sets the TapeARN field's value.
func (CreateTapeWithBarcodeOutput) String ¶ added in v1.1.4
func (s CreateTapeWithBarcodeOutput) String() string
String returns the string representation
type CreateTapesInput ¶
type CreateTapesInput struct { // 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. // // ClientToken is a required field ClientToken *string `min:"5" type:"string" required:"true"` // 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. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The number of virtual tapes that you want to create. // // NumTapesToCreate is a required field NumTapesToCreate *int64 `min:"1" type:"integer" required:"true"` // 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. // // TapeBarcodePrefix is a required field TapeBarcodePrefix *string `min:"1" type:"string" required:"true"` // The size, in bytes, of the virtual tapes that you want to create. // // The size must be aligned by gigabyte (1024*1024*1024 byte). // // TapeSizeInBytes is a required field TapeSizeInBytes *int64 `type:"long" required:"true"` // contains filtered or unexported fields }
CreateTapesInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapesInput
func (CreateTapesInput) GoString ¶ added in v0.6.5
func (s CreateTapesInput) GoString() string
GoString returns the string representation
func (*CreateTapesInput) SetClientToken ¶ added in v1.5.0
func (s *CreateTapesInput) SetClientToken(v string) *CreateTapesInput
SetClientToken sets the ClientToken field's value.
func (*CreateTapesInput) SetGatewayARN ¶ added in v1.5.0
func (s *CreateTapesInput) SetGatewayARN(v string) *CreateTapesInput
SetGatewayARN sets the GatewayARN field's value.
func (*CreateTapesInput) SetNumTapesToCreate ¶ added in v1.5.0
func (s *CreateTapesInput) SetNumTapesToCreate(v int64) *CreateTapesInput
SetNumTapesToCreate sets the NumTapesToCreate field's value.
func (*CreateTapesInput) SetTapeBarcodePrefix ¶ added in v1.5.0
func (s *CreateTapesInput) SetTapeBarcodePrefix(v string) *CreateTapesInput
SetTapeBarcodePrefix sets the TapeBarcodePrefix field's value.
func (*CreateTapesInput) SetTapeSizeInBytes ¶ added in v1.5.0
func (s *CreateTapesInput) SetTapeSizeInBytes(v int64) *CreateTapesInput
SetTapeSizeInBytes sets the TapeSizeInBytes field's value.
func (CreateTapesInput) String ¶ added in v0.6.5
func (s CreateTapesInput) String() string
String returns the string representation
func (*CreateTapesInput) Validate ¶ added in v1.1.21
func (s *CreateTapesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTapesOutput ¶
type CreateTapesOutput struct { // A list of unique Amazon Resource Names (ARNs) that represents the virtual // tapes that were created. TapeARNs []*string `type:"list"` // contains filtered or unexported fields }
CreateTapeOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapesOutput
func (CreateTapesOutput) GoString ¶ added in v0.6.5
func (s CreateTapesOutput) GoString() string
GoString returns the string representation
func (*CreateTapesOutput) SetTapeARNs ¶ added in v1.5.0
func (s *CreateTapesOutput) SetTapeARNs(v []*string) *CreateTapesOutput
SetTapeARNs sets the TapeARNs field's value.
func (CreateTapesOutput) String ¶ added in v0.6.5
func (s CreateTapesOutput) String() string
String returns the string representation
type DeleteBandwidthRateLimitInput ¶
type DeleteBandwidthRateLimitInput struct { // BandwidthType is a required field BandwidthType *string `min:"3" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteBandwidthRateLimitInput
func (DeleteBandwidthRateLimitInput) GoString ¶ added in v0.6.5
func (s DeleteBandwidthRateLimitInput) GoString() string
GoString returns the string representation
func (*DeleteBandwidthRateLimitInput) SetBandwidthType ¶ added in v1.5.0
func (s *DeleteBandwidthRateLimitInput) SetBandwidthType(v string) *DeleteBandwidthRateLimitInput
SetBandwidthType sets the BandwidthType field's value.
func (*DeleteBandwidthRateLimitInput) SetGatewayARN ¶ added in v1.5.0
func (s *DeleteBandwidthRateLimitInput) SetGatewayARN(v string) *DeleteBandwidthRateLimitInput
SetGatewayARN sets the GatewayARN field's value.
func (DeleteBandwidthRateLimitInput) String ¶ added in v0.6.5
func (s DeleteBandwidthRateLimitInput) String() string
String returns the string representation
func (*DeleteBandwidthRateLimitInput) Validate ¶ added in v1.1.21
func (s *DeleteBandwidthRateLimitInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteBandwidthRateLimitOutput ¶
type DeleteBandwidthRateLimitOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the of the gateway whose bandwidth rate information was deleted. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteBandwidthRateLimitOutput
func (DeleteBandwidthRateLimitOutput) GoString ¶ added in v0.6.5
func (s DeleteBandwidthRateLimitOutput) GoString() string
GoString returns the string representation
func (*DeleteBandwidthRateLimitOutput) SetGatewayARN ¶ added in v1.5.0
func (s *DeleteBandwidthRateLimitOutput) SetGatewayARN(v string) *DeleteBandwidthRateLimitOutput
SetGatewayARN sets the GatewayARN field's value.
func (DeleteBandwidthRateLimitOutput) String ¶ added in v0.6.5
func (s DeleteBandwidthRateLimitOutput) String() string
String returns the string representation
type DeleteChapCredentialsInput ¶
type DeleteChapCredentialsInput struct { // The iSCSI initiator that connects to the target. // // InitiatorName is a required field InitiatorName *string `min:"1" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes // operation to return to retrieve the TargetARN for specified VolumeARN. // // TargetARN is a required field TargetARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing one or more of the following fields:
DeleteChapCredentialsInput$InitiatorName
DeleteChapCredentialsInput$TargetARN
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteChapCredentialsInput
func (DeleteChapCredentialsInput) GoString ¶ added in v0.6.5
func (s DeleteChapCredentialsInput) GoString() string
GoString returns the string representation
func (*DeleteChapCredentialsInput) SetInitiatorName ¶ added in v1.5.0
func (s *DeleteChapCredentialsInput) SetInitiatorName(v string) *DeleteChapCredentialsInput
SetInitiatorName sets the InitiatorName field's value.
func (*DeleteChapCredentialsInput) SetTargetARN ¶ added in v1.5.0
func (s *DeleteChapCredentialsInput) SetTargetARN(v string) *DeleteChapCredentialsInput
SetTargetARN sets the TargetARN field's value.
func (DeleteChapCredentialsInput) String ¶ added in v0.6.5
func (s DeleteChapCredentialsInput) String() string
String returns the string representation
func (*DeleteChapCredentialsInput) Validate ¶ added in v1.1.21
func (s *DeleteChapCredentialsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteChapCredentialsOutput ¶
type DeleteChapCredentialsOutput struct { // The iSCSI initiator that connects to the target. InitiatorName *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the target. TargetARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the following fields: Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteChapCredentialsOutput
func (DeleteChapCredentialsOutput) GoString ¶ added in v0.6.5
func (s DeleteChapCredentialsOutput) GoString() string
GoString returns the string representation
func (*DeleteChapCredentialsOutput) SetInitiatorName ¶ added in v1.5.0
func (s *DeleteChapCredentialsOutput) SetInitiatorName(v string) *DeleteChapCredentialsOutput
SetInitiatorName sets the InitiatorName field's value.
func (*DeleteChapCredentialsOutput) SetTargetARN ¶ added in v1.5.0
func (s *DeleteChapCredentialsOutput) SetTargetARN(v string) *DeleteChapCredentialsOutput
SetTargetARN sets the TargetARN field's value.
func (DeleteChapCredentialsOutput) String ¶ added in v0.6.5
func (s DeleteChapCredentialsOutput) String() string
String returns the string representation
type DeleteGatewayInput ¶
type DeleteGatewayInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the id of the gateway to delete. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteGatewayInput
func (DeleteGatewayInput) GoString ¶ added in v0.6.5
func (s DeleteGatewayInput) GoString() string
GoString returns the string representation
func (*DeleteGatewayInput) SetGatewayARN ¶ added in v1.5.0
func (s *DeleteGatewayInput) SetGatewayARN(v string) *DeleteGatewayInput
SetGatewayARN sets the GatewayARN field's value.
func (DeleteGatewayInput) String ¶ added in v0.6.5
func (s DeleteGatewayInput) String() string
String returns the string representation
func (*DeleteGatewayInput) Validate ¶ added in v1.1.21
func (s *DeleteGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteGatewayOutput ¶
type DeleteGatewayOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the id of the deleted gateway. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteGatewayOutput
func (DeleteGatewayOutput) GoString ¶ added in v0.6.5
func (s DeleteGatewayOutput) GoString() string
GoString returns the string representation
func (*DeleteGatewayOutput) SetGatewayARN ¶ added in v1.5.0
func (s *DeleteGatewayOutput) SetGatewayARN(v string) *DeleteGatewayOutput
SetGatewayARN sets the GatewayARN field's value.
func (DeleteGatewayOutput) String ¶ added in v0.6.5
func (s DeleteGatewayOutput) String() string
String returns the string representation
type DeleteSnapshotScheduleInput ¶
type DeleteSnapshotScheduleInput struct { // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteSnapshotScheduleInput
func (DeleteSnapshotScheduleInput) GoString ¶ added in v0.6.5
func (s DeleteSnapshotScheduleInput) GoString() string
GoString returns the string representation
func (*DeleteSnapshotScheduleInput) SetVolumeARN ¶ added in v1.5.0
func (s *DeleteSnapshotScheduleInput) SetVolumeARN(v string) *DeleteSnapshotScheduleInput
SetVolumeARN sets the VolumeARN field's value.
func (DeleteSnapshotScheduleInput) String ¶ added in v0.6.5
func (s DeleteSnapshotScheduleInput) String() string
String returns the string representation
func (*DeleteSnapshotScheduleInput) Validate ¶ added in v1.1.21
func (s *DeleteSnapshotScheduleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteSnapshotScheduleOutput ¶
type DeleteSnapshotScheduleOutput struct { VolumeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteSnapshotScheduleOutput
func (DeleteSnapshotScheduleOutput) GoString ¶ added in v0.6.5
func (s DeleteSnapshotScheduleOutput) GoString() string
GoString returns the string representation
func (*DeleteSnapshotScheduleOutput) SetVolumeARN ¶ added in v1.5.0
func (s *DeleteSnapshotScheduleOutput) SetVolumeARN(v string) *DeleteSnapshotScheduleOutput
SetVolumeARN sets the VolumeARN field's value.
func (DeleteSnapshotScheduleOutput) String ¶ added in v0.6.5
func (s DeleteSnapshotScheduleOutput) String() string
String returns the string representation
type DeleteTapeArchiveInput ¶
type DeleteTapeArchiveInput struct { // The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual // tape shelf (VTS). // // TapeARN is a required field TapeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
DeleteTapeArchiveInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapeArchiveInput
func (DeleteTapeArchiveInput) GoString ¶ added in v0.6.5
func (s DeleteTapeArchiveInput) GoString() string
GoString returns the string representation
func (*DeleteTapeArchiveInput) SetTapeARN ¶ added in v1.5.0
func (s *DeleteTapeArchiveInput) SetTapeARN(v string) *DeleteTapeArchiveInput
SetTapeARN sets the TapeARN field's value.
func (DeleteTapeArchiveInput) String ¶ added in v0.6.5
func (s DeleteTapeArchiveInput) String() string
String returns the string representation
func (*DeleteTapeArchiveInput) Validate ¶ added in v1.1.21
func (s *DeleteTapeArchiveInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTapeArchiveOutput ¶
type DeleteTapeArchiveOutput struct { // The Amazon Resource Name (ARN) of the virtual tape that was deleted from // the virtual tape shelf (VTS). TapeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
DeleteTapeArchiveOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapeArchiveOutput
func (DeleteTapeArchiveOutput) GoString ¶ added in v0.6.5
func (s DeleteTapeArchiveOutput) GoString() string
GoString returns the string representation
func (*DeleteTapeArchiveOutput) SetTapeARN ¶ added in v1.5.0
func (s *DeleteTapeArchiveOutput) SetTapeARN(v string) *DeleteTapeArchiveOutput
SetTapeARN sets the TapeARN field's value.
func (DeleteTapeArchiveOutput) String ¶ added in v0.6.5
func (s DeleteTapeArchiveOutput) String() string
String returns the string representation
type DeleteTapeInput ¶
type DeleteTapeInput struct { // 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. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the virtual tape to delete. // // TapeARN is a required field TapeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
DeleteTapeInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapeInput
func (DeleteTapeInput) GoString ¶ added in v0.6.5
func (s DeleteTapeInput) GoString() string
GoString returns the string representation
func (*DeleteTapeInput) SetGatewayARN ¶ added in v1.5.0
func (s *DeleteTapeInput) SetGatewayARN(v string) *DeleteTapeInput
SetGatewayARN sets the GatewayARN field's value.
func (*DeleteTapeInput) SetTapeARN ¶ added in v1.5.0
func (s *DeleteTapeInput) SetTapeARN(v string) *DeleteTapeInput
SetTapeARN sets the TapeARN field's value.
func (DeleteTapeInput) String ¶ added in v0.6.5
func (s DeleteTapeInput) String() string
String returns the string representation
func (*DeleteTapeInput) Validate ¶ added in v1.1.21
func (s *DeleteTapeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTapeOutput ¶
type DeleteTapeOutput struct { // The Amazon Resource Name (ARN) of the deleted virtual tape. TapeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
DeleteTapeOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapeOutput
func (DeleteTapeOutput) GoString ¶ added in v0.6.5
func (s DeleteTapeOutput) GoString() string
GoString returns the string representation
func (*DeleteTapeOutput) SetTapeARN ¶ added in v1.5.0
func (s *DeleteTapeOutput) SetTapeARN(v string) *DeleteTapeOutput
SetTapeARN sets the TapeARN field's value.
func (DeleteTapeOutput) String ¶ added in v0.6.5
func (s DeleteTapeOutput) String() string
String returns the string representation
type DeleteVolumeInput ¶
type DeleteVolumeInput struct { // The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation // to return a list of gateway volumes. // // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the DeleteVolumeInput$VolumeARN to delete. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteVolumeInput
func (DeleteVolumeInput) GoString ¶ added in v0.6.5
func (s DeleteVolumeInput) GoString() string
GoString returns the string representation
func (*DeleteVolumeInput) SetVolumeARN ¶ added in v1.5.0
func (s *DeleteVolumeInput) SetVolumeARN(v string) *DeleteVolumeInput
SetVolumeARN sets the VolumeARN field's value.
func (DeleteVolumeInput) String ¶ added in v0.6.5
func (s DeleteVolumeInput) String() string
String returns the string representation
func (*DeleteVolumeInput) Validate ¶ added in v1.1.21
func (s *DeleteVolumeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteVolumeOutput ¶
type DeleteVolumeOutput struct { // The Amazon Resource Name (ARN) of the storage volume that was deleted. It // is the same ARN you provided in the request. VolumeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the of the storage volume that was deleted Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteVolumeOutput
func (DeleteVolumeOutput) GoString ¶ added in v0.6.5
func (s DeleteVolumeOutput) GoString() string
GoString returns the string representation
func (*DeleteVolumeOutput) SetVolumeARN ¶ added in v1.5.0
func (s *DeleteVolumeOutput) SetVolumeARN(v string) *DeleteVolumeOutput
SetVolumeARN sets the VolumeARN field's value.
func (DeleteVolumeOutput) String ¶ added in v0.6.5
func (s DeleteVolumeOutput) String() string
String returns the string representation
type DescribeBandwidthRateLimitInput ¶
type DescribeBandwidthRateLimitInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the of the gateway. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimitInput
func (DescribeBandwidthRateLimitInput) GoString ¶ added in v0.6.5
func (s DescribeBandwidthRateLimitInput) GoString() string
GoString returns the string representation
func (*DescribeBandwidthRateLimitInput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeBandwidthRateLimitInput) SetGatewayARN(v string) *DescribeBandwidthRateLimitInput
SetGatewayARN sets the GatewayARN field's value.
func (DescribeBandwidthRateLimitInput) String ¶ added in v0.6.5
func (s DescribeBandwidthRateLimitInput) String() string
String returns the string representation
func (*DescribeBandwidthRateLimitInput) Validate ¶ added in v1.1.21
func (s *DescribeBandwidthRateLimitInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeBandwidthRateLimitOutput ¶
type DescribeBandwidthRateLimitOutput struct { // 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. AverageDownloadRateLimitInBitsPerSec *int64 `min:"102400" type:"long"` // 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. AverageUploadRateLimitInBitsPerSec *int64 `min:"51200" type:"long"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the following fields: Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimitOutput
func (DescribeBandwidthRateLimitOutput) GoString ¶ added in v0.6.5
func (s DescribeBandwidthRateLimitOutput) GoString() string
GoString returns the string representation
func (*DescribeBandwidthRateLimitOutput) SetAverageDownloadRateLimitInBitsPerSec ¶ added in v1.5.0
func (s *DescribeBandwidthRateLimitOutput) SetAverageDownloadRateLimitInBitsPerSec(v int64) *DescribeBandwidthRateLimitOutput
SetAverageDownloadRateLimitInBitsPerSec sets the AverageDownloadRateLimitInBitsPerSec field's value.
func (*DescribeBandwidthRateLimitOutput) SetAverageUploadRateLimitInBitsPerSec ¶ added in v1.5.0
func (s *DescribeBandwidthRateLimitOutput) SetAverageUploadRateLimitInBitsPerSec(v int64) *DescribeBandwidthRateLimitOutput
SetAverageUploadRateLimitInBitsPerSec sets the AverageUploadRateLimitInBitsPerSec field's value.
func (*DescribeBandwidthRateLimitOutput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeBandwidthRateLimitOutput) SetGatewayARN(v string) *DescribeBandwidthRateLimitOutput
SetGatewayARN sets the GatewayARN field's value.
func (DescribeBandwidthRateLimitOutput) String ¶ added in v0.6.5
func (s DescribeBandwidthRateLimitOutput) String() string
String returns the string representation
type DescribeCacheInput ¶
type DescribeCacheInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCacheInput
func (DescribeCacheInput) GoString ¶ added in v0.6.5
func (s DescribeCacheInput) GoString() string
GoString returns the string representation
func (*DescribeCacheInput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeCacheInput) SetGatewayARN(v string) *DescribeCacheInput
SetGatewayARN sets the GatewayARN field's value.
func (DescribeCacheInput) String ¶ added in v0.6.5
func (s DescribeCacheInput) String() string
String returns the string representation
func (*DescribeCacheInput) Validate ¶ added in v1.1.21
func (s *DescribeCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeCacheOutput ¶
type DescribeCacheOutput struct { CacheAllocatedInBytes *int64 `type:"long"` CacheDirtyPercentage *float64 `type:"double"` CacheHitPercentage *float64 `type:"double"` CacheMissPercentage *float64 `type:"double"` CacheUsedPercentage *float64 `type:"double"` DiskIds []*string `type:"list"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCacheOutput
func (DescribeCacheOutput) GoString ¶ added in v0.6.5
func (s DescribeCacheOutput) GoString() string
GoString returns the string representation
func (*DescribeCacheOutput) SetCacheAllocatedInBytes ¶ added in v1.5.0
func (s *DescribeCacheOutput) SetCacheAllocatedInBytes(v int64) *DescribeCacheOutput
SetCacheAllocatedInBytes sets the CacheAllocatedInBytes field's value.
func (*DescribeCacheOutput) SetCacheDirtyPercentage ¶ added in v1.5.0
func (s *DescribeCacheOutput) SetCacheDirtyPercentage(v float64) *DescribeCacheOutput
SetCacheDirtyPercentage sets the CacheDirtyPercentage field's value.
func (*DescribeCacheOutput) SetCacheHitPercentage ¶ added in v1.5.0
func (s *DescribeCacheOutput) SetCacheHitPercentage(v float64) *DescribeCacheOutput
SetCacheHitPercentage sets the CacheHitPercentage field's value.
func (*DescribeCacheOutput) SetCacheMissPercentage ¶ added in v1.5.0
func (s *DescribeCacheOutput) SetCacheMissPercentage(v float64) *DescribeCacheOutput
SetCacheMissPercentage sets the CacheMissPercentage field's value.
func (*DescribeCacheOutput) SetCacheUsedPercentage ¶ added in v1.5.0
func (s *DescribeCacheOutput) SetCacheUsedPercentage(v float64) *DescribeCacheOutput
SetCacheUsedPercentage sets the CacheUsedPercentage field's value.
func (*DescribeCacheOutput) SetDiskIds ¶ added in v1.5.0
func (s *DescribeCacheOutput) SetDiskIds(v []*string) *DescribeCacheOutput
SetDiskIds sets the DiskIds field's value.
func (*DescribeCacheOutput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeCacheOutput) SetGatewayARN(v string) *DescribeCacheOutput
SetGatewayARN sets the GatewayARN field's value.
func (DescribeCacheOutput) String ¶ added in v0.6.5
func (s DescribeCacheOutput) String() string
String returns the string representation
type DescribeCachediSCSIVolumesInput ¶
type DescribeCachediSCSIVolumesInput struct { // VolumeARNs is a required field VolumeARNs []*string `type:"list" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCachediSCSIVolumesInput
func (DescribeCachediSCSIVolumesInput) GoString ¶ added in v0.6.5
func (s DescribeCachediSCSIVolumesInput) GoString() string
GoString returns the string representation
func (*DescribeCachediSCSIVolumesInput) SetVolumeARNs ¶ added in v1.5.0
func (s *DescribeCachediSCSIVolumesInput) SetVolumeARNs(v []*string) *DescribeCachediSCSIVolumesInput
SetVolumeARNs sets the VolumeARNs field's value.
func (DescribeCachediSCSIVolumesInput) String ¶ added in v0.6.5
func (s DescribeCachediSCSIVolumesInput) String() string
String returns the string representation
func (*DescribeCachediSCSIVolumesInput) Validate ¶ added in v1.1.21
func (s *DescribeCachediSCSIVolumesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeCachediSCSIVolumesOutput ¶
type DescribeCachediSCSIVolumesOutput struct { // An array of objects where each object contains metadata about one cached // volume. CachediSCSIVolumes []*CachediSCSIVolume `type:"list"` // contains filtered or unexported fields }
A JSON object containing the following fields: Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCachediSCSIVolumesOutput
func (DescribeCachediSCSIVolumesOutput) GoString ¶ added in v0.6.5
func (s DescribeCachediSCSIVolumesOutput) GoString() string
GoString returns the string representation
func (*DescribeCachediSCSIVolumesOutput) SetCachediSCSIVolumes ¶ added in v1.5.0
func (s *DescribeCachediSCSIVolumesOutput) SetCachediSCSIVolumes(v []*CachediSCSIVolume) *DescribeCachediSCSIVolumesOutput
SetCachediSCSIVolumes sets the CachediSCSIVolumes field's value.
func (DescribeCachediSCSIVolumesOutput) String ¶ added in v0.6.5
func (s DescribeCachediSCSIVolumesOutput) String() string
String returns the string representation
type DescribeChapCredentialsInput ¶
type DescribeChapCredentialsInput struct { // The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes // operation to return to retrieve the TargetARN for specified VolumeARN. // // TargetARN is a required field TargetARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the Amazon Resource Name (ARN) of the iSCSI volume target. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeChapCredentialsInput
func (DescribeChapCredentialsInput) GoString ¶ added in v0.6.5
func (s DescribeChapCredentialsInput) GoString() string
GoString returns the string representation
func (*DescribeChapCredentialsInput) SetTargetARN ¶ added in v1.5.0
func (s *DescribeChapCredentialsInput) SetTargetARN(v string) *DescribeChapCredentialsInput
SetTargetARN sets the TargetARN field's value.
func (DescribeChapCredentialsInput) String ¶ added in v0.6.5
func (s DescribeChapCredentialsInput) String() string
String returns the string representation
func (*DescribeChapCredentialsInput) Validate ¶ added in v1.1.21
func (s *DescribeChapCredentialsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeChapCredentialsOutput ¶
type DescribeChapCredentialsOutput struct { // 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. ChapCredentials []*ChapInfo `type:"list"` // contains filtered or unexported fields }
A JSON object containing a . Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeChapCredentialsOutput
func (DescribeChapCredentialsOutput) GoString ¶ added in v0.6.5
func (s DescribeChapCredentialsOutput) GoString() string
GoString returns the string representation
func (*DescribeChapCredentialsOutput) SetChapCredentials ¶ added in v1.5.0
func (s *DescribeChapCredentialsOutput) SetChapCredentials(v []*ChapInfo) *DescribeChapCredentialsOutput
SetChapCredentials sets the ChapCredentials field's value.
func (DescribeChapCredentialsOutput) String ¶ added in v0.6.5
func (s DescribeChapCredentialsOutput) String() string
String returns the string representation
type DescribeGatewayInformationInput ¶
type DescribeGatewayInformationInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the id of the gateway. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformationInput
func (DescribeGatewayInformationInput) GoString ¶ added in v0.6.5
func (s DescribeGatewayInformationInput) GoString() string
GoString returns the string representation
func (*DescribeGatewayInformationInput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeGatewayInformationInput) SetGatewayARN(v string) *DescribeGatewayInformationInput
SetGatewayARN sets the GatewayARN field's value.
func (DescribeGatewayInformationInput) String ¶ added in v0.6.5
func (s DescribeGatewayInformationInput) String() string
String returns the string representation
func (*DescribeGatewayInformationInput) Validate ¶ added in v1.1.21
func (s *DescribeGatewayInformationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeGatewayInformationOutput ¶
type DescribeGatewayInformationOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // 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. GatewayId *string `min:"12" type:"string"` // The name you configured for your gateway. GatewayName *string `type:"string"` // A NetworkInterface array that contains descriptions of the gateway network // interfaces. GatewayNetworkInterfaces []*NetworkInterface `type:"list"` // A value that indicates the operating state of the gateway. GatewayState *string `min:"2" type:"string"` // A value that indicates the time zone configured for the gateway. GatewayTimezone *string `min:"3" type:"string"` // The type of the gateway. GatewayType *string `min:"2" type:"string"` // 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. LastSoftwareUpdate *string `min:"1" type:"string"` // 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. NextUpdateAvailabilityDate *string `min:"1" type:"string"` // contains filtered or unexported fields }
A JSON object containing the following fields: Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformationOutput
func (DescribeGatewayInformationOutput) GoString ¶ added in v0.6.5
func (s DescribeGatewayInformationOutput) GoString() string
GoString returns the string representation
func (*DescribeGatewayInformationOutput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeGatewayInformationOutput) SetGatewayARN(v string) *DescribeGatewayInformationOutput
SetGatewayARN sets the GatewayARN field's value.
func (*DescribeGatewayInformationOutput) SetGatewayId ¶ added in v1.5.0
func (s *DescribeGatewayInformationOutput) SetGatewayId(v string) *DescribeGatewayInformationOutput
SetGatewayId sets the GatewayId field's value.
func (*DescribeGatewayInformationOutput) SetGatewayName ¶ added in v1.5.0
func (s *DescribeGatewayInformationOutput) SetGatewayName(v string) *DescribeGatewayInformationOutput
SetGatewayName sets the GatewayName field's value.
func (*DescribeGatewayInformationOutput) SetGatewayNetworkInterfaces ¶ added in v1.5.0
func (s *DescribeGatewayInformationOutput) SetGatewayNetworkInterfaces(v []*NetworkInterface) *DescribeGatewayInformationOutput
SetGatewayNetworkInterfaces sets the GatewayNetworkInterfaces field's value.
func (*DescribeGatewayInformationOutput) SetGatewayState ¶ added in v1.5.0
func (s *DescribeGatewayInformationOutput) SetGatewayState(v string) *DescribeGatewayInformationOutput
SetGatewayState sets the GatewayState field's value.
func (*DescribeGatewayInformationOutput) SetGatewayTimezone ¶ added in v1.5.0
func (s *DescribeGatewayInformationOutput) SetGatewayTimezone(v string) *DescribeGatewayInformationOutput
SetGatewayTimezone sets the GatewayTimezone field's value.
func (*DescribeGatewayInformationOutput) SetGatewayType ¶ added in v1.5.0
func (s *DescribeGatewayInformationOutput) SetGatewayType(v string) *DescribeGatewayInformationOutput
SetGatewayType sets the GatewayType field's value.
func (*DescribeGatewayInformationOutput) SetLastSoftwareUpdate ¶ added in v1.5.0
func (s *DescribeGatewayInformationOutput) SetLastSoftwareUpdate(v string) *DescribeGatewayInformationOutput
SetLastSoftwareUpdate sets the LastSoftwareUpdate field's value.
func (*DescribeGatewayInformationOutput) SetNextUpdateAvailabilityDate ¶ added in v1.5.0
func (s *DescribeGatewayInformationOutput) SetNextUpdateAvailabilityDate(v string) *DescribeGatewayInformationOutput
SetNextUpdateAvailabilityDate sets the NextUpdateAvailabilityDate field's value.
func (DescribeGatewayInformationOutput) String ¶ added in v0.6.5
func (s DescribeGatewayInformationOutput) String() string
String returns the string representation
type DescribeMaintenanceStartTimeInput ¶
type DescribeMaintenanceStartTimeInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the of the gateway. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeMaintenanceStartTimeInput
func (DescribeMaintenanceStartTimeInput) GoString ¶ added in v0.6.5
func (s DescribeMaintenanceStartTimeInput) GoString() string
GoString returns the string representation
func (*DescribeMaintenanceStartTimeInput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeMaintenanceStartTimeInput) SetGatewayARN(v string) *DescribeMaintenanceStartTimeInput
SetGatewayARN sets the GatewayARN field's value.
func (DescribeMaintenanceStartTimeInput) String ¶ added in v0.6.5
func (s DescribeMaintenanceStartTimeInput) String() string
String returns the string representation
func (*DescribeMaintenanceStartTimeInput) Validate ¶ added in v1.1.21
func (s *DescribeMaintenanceStartTimeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeMaintenanceStartTimeOutput ¶
type DescribeMaintenanceStartTimeOutput struct { DayOfWeek *int64 `type:"integer"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` HourOfDay *int64 `type:"integer"` MinuteOfHour *int64 `type:"integer"` Timezone *string `min:"3" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeMaintenanceStartTimeOutput
func (DescribeMaintenanceStartTimeOutput) GoString ¶ added in v0.6.5
func (s DescribeMaintenanceStartTimeOutput) GoString() string
GoString returns the string representation
func (*DescribeMaintenanceStartTimeOutput) SetDayOfWeek ¶ added in v1.5.0
func (s *DescribeMaintenanceStartTimeOutput) SetDayOfWeek(v int64) *DescribeMaintenanceStartTimeOutput
SetDayOfWeek sets the DayOfWeek field's value.
func (*DescribeMaintenanceStartTimeOutput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeMaintenanceStartTimeOutput) SetGatewayARN(v string) *DescribeMaintenanceStartTimeOutput
SetGatewayARN sets the GatewayARN field's value.
func (*DescribeMaintenanceStartTimeOutput) SetHourOfDay ¶ added in v1.5.0
func (s *DescribeMaintenanceStartTimeOutput) SetHourOfDay(v int64) *DescribeMaintenanceStartTimeOutput
SetHourOfDay sets the HourOfDay field's value.
func (*DescribeMaintenanceStartTimeOutput) SetMinuteOfHour ¶ added in v1.5.0
func (s *DescribeMaintenanceStartTimeOutput) SetMinuteOfHour(v int64) *DescribeMaintenanceStartTimeOutput
SetMinuteOfHour sets the MinuteOfHour field's value.
func (*DescribeMaintenanceStartTimeOutput) SetTimezone ¶ added in v1.5.0
func (s *DescribeMaintenanceStartTimeOutput) SetTimezone(v string) *DescribeMaintenanceStartTimeOutput
SetTimezone sets the Timezone field's value.
func (DescribeMaintenanceStartTimeOutput) String ¶ added in v0.6.5
func (s DescribeMaintenanceStartTimeOutput) String() string
String returns the string representation
type DescribeSnapshotScheduleInput ¶
type DescribeSnapshotScheduleInput struct { // The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation // to return a list of gateway volumes. // // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the DescribeSnapshotScheduleInput$VolumeARN of the volume. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSnapshotScheduleInput
func (DescribeSnapshotScheduleInput) GoString ¶ added in v0.6.5
func (s DescribeSnapshotScheduleInput) GoString() string
GoString returns the string representation
func (*DescribeSnapshotScheduleInput) SetVolumeARN ¶ added in v1.5.0
func (s *DescribeSnapshotScheduleInput) SetVolumeARN(v string) *DescribeSnapshotScheduleInput
SetVolumeARN sets the VolumeARN field's value.
func (DescribeSnapshotScheduleInput) String ¶ added in v0.6.5
func (s DescribeSnapshotScheduleInput) String() string
String returns the string representation
func (*DescribeSnapshotScheduleInput) Validate ¶ added in v1.1.21
func (s *DescribeSnapshotScheduleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSnapshotScheduleOutput ¶
type DescribeSnapshotScheduleOutput struct { Description *string `min:"1" type:"string"` RecurrenceInHours *int64 `min:"1" type:"integer"` StartAt *int64 `type:"integer"` Timezone *string `min:"3" type:"string"` VolumeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSnapshotScheduleOutput
func (DescribeSnapshotScheduleOutput) GoString ¶ added in v0.6.5
func (s DescribeSnapshotScheduleOutput) GoString() string
GoString returns the string representation
func (*DescribeSnapshotScheduleOutput) SetDescription ¶ added in v1.5.0
func (s *DescribeSnapshotScheduleOutput) SetDescription(v string) *DescribeSnapshotScheduleOutput
SetDescription sets the Description field's value.
func (*DescribeSnapshotScheduleOutput) SetRecurrenceInHours ¶ added in v1.5.0
func (s *DescribeSnapshotScheduleOutput) SetRecurrenceInHours(v int64) *DescribeSnapshotScheduleOutput
SetRecurrenceInHours sets the RecurrenceInHours field's value.
func (*DescribeSnapshotScheduleOutput) SetStartAt ¶ added in v1.5.0
func (s *DescribeSnapshotScheduleOutput) SetStartAt(v int64) *DescribeSnapshotScheduleOutput
SetStartAt sets the StartAt field's value.
func (*DescribeSnapshotScheduleOutput) SetTimezone ¶ added in v1.5.0
func (s *DescribeSnapshotScheduleOutput) SetTimezone(v string) *DescribeSnapshotScheduleOutput
SetTimezone sets the Timezone field's value.
func (*DescribeSnapshotScheduleOutput) SetVolumeARN ¶ added in v1.5.0
func (s *DescribeSnapshotScheduleOutput) SetVolumeARN(v string) *DescribeSnapshotScheduleOutput
SetVolumeARN sets the VolumeARN field's value.
func (DescribeSnapshotScheduleOutput) String ¶ added in v0.6.5
func (s DescribeSnapshotScheduleOutput) String() string
String returns the string representation
type DescribeStorediSCSIVolumesInput ¶
type DescribeStorediSCSIVolumesInput struct { // 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. // // VolumeARNs is a required field VolumeARNs []*string `type:"list" required:"true"` // contains filtered or unexported fields }
A JSON object containing a list of DescribeStorediSCSIVolumesInput$VolumeARNs. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeStorediSCSIVolumesInput
func (DescribeStorediSCSIVolumesInput) GoString ¶ added in v0.6.5
func (s DescribeStorediSCSIVolumesInput) GoString() string
GoString returns the string representation
func (*DescribeStorediSCSIVolumesInput) SetVolumeARNs ¶ added in v1.5.0
func (s *DescribeStorediSCSIVolumesInput) SetVolumeARNs(v []*string) *DescribeStorediSCSIVolumesInput
SetVolumeARNs sets the VolumeARNs field's value.
func (DescribeStorediSCSIVolumesInput) String ¶ added in v0.6.5
func (s DescribeStorediSCSIVolumesInput) String() string
String returns the string representation
func (*DescribeStorediSCSIVolumesInput) Validate ¶ added in v1.1.21
func (s *DescribeStorediSCSIVolumesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeStorediSCSIVolumesOutput ¶
type DescribeStorediSCSIVolumesOutput struct { StorediSCSIVolumes []*StorediSCSIVolume `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeStorediSCSIVolumesOutput
func (DescribeStorediSCSIVolumesOutput) GoString ¶ added in v0.6.5
func (s DescribeStorediSCSIVolumesOutput) GoString() string
GoString returns the string representation
func (*DescribeStorediSCSIVolumesOutput) SetStorediSCSIVolumes ¶ added in v1.5.0
func (s *DescribeStorediSCSIVolumesOutput) SetStorediSCSIVolumes(v []*StorediSCSIVolume) *DescribeStorediSCSIVolumesOutput
SetStorediSCSIVolumes sets the StorediSCSIVolumes field's value.
func (DescribeStorediSCSIVolumesOutput) String ¶ added in v0.6.5
func (s DescribeStorediSCSIVolumesOutput) String() string
String returns the string representation
type DescribeTapeArchivesInput ¶
type DescribeTapeArchivesInput struct { // Specifies that the number of virtual tapes descried be limited to the specified // number. Limit *int64 `min:"1" type:"integer"` // An opaque string that indicates the position at which to begin describing // virtual tapes. Marker *string `min:"1" type:"string"` // Specifies one or more unique Amazon Resource Names (ARNs) that represent // the virtual tapes you want to describe. TapeARNs []*string `type:"list"` // contains filtered or unexported fields }
DescribeTapeArchivesInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeArchivesInput
func (DescribeTapeArchivesInput) GoString ¶ added in v0.6.5
func (s DescribeTapeArchivesInput) GoString() string
GoString returns the string representation
func (*DescribeTapeArchivesInput) SetLimit ¶ added in v1.5.0
func (s *DescribeTapeArchivesInput) SetLimit(v int64) *DescribeTapeArchivesInput
SetLimit sets the Limit field's value.
func (*DescribeTapeArchivesInput) SetMarker ¶ added in v1.5.0
func (s *DescribeTapeArchivesInput) SetMarker(v string) *DescribeTapeArchivesInput
SetMarker sets the Marker field's value.
func (*DescribeTapeArchivesInput) SetTapeARNs ¶ added in v1.5.0
func (s *DescribeTapeArchivesInput) SetTapeARNs(v []*string) *DescribeTapeArchivesInput
SetTapeARNs sets the TapeARNs field's value.
func (DescribeTapeArchivesInput) String ¶ added in v0.6.5
func (s DescribeTapeArchivesInput) String() string
String returns the string representation
func (*DescribeTapeArchivesInput) Validate ¶ added in v1.1.21
func (s *DescribeTapeArchivesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeTapeArchivesOutput ¶
type DescribeTapeArchivesOutput struct { // 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. Marker *string `min:"1" type:"string"` // 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. TapeArchives []*TapeArchive `type:"list"` // contains filtered or unexported fields }
DescribeTapeArchivesOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeArchivesOutput
func (DescribeTapeArchivesOutput) GoString ¶ added in v0.6.5
func (s DescribeTapeArchivesOutput) GoString() string
GoString returns the string representation
func (*DescribeTapeArchivesOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeTapeArchivesOutput) SetMarker(v string) *DescribeTapeArchivesOutput
SetMarker sets the Marker field's value.
func (*DescribeTapeArchivesOutput) SetTapeArchives ¶ added in v1.5.0
func (s *DescribeTapeArchivesOutput) SetTapeArchives(v []*TapeArchive) *DescribeTapeArchivesOutput
SetTapeArchives sets the TapeArchives field's value.
func (DescribeTapeArchivesOutput) String ¶ added in v0.6.5
func (s DescribeTapeArchivesOutput) String() string
String returns the string representation
type DescribeTapeRecoveryPointsInput ¶
type DescribeTapeRecoveryPointsInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // Specifies that the number of virtual tape recovery points that are described // be limited to the specified number. Limit *int64 `min:"1" type:"integer"` // An opaque string that indicates the position at which to begin describing // the virtual tape recovery points. Marker *string `min:"1" type:"string"` // contains filtered or unexported fields }
DescribeTapeRecoveryPointsInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeRecoveryPointsInput
func (DescribeTapeRecoveryPointsInput) GoString ¶ added in v0.6.5
func (s DescribeTapeRecoveryPointsInput) GoString() string
GoString returns the string representation
func (*DescribeTapeRecoveryPointsInput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeTapeRecoveryPointsInput) SetGatewayARN(v string) *DescribeTapeRecoveryPointsInput
SetGatewayARN sets the GatewayARN field's value.
func (*DescribeTapeRecoveryPointsInput) SetLimit ¶ added in v1.5.0
func (s *DescribeTapeRecoveryPointsInput) SetLimit(v int64) *DescribeTapeRecoveryPointsInput
SetLimit sets the Limit field's value.
func (*DescribeTapeRecoveryPointsInput) SetMarker ¶ added in v1.5.0
func (s *DescribeTapeRecoveryPointsInput) SetMarker(v string) *DescribeTapeRecoveryPointsInput
SetMarker sets the Marker field's value.
func (DescribeTapeRecoveryPointsInput) String ¶ added in v0.6.5
func (s DescribeTapeRecoveryPointsInput) String() string
String returns the string representation
func (*DescribeTapeRecoveryPointsInput) Validate ¶ added in v1.1.21
func (s *DescribeTapeRecoveryPointsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeTapeRecoveryPointsOutput ¶
type DescribeTapeRecoveryPointsOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // 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. Marker *string `min:"1" type:"string"` // An array of TapeRecoveryPointInfos that are available for the specified gateway. TapeRecoveryPointInfos []*TapeRecoveryPointInfo `type:"list"` // contains filtered or unexported fields }
DescribeTapeRecoveryPointsOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeRecoveryPointsOutput
func (DescribeTapeRecoveryPointsOutput) GoString ¶ added in v0.6.5
func (s DescribeTapeRecoveryPointsOutput) GoString() string
GoString returns the string representation
func (*DescribeTapeRecoveryPointsOutput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeTapeRecoveryPointsOutput) SetGatewayARN(v string) *DescribeTapeRecoveryPointsOutput
SetGatewayARN sets the GatewayARN field's value.
func (*DescribeTapeRecoveryPointsOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeTapeRecoveryPointsOutput) SetMarker(v string) *DescribeTapeRecoveryPointsOutput
SetMarker sets the Marker field's value.
func (*DescribeTapeRecoveryPointsOutput) SetTapeRecoveryPointInfos ¶ added in v1.5.0
func (s *DescribeTapeRecoveryPointsOutput) SetTapeRecoveryPointInfos(v []*TapeRecoveryPointInfo) *DescribeTapeRecoveryPointsOutput
SetTapeRecoveryPointInfos sets the TapeRecoveryPointInfos field's value.
func (DescribeTapeRecoveryPointsOutput) String ¶ added in v0.6.5
func (s DescribeTapeRecoveryPointsOutput) String() string
String returns the string representation
type DescribeTapesInput ¶
type DescribeTapesInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // 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. Limit *int64 `min:"1" type:"integer"` // 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. Marker *string `min:"1" type:"string"` // 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. TapeARNs []*string `type:"list"` // contains filtered or unexported fields }
DescribeTapesInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapesInput
func (DescribeTapesInput) GoString ¶ added in v0.6.5
func (s DescribeTapesInput) GoString() string
GoString returns the string representation
func (*DescribeTapesInput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeTapesInput) SetGatewayARN(v string) *DescribeTapesInput
SetGatewayARN sets the GatewayARN field's value.
func (*DescribeTapesInput) SetLimit ¶ added in v1.5.0
func (s *DescribeTapesInput) SetLimit(v int64) *DescribeTapesInput
SetLimit sets the Limit field's value.
func (*DescribeTapesInput) SetMarker ¶ added in v1.5.0
func (s *DescribeTapesInput) SetMarker(v string) *DescribeTapesInput
SetMarker sets the Marker field's value.
func (*DescribeTapesInput) SetTapeARNs ¶ added in v1.5.0
func (s *DescribeTapesInput) SetTapeARNs(v []*string) *DescribeTapesInput
SetTapeARNs sets the TapeARNs field's value.
func (DescribeTapesInput) String ¶ added in v0.6.5
func (s DescribeTapesInput) String() string
String returns the string representation
func (*DescribeTapesInput) Validate ¶ added in v1.1.21
func (s *DescribeTapesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeTapesOutput ¶
type DescribeTapesOutput struct { // 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. Marker *string `min:"1" type:"string"` // An array of virtual tape descriptions. Tapes []*Tape `type:"list"` // contains filtered or unexported fields }
DescribeTapesOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapesOutput
func (DescribeTapesOutput) GoString ¶ added in v0.6.5
func (s DescribeTapesOutput) GoString() string
GoString returns the string representation
func (*DescribeTapesOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeTapesOutput) SetMarker(v string) *DescribeTapesOutput
SetMarker sets the Marker field's value.
func (*DescribeTapesOutput) SetTapes ¶ added in v1.5.0
func (s *DescribeTapesOutput) SetTapes(v []*Tape) *DescribeTapesOutput
SetTapes sets the Tapes field's value.
func (DescribeTapesOutput) String ¶ added in v0.6.5
func (s DescribeTapesOutput) String() string
String returns the string representation
type DescribeUploadBufferInput ¶
type DescribeUploadBufferInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeUploadBufferInput
func (DescribeUploadBufferInput) GoString ¶ added in v0.6.5
func (s DescribeUploadBufferInput) GoString() string
GoString returns the string representation
func (*DescribeUploadBufferInput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeUploadBufferInput) SetGatewayARN(v string) *DescribeUploadBufferInput
SetGatewayARN sets the GatewayARN field's value.
func (DescribeUploadBufferInput) String ¶ added in v0.6.5
func (s DescribeUploadBufferInput) String() string
String returns the string representation
func (*DescribeUploadBufferInput) Validate ¶ added in v1.1.21
func (s *DescribeUploadBufferInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeUploadBufferOutput ¶
type DescribeUploadBufferOutput struct { DiskIds []*string `type:"list"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` UploadBufferAllocatedInBytes *int64 `type:"long"` UploadBufferUsedInBytes *int64 `type:"long"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeUploadBufferOutput
func (DescribeUploadBufferOutput) GoString ¶ added in v0.6.5
func (s DescribeUploadBufferOutput) GoString() string
GoString returns the string representation
func (*DescribeUploadBufferOutput) SetDiskIds ¶ added in v1.5.0
func (s *DescribeUploadBufferOutput) SetDiskIds(v []*string) *DescribeUploadBufferOutput
SetDiskIds sets the DiskIds field's value.
func (*DescribeUploadBufferOutput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeUploadBufferOutput) SetGatewayARN(v string) *DescribeUploadBufferOutput
SetGatewayARN sets the GatewayARN field's value.
func (*DescribeUploadBufferOutput) SetUploadBufferAllocatedInBytes ¶ added in v1.5.0
func (s *DescribeUploadBufferOutput) SetUploadBufferAllocatedInBytes(v int64) *DescribeUploadBufferOutput
SetUploadBufferAllocatedInBytes sets the UploadBufferAllocatedInBytes field's value.
func (*DescribeUploadBufferOutput) SetUploadBufferUsedInBytes ¶ added in v1.5.0
func (s *DescribeUploadBufferOutput) SetUploadBufferUsedInBytes(v int64) *DescribeUploadBufferOutput
SetUploadBufferUsedInBytes sets the UploadBufferUsedInBytes field's value.
func (DescribeUploadBufferOutput) String ¶ added in v0.6.5
func (s DescribeUploadBufferOutput) String() string
String returns the string representation
type DescribeVTLDevicesInput ¶
type DescribeVTLDevicesInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // Specifies that the number of VTL devices described be limited to the specified // number. Limit *int64 `min:"1" type:"integer"` // An opaque string that indicates the position at which to begin describing // the VTL devices. Marker *string `min:"1" type:"string"` // 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. VTLDeviceARNs []*string `type:"list"` // contains filtered or unexported fields }
DescribeVTLDevicesInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeVTLDevicesInput
func (DescribeVTLDevicesInput) GoString ¶ added in v0.6.5
func (s DescribeVTLDevicesInput) GoString() string
GoString returns the string representation
func (*DescribeVTLDevicesInput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeVTLDevicesInput) SetGatewayARN(v string) *DescribeVTLDevicesInput
SetGatewayARN sets the GatewayARN field's value.
func (*DescribeVTLDevicesInput) SetLimit ¶ added in v1.5.0
func (s *DescribeVTLDevicesInput) SetLimit(v int64) *DescribeVTLDevicesInput
SetLimit sets the Limit field's value.
func (*DescribeVTLDevicesInput) SetMarker ¶ added in v1.5.0
func (s *DescribeVTLDevicesInput) SetMarker(v string) *DescribeVTLDevicesInput
SetMarker sets the Marker field's value.
func (*DescribeVTLDevicesInput) SetVTLDeviceARNs ¶ added in v1.5.0
func (s *DescribeVTLDevicesInput) SetVTLDeviceARNs(v []*string) *DescribeVTLDevicesInput
SetVTLDeviceARNs sets the VTLDeviceARNs field's value.
func (DescribeVTLDevicesInput) String ¶ added in v0.6.5
func (s DescribeVTLDevicesInput) String() string
String returns the string representation
func (*DescribeVTLDevicesInput) Validate ¶ added in v1.1.21
func (s *DescribeVTLDevicesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeVTLDevicesOutput ¶
type DescribeVTLDevicesOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // 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. Marker *string `min:"1" type:"string"` // An array of VTL device objects composed of the Amazon Resource Name(ARN) // of the VTL devices. VTLDevices []*VTLDevice `type:"list"` // contains filtered or unexported fields }
DescribeVTLDevicesOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeVTLDevicesOutput
func (DescribeVTLDevicesOutput) GoString ¶ added in v0.6.5
func (s DescribeVTLDevicesOutput) GoString() string
GoString returns the string representation
func (*DescribeVTLDevicesOutput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeVTLDevicesOutput) SetGatewayARN(v string) *DescribeVTLDevicesOutput
SetGatewayARN sets the GatewayARN field's value.
func (*DescribeVTLDevicesOutput) SetMarker ¶ added in v1.5.0
func (s *DescribeVTLDevicesOutput) SetMarker(v string) *DescribeVTLDevicesOutput
SetMarker sets the Marker field's value.
func (*DescribeVTLDevicesOutput) SetVTLDevices ¶ added in v1.5.0
func (s *DescribeVTLDevicesOutput) SetVTLDevices(v []*VTLDevice) *DescribeVTLDevicesOutput
SetVTLDevices sets the VTLDevices field's value.
func (DescribeVTLDevicesOutput) String ¶ added in v0.6.5
func (s DescribeVTLDevicesOutput) String() string
String returns the string representation
type DescribeWorkingStorageInput ¶
type DescribeWorkingStorageInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the of the gateway. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeWorkingStorageInput
func (DescribeWorkingStorageInput) GoString ¶ added in v0.6.5
func (s DescribeWorkingStorageInput) GoString() string
GoString returns the string representation
func (*DescribeWorkingStorageInput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeWorkingStorageInput) SetGatewayARN(v string) *DescribeWorkingStorageInput
SetGatewayARN sets the GatewayARN field's value.
func (DescribeWorkingStorageInput) String ¶ added in v0.6.5
func (s DescribeWorkingStorageInput) String() string
String returns the string representation
func (*DescribeWorkingStorageInput) Validate ¶ added in v1.1.21
func (s *DescribeWorkingStorageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeWorkingStorageOutput ¶
type DescribeWorkingStorageOutput struct { // 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. DiskIds []*string `type:"list"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // The total working storage in bytes allocated for the gateway. If no working // storage is configured for the gateway, this field returns 0. WorkingStorageAllocatedInBytes *int64 `type:"long"` // The total working storage in bytes in use by the gateway. If no working storage // is configured for the gateway, this field returns 0. WorkingStorageUsedInBytes *int64 `type:"long"` // contains filtered or unexported fields }
A JSON object containing the following fields: Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeWorkingStorageOutput
func (DescribeWorkingStorageOutput) GoString ¶ added in v0.6.5
func (s DescribeWorkingStorageOutput) GoString() string
GoString returns the string representation
func (*DescribeWorkingStorageOutput) SetDiskIds ¶ added in v1.5.0
func (s *DescribeWorkingStorageOutput) SetDiskIds(v []*string) *DescribeWorkingStorageOutput
SetDiskIds sets the DiskIds field's value.
func (*DescribeWorkingStorageOutput) SetGatewayARN ¶ added in v1.5.0
func (s *DescribeWorkingStorageOutput) SetGatewayARN(v string) *DescribeWorkingStorageOutput
SetGatewayARN sets the GatewayARN field's value.
func (*DescribeWorkingStorageOutput) SetWorkingStorageAllocatedInBytes ¶ added in v1.5.0
func (s *DescribeWorkingStorageOutput) SetWorkingStorageAllocatedInBytes(v int64) *DescribeWorkingStorageOutput
SetWorkingStorageAllocatedInBytes sets the WorkingStorageAllocatedInBytes field's value.
func (*DescribeWorkingStorageOutput) SetWorkingStorageUsedInBytes ¶ added in v1.5.0
func (s *DescribeWorkingStorageOutput) SetWorkingStorageUsedInBytes(v int64) *DescribeWorkingStorageOutput
SetWorkingStorageUsedInBytes sets the WorkingStorageUsedInBytes field's value.
func (DescribeWorkingStorageOutput) String ¶ added in v0.6.5
func (s DescribeWorkingStorageOutput) String() string
String returns the string representation
type DeviceiSCSIAttributes ¶
type DeviceiSCSIAttributes struct { // Indicates whether mutual CHAP is enabled for the iSCSI target. ChapEnabled *bool `type:"boolean"` // The network interface identifier of the VTL device. NetworkInterfaceId *string `type:"string"` // The port used to communicate with iSCSI VTL device targets. NetworkInterfacePort *int64 `type:"integer"` // Specifies the unique Amazon Resource Name(ARN) that encodes the iSCSI qualified // name(iqn) of a tape drive or media changer target. TargetARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
Lists iSCSI information about a VTL device. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeviceiSCSIAttributes
func (DeviceiSCSIAttributes) GoString ¶ added in v0.6.5
func (s DeviceiSCSIAttributes) GoString() string
GoString returns the string representation
func (*DeviceiSCSIAttributes) SetChapEnabled ¶ added in v1.5.0
func (s *DeviceiSCSIAttributes) SetChapEnabled(v bool) *DeviceiSCSIAttributes
SetChapEnabled sets the ChapEnabled field's value.
func (*DeviceiSCSIAttributes) SetNetworkInterfaceId ¶ added in v1.5.0
func (s *DeviceiSCSIAttributes) SetNetworkInterfaceId(v string) *DeviceiSCSIAttributes
SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
func (*DeviceiSCSIAttributes) SetNetworkInterfacePort ¶ added in v1.5.0
func (s *DeviceiSCSIAttributes) SetNetworkInterfacePort(v int64) *DeviceiSCSIAttributes
SetNetworkInterfacePort sets the NetworkInterfacePort field's value.
func (*DeviceiSCSIAttributes) SetTargetARN ¶ added in v1.5.0
func (s *DeviceiSCSIAttributes) SetTargetARN(v string) *DeviceiSCSIAttributes
SetTargetARN sets the TargetARN field's value.
func (DeviceiSCSIAttributes) String ¶ added in v0.6.5
func (s DeviceiSCSIAttributes) String() string
String returns the string representation
type DisableGatewayInput ¶
type DisableGatewayInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
DisableGatewayInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DisableGatewayInput
func (DisableGatewayInput) GoString ¶ added in v0.6.5
func (s DisableGatewayInput) GoString() string
GoString returns the string representation
func (*DisableGatewayInput) SetGatewayARN ¶ added in v1.5.0
func (s *DisableGatewayInput) SetGatewayARN(v string) *DisableGatewayInput
SetGatewayARN sets the GatewayARN field's value.
func (DisableGatewayInput) String ¶ added in v0.6.5
func (s DisableGatewayInput) String() string
String returns the string representation
func (*DisableGatewayInput) Validate ¶ added in v1.1.21
func (s *DisableGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisableGatewayOutput ¶
type DisableGatewayOutput struct { // The unique Amazon Resource Name of the disabled gateway. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
DisableGatewayOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DisableGatewayOutput
func (DisableGatewayOutput) GoString ¶ added in v0.6.5
func (s DisableGatewayOutput) GoString() string
GoString returns the string representation
func (*DisableGatewayOutput) SetGatewayARN ¶ added in v1.5.0
func (s *DisableGatewayOutput) SetGatewayARN(v string) *DisableGatewayOutput
SetGatewayARN sets the GatewayARN field's value.
func (DisableGatewayOutput) String ¶ added in v0.6.5
func (s DisableGatewayOutput) String() string
String returns the string representation
type Disk ¶
type Disk struct { DiskAllocationResource *string `type:"string"` DiskAllocationType *string `min:"3" type:"string"` DiskId *string `min:"1" type:"string"` DiskNode *string `type:"string"` DiskPath *string `type:"string"` DiskSizeInBytes *int64 `type:"long"` DiskStatus *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/Disk
func (*Disk) SetDiskAllocationResource ¶ added in v1.5.0
SetDiskAllocationResource sets the DiskAllocationResource field's value.
func (*Disk) SetDiskAllocationType ¶ added in v1.5.0
SetDiskAllocationType sets the DiskAllocationType field's value.
func (*Disk) SetDiskNode ¶ added in v1.5.0
SetDiskNode sets the DiskNode field's value.
func (*Disk) SetDiskPath ¶ added in v1.5.0
SetDiskPath sets the DiskPath field's value.
func (*Disk) SetDiskSizeInBytes ¶ added in v1.5.0
SetDiskSizeInBytes sets the DiskSizeInBytes field's value.
func (*Disk) SetDiskStatus ¶ added in v1.5.0
SetDiskStatus sets the DiskStatus field's value.
type Error ¶
type Error struct { // Additional information about the error. ErrorCode *string `locationName:"errorCode" type:"string" enum:"ErrorCode"` // Human-readable text that provides detail about the error that occurred. ErrorDetails map[string]*string `locationName:"errorDetails" type:"map"` // contains filtered or unexported fields }
Provides additional information about an error that was returned by the service as an or. See the errorCode and errorDetails members for more information about the error. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StorageGatewayError
func (*Error) SetErrorCode ¶ added in v1.5.0
SetErrorCode sets the ErrorCode field's value.
func (*Error) SetErrorDetails ¶ added in v1.5.0
SetErrorDetails sets the ErrorDetails field's value.
type GatewayInfo ¶
type GatewayInfo struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // 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. GatewayId *string `min:"12" type:"string"` // The name of the gateway. GatewayName *string `type:"string"` // The state of the gateway. // // Valid Values: DISABLED or ACTIVE GatewayOperationalState *string `min:"2" type:"string"` // The type of the gateway. GatewayType *string `min:"2" type:"string"` // contains filtered or unexported fields }
Describes a gateway object. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/GatewayInfo
func (GatewayInfo) GoString ¶ added in v0.6.5
func (s GatewayInfo) GoString() string
GoString returns the string representation
func (*GatewayInfo) SetGatewayARN ¶ added in v1.5.0
func (s *GatewayInfo) SetGatewayARN(v string) *GatewayInfo
SetGatewayARN sets the GatewayARN field's value.
func (*GatewayInfo) SetGatewayId ¶ added in v1.5.0
func (s *GatewayInfo) SetGatewayId(v string) *GatewayInfo
SetGatewayId sets the GatewayId field's value.
func (*GatewayInfo) SetGatewayName ¶ added in v1.5.0
func (s *GatewayInfo) SetGatewayName(v string) *GatewayInfo
SetGatewayName sets the GatewayName field's value.
func (*GatewayInfo) SetGatewayOperationalState ¶ added in v1.5.0
func (s *GatewayInfo) SetGatewayOperationalState(v string) *GatewayInfo
SetGatewayOperationalState sets the GatewayOperationalState field's value.
func (*GatewayInfo) SetGatewayType ¶ added in v1.5.0
func (s *GatewayInfo) SetGatewayType(v string) *GatewayInfo
SetGatewayType sets the GatewayType field's value.
func (GatewayInfo) String ¶ added in v0.6.5
func (s GatewayInfo) String() string
String returns the string representation
type ListGatewaysInput ¶
type ListGatewaysInput struct { // Specifies that the list of gateways returned be limited to the specified // number of items. Limit *int64 `min:"1" type:"integer"` // An opaque string that indicates the position at which to begin the returned // list of gateways. Marker *string `min:"1" type:"string"` // contains filtered or unexported fields }
A JSON object containing zero or more of the following fields:
ListGatewaysInput$Limit
ListGatewaysInput$Marker
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListGatewaysInput
func (ListGatewaysInput) GoString ¶ added in v0.6.5
func (s ListGatewaysInput) GoString() string
GoString returns the string representation
func (*ListGatewaysInput) SetLimit ¶ added in v1.5.0
func (s *ListGatewaysInput) SetLimit(v int64) *ListGatewaysInput
SetLimit sets the Limit field's value.
func (*ListGatewaysInput) SetMarker ¶ added in v1.5.0
func (s *ListGatewaysInput) SetMarker(v string) *ListGatewaysInput
SetMarker sets the Marker field's value.
func (ListGatewaysInput) String ¶ added in v0.6.5
func (s ListGatewaysInput) String() string
String returns the string representation
func (*ListGatewaysInput) Validate ¶ added in v1.1.21
func (s *ListGatewaysInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListGatewaysOutput ¶
type ListGatewaysOutput struct { Gateways []*GatewayInfo `type:"list"` Marker *string `min:"1" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListGatewaysOutput
func (ListGatewaysOutput) GoString ¶ added in v0.6.5
func (s ListGatewaysOutput) GoString() string
GoString returns the string representation
func (*ListGatewaysOutput) SetGateways ¶ added in v1.5.0
func (s *ListGatewaysOutput) SetGateways(v []*GatewayInfo) *ListGatewaysOutput
SetGateways sets the Gateways field's value.
func (*ListGatewaysOutput) SetMarker ¶ added in v1.5.0
func (s *ListGatewaysOutput) SetMarker(v string) *ListGatewaysOutput
SetMarker sets the Marker field's value.
func (ListGatewaysOutput) String ¶ added in v0.6.5
func (s ListGatewaysOutput) String() string
String returns the string representation
type ListLocalDisksInput ¶
type ListLocalDisksInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the of the gateway. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListLocalDisksInput
func (ListLocalDisksInput) GoString ¶ added in v0.6.5
func (s ListLocalDisksInput) GoString() string
GoString returns the string representation
func (*ListLocalDisksInput) SetGatewayARN ¶ added in v1.5.0
func (s *ListLocalDisksInput) SetGatewayARN(v string) *ListLocalDisksInput
SetGatewayARN sets the GatewayARN field's value.
func (ListLocalDisksInput) String ¶ added in v0.6.5
func (s ListLocalDisksInput) String() string
String returns the string representation
func (*ListLocalDisksInput) Validate ¶ added in v1.1.21
func (s *ListLocalDisksInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListLocalDisksOutput ¶
type ListLocalDisksOutput struct { Disks []*Disk `type:"list"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListLocalDisksOutput
func (ListLocalDisksOutput) GoString ¶ added in v0.6.5
func (s ListLocalDisksOutput) GoString() string
GoString returns the string representation
func (*ListLocalDisksOutput) SetDisks ¶ added in v1.5.0
func (s *ListLocalDisksOutput) SetDisks(v []*Disk) *ListLocalDisksOutput
SetDisks sets the Disks field's value.
func (*ListLocalDisksOutput) SetGatewayARN ¶ added in v1.5.0
func (s *ListLocalDisksOutput) SetGatewayARN(v string) *ListLocalDisksOutput
SetGatewayARN sets the GatewayARN field's value.
func (ListLocalDisksOutput) String ¶ added in v0.6.5
func (s ListLocalDisksOutput) String() string
String returns the string representation
type ListTagsForResourceInput ¶ added in v0.9.5
type ListTagsForResourceInput struct { // Specifies that the list of tags returned be limited to the specified number // of items. Limit *int64 `min:"1" type:"integer"` // An opaque string that indicates the position at which to begin returning // the list of tags. Marker *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the resource for which you want to list // tags. // // ResourceARN is a required field ResourceARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
ListTagsForResourceInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTagsForResourceInput
func (ListTagsForResourceInput) GoString ¶ added in v0.9.5
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation
func (*ListTagsForResourceInput) SetLimit ¶ added in v1.5.0
func (s *ListTagsForResourceInput) SetLimit(v int64) *ListTagsForResourceInput
SetLimit sets the Limit field's value.
func (*ListTagsForResourceInput) SetMarker ¶ added in v1.5.0
func (s *ListTagsForResourceInput) SetMarker(v string) *ListTagsForResourceInput
SetMarker sets the Marker field's value.
func (*ListTagsForResourceInput) SetResourceARN ¶ added in v1.5.0
func (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput
SetResourceARN sets the ResourceARN field's value.
func (ListTagsForResourceInput) String ¶ added in v0.9.5
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (*ListTagsForResourceInput) Validate ¶ added in v1.1.21
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTagsForResourceOutput ¶ added in v0.9.5
type ListTagsForResourceOutput struct { // An opaque string that indicates the position at which to stop returning the // list of tags. Marker *string `min:"1" type:"string"` // he Amazon Resource Name (ARN) of the resource for which you want to list // tags. ResourceARN *string `min:"50" type:"string"` // An array that contains the tags for the specified resource. Tags []*Tag `type:"list"` // contains filtered or unexported fields }
ListTagsForResourceOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTagsForResourceOutput
func (ListTagsForResourceOutput) GoString ¶ added in v0.9.5
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation
func (*ListTagsForResourceOutput) SetMarker ¶ added in v1.5.0
func (s *ListTagsForResourceOutput) SetMarker(v string) *ListTagsForResourceOutput
SetMarker sets the Marker field's value.
func (*ListTagsForResourceOutput) SetResourceARN ¶ added in v1.5.0
func (s *ListTagsForResourceOutput) SetResourceARN(v string) *ListTagsForResourceOutput
SetResourceARN sets the ResourceARN field's value.
func (*ListTagsForResourceOutput) SetTags ¶ added in v1.5.0
func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (ListTagsForResourceOutput) String ¶ added in v0.9.5
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTapesInput ¶ added in v1.1.25
type ListTapesInput struct { // An optional number limit for the tapes in the list returned by this call. Limit *int64 `min:"1" type:"integer"` // A string that indicates the position at which to begin the returned list // of tapes. Marker *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of each of the tapes you want to list. If // you don't specify a tape ARN, the response lists all tapes in both your VTL // and VTS. TapeARNs []*string `type:"list"` // contains filtered or unexported fields }
A JSON object that contains one or more of the following fields:
ListTapesInput$Limit
ListTapesInput$Marker
ListTapesInput$TapeARNs
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTapesInput
func (ListTapesInput) GoString ¶ added in v1.1.25
func (s ListTapesInput) GoString() string
GoString returns the string representation
func (*ListTapesInput) SetLimit ¶ added in v1.5.0
func (s *ListTapesInput) SetLimit(v int64) *ListTapesInput
SetLimit sets the Limit field's value.
func (*ListTapesInput) SetMarker ¶ added in v1.5.0
func (s *ListTapesInput) SetMarker(v string) *ListTapesInput
SetMarker sets the Marker field's value.
func (*ListTapesInput) SetTapeARNs ¶ added in v1.5.0
func (s *ListTapesInput) SetTapeARNs(v []*string) *ListTapesInput
SetTapeARNs sets the TapeARNs field's value.
func (ListTapesInput) String ¶ added in v1.1.25
func (s ListTapesInput) String() string
String returns the string representation
func (*ListTapesInput) Validate ¶ added in v1.1.25
func (s *ListTapesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTapesOutput ¶ added in v1.1.25
type ListTapesOutput struct { // 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. Marker *string `min:"1" type:"string"` // An array of TapeInfo objects, where each object describes an a single tape. // If there not tapes in the tape library or VTS, then the TapeInfos is an empty // array. TapeInfos []*TapeInfo `type:"list"` // contains filtered or unexported fields }
A JSON object containing the following fields:
ListTapesOutput$Marker
ListTapesOutput$VolumeInfos
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTapesOutput
func (ListTapesOutput) GoString ¶ added in v1.1.25
func (s ListTapesOutput) GoString() string
GoString returns the string representation
func (*ListTapesOutput) SetMarker ¶ added in v1.5.0
func (s *ListTapesOutput) SetMarker(v string) *ListTapesOutput
SetMarker sets the Marker field's value.
func (*ListTapesOutput) SetTapeInfos ¶ added in v1.5.0
func (s *ListTapesOutput) SetTapeInfos(v []*TapeInfo) *ListTapesOutput
SetTapeInfos sets the TapeInfos field's value.
func (ListTapesOutput) String ¶ added in v1.1.25
func (s ListTapesOutput) String() string
String returns the string representation
type ListVolumeInitiatorsInput ¶ added in v0.6.1
type ListVolumeInitiatorsInput struct { // The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation // to return a list of gateway volumes for the gateway. // // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
ListVolumeInitiatorsInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeInitiatorsInput
func (ListVolumeInitiatorsInput) GoString ¶ added in v0.6.5
func (s ListVolumeInitiatorsInput) GoString() string
GoString returns the string representation
func (*ListVolumeInitiatorsInput) SetVolumeARN ¶ added in v1.5.0
func (s *ListVolumeInitiatorsInput) SetVolumeARN(v string) *ListVolumeInitiatorsInput
SetVolumeARN sets the VolumeARN field's value.
func (ListVolumeInitiatorsInput) String ¶ added in v0.6.5
func (s ListVolumeInitiatorsInput) String() string
String returns the string representation
func (*ListVolumeInitiatorsInput) Validate ¶ added in v1.1.21
func (s *ListVolumeInitiatorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListVolumeInitiatorsOutput ¶ added in v0.6.1
type ListVolumeInitiatorsOutput struct { // The host names and port numbers of all iSCSI initiators that are connected // to the gateway. Initiators []*string `type:"list"` // contains filtered or unexported fields }
ListVolumeInitiatorsOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeInitiatorsOutput
func (ListVolumeInitiatorsOutput) GoString ¶ added in v0.6.5
func (s ListVolumeInitiatorsOutput) GoString() string
GoString returns the string representation
func (*ListVolumeInitiatorsOutput) SetInitiators ¶ added in v1.5.0
func (s *ListVolumeInitiatorsOutput) SetInitiators(v []*string) *ListVolumeInitiatorsOutput
SetInitiators sets the Initiators field's value.
func (ListVolumeInitiatorsOutput) String ¶ added in v0.6.5
func (s ListVolumeInitiatorsOutput) String() string
String returns the string representation
type ListVolumeRecoveryPointsInput ¶
type ListVolumeRecoveryPointsInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeRecoveryPointsInput
func (ListVolumeRecoveryPointsInput) GoString ¶ added in v0.6.5
func (s ListVolumeRecoveryPointsInput) GoString() string
GoString returns the string representation
func (*ListVolumeRecoveryPointsInput) SetGatewayARN ¶ added in v1.5.0
func (s *ListVolumeRecoveryPointsInput) SetGatewayARN(v string) *ListVolumeRecoveryPointsInput
SetGatewayARN sets the GatewayARN field's value.
func (ListVolumeRecoveryPointsInput) String ¶ added in v0.6.5
func (s ListVolumeRecoveryPointsInput) String() string
String returns the string representation
func (*ListVolumeRecoveryPointsInput) Validate ¶ added in v1.1.21
func (s *ListVolumeRecoveryPointsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListVolumeRecoveryPointsOutput ¶
type ListVolumeRecoveryPointsOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` VolumeRecoveryPointInfos []*VolumeRecoveryPointInfo `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeRecoveryPointsOutput
func (ListVolumeRecoveryPointsOutput) GoString ¶ added in v0.6.5
func (s ListVolumeRecoveryPointsOutput) GoString() string
GoString returns the string representation
func (*ListVolumeRecoveryPointsOutput) SetGatewayARN ¶ added in v1.5.0
func (s *ListVolumeRecoveryPointsOutput) SetGatewayARN(v string) *ListVolumeRecoveryPointsOutput
SetGatewayARN sets the GatewayARN field's value.
func (*ListVolumeRecoveryPointsOutput) SetVolumeRecoveryPointInfos ¶ added in v1.5.0
func (s *ListVolumeRecoveryPointsOutput) SetVolumeRecoveryPointInfos(v []*VolumeRecoveryPointInfo) *ListVolumeRecoveryPointsOutput
SetVolumeRecoveryPointInfos sets the VolumeRecoveryPointInfos field's value.
func (ListVolumeRecoveryPointsOutput) String ¶ added in v0.6.5
func (s ListVolumeRecoveryPointsOutput) String() string
String returns the string representation
type ListVolumesInput ¶
type ListVolumesInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // Specifies that the list of volumes returned be limited to the specified number // of items. Limit *int64 `min:"1" type:"integer"` // 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. Marker *string `min:"1" type:"string"` // contains filtered or unexported fields }
A JSON object that contains one or more of the following fields:
ListVolumesInput$Limit
ListVolumesInput$Marker
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumesInput
func (ListVolumesInput) GoString ¶ added in v0.6.5
func (s ListVolumesInput) GoString() string
GoString returns the string representation
func (*ListVolumesInput) SetGatewayARN ¶ added in v1.5.0
func (s *ListVolumesInput) SetGatewayARN(v string) *ListVolumesInput
SetGatewayARN sets the GatewayARN field's value.
func (*ListVolumesInput) SetLimit ¶ added in v1.5.0
func (s *ListVolumesInput) SetLimit(v int64) *ListVolumesInput
SetLimit sets the Limit field's value.
func (*ListVolumesInput) SetMarker ¶ added in v1.5.0
func (s *ListVolumesInput) SetMarker(v string) *ListVolumesInput
SetMarker sets the Marker field's value.
func (ListVolumesInput) String ¶ added in v0.6.5
func (s ListVolumesInput) String() string
String returns the string representation
func (*ListVolumesInput) Validate ¶ added in v1.1.21
func (s *ListVolumesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListVolumesOutput ¶
type ListVolumesOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` Marker *string `min:"1" type:"string"` VolumeInfos []*VolumeInfo `type:"list"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumesOutput
func (ListVolumesOutput) GoString ¶ added in v0.6.5
func (s ListVolumesOutput) GoString() string
GoString returns the string representation
func (*ListVolumesOutput) SetGatewayARN ¶ added in v1.5.0
func (s *ListVolumesOutput) SetGatewayARN(v string) *ListVolumesOutput
SetGatewayARN sets the GatewayARN field's value.
func (*ListVolumesOutput) SetMarker ¶ added in v1.5.0
func (s *ListVolumesOutput) SetMarker(v string) *ListVolumesOutput
SetMarker sets the Marker field's value.
func (*ListVolumesOutput) SetVolumeInfos ¶ added in v1.5.0
func (s *ListVolumesOutput) SetVolumeInfos(v []*VolumeInfo) *ListVolumesOutput
SetVolumeInfos sets the VolumeInfos field's value.
func (ListVolumesOutput) String ¶ added in v0.6.5
func (s ListVolumesOutput) String() string
String returns the string representation
type NetworkInterface ¶
type NetworkInterface struct { // The Internet Protocol version 4 (IPv4) address of the interface. Ipv4Address *string `type:"string"` // The Internet Protocol version 6 (IPv6) address of the interface. Currently // not supported. Ipv6Address *string `type:"string"` // The Media Access Control (MAC) address of the interface. // // This is currently unsupported and will not be returned in output. MacAddress *string `type:"string"` // contains filtered or unexported fields }
Describes a gateway's network interface. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/NetworkInterface
func (NetworkInterface) GoString ¶ added in v0.6.5
func (s NetworkInterface) GoString() string
GoString returns the string representation
func (*NetworkInterface) SetIpv4Address ¶ added in v1.5.0
func (s *NetworkInterface) SetIpv4Address(v string) *NetworkInterface
SetIpv4Address sets the Ipv4Address field's value.
func (*NetworkInterface) SetIpv6Address ¶ added in v1.5.0
func (s *NetworkInterface) SetIpv6Address(v string) *NetworkInterface
SetIpv6Address sets the Ipv6Address field's value.
func (*NetworkInterface) SetMacAddress ¶ added in v1.5.0
func (s *NetworkInterface) SetMacAddress(v string) *NetworkInterface
SetMacAddress sets the MacAddress field's value.
func (NetworkInterface) String ¶ added in v0.6.5
func (s NetworkInterface) String() string
String returns the string representation
type RemoveTagsFromResourceInput ¶ added in v0.9.5
type RemoveTagsFromResourceInput struct { // The Amazon Resource Name (ARN) of the resource you want to remove the tags // from. // // ResourceARN is a required field ResourceARN *string `min:"50" type:"string" required:"true"` // The keys of the tags you want to remove from the specified resource. A tag // is composed of a key/value pair. // // TagKeys is a required field TagKeys []*string `type:"list" required:"true"` // contains filtered or unexported fields }
RemoveTagsFromResourceInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RemoveTagsFromResourceInput
func (RemoveTagsFromResourceInput) GoString ¶ added in v0.9.5
func (s RemoveTagsFromResourceInput) GoString() string
GoString returns the string representation
func (*RemoveTagsFromResourceInput) SetResourceARN ¶ added in v1.5.0
func (s *RemoveTagsFromResourceInput) SetResourceARN(v string) *RemoveTagsFromResourceInput
SetResourceARN sets the ResourceARN field's value.
func (*RemoveTagsFromResourceInput) SetTagKeys ¶ added in v1.5.0
func (s *RemoveTagsFromResourceInput) SetTagKeys(v []*string) *RemoveTagsFromResourceInput
SetTagKeys sets the TagKeys field's value.
func (RemoveTagsFromResourceInput) String ¶ added in v0.9.5
func (s RemoveTagsFromResourceInput) String() string
String returns the string representation
func (*RemoveTagsFromResourceInput) Validate ¶ added in v1.1.21
func (s *RemoveTagsFromResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveTagsFromResourceOutput ¶ added in v0.9.5
type RemoveTagsFromResourceOutput struct { // The Amazon Resource Name (ARN) of the resource that the tags were removed // from. ResourceARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
RemoveTagsFromResourceOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RemoveTagsFromResourceOutput
func (RemoveTagsFromResourceOutput) GoString ¶ added in v0.9.5
func (s RemoveTagsFromResourceOutput) GoString() string
GoString returns the string representation
func (*RemoveTagsFromResourceOutput) SetResourceARN ¶ added in v1.5.0
func (s *RemoveTagsFromResourceOutput) SetResourceARN(v string) *RemoveTagsFromResourceOutput
SetResourceARN sets the ResourceARN field's value.
func (RemoveTagsFromResourceOutput) String ¶ added in v0.9.5
func (s RemoveTagsFromResourceOutput) String() string
String returns the string representation
type ResetCacheInput ¶
type ResetCacheInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ResetCacheInput
func (ResetCacheInput) GoString ¶ added in v0.6.5
func (s ResetCacheInput) GoString() string
GoString returns the string representation
func (*ResetCacheInput) SetGatewayARN ¶ added in v1.5.0
func (s *ResetCacheInput) SetGatewayARN(v string) *ResetCacheInput
SetGatewayARN sets the GatewayARN field's value.
func (ResetCacheInput) String ¶ added in v0.6.5
func (s ResetCacheInput) String() string
String returns the string representation
func (*ResetCacheInput) Validate ¶ added in v1.1.21
func (s *ResetCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ResetCacheOutput ¶
type ResetCacheOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ResetCacheOutput
func (ResetCacheOutput) GoString ¶ added in v0.6.5
func (s ResetCacheOutput) GoString() string
GoString returns the string representation
func (*ResetCacheOutput) SetGatewayARN ¶ added in v1.5.0
func (s *ResetCacheOutput) SetGatewayARN(v string) *ResetCacheOutput
SetGatewayARN sets the GatewayARN field's value.
func (ResetCacheOutput) String ¶ added in v0.6.5
func (s ResetCacheOutput) String() string
String returns the string representation
type RetrieveTapeArchiveInput ¶
type RetrieveTapeArchiveInput struct { // 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. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the virtual tape you want to retrieve from // the virtual tape shelf (VTS). // // TapeARN is a required field TapeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
RetrieveTapeArchiveInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeArchiveInput
func (RetrieveTapeArchiveInput) GoString ¶ added in v0.6.5
func (s RetrieveTapeArchiveInput) GoString() string
GoString returns the string representation
func (*RetrieveTapeArchiveInput) SetGatewayARN ¶ added in v1.5.0
func (s *RetrieveTapeArchiveInput) SetGatewayARN(v string) *RetrieveTapeArchiveInput
SetGatewayARN sets the GatewayARN field's value.
func (*RetrieveTapeArchiveInput) SetTapeARN ¶ added in v1.5.0
func (s *RetrieveTapeArchiveInput) SetTapeARN(v string) *RetrieveTapeArchiveInput
SetTapeARN sets the TapeARN field's value.
func (RetrieveTapeArchiveInput) String ¶ added in v0.6.5
func (s RetrieveTapeArchiveInput) String() string
String returns the string representation
func (*RetrieveTapeArchiveInput) Validate ¶ added in v1.1.21
func (s *RetrieveTapeArchiveInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RetrieveTapeArchiveOutput ¶
type RetrieveTapeArchiveOutput struct { // The Amazon Resource Name (ARN) of the retrieved virtual tape. TapeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
RetrieveTapeArchiveOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeArchiveOutput
func (RetrieveTapeArchiveOutput) GoString ¶ added in v0.6.5
func (s RetrieveTapeArchiveOutput) GoString() string
GoString returns the string representation
func (*RetrieveTapeArchiveOutput) SetTapeARN ¶ added in v1.5.0
func (s *RetrieveTapeArchiveOutput) SetTapeARN(v string) *RetrieveTapeArchiveOutput
SetTapeARN sets the TapeARN field's value.
func (RetrieveTapeArchiveOutput) String ¶ added in v0.6.5
func (s RetrieveTapeArchiveOutput) String() string
String returns the string representation
type RetrieveTapeRecoveryPointInput ¶
type RetrieveTapeRecoveryPointInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the virtual tape for which you want to // retrieve the recovery point. // // TapeARN is a required field TapeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
RetrieveTapeRecoveryPointInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeRecoveryPointInput
func (RetrieveTapeRecoveryPointInput) GoString ¶ added in v0.6.5
func (s RetrieveTapeRecoveryPointInput) GoString() string
GoString returns the string representation
func (*RetrieveTapeRecoveryPointInput) SetGatewayARN ¶ added in v1.5.0
func (s *RetrieveTapeRecoveryPointInput) SetGatewayARN(v string) *RetrieveTapeRecoveryPointInput
SetGatewayARN sets the GatewayARN field's value.
func (*RetrieveTapeRecoveryPointInput) SetTapeARN ¶ added in v1.5.0
func (s *RetrieveTapeRecoveryPointInput) SetTapeARN(v string) *RetrieveTapeRecoveryPointInput
SetTapeARN sets the TapeARN field's value.
func (RetrieveTapeRecoveryPointInput) String ¶ added in v0.6.5
func (s RetrieveTapeRecoveryPointInput) String() string
String returns the string representation
func (*RetrieveTapeRecoveryPointInput) Validate ¶ added in v1.1.21
func (s *RetrieveTapeRecoveryPointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RetrieveTapeRecoveryPointOutput ¶
type RetrieveTapeRecoveryPointOutput struct { // The Amazon Resource Name (ARN) of the virtual tape for which the recovery // point was retrieved. TapeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
RetrieveTapeRecoveryPointOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeRecoveryPointOutput
func (RetrieveTapeRecoveryPointOutput) GoString ¶ added in v0.6.5
func (s RetrieveTapeRecoveryPointOutput) GoString() string
GoString returns the string representation
func (*RetrieveTapeRecoveryPointOutput) SetTapeARN ¶ added in v1.5.0
func (s *RetrieveTapeRecoveryPointOutput) SetTapeARN(v string) *RetrieveTapeRecoveryPointOutput
SetTapeARN sets the TapeARN field's value.
func (RetrieveTapeRecoveryPointOutput) String ¶ added in v0.6.5
func (s RetrieveTapeRecoveryPointOutput) String() string
String returns the string representation
type SetLocalConsolePasswordInput ¶ added in v1.1.14
type SetLocalConsolePasswordInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The password you want to set for your VM local console. // // LocalConsolePassword is a required field LocalConsolePassword *string `min:"6" type:"string" required:"true"` // contains filtered or unexported fields }
SetLocalConsolePasswordInput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SetLocalConsolePasswordInput
func (SetLocalConsolePasswordInput) GoString ¶ added in v1.1.14
func (s SetLocalConsolePasswordInput) GoString() string
GoString returns the string representation
func (*SetLocalConsolePasswordInput) SetGatewayARN ¶ added in v1.5.0
func (s *SetLocalConsolePasswordInput) SetGatewayARN(v string) *SetLocalConsolePasswordInput
SetGatewayARN sets the GatewayARN field's value.
func (*SetLocalConsolePasswordInput) SetLocalConsolePassword ¶ added in v1.5.0
func (s *SetLocalConsolePasswordInput) SetLocalConsolePassword(v string) *SetLocalConsolePasswordInput
SetLocalConsolePassword sets the LocalConsolePassword field's value.
func (SetLocalConsolePasswordInput) String ¶ added in v1.1.14
func (s SetLocalConsolePasswordInput) String() string
String returns the string representation
func (*SetLocalConsolePasswordInput) Validate ¶ added in v1.1.21
func (s *SetLocalConsolePasswordInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetLocalConsolePasswordOutput ¶ added in v1.1.14
type SetLocalConsolePasswordOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SetLocalConsolePasswordOutput
func (SetLocalConsolePasswordOutput) GoString ¶ added in v1.1.14
func (s SetLocalConsolePasswordOutput) GoString() string
GoString returns the string representation
func (*SetLocalConsolePasswordOutput) SetGatewayARN ¶ added in v1.5.0
func (s *SetLocalConsolePasswordOutput) SetGatewayARN(v string) *SetLocalConsolePasswordOutput
SetGatewayARN sets the GatewayARN field's value.
func (SetLocalConsolePasswordOutput) String ¶ added in v1.1.14
func (s SetLocalConsolePasswordOutput) String() string
String returns the string representation
type ShutdownGatewayInput ¶
type ShutdownGatewayInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the of the gateway to shut down. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ShutdownGatewayInput
func (ShutdownGatewayInput) GoString ¶ added in v0.6.5
func (s ShutdownGatewayInput) GoString() string
GoString returns the string representation
func (*ShutdownGatewayInput) SetGatewayARN ¶ added in v1.5.0
func (s *ShutdownGatewayInput) SetGatewayARN(v string) *ShutdownGatewayInput
SetGatewayARN sets the GatewayARN field's value.
func (ShutdownGatewayInput) String ¶ added in v0.6.5
func (s ShutdownGatewayInput) String() string
String returns the string representation
func (*ShutdownGatewayInput) Validate ¶ added in v1.1.21
func (s *ShutdownGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ShutdownGatewayOutput ¶
type ShutdownGatewayOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the of the gateway that was shut down. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ShutdownGatewayOutput
func (ShutdownGatewayOutput) GoString ¶ added in v0.6.5
func (s ShutdownGatewayOutput) GoString() string
GoString returns the string representation
func (*ShutdownGatewayOutput) SetGatewayARN ¶ added in v1.5.0
func (s *ShutdownGatewayOutput) SetGatewayARN(v string) *ShutdownGatewayOutput
SetGatewayARN sets the GatewayARN field's value.
func (ShutdownGatewayOutput) String ¶ added in v0.6.5
func (s ShutdownGatewayOutput) String() string
String returns the string representation
type StartGatewayInput ¶
type StartGatewayInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the of the gateway to start. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StartGatewayInput
func (StartGatewayInput) GoString ¶ added in v0.6.5
func (s StartGatewayInput) GoString() string
GoString returns the string representation
func (*StartGatewayInput) SetGatewayARN ¶ added in v1.5.0
func (s *StartGatewayInput) SetGatewayARN(v string) *StartGatewayInput
SetGatewayARN sets the GatewayARN field's value.
func (StartGatewayInput) String ¶ added in v0.6.5
func (s StartGatewayInput) String() string
String returns the string representation
func (*StartGatewayInput) Validate ¶ added in v1.1.21
func (s *StartGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartGatewayOutput ¶
type StartGatewayOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the of the gateway that was restarted. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StartGatewayOutput
func (StartGatewayOutput) GoString ¶ added in v0.6.5
func (s StartGatewayOutput) GoString() string
GoString returns the string representation
func (*StartGatewayOutput) SetGatewayARN ¶ added in v1.5.0
func (s *StartGatewayOutput) SetGatewayARN(v string) *StartGatewayOutput
SetGatewayARN sets the GatewayARN field's value.
func (StartGatewayOutput) String ¶ added in v0.6.5
func (s StartGatewayOutput) String() string
String returns the string representation
type StorageGateway ¶
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:
AWS Storage Gateway Required Request Headers (http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayHTTPRequestsHeaders.html): Describes the required headers that you must send with every POST request to AWS Storage Gateway.
Signing Requests (http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewaySigningRequests.html): AWS Storage Gateway requires that you authenticate every request you send; this topic describes how sign such a request.
Error Responses (http://docs.aws.amazon.com/storagegateway/latest/userguide/APIErrorResponses.html): Provides reference information about AWS Storage Gateway errors.
Operations in AWS Storage Gateway (http://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayAPIOperations.html): Contains detailed descriptions of all AWS Storage Gateway operations, their request parameters, response elements, possible errors, and examples of requests and responses.
AWS Storage Gateway Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/index.html?rande.html): 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 Longer EC2 and EBS Resource IDs (https://aws.amazon.com/ec2/faqs/#longer-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 Announcement: Heads-up – Longer AWS Storage Gateway volume and snapshot IDs coming in 2016 (https://forums.aws.amazon.com/ann.jspa?annID=3557). The service client's operations are safe to be used concurrently. It is not safe to mutate any of the client's properties though. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30
func New ¶
func New(p client.ConfigProvider, cfgs ...*aws.Config) *StorageGateway
New creates a new instance of the StorageGateway client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a StorageGateway client from just a session. svc := storagegateway.New(mySession) // Create a StorageGateway client with additional configuration svc := storagegateway.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (*StorageGateway) ActivateGateway ¶
func (c *StorageGateway) ActivateGateway(input *ActivateGatewayInput) (*ActivateGatewayOutput, error)
ActivateGateway API operation for AWS Storage Gateway.
Activates the gateway you previously deployed on your host. For more information, see Activate the AWS Storage Gateway (http://docs.aws.amazon.com/storagegateway/latest/userguide/GettingStartedActivateGateway-common.html). 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation ActivateGateway for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ActivateGateway
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.ActivateGatewayInput{ ActivationKey: aws.String("ActivationKey"), // Required GatewayName: aws.String("GatewayName"), // Required GatewayRegion: aws.String("RegionId"), // Required GatewayTimezone: aws.String("GatewayTimezone"), // Required GatewayType: aws.String("GatewayType"), MediumChangerType: aws.String("MediumChangerType"), TapeDriveType: aws.String("TapeDriveType"), } resp, err := svc.ActivateGateway(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) ActivateGatewayRequest ¶
func (c *StorageGateway) ActivateGatewayRequest(input *ActivateGatewayInput) (req *request.Request, output *ActivateGatewayOutput)
ActivateGatewayRequest generates a "aws/request.Request" representing the client's request for the ActivateGateway operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ActivateGateway for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ActivateGateway method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ActivateGatewayRequest method. req, resp := client.ActivateGatewayRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ActivateGateway
func (*StorageGateway) AddCache ¶
func (c *StorageGateway) AddCache(input *AddCacheInput) (*AddCacheOutput, error)
AddCache API operation for AWS Storage Gateway.
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 Storage Gateway Concepts (http://docs.aws.amazon.com/storagegateway/latest/userguide/StorageGatewayConcepts.html)).
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation AddCache for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddCache
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.AddCacheInput{ DiskIds: []*string{ // Required aws.String("DiskId"), // Required // More values... }, GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.AddCache(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) AddCacheRequest ¶
func (c *StorageGateway) AddCacheRequest(input *AddCacheInput) (req *request.Request, output *AddCacheOutput)
AddCacheRequest generates a "aws/request.Request" representing the client's request for the AddCache operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See AddCache for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AddCache method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the AddCacheRequest method. req, resp := client.AddCacheRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddCache
func (*StorageGateway) AddTagsToResource ¶ added in v0.9.5
func (c *StorageGateway) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error)
AddTagsToResource API operation for AWS Storage Gateway.
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
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation AddTagsToResource for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddTagsToResource
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.AddTagsToResourceInput{ ResourceARN: aws.String("ResourceARN"), // Required Tags: []*storagegateway.Tag{ // Required { // Required Key: aws.String("TagKey"), // Required Value: aws.String("TagValue"), // Required }, // More values... }, } resp, err := svc.AddTagsToResource(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) AddTagsToResourceRequest ¶ added in v0.9.5
func (c *StorageGateway) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput)
AddTagsToResourceRequest generates a "aws/request.Request" representing the client's request for the AddTagsToResource operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See AddTagsToResource for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AddTagsToResource method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the AddTagsToResourceRequest method. req, resp := client.AddTagsToResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddTagsToResource
func (*StorageGateway) AddUploadBuffer ¶
func (c *StorageGateway) AddUploadBuffer(input *AddUploadBufferInput) (*AddUploadBufferOutput, error)
AddUploadBuffer API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation AddUploadBuffer for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddUploadBuffer
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.AddUploadBufferInput{ DiskIds: []*string{ // Required aws.String("DiskId"), // Required // More values... }, GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.AddUploadBuffer(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) AddUploadBufferRequest ¶
func (c *StorageGateway) AddUploadBufferRequest(input *AddUploadBufferInput) (req *request.Request, output *AddUploadBufferOutput)
AddUploadBufferRequest generates a "aws/request.Request" representing the client's request for the AddUploadBuffer operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See AddUploadBuffer for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AddUploadBuffer method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the AddUploadBufferRequest method. req, resp := client.AddUploadBufferRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddUploadBuffer
func (*StorageGateway) AddWorkingStorage ¶
func (c *StorageGateway) AddWorkingStorage(input *AddWorkingStorageInput) (*AddWorkingStorageOutput, error)
AddWorkingStorage API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation AddWorkingStorage for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddWorkingStorage
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.AddWorkingStorageInput{ DiskIds: []*string{ // Required aws.String("DiskId"), // Required // More values... }, GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.AddWorkingStorage(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) AddWorkingStorageRequest ¶
func (c *StorageGateway) AddWorkingStorageRequest(input *AddWorkingStorageInput) (req *request.Request, output *AddWorkingStorageOutput)
AddWorkingStorageRequest generates a "aws/request.Request" representing the client's request for the AddWorkingStorage operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See AddWorkingStorage for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the AddWorkingStorage method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the AddWorkingStorageRequest method. req, resp := client.AddWorkingStorageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddWorkingStorage
func (*StorageGateway) CancelArchival ¶
func (c *StorageGateway) CancelArchival(input *CancelArchivalInput) (*CancelArchivalOutput, error)
CancelArchival API operation for AWS Storage Gateway.
Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is initiated.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation CancelArchival for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelArchival
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.CancelArchivalInput{ GatewayARN: aws.String("GatewayARN"), // Required TapeARN: aws.String("TapeARN"), // Required } resp, err := svc.CancelArchival(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) CancelArchivalRequest ¶
func (c *StorageGateway) CancelArchivalRequest(input *CancelArchivalInput) (req *request.Request, output *CancelArchivalOutput)
CancelArchivalRequest generates a "aws/request.Request" representing the client's request for the CancelArchival operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CancelArchival for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CancelArchival method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CancelArchivalRequest method. req, resp := client.CancelArchivalRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelArchival
func (*StorageGateway) CancelRetrieval ¶
func (c *StorageGateway) CancelRetrieval(input *CancelRetrievalInput) (*CancelRetrievalOutput, error)
CancelRetrieval API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation CancelRetrieval for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelRetrieval
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.CancelRetrievalInput{ GatewayARN: aws.String("GatewayARN"), // Required TapeARN: aws.String("TapeARN"), // Required } resp, err := svc.CancelRetrieval(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) CancelRetrievalRequest ¶
func (c *StorageGateway) CancelRetrievalRequest(input *CancelRetrievalInput) (req *request.Request, output *CancelRetrievalOutput)
CancelRetrievalRequest generates a "aws/request.Request" representing the client's request for the CancelRetrieval operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CancelRetrieval for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CancelRetrieval method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CancelRetrievalRequest method. req, resp := client.CancelRetrievalRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelRetrieval
func (*StorageGateway) CreateCachediSCSIVolume ¶
func (c *StorageGateway) CreateCachediSCSIVolume(input *CreateCachediSCSIVolumeInput) (*CreateCachediSCSIVolumeOutput, error)
CreateCachediSCSIVolume API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation CreateCachediSCSIVolume for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateCachediSCSIVolume
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.CreateCachediSCSIVolumeInput{ ClientToken: aws.String("ClientToken"), // Required GatewayARN: aws.String("GatewayARN"), // Required NetworkInterfaceId: aws.String("NetworkInterfaceId"), // Required TargetName: aws.String("TargetName"), // Required VolumeSizeInBytes: aws.Int64(1), // Required SnapshotId: aws.String("SnapshotId"), } resp, err := svc.CreateCachediSCSIVolume(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) CreateCachediSCSIVolumeRequest ¶
func (c *StorageGateway) CreateCachediSCSIVolumeRequest(input *CreateCachediSCSIVolumeInput) (req *request.Request, output *CreateCachediSCSIVolumeOutput)
CreateCachediSCSIVolumeRequest generates a "aws/request.Request" representing the client's request for the CreateCachediSCSIVolume operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateCachediSCSIVolume for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateCachediSCSIVolume method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateCachediSCSIVolumeRequest method. req, resp := client.CreateCachediSCSIVolumeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateCachediSCSIVolume
func (*StorageGateway) CreateSnapshot ¶
func (c *StorageGateway) CreateSnapshot(input *CreateSnapshotInput) (*CreateSnapshotOutput, error)
CreateSnapshot API operation for AWS Storage Gateway.
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 Working With Snapshots in the AWS Storage Gateway Console (http://docs.aws.amazon.com/storagegateway/latest/userguide/WorkingWithSnapshots.html).
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 EC2 API reference (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_Operations.html).
Volume and snapshot IDs are changing to a longer length ID format. For more information, see the important note on the Welcome (http://docs.aws.amazon.com/storagegateway/latest/APIReference/Welcome.html) page.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation CreateSnapshot for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshot
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.CreateSnapshotInput{ SnapshotDescription: aws.String("SnapshotDescription"), // Required VolumeARN: aws.String("VolumeARN"), // Required } resp, err := svc.CreateSnapshot(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) CreateSnapshotFromVolumeRecoveryPoint ¶
func (c *StorageGateway) CreateSnapshotFromVolumeRecoveryPoint(input *CreateSnapshotFromVolumeRecoveryPointInput) (*CreateSnapshotFromVolumeRecoveryPointOutput, error)
CreateSnapshotFromVolumeRecoveryPoint API operation for AWS Storage Gateway.
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.
To list or delete a snapshot, you must use the Amazon EC2 API. For more information, in Amazon Elastic Compute Cloud API Reference.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation CreateSnapshotFromVolumeRecoveryPoint for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshotFromVolumeRecoveryPoint
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.CreateSnapshotFromVolumeRecoveryPointInput{ SnapshotDescription: aws.String("SnapshotDescription"), // Required VolumeARN: aws.String("VolumeARN"), // Required } resp, err := svc.CreateSnapshotFromVolumeRecoveryPoint(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) CreateSnapshotFromVolumeRecoveryPointRequest ¶
func (c *StorageGateway) CreateSnapshotFromVolumeRecoveryPointRequest(input *CreateSnapshotFromVolumeRecoveryPointInput) (req *request.Request, output *CreateSnapshotFromVolumeRecoveryPointOutput)
CreateSnapshotFromVolumeRecoveryPointRequest generates a "aws/request.Request" representing the client's request for the CreateSnapshotFromVolumeRecoveryPoint operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateSnapshotFromVolumeRecoveryPoint for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateSnapshotFromVolumeRecoveryPoint method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateSnapshotFromVolumeRecoveryPointRequest method. req, resp := client.CreateSnapshotFromVolumeRecoveryPointRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshotFromVolumeRecoveryPoint
func (*StorageGateway) CreateSnapshotRequest ¶
func (c *StorageGateway) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Request, output *CreateSnapshotOutput)
CreateSnapshotRequest generates a "aws/request.Request" representing the client's request for the CreateSnapshot operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateSnapshot for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateSnapshot method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateSnapshotRequest method. req, resp := client.CreateSnapshotRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshot
func (*StorageGateway) CreateStorediSCSIVolume ¶
func (c *StorageGateway) CreateStorediSCSIVolume(input *CreateStorediSCSIVolumeInput) (*CreateStorediSCSIVolumeOutput, error)
CreateStorediSCSIVolume API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation CreateStorediSCSIVolume for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateStorediSCSIVolume
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.CreateStorediSCSIVolumeInput{ DiskId: aws.String("DiskId"), // Required GatewayARN: aws.String("GatewayARN"), // Required NetworkInterfaceId: aws.String("NetworkInterfaceId"), // Required PreserveExistingData: aws.Bool(true), // Required TargetName: aws.String("TargetName"), // Required SnapshotId: aws.String("SnapshotId"), } resp, err := svc.CreateStorediSCSIVolume(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) CreateStorediSCSIVolumeRequest ¶
func (c *StorageGateway) CreateStorediSCSIVolumeRequest(input *CreateStorediSCSIVolumeInput) (req *request.Request, output *CreateStorediSCSIVolumeOutput)
CreateStorediSCSIVolumeRequest generates a "aws/request.Request" representing the client's request for the CreateStorediSCSIVolume operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateStorediSCSIVolume for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateStorediSCSIVolume method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateStorediSCSIVolumeRequest method. req, resp := client.CreateStorediSCSIVolumeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateStorediSCSIVolume
func (*StorageGateway) CreateTapeWithBarcode ¶ added in v1.1.4
func (c *StorageGateway) CreateTapeWithBarcode(input *CreateTapeWithBarcodeInput) (*CreateTapeWithBarcodeOutput, error)
CreateTapeWithBarcode API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation CreateTapeWithBarcode for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapeWithBarcode
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.CreateTapeWithBarcodeInput{ GatewayARN: aws.String("GatewayARN"), // Required TapeBarcode: aws.String("TapeBarcode"), // Required TapeSizeInBytes: aws.Int64(1), // Required } resp, err := svc.CreateTapeWithBarcode(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) CreateTapeWithBarcodeRequest ¶ added in v1.1.4
func (c *StorageGateway) CreateTapeWithBarcodeRequest(input *CreateTapeWithBarcodeInput) (req *request.Request, output *CreateTapeWithBarcodeOutput)
CreateTapeWithBarcodeRequest generates a "aws/request.Request" representing the client's request for the CreateTapeWithBarcode operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateTapeWithBarcode for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateTapeWithBarcode method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateTapeWithBarcodeRequest method. req, resp := client.CreateTapeWithBarcodeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapeWithBarcode
func (*StorageGateway) CreateTapes ¶
func (c *StorageGateway) CreateTapes(input *CreateTapesInput) (*CreateTapesOutput, error)
CreateTapes API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation CreateTapes for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapes
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.CreateTapesInput{ ClientToken: aws.String("ClientToken"), // Required GatewayARN: aws.String("GatewayARN"), // Required NumTapesToCreate: aws.Int64(1), // Required TapeBarcodePrefix: aws.String("TapeBarcodePrefix"), // Required TapeSizeInBytes: aws.Int64(1), // Required } resp, err := svc.CreateTapes(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) CreateTapesRequest ¶
func (c *StorageGateway) CreateTapesRequest(input *CreateTapesInput) (req *request.Request, output *CreateTapesOutput)
CreateTapesRequest generates a "aws/request.Request" representing the client's request for the CreateTapes operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See CreateTapes for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the CreateTapes method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the CreateTapesRequest method. req, resp := client.CreateTapesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapes
func (*StorageGateway) DeleteBandwidthRateLimit ¶
func (c *StorageGateway) DeleteBandwidthRateLimit(input *DeleteBandwidthRateLimitInput) (*DeleteBandwidthRateLimitOutput, error)
DeleteBandwidthRateLimit API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DeleteBandwidthRateLimit for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteBandwidthRateLimit
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DeleteBandwidthRateLimitInput{ BandwidthType: aws.String("BandwidthType"), // Required GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.DeleteBandwidthRateLimit(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DeleteBandwidthRateLimitRequest ¶
func (c *StorageGateway) DeleteBandwidthRateLimitRequest(input *DeleteBandwidthRateLimitInput) (req *request.Request, output *DeleteBandwidthRateLimitOutput)
DeleteBandwidthRateLimitRequest generates a "aws/request.Request" representing the client's request for the DeleteBandwidthRateLimit operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteBandwidthRateLimit for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteBandwidthRateLimit method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteBandwidthRateLimitRequest method. req, resp := client.DeleteBandwidthRateLimitRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteBandwidthRateLimit
func (*StorageGateway) DeleteChapCredentials ¶
func (c *StorageGateway) DeleteChapCredentials(input *DeleteChapCredentialsInput) (*DeleteChapCredentialsOutput, error)
DeleteChapCredentials API operation for AWS Storage Gateway.
Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DeleteChapCredentials for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteChapCredentials
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DeleteChapCredentialsInput{ InitiatorName: aws.String("IqnName"), // Required TargetARN: aws.String("TargetARN"), // Required } resp, err := svc.DeleteChapCredentials(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DeleteChapCredentialsRequest ¶
func (c *StorageGateway) DeleteChapCredentialsRequest(input *DeleteChapCredentialsInput) (req *request.Request, output *DeleteChapCredentialsOutput)
DeleteChapCredentialsRequest generates a "aws/request.Request" representing the client's request for the DeleteChapCredentials operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteChapCredentials for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteChapCredentials method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteChapCredentialsRequest method. req, resp := client.DeleteChapCredentialsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteChapCredentials
func (*StorageGateway) DeleteGateway ¶
func (c *StorageGateway) DeleteGateway(input *DeleteGatewayInput) (*DeleteGatewayOutput, error)
DeleteGateway API operation for AWS Storage Gateway.
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 AWS Storage Gateway Detail Page (http://aws.amazon.com/storagegateway).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DeleteGateway for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteGateway
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DeleteGatewayInput{ GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.DeleteGateway(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DeleteGatewayRequest ¶
func (c *StorageGateway) DeleteGatewayRequest(input *DeleteGatewayInput) (req *request.Request, output *DeleteGatewayOutput)
DeleteGatewayRequest generates a "aws/request.Request" representing the client's request for the DeleteGateway operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteGateway for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteGateway method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteGatewayRequest method. req, resp := client.DeleteGatewayRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteGateway
func (*StorageGateway) DeleteSnapshotSchedule ¶
func (c *StorageGateway) DeleteSnapshotSchedule(input *DeleteSnapshotScheduleInput) (*DeleteSnapshotScheduleOutput, error)
DeleteSnapshotSchedule API operation for AWS Storage Gateway.
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 Working with Snapshots (http://docs.aws.amazon.com/storagegateway/latest/userguide/WorkingWithSnapshots.html). 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DeleteSnapshotSchedule for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteSnapshotSchedule
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DeleteSnapshotScheduleInput{ VolumeARN: aws.String("VolumeARN"), // Required } resp, err := svc.DeleteSnapshotSchedule(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DeleteSnapshotScheduleRequest ¶
func (c *StorageGateway) DeleteSnapshotScheduleRequest(input *DeleteSnapshotScheduleInput) (req *request.Request, output *DeleteSnapshotScheduleOutput)
DeleteSnapshotScheduleRequest generates a "aws/request.Request" representing the client's request for the DeleteSnapshotSchedule operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteSnapshotSchedule for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteSnapshotSchedule method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteSnapshotScheduleRequest method. req, resp := client.DeleteSnapshotScheduleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteSnapshotSchedule
func (*StorageGateway) DeleteTape ¶
func (c *StorageGateway) DeleteTape(input *DeleteTapeInput) (*DeleteTapeOutput, error)
DeleteTape API operation for AWS Storage Gateway.
Deletes the specified virtual tape.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DeleteTape for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTape
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DeleteTapeInput{ GatewayARN: aws.String("GatewayARN"), // Required TapeARN: aws.String("TapeARN"), // Required } resp, err := svc.DeleteTape(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DeleteTapeArchive ¶
func (c *StorageGateway) DeleteTapeArchive(input *DeleteTapeArchiveInput) (*DeleteTapeArchiveOutput, error)
DeleteTapeArchive API operation for AWS Storage Gateway.
Deletes the specified virtual tape from the virtual tape shelf (VTS).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DeleteTapeArchive for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapeArchive
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DeleteTapeArchiveInput{ TapeARN: aws.String("TapeARN"), // Required } resp, err := svc.DeleteTapeArchive(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DeleteTapeArchiveRequest ¶
func (c *StorageGateway) DeleteTapeArchiveRequest(input *DeleteTapeArchiveInput) (req *request.Request, output *DeleteTapeArchiveOutput)
DeleteTapeArchiveRequest generates a "aws/request.Request" representing the client's request for the DeleteTapeArchive operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteTapeArchive for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteTapeArchive method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteTapeArchiveRequest method. req, resp := client.DeleteTapeArchiveRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapeArchive
func (*StorageGateway) DeleteTapeRequest ¶
func (c *StorageGateway) DeleteTapeRequest(input *DeleteTapeInput) (req *request.Request, output *DeleteTapeOutput)
DeleteTapeRequest generates a "aws/request.Request" representing the client's request for the DeleteTape operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteTape for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteTape method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteTapeRequest method. req, resp := client.DeleteTapeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTape
func (*StorageGateway) DeleteVolume ¶
func (c *StorageGateway) DeleteVolume(input *DeleteVolumeInput) (*DeleteVolumeOutput, error)
DeleteVolume API operation for AWS Storage Gateway.
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 DescribeSnapshots (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSnapshots.html) 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DeleteVolume for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteVolume
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DeleteVolumeInput{ VolumeARN: aws.String("VolumeARN"), // Required } resp, err := svc.DeleteVolume(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DeleteVolumeRequest ¶
func (c *StorageGateway) DeleteVolumeRequest(input *DeleteVolumeInput) (req *request.Request, output *DeleteVolumeOutput)
DeleteVolumeRequest generates a "aws/request.Request" representing the client's request for the DeleteVolume operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DeleteVolume for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DeleteVolume method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DeleteVolumeRequest method. req, resp := client.DeleteVolumeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteVolume
func (*StorageGateway) DescribeBandwidthRateLimit ¶
func (c *StorageGateway) DescribeBandwidthRateLimit(input *DescribeBandwidthRateLimitInput) (*DescribeBandwidthRateLimitOutput, error)
DescribeBandwidthRateLimit API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DescribeBandwidthRateLimit for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimit
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DescribeBandwidthRateLimitInput{ GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.DescribeBandwidthRateLimit(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DescribeBandwidthRateLimitRequest ¶
func (c *StorageGateway) DescribeBandwidthRateLimitRequest(input *DescribeBandwidthRateLimitInput) (req *request.Request, output *DescribeBandwidthRateLimitOutput)
DescribeBandwidthRateLimitRequest generates a "aws/request.Request" representing the client's request for the DescribeBandwidthRateLimit operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeBandwidthRateLimit for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeBandwidthRateLimit method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeBandwidthRateLimitRequest method. req, resp := client.DescribeBandwidthRateLimitRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimit
func (*StorageGateway) DescribeCache ¶
func (c *StorageGateway) DescribeCache(input *DescribeCacheInput) (*DescribeCacheOutput, error)
DescribeCache API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DescribeCache for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCache
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DescribeCacheInput{ GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.DescribeCache(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DescribeCacheRequest ¶
func (c *StorageGateway) DescribeCacheRequest(input *DescribeCacheInput) (req *request.Request, output *DescribeCacheOutput)
DescribeCacheRequest generates a "aws/request.Request" representing the client's request for the DescribeCache operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeCache for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeCache method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeCacheRequest method. req, resp := client.DescribeCacheRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCache
func (*StorageGateway) DescribeCachediSCSIVolumes ¶
func (c *StorageGateway) DescribeCachediSCSIVolumes(input *DescribeCachediSCSIVolumesInput) (*DescribeCachediSCSIVolumesOutput, error)
DescribeCachediSCSIVolumes API operation for AWS Storage Gateway.
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).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DescribeCachediSCSIVolumes for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCachediSCSIVolumes
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DescribeCachediSCSIVolumesInput{ VolumeARNs: []*string{ // Required aws.String("VolumeARN"), // Required // More values... }, } resp, err := svc.DescribeCachediSCSIVolumes(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DescribeCachediSCSIVolumesRequest ¶
func (c *StorageGateway) DescribeCachediSCSIVolumesRequest(input *DescribeCachediSCSIVolumesInput) (req *request.Request, output *DescribeCachediSCSIVolumesOutput)
DescribeCachediSCSIVolumesRequest generates a "aws/request.Request" representing the client's request for the DescribeCachediSCSIVolumes operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeCachediSCSIVolumes for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeCachediSCSIVolumes method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeCachediSCSIVolumesRequest method. req, resp := client.DescribeCachediSCSIVolumesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCachediSCSIVolumes
func (*StorageGateway) DescribeChapCredentials ¶
func (c *StorageGateway) DescribeChapCredentials(input *DescribeChapCredentialsInput) (*DescribeChapCredentialsOutput, error)
DescribeChapCredentials API operation for AWS Storage Gateway.
Returns an array of Challenge-Handshake Authentication Protocol (CHAP) credentials information for a specified iSCSI target, one for each target-initiator pair.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DescribeChapCredentials for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeChapCredentials
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DescribeChapCredentialsInput{ TargetARN: aws.String("TargetARN"), // Required } resp, err := svc.DescribeChapCredentials(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DescribeChapCredentialsRequest ¶
func (c *StorageGateway) DescribeChapCredentialsRequest(input *DescribeChapCredentialsInput) (req *request.Request, output *DescribeChapCredentialsOutput)
DescribeChapCredentialsRequest generates a "aws/request.Request" representing the client's request for the DescribeChapCredentials operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeChapCredentials for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeChapCredentials method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeChapCredentialsRequest method. req, resp := client.DescribeChapCredentialsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeChapCredentials
func (*StorageGateway) DescribeGatewayInformation ¶
func (c *StorageGateway) DescribeGatewayInformation(input *DescribeGatewayInformationInput) (*DescribeGatewayInformationOutput, error)
DescribeGatewayInformation API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DescribeGatewayInformation for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformation
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DescribeGatewayInformationInput{ GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.DescribeGatewayInformation(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DescribeGatewayInformationRequest ¶
func (c *StorageGateway) DescribeGatewayInformationRequest(input *DescribeGatewayInformationInput) (req *request.Request, output *DescribeGatewayInformationOutput)
DescribeGatewayInformationRequest generates a "aws/request.Request" representing the client's request for the DescribeGatewayInformation operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeGatewayInformation for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeGatewayInformation method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeGatewayInformationRequest method. req, resp := client.DescribeGatewayInformationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformation
func (*StorageGateway) DescribeMaintenanceStartTime ¶
func (c *StorageGateway) DescribeMaintenanceStartTime(input *DescribeMaintenanceStartTimeInput) (*DescribeMaintenanceStartTimeOutput, error)
DescribeMaintenanceStartTime API operation for AWS Storage Gateway.
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 awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DescribeMaintenanceStartTime for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeMaintenanceStartTime
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DescribeMaintenanceStartTimeInput{ GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.DescribeMaintenanceStartTime(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DescribeMaintenanceStartTimeRequest ¶
func (c *StorageGateway) DescribeMaintenanceStartTimeRequest(input *DescribeMaintenanceStartTimeInput) (req *request.Request, output *DescribeMaintenanceStartTimeOutput)
DescribeMaintenanceStartTimeRequest generates a "aws/request.Request" representing the client's request for the DescribeMaintenanceStartTime operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeMaintenanceStartTime for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeMaintenanceStartTime method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeMaintenanceStartTimeRequest method. req, resp := client.DescribeMaintenanceStartTimeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeMaintenanceStartTime
func (*StorageGateway) DescribeSnapshotSchedule ¶
func (c *StorageGateway) DescribeSnapshotSchedule(input *DescribeSnapshotScheduleInput) (*DescribeSnapshotScheduleOutput, error)
DescribeSnapshotSchedule API operation for AWS Storage Gateway.
Describes the snapshot schedule for the specified gateway volume. The snapshot schedule information includes intervals at which snapshots are automatically initiated on the volume.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DescribeSnapshotSchedule for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSnapshotSchedule
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DescribeSnapshotScheduleInput{ VolumeARN: aws.String("VolumeARN"), // Required } resp, err := svc.DescribeSnapshotSchedule(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DescribeSnapshotScheduleRequest ¶
func (c *StorageGateway) DescribeSnapshotScheduleRequest(input *DescribeSnapshotScheduleInput) (req *request.Request, output *DescribeSnapshotScheduleOutput)
DescribeSnapshotScheduleRequest generates a "aws/request.Request" representing the client's request for the DescribeSnapshotSchedule operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeSnapshotSchedule for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeSnapshotSchedule method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeSnapshotScheduleRequest method. req, resp := client.DescribeSnapshotScheduleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSnapshotSchedule
func (*StorageGateway) DescribeStorediSCSIVolumes ¶
func (c *StorageGateway) DescribeStorediSCSIVolumes(input *DescribeStorediSCSIVolumesInput) (*DescribeStorediSCSIVolumesOutput, error)
DescribeStorediSCSIVolumes API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DescribeStorediSCSIVolumes for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeStorediSCSIVolumes
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DescribeStorediSCSIVolumesInput{ VolumeARNs: []*string{ // Required aws.String("VolumeARN"), // Required // More values... }, } resp, err := svc.DescribeStorediSCSIVolumes(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DescribeStorediSCSIVolumesRequest ¶
func (c *StorageGateway) DescribeStorediSCSIVolumesRequest(input *DescribeStorediSCSIVolumesInput) (req *request.Request, output *DescribeStorediSCSIVolumesOutput)
DescribeStorediSCSIVolumesRequest generates a "aws/request.Request" representing the client's request for the DescribeStorediSCSIVolumes operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeStorediSCSIVolumes for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeStorediSCSIVolumes method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeStorediSCSIVolumesRequest method. req, resp := client.DescribeStorediSCSIVolumesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeStorediSCSIVolumes
func (*StorageGateway) DescribeTapeArchives ¶
func (c *StorageGateway) DescribeTapeArchives(input *DescribeTapeArchivesInput) (*DescribeTapeArchivesOutput, error)
DescribeTapeArchives API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DescribeTapeArchives for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeArchives
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DescribeTapeArchivesInput{ Limit: aws.Int64(1), Marker: aws.String("Marker"), TapeARNs: []*string{ aws.String("TapeARN"), // Required // More values... }, } resp, err := svc.DescribeTapeArchives(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DescribeTapeArchivesPages ¶
func (c *StorageGateway) DescribeTapeArchivesPages(input *DescribeTapeArchivesInput, fn func(p *DescribeTapeArchivesOutput, lastPage bool) (shouldContinue bool)) error
DescribeTapeArchivesPages iterates over the pages of a DescribeTapeArchives operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeTapeArchives method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeTapeArchives operation. pageNum := 0 err := client.DescribeTapeArchivesPages(params, func(page *DescribeTapeArchivesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*StorageGateway) DescribeTapeArchivesRequest ¶
func (c *StorageGateway) DescribeTapeArchivesRequest(input *DescribeTapeArchivesInput) (req *request.Request, output *DescribeTapeArchivesOutput)
DescribeTapeArchivesRequest generates a "aws/request.Request" representing the client's request for the DescribeTapeArchives operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeTapeArchives for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeTapeArchives method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeTapeArchivesRequest method. req, resp := client.DescribeTapeArchivesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeArchives
func (*StorageGateway) DescribeTapeRecoveryPoints ¶
func (c *StorageGateway) DescribeTapeRecoveryPoints(input *DescribeTapeRecoveryPointsInput) (*DescribeTapeRecoveryPointsOutput, error)
DescribeTapeRecoveryPoints API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DescribeTapeRecoveryPoints for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeRecoveryPoints
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DescribeTapeRecoveryPointsInput{ GatewayARN: aws.String("GatewayARN"), // Required Limit: aws.Int64(1), Marker: aws.String("Marker"), } resp, err := svc.DescribeTapeRecoveryPoints(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DescribeTapeRecoveryPointsPages ¶
func (c *StorageGateway) DescribeTapeRecoveryPointsPages(input *DescribeTapeRecoveryPointsInput, fn func(p *DescribeTapeRecoveryPointsOutput, lastPage bool) (shouldContinue bool)) error
DescribeTapeRecoveryPointsPages iterates over the pages of a DescribeTapeRecoveryPoints operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeTapeRecoveryPoints method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeTapeRecoveryPoints operation. pageNum := 0 err := client.DescribeTapeRecoveryPointsPages(params, func(page *DescribeTapeRecoveryPointsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*StorageGateway) DescribeTapeRecoveryPointsRequest ¶
func (c *StorageGateway) DescribeTapeRecoveryPointsRequest(input *DescribeTapeRecoveryPointsInput) (req *request.Request, output *DescribeTapeRecoveryPointsOutput)
DescribeTapeRecoveryPointsRequest generates a "aws/request.Request" representing the client's request for the DescribeTapeRecoveryPoints operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeTapeRecoveryPoints for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeTapeRecoveryPoints method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeTapeRecoveryPointsRequest method. req, resp := client.DescribeTapeRecoveryPointsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeRecoveryPoints
func (*StorageGateway) DescribeTapes ¶
func (c *StorageGateway) DescribeTapes(input *DescribeTapesInput) (*DescribeTapesOutput, error)
DescribeTapes API operation for AWS Storage 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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DescribeTapes for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapes
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DescribeTapesInput{ GatewayARN: aws.String("GatewayARN"), // Required Limit: aws.Int64(1), Marker: aws.String("Marker"), TapeARNs: []*string{ aws.String("TapeARN"), // Required // More values... }, } resp, err := svc.DescribeTapes(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DescribeTapesPages ¶
func (c *StorageGateway) DescribeTapesPages(input *DescribeTapesInput, fn func(p *DescribeTapesOutput, lastPage bool) (shouldContinue bool)) error
DescribeTapesPages iterates over the pages of a DescribeTapes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeTapes method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeTapes operation. pageNum := 0 err := client.DescribeTapesPages(params, func(page *DescribeTapesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*StorageGateway) DescribeTapesRequest ¶
func (c *StorageGateway) DescribeTapesRequest(input *DescribeTapesInput) (req *request.Request, output *DescribeTapesOutput)
DescribeTapesRequest generates a "aws/request.Request" representing the client's request for the DescribeTapes operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeTapes for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeTapes method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeTapesRequest method. req, resp := client.DescribeTapesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapes
func (*StorageGateway) DescribeUploadBuffer ¶
func (c *StorageGateway) DescribeUploadBuffer(input *DescribeUploadBufferInput) (*DescribeUploadBufferOutput, error)
DescribeUploadBuffer API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DescribeUploadBuffer for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeUploadBuffer
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DescribeUploadBufferInput{ GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.DescribeUploadBuffer(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DescribeUploadBufferRequest ¶
func (c *StorageGateway) DescribeUploadBufferRequest(input *DescribeUploadBufferInput) (req *request.Request, output *DescribeUploadBufferOutput)
DescribeUploadBufferRequest generates a "aws/request.Request" representing the client's request for the DescribeUploadBuffer operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeUploadBuffer for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeUploadBuffer method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeUploadBufferRequest method. req, resp := client.DescribeUploadBufferRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeUploadBuffer
func (*StorageGateway) DescribeVTLDevices ¶
func (c *StorageGateway) DescribeVTLDevices(input *DescribeVTLDevicesInput) (*DescribeVTLDevicesOutput, error)
DescribeVTLDevices API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DescribeVTLDevices for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeVTLDevices
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DescribeVTLDevicesInput{ GatewayARN: aws.String("GatewayARN"), // Required Limit: aws.Int64(1), Marker: aws.String("Marker"), VTLDeviceARNs: []*string{ aws.String("VTLDeviceARN"), // Required // More values... }, } resp, err := svc.DescribeVTLDevices(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DescribeVTLDevicesPages ¶
func (c *StorageGateway) DescribeVTLDevicesPages(input *DescribeVTLDevicesInput, fn func(p *DescribeVTLDevicesOutput, lastPage bool) (shouldContinue bool)) error
DescribeVTLDevicesPages iterates over the pages of a DescribeVTLDevices operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeVTLDevices method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeVTLDevices operation. pageNum := 0 err := client.DescribeVTLDevicesPages(params, func(page *DescribeVTLDevicesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*StorageGateway) DescribeVTLDevicesRequest ¶
func (c *StorageGateway) DescribeVTLDevicesRequest(input *DescribeVTLDevicesInput) (req *request.Request, output *DescribeVTLDevicesOutput)
DescribeVTLDevicesRequest generates a "aws/request.Request" representing the client's request for the DescribeVTLDevices operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeVTLDevices for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeVTLDevices method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeVTLDevicesRequest method. req, resp := client.DescribeVTLDevicesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeVTLDevices
func (*StorageGateway) DescribeWorkingStorage ¶
func (c *StorageGateway) DescribeWorkingStorage(input *DescribeWorkingStorageInput) (*DescribeWorkingStorageOutput, error)
DescribeWorkingStorage API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DescribeWorkingStorage for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeWorkingStorage
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DescribeWorkingStorageInput{ GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.DescribeWorkingStorage(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DescribeWorkingStorageRequest ¶
func (c *StorageGateway) DescribeWorkingStorageRequest(input *DescribeWorkingStorageInput) (req *request.Request, output *DescribeWorkingStorageOutput)
DescribeWorkingStorageRequest generates a "aws/request.Request" representing the client's request for the DescribeWorkingStorage operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DescribeWorkingStorage for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DescribeWorkingStorage method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DescribeWorkingStorageRequest method. req, resp := client.DescribeWorkingStorageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeWorkingStorage
func (*StorageGateway) DisableGateway ¶
func (c *StorageGateway) DisableGateway(input *DisableGatewayInput) (*DisableGatewayOutput, error)
DisableGateway API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation DisableGateway for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DisableGateway
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.DisableGatewayInput{ GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.DisableGateway(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) DisableGatewayRequest ¶
func (c *StorageGateway) DisableGatewayRequest(input *DisableGatewayInput) (req *request.Request, output *DisableGatewayOutput)
DisableGatewayRequest generates a "aws/request.Request" representing the client's request for the DisableGateway operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See DisableGateway for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the DisableGateway method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the DisableGatewayRequest method. req, resp := client.DisableGatewayRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DisableGateway
func (*StorageGateway) ListGateways ¶
func (c *StorageGateway) ListGateways(input *ListGatewaysInput) (*ListGatewaysOutput, error)
ListGateways API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation ListGateways for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListGateways
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.ListGatewaysInput{ Limit: aws.Int64(1), Marker: aws.String("Marker"), } resp, err := svc.ListGateways(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) ListGatewaysPages ¶
func (c *StorageGateway) ListGatewaysPages(input *ListGatewaysInput, fn func(p *ListGatewaysOutput, lastPage bool) (shouldContinue bool)) error
ListGatewaysPages iterates over the pages of a ListGateways operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListGateways method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListGateways operation. pageNum := 0 err := client.ListGatewaysPages(params, func(page *ListGatewaysOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*StorageGateway) ListGatewaysRequest ¶
func (c *StorageGateway) ListGatewaysRequest(input *ListGatewaysInput) (req *request.Request, output *ListGatewaysOutput)
ListGatewaysRequest generates a "aws/request.Request" representing the client's request for the ListGateways operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListGateways for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListGateways method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ListGatewaysRequest method. req, resp := client.ListGatewaysRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListGateways
func (*StorageGateway) ListLocalDisks ¶
func (c *StorageGateway) ListLocalDisks(input *ListLocalDisksInput) (*ListLocalDisksOutput, error)
ListLocalDisks API operation for AWS Storage Gateway.
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).
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation ListLocalDisks for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListLocalDisks
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.ListLocalDisksInput{ GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.ListLocalDisks(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) ListLocalDisksRequest ¶
func (c *StorageGateway) ListLocalDisksRequest(input *ListLocalDisksInput) (req *request.Request, output *ListLocalDisksOutput)
ListLocalDisksRequest generates a "aws/request.Request" representing the client's request for the ListLocalDisks operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListLocalDisks for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListLocalDisks method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ListLocalDisksRequest method. req, resp := client.ListLocalDisksRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListLocalDisks
func (*StorageGateway) ListTagsForResource ¶ added in v0.9.5
func (c *StorageGateway) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for AWS Storage Gateway.
Lists the tags that have been added to the specified resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation ListTagsForResource for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTagsForResource
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.ListTagsForResourceInput{ ResourceARN: aws.String("ResourceARN"), // Required Limit: aws.Int64(1), Marker: aws.String("Marker"), } resp, err := svc.ListTagsForResource(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) ListTagsForResourceRequest ¶ added in v0.9.5
func (c *StorageGateway) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListTagsForResource for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListTagsForResource method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTagsForResource
func (*StorageGateway) ListTapes ¶ added in v1.1.25
func (c *StorageGateway) ListTapes(input *ListTapesInput) (*ListTapesOutput, error)
ListTapes API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation ListTapes for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTapes
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.ListTapesInput{ Limit: aws.Int64(1), Marker: aws.String("Marker"), TapeARNs: []*string{ aws.String("TapeARN"), // Required // More values... }, } resp, err := svc.ListTapes(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) ListTapesRequest ¶ added in v1.1.25
func (c *StorageGateway) ListTapesRequest(input *ListTapesInput) (req *request.Request, output *ListTapesOutput)
ListTapesRequest generates a "aws/request.Request" representing the client's request for the ListTapes operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListTapes for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListTapes method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ListTapesRequest method. req, resp := client.ListTapesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTapes
func (*StorageGateway) ListVolumeInitiators ¶ added in v0.6.1
func (c *StorageGateway) ListVolumeInitiators(input *ListVolumeInitiatorsInput) (*ListVolumeInitiatorsOutput, error)
ListVolumeInitiators API operation for AWS Storage Gateway.
Lists iSCSI initiators that are connected to a volume. You can use this operation to determine whether a volume is being used or not.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation ListVolumeInitiators for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeInitiators
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.ListVolumeInitiatorsInput{ VolumeARN: aws.String("VolumeARN"), // Required } resp, err := svc.ListVolumeInitiators(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) ListVolumeInitiatorsRequest ¶ added in v0.6.1
func (c *StorageGateway) ListVolumeInitiatorsRequest(input *ListVolumeInitiatorsInput) (req *request.Request, output *ListVolumeInitiatorsOutput)
ListVolumeInitiatorsRequest generates a "aws/request.Request" representing the client's request for the ListVolumeInitiators operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListVolumeInitiators for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListVolumeInitiators method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ListVolumeInitiatorsRequest method. req, resp := client.ListVolumeInitiatorsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeInitiators
func (*StorageGateway) ListVolumeRecoveryPoints ¶
func (c *StorageGateway) ListVolumeRecoveryPoints(input *ListVolumeRecoveryPointsInput) (*ListVolumeRecoveryPointsOutput, error)
ListVolumeRecoveryPoints API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation ListVolumeRecoveryPoints for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeRecoveryPoints
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.ListVolumeRecoveryPointsInput{ GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.ListVolumeRecoveryPoints(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) ListVolumeRecoveryPointsRequest ¶
func (c *StorageGateway) ListVolumeRecoveryPointsRequest(input *ListVolumeRecoveryPointsInput) (req *request.Request, output *ListVolumeRecoveryPointsOutput)
ListVolumeRecoveryPointsRequest generates a "aws/request.Request" representing the client's request for the ListVolumeRecoveryPoints operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListVolumeRecoveryPoints for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListVolumeRecoveryPoints method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ListVolumeRecoveryPointsRequest method. req, resp := client.ListVolumeRecoveryPointsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeRecoveryPoints
func (*StorageGateway) ListVolumes ¶
func (c *StorageGateway) ListVolumes(input *ListVolumesInput) (*ListVolumesOutput, error)
ListVolumes API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation ListVolumes for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumes
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.ListVolumesInput{ GatewayARN: aws.String("GatewayARN"), Limit: aws.Int64(1), Marker: aws.String("Marker"), } resp, err := svc.ListVolumes(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) ListVolumesPages ¶
func (c *StorageGateway) ListVolumesPages(input *ListVolumesInput, fn func(p *ListVolumesOutput, lastPage bool) (shouldContinue bool)) error
ListVolumesPages iterates over the pages of a ListVolumes operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListVolumes method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListVolumes operation. pageNum := 0 err := client.ListVolumesPages(params, func(page *ListVolumesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*StorageGateway) ListVolumesRequest ¶
func (c *StorageGateway) ListVolumesRequest(input *ListVolumesInput) (req *request.Request, output *ListVolumesOutput)
ListVolumesRequest generates a "aws/request.Request" representing the client's request for the ListVolumes operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ListVolumes for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ListVolumes method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ListVolumesRequest method. req, resp := client.ListVolumesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumes
func (*StorageGateway) RemoveTagsFromResource ¶ added in v0.9.5
func (c *StorageGateway) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error)
RemoveTagsFromResource API operation for AWS Storage Gateway.
Removes one or more tags from the specified resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation RemoveTagsFromResource for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RemoveTagsFromResource
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.RemoveTagsFromResourceInput{ ResourceARN: aws.String("ResourceARN"), // Required TagKeys: []*string{ // Required aws.String("TagKey"), // Required // More values... }, } resp, err := svc.RemoveTagsFromResource(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) RemoveTagsFromResourceRequest ¶ added in v0.9.5
func (c *StorageGateway) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput)
RemoveTagsFromResourceRequest generates a "aws/request.Request" representing the client's request for the RemoveTagsFromResource operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See RemoveTagsFromResource for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RemoveTagsFromResource method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the RemoveTagsFromResourceRequest method. req, resp := client.RemoveTagsFromResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RemoveTagsFromResource
func (*StorageGateway) ResetCache ¶
func (c *StorageGateway) ResetCache(input *ResetCacheInput) (*ResetCacheOutput, error)
ResetCache API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation ResetCache for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ResetCache
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.ResetCacheInput{ GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.ResetCache(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) ResetCacheRequest ¶
func (c *StorageGateway) ResetCacheRequest(input *ResetCacheInput) (req *request.Request, output *ResetCacheOutput)
ResetCacheRequest generates a "aws/request.Request" representing the client's request for the ResetCache operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ResetCache for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ResetCache method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ResetCacheRequest method. req, resp := client.ResetCacheRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ResetCache
func (*StorageGateway) RetrieveTapeArchive ¶
func (c *StorageGateway) RetrieveTapeArchive(input *RetrieveTapeArchiveInput) (*RetrieveTapeArchiveOutput, error)
RetrieveTapeArchive API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation RetrieveTapeArchive for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeArchive
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.RetrieveTapeArchiveInput{ GatewayARN: aws.String("GatewayARN"), // Required TapeARN: aws.String("TapeARN"), // Required } resp, err := svc.RetrieveTapeArchive(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) RetrieveTapeArchiveRequest ¶
func (c *StorageGateway) RetrieveTapeArchiveRequest(input *RetrieveTapeArchiveInput) (req *request.Request, output *RetrieveTapeArchiveOutput)
RetrieveTapeArchiveRequest generates a "aws/request.Request" representing the client's request for the RetrieveTapeArchive operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See RetrieveTapeArchive for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RetrieveTapeArchive method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the RetrieveTapeArchiveRequest method. req, resp := client.RetrieveTapeArchiveRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeArchive
func (*StorageGateway) RetrieveTapeRecoveryPoint ¶
func (c *StorageGateway) RetrieveTapeRecoveryPoint(input *RetrieveTapeRecoveryPointInput) (*RetrieveTapeRecoveryPointOutput, error)
RetrieveTapeRecoveryPoint API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation RetrieveTapeRecoveryPoint for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeRecoveryPoint
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.RetrieveTapeRecoveryPointInput{ GatewayARN: aws.String("GatewayARN"), // Required TapeARN: aws.String("TapeARN"), // Required } resp, err := svc.RetrieveTapeRecoveryPoint(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) RetrieveTapeRecoveryPointRequest ¶
func (c *StorageGateway) RetrieveTapeRecoveryPointRequest(input *RetrieveTapeRecoveryPointInput) (req *request.Request, output *RetrieveTapeRecoveryPointOutput)
RetrieveTapeRecoveryPointRequest generates a "aws/request.Request" representing the client's request for the RetrieveTapeRecoveryPoint operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See RetrieveTapeRecoveryPoint for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the RetrieveTapeRecoveryPoint method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the RetrieveTapeRecoveryPointRequest method. req, resp := client.RetrieveTapeRecoveryPointRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeRecoveryPoint
func (*StorageGateway) SetLocalConsolePassword ¶ added in v1.1.14
func (c *StorageGateway) SetLocalConsolePassword(input *SetLocalConsolePasswordInput) (*SetLocalConsolePasswordOutput, error)
SetLocalConsolePassword API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation SetLocalConsolePassword for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SetLocalConsolePassword
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.SetLocalConsolePasswordInput{ GatewayARN: aws.String("GatewayARN"), // Required LocalConsolePassword: aws.String("LocalConsolePassword"), // Required } resp, err := svc.SetLocalConsolePassword(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) SetLocalConsolePasswordRequest ¶ added in v1.1.14
func (c *StorageGateway) SetLocalConsolePasswordRequest(input *SetLocalConsolePasswordInput) (req *request.Request, output *SetLocalConsolePasswordOutput)
SetLocalConsolePasswordRequest generates a "aws/request.Request" representing the client's request for the SetLocalConsolePassword operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See SetLocalConsolePassword for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the SetLocalConsolePassword method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the SetLocalConsolePasswordRequest method. req, resp := client.SetLocalConsolePasswordRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SetLocalConsolePassword
func (*StorageGateway) ShutdownGateway ¶
func (c *StorageGateway) ShutdownGateway(input *ShutdownGatewayInput) (*ShutdownGatewayOutput, error)
ShutdownGateway API operation for AWS Storage Gateway.
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.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation ShutdownGateway for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ShutdownGateway
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.ShutdownGatewayInput{ GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.ShutdownGateway(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) ShutdownGatewayRequest ¶
func (c *StorageGateway) ShutdownGatewayRequest(input *ShutdownGatewayInput) (req *request.Request, output *ShutdownGatewayOutput)
ShutdownGatewayRequest generates a "aws/request.Request" representing the client's request for the ShutdownGateway operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See ShutdownGateway for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the ShutdownGateway method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the ShutdownGatewayRequest method. req, resp := client.ShutdownGatewayRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ShutdownGateway
func (*StorageGateway) StartGateway ¶
func (c *StorageGateway) StartGateway(input *StartGatewayInput) (*StartGatewayOutput, error)
StartGateway API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation StartGateway for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StartGateway
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.StartGatewayInput{ GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.StartGateway(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) StartGatewayRequest ¶
func (c *StorageGateway) StartGatewayRequest(input *StartGatewayInput) (req *request.Request, output *StartGatewayOutput)
StartGatewayRequest generates a "aws/request.Request" representing the client's request for the StartGateway operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See StartGateway for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the StartGateway method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the StartGatewayRequest method. req, resp := client.StartGatewayRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StartGateway
func (*StorageGateway) UpdateBandwidthRateLimit ¶
func (c *StorageGateway) UpdateBandwidthRateLimit(input *UpdateBandwidthRateLimitInput) (*UpdateBandwidthRateLimitOutput, error)
UpdateBandwidthRateLimit API operation for AWS Storage Gateway.
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.
To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation UpdateBandwidthRateLimit for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateBandwidthRateLimit
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.UpdateBandwidthRateLimitInput{ GatewayARN: aws.String("GatewayARN"), // Required AverageDownloadRateLimitInBitsPerSec: aws.Int64(1), AverageUploadRateLimitInBitsPerSec: aws.Int64(1), } resp, err := svc.UpdateBandwidthRateLimit(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) UpdateBandwidthRateLimitRequest ¶
func (c *StorageGateway) UpdateBandwidthRateLimitRequest(input *UpdateBandwidthRateLimitInput) (req *request.Request, output *UpdateBandwidthRateLimitOutput)
UpdateBandwidthRateLimitRequest generates a "aws/request.Request" representing the client's request for the UpdateBandwidthRateLimit operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See UpdateBandwidthRateLimit for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateBandwidthRateLimit method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the UpdateBandwidthRateLimitRequest method. req, resp := client.UpdateBandwidthRateLimitRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateBandwidthRateLimit
func (*StorageGateway) UpdateChapCredentials ¶
func (c *StorageGateway) UpdateChapCredentials(input *UpdateChapCredentialsInput) (*UpdateChapCredentialsOutput, error)
UpdateChapCredentials API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation UpdateChapCredentials for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateChapCredentials
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.UpdateChapCredentialsInput{ InitiatorName: aws.String("IqnName"), // Required SecretToAuthenticateInitiator: aws.String("ChapSecret"), // Required TargetARN: aws.String("TargetARN"), // Required SecretToAuthenticateTarget: aws.String("ChapSecret"), } resp, err := svc.UpdateChapCredentials(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) UpdateChapCredentialsRequest ¶
func (c *StorageGateway) UpdateChapCredentialsRequest(input *UpdateChapCredentialsInput) (req *request.Request, output *UpdateChapCredentialsOutput)
UpdateChapCredentialsRequest generates a "aws/request.Request" representing the client's request for the UpdateChapCredentials operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See UpdateChapCredentials for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateChapCredentials method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the UpdateChapCredentialsRequest method. req, resp := client.UpdateChapCredentialsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateChapCredentials
func (*StorageGateway) UpdateGatewayInformation ¶
func (c *StorageGateway) UpdateGatewayInformation(input *UpdateGatewayInformationInput) (*UpdateGatewayInformationOutput, error)
UpdateGatewayInformation API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation UpdateGatewayInformation for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewayInformation
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.UpdateGatewayInformationInput{ GatewayARN: aws.String("GatewayARN"), // Required GatewayName: aws.String("GatewayName"), GatewayTimezone: aws.String("GatewayTimezone"), } resp, err := svc.UpdateGatewayInformation(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) UpdateGatewayInformationRequest ¶
func (c *StorageGateway) UpdateGatewayInformationRequest(input *UpdateGatewayInformationInput) (req *request.Request, output *UpdateGatewayInformationOutput)
UpdateGatewayInformationRequest generates a "aws/request.Request" representing the client's request for the UpdateGatewayInformation operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See UpdateGatewayInformation for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateGatewayInformation method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the UpdateGatewayInformationRequest method. req, resp := client.UpdateGatewayInformationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewayInformation
func (*StorageGateway) UpdateGatewaySoftwareNow ¶
func (c *StorageGateway) UpdateGatewaySoftwareNow(input *UpdateGatewaySoftwareNowInput) (*UpdateGatewaySoftwareNowOutput, error)
UpdateGatewaySoftwareNow API operation for AWS Storage Gateway.
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 Customizing Your Windows iSCSI Settings (http://docs.aws.amazon.com/storagegateway/latest/userguide/ConfiguringiSCSIClientInitiatorWindowsClient.html#CustomizeWindowsiSCSISettings) and Customizing Your Linux iSCSI Settings (http://docs.aws.amazon.com/storagegateway/latest/userguide/ConfiguringiSCSIClientInitiatorRedHatClient.html#CustomizeLinuxiSCSISettings), respectively.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation UpdateGatewaySoftwareNow for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewaySoftwareNow
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.UpdateGatewaySoftwareNowInput{ GatewayARN: aws.String("GatewayARN"), // Required } resp, err := svc.UpdateGatewaySoftwareNow(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) UpdateGatewaySoftwareNowRequest ¶
func (c *StorageGateway) UpdateGatewaySoftwareNowRequest(input *UpdateGatewaySoftwareNowInput) (req *request.Request, output *UpdateGatewaySoftwareNowOutput)
UpdateGatewaySoftwareNowRequest generates a "aws/request.Request" representing the client's request for the UpdateGatewaySoftwareNow operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See UpdateGatewaySoftwareNow for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateGatewaySoftwareNow method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the UpdateGatewaySoftwareNowRequest method. req, resp := client.UpdateGatewaySoftwareNowRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewaySoftwareNow
func (*StorageGateway) UpdateMaintenanceStartTime ¶
func (c *StorageGateway) UpdateMaintenanceStartTime(input *UpdateMaintenanceStartTimeInput) (*UpdateMaintenanceStartTimeOutput, error)
UpdateMaintenanceStartTime API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation UpdateMaintenanceStartTime for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateMaintenanceStartTime
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.UpdateMaintenanceStartTimeInput{ DayOfWeek: aws.Int64(1), // Required GatewayARN: aws.String("GatewayARN"), // Required HourOfDay: aws.Int64(1), // Required MinuteOfHour: aws.Int64(1), // Required } resp, err := svc.UpdateMaintenanceStartTime(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) UpdateMaintenanceStartTimeRequest ¶
func (c *StorageGateway) UpdateMaintenanceStartTimeRequest(input *UpdateMaintenanceStartTimeInput) (req *request.Request, output *UpdateMaintenanceStartTimeOutput)
UpdateMaintenanceStartTimeRequest generates a "aws/request.Request" representing the client's request for the UpdateMaintenanceStartTime operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See UpdateMaintenanceStartTime for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateMaintenanceStartTime method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the UpdateMaintenanceStartTimeRequest method. req, resp := client.UpdateMaintenanceStartTimeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateMaintenanceStartTime
func (*StorageGateway) UpdateSnapshotSchedule ¶
func (c *StorageGateway) UpdateSnapshotSchedule(input *UpdateSnapshotScheduleInput) (*UpdateSnapshotScheduleOutput, error)
UpdateSnapshotSchedule API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation UpdateSnapshotSchedule for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSnapshotSchedule
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.UpdateSnapshotScheduleInput{ RecurrenceInHours: aws.Int64(1), // Required StartAt: aws.Int64(1), // Required VolumeARN: aws.String("VolumeARN"), // Required Description: aws.String("Description"), } resp, err := svc.UpdateSnapshotSchedule(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) UpdateSnapshotScheduleRequest ¶
func (c *StorageGateway) UpdateSnapshotScheduleRequest(input *UpdateSnapshotScheduleInput) (req *request.Request, output *UpdateSnapshotScheduleOutput)
UpdateSnapshotScheduleRequest generates a "aws/request.Request" representing the client's request for the UpdateSnapshotSchedule operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See UpdateSnapshotSchedule for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateSnapshotSchedule method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the UpdateSnapshotScheduleRequest method. req, resp := client.UpdateSnapshotScheduleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSnapshotSchedule
func (*StorageGateway) UpdateVTLDeviceType ¶
func (c *StorageGateway) UpdateVTLDeviceType(input *UpdateVTLDeviceTypeInput) (*UpdateVTLDeviceTypeOutput, error)
UpdateVTLDeviceType API operation for AWS Storage Gateway.
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.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS Storage Gateway's API operation UpdateVTLDeviceType for usage and error information.
Returned Error Codes:
InvalidGatewayRequestException An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
InternalServerError An internal server error has occurred during the request. For more information, see the error and message fields.
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateVTLDeviceType
Example ¶
package main import ( "fmt" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/storagegateway" ) func main() { sess, err := session.NewSession() if err != nil { fmt.Println("failed to create session,", err) return } svc := storagegateway.New(sess) params := &storagegateway.UpdateVTLDeviceTypeInput{ DeviceType: aws.String("DeviceType"), // Required VTLDeviceARN: aws.String("VTLDeviceARN"), // Required } resp, err := svc.UpdateVTLDeviceType(params) if err != nil { // Print the error, cast err to awserr.Error to get the Code and // Message from an error. fmt.Println(err.Error()) return } // Pretty-print the response data. fmt.Println(resp) }
Output:
func (*StorageGateway) UpdateVTLDeviceTypeRequest ¶
func (c *StorageGateway) UpdateVTLDeviceTypeRequest(input *UpdateVTLDeviceTypeInput) (req *request.Request, output *UpdateVTLDeviceTypeOutput)
UpdateVTLDeviceTypeRequest generates a "aws/request.Request" representing the client's request for the UpdateVTLDeviceType operation. The "output" return value can be used to capture response data after the request's "Send" method is called.
See UpdateVTLDeviceType for usage and error information.
Creating a request object using this method should be used when you want to inject custom logic into the request's lifecycle using a custom handler, or if you want to access properties on the request object before or after sending the request. If you just want the service response, call the UpdateVTLDeviceType method directly instead.
Note: You must call the "Send" method on the returned request object in order to execute the request.
// Example sending a request using the UpdateVTLDeviceTypeRequest method. req, resp := client.UpdateVTLDeviceTypeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateVTLDeviceType
type StorediSCSIVolume ¶
type StorediSCSIVolume struct { PreservedExistingData *bool `type:"boolean"` SourceSnapshotId *string `type:"string"` VolumeARN *string `min:"50" type:"string"` VolumeDiskId *string `min:"1" type:"string"` VolumeId *string `min:"12" type:"string"` VolumeProgress *float64 `type:"double"` VolumeSizeInBytes *int64 `type:"long"` VolumeStatus *string `min:"3" type:"string"` VolumeType *string `min:"3" type:"string"` // Lists iSCSI information about a volume. VolumeiSCSIAttributes *VolumeiSCSIAttributes `type:"structure"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StorediSCSIVolume
func (StorediSCSIVolume) GoString ¶ added in v0.6.5
func (s StorediSCSIVolume) GoString() string
GoString returns the string representation
func (*StorediSCSIVolume) SetPreservedExistingData ¶ added in v1.5.0
func (s *StorediSCSIVolume) SetPreservedExistingData(v bool) *StorediSCSIVolume
SetPreservedExistingData sets the PreservedExistingData field's value.
func (*StorediSCSIVolume) SetSourceSnapshotId ¶ added in v1.5.0
func (s *StorediSCSIVolume) SetSourceSnapshotId(v string) *StorediSCSIVolume
SetSourceSnapshotId sets the SourceSnapshotId field's value.
func (*StorediSCSIVolume) SetVolumeARN ¶ added in v1.5.0
func (s *StorediSCSIVolume) SetVolumeARN(v string) *StorediSCSIVolume
SetVolumeARN sets the VolumeARN field's value.
func (*StorediSCSIVolume) SetVolumeDiskId ¶ added in v1.5.0
func (s *StorediSCSIVolume) SetVolumeDiskId(v string) *StorediSCSIVolume
SetVolumeDiskId sets the VolumeDiskId field's value.
func (*StorediSCSIVolume) SetVolumeId ¶ added in v1.5.0
func (s *StorediSCSIVolume) SetVolumeId(v string) *StorediSCSIVolume
SetVolumeId sets the VolumeId field's value.
func (*StorediSCSIVolume) SetVolumeProgress ¶ added in v1.5.0
func (s *StorediSCSIVolume) SetVolumeProgress(v float64) *StorediSCSIVolume
SetVolumeProgress sets the VolumeProgress field's value.
func (*StorediSCSIVolume) SetVolumeSizeInBytes ¶ added in v1.5.0
func (s *StorediSCSIVolume) SetVolumeSizeInBytes(v int64) *StorediSCSIVolume
SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value.
func (*StorediSCSIVolume) SetVolumeStatus ¶ added in v1.5.0
func (s *StorediSCSIVolume) SetVolumeStatus(v string) *StorediSCSIVolume
SetVolumeStatus sets the VolumeStatus field's value.
func (*StorediSCSIVolume) SetVolumeType ¶ added in v1.5.0
func (s *StorediSCSIVolume) SetVolumeType(v string) *StorediSCSIVolume
SetVolumeType sets the VolumeType field's value.
func (*StorediSCSIVolume) SetVolumeiSCSIAttributes ¶ added in v1.5.0
func (s *StorediSCSIVolume) SetVolumeiSCSIAttributes(v *VolumeiSCSIAttributes) *StorediSCSIVolume
SetVolumeiSCSIAttributes sets the VolumeiSCSIAttributes field's value.
func (StorediSCSIVolume) String ¶ added in v0.6.5
func (s StorediSCSIVolume) String() string
String returns the string representation
type Tag ¶ added in v0.9.5
type Tag struct { // Key is a required field Key *string `min:"1" type:"string" required:"true"` // Value is a required field Value *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/Tag
type Tape ¶
type Tape struct { // For archiving virtual tapes, indicates how much data remains to be uploaded // before archiving is complete. // // Range: 0 (not started) to 100 (complete). Progress *float64 `type:"double"` // The Amazon Resource Name (ARN) of the virtual tape. TapeARN *string `min:"50" type:"string"` // The barcode that identifies a specific virtual tape. TapeBarcode *string `min:"7" type:"string"` // The size, in bytes, of the virtual tape. TapeSizeInBytes *int64 `type:"long"` // The current state of the virtual tape. TapeStatus *string `type:"string"` // The virtual tape library (VTL) device that the virtual tape is associated // with. VTLDevice *string `min:"50" type:"string"` // contains filtered or unexported fields }
Describes a virtual tape object. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/Tape
func (*Tape) SetProgress ¶ added in v1.5.0
SetProgress sets the Progress field's value.
func (*Tape) SetTapeARN ¶ added in v1.5.0
SetTapeARN sets the TapeARN field's value.
func (*Tape) SetTapeBarcode ¶ added in v1.5.0
SetTapeBarcode sets the TapeBarcode field's value.
func (*Tape) SetTapeSizeInBytes ¶ added in v1.5.0
SetTapeSizeInBytes sets the TapeSizeInBytes field's value.
func (*Tape) SetTapeStatus ¶ added in v1.5.0
SetTapeStatus sets the TapeStatus field's value.
func (*Tape) SetVTLDevice ¶ added in v1.5.0
SetVTLDevice sets the VTLDevice field's value.
type TapeArchive ¶
type TapeArchive struct { // 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. CompletionTime *time.Time `type:"timestamp" timestampFormat:"unix"` // 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). RetrievedTo *string `min:"50" type:"string"` // The Amazon Resource Name (ARN) of an archived virtual tape. TapeARN *string `min:"50" type:"string"` // The barcode that identifies the archived virtual tape. TapeBarcode *string `min:"7" type:"string"` // The size, in bytes, of the archived virtual tape. TapeSizeInBytes *int64 `type:"long"` // The current state of the archived virtual tape. TapeStatus *string `type:"string"` // contains filtered or unexported fields }
Represents a virtual tape that is archived in the virtual tape shelf (VTS). Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/TapeArchive
func (TapeArchive) GoString ¶ added in v0.6.5
func (s TapeArchive) GoString() string
GoString returns the string representation
func (*TapeArchive) SetCompletionTime ¶ added in v1.5.0
func (s *TapeArchive) SetCompletionTime(v time.Time) *TapeArchive
SetCompletionTime sets the CompletionTime field's value.
func (*TapeArchive) SetRetrievedTo ¶ added in v1.5.0
func (s *TapeArchive) SetRetrievedTo(v string) *TapeArchive
SetRetrievedTo sets the RetrievedTo field's value.
func (*TapeArchive) SetTapeARN ¶ added in v1.5.0
func (s *TapeArchive) SetTapeARN(v string) *TapeArchive
SetTapeARN sets the TapeARN field's value.
func (*TapeArchive) SetTapeBarcode ¶ added in v1.5.0
func (s *TapeArchive) SetTapeBarcode(v string) *TapeArchive
SetTapeBarcode sets the TapeBarcode field's value.
func (*TapeArchive) SetTapeSizeInBytes ¶ added in v1.5.0
func (s *TapeArchive) SetTapeSizeInBytes(v int64) *TapeArchive
SetTapeSizeInBytes sets the TapeSizeInBytes field's value.
func (*TapeArchive) SetTapeStatus ¶ added in v1.5.0
func (s *TapeArchive) SetTapeStatus(v string) *TapeArchive
SetTapeStatus sets the TapeStatus field's value.
func (TapeArchive) String ¶ added in v0.6.5
func (s TapeArchive) String() string
String returns the string representation
type TapeInfo ¶ added in v1.1.25
type TapeInfo struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // The Amazon Resource Name (ARN) of a virtual tape. TapeARN *string `min:"50" type:"string"` // The barcode that identifies a specific virtual tape. TapeBarcode *string `min:"7" type:"string"` // The size, in bytes, of a virtual tape. TapeSizeInBytes *int64 `type:"long"` // The status of the tape. TapeStatus *string `type:"string"` // contains filtered or unexported fields }
Describes a virtual tape. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/TapeInfo
func (*TapeInfo) SetGatewayARN ¶ added in v1.5.0
SetGatewayARN sets the GatewayARN field's value.
func (*TapeInfo) SetTapeARN ¶ added in v1.5.0
SetTapeARN sets the TapeARN field's value.
func (*TapeInfo) SetTapeBarcode ¶ added in v1.5.0
SetTapeBarcode sets the TapeBarcode field's value.
func (*TapeInfo) SetTapeSizeInBytes ¶ added in v1.5.0
SetTapeSizeInBytes sets the TapeSizeInBytes field's value.
func (*TapeInfo) SetTapeStatus ¶ added in v1.5.0
SetTapeStatus sets the TapeStatus field's value.
type TapeRecoveryPointInfo ¶
type TapeRecoveryPointInfo struct { // The Amazon Resource Name (ARN) of the virtual tape. TapeARN *string `min:"50" type:"string"` // 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. TapeRecoveryPointTime *time.Time `type:"timestamp" timestampFormat:"unix"` // The size, in bytes, of the virtual tapes to recover. TapeSizeInBytes *int64 `type:"long"` TapeStatus *string `type:"string"` // contains filtered or unexported fields }
Describes a recovery point. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/TapeRecoveryPointInfo
func (TapeRecoveryPointInfo) GoString ¶ added in v0.6.5
func (s TapeRecoveryPointInfo) GoString() string
GoString returns the string representation
func (*TapeRecoveryPointInfo) SetTapeARN ¶ added in v1.5.0
func (s *TapeRecoveryPointInfo) SetTapeARN(v string) *TapeRecoveryPointInfo
SetTapeARN sets the TapeARN field's value.
func (*TapeRecoveryPointInfo) SetTapeRecoveryPointTime ¶ added in v1.5.0
func (s *TapeRecoveryPointInfo) SetTapeRecoveryPointTime(v time.Time) *TapeRecoveryPointInfo
SetTapeRecoveryPointTime sets the TapeRecoveryPointTime field's value.
func (*TapeRecoveryPointInfo) SetTapeSizeInBytes ¶ added in v1.5.0
func (s *TapeRecoveryPointInfo) SetTapeSizeInBytes(v int64) *TapeRecoveryPointInfo
SetTapeSizeInBytes sets the TapeSizeInBytes field's value.
func (*TapeRecoveryPointInfo) SetTapeStatus ¶ added in v1.5.0
func (s *TapeRecoveryPointInfo) SetTapeStatus(v string) *TapeRecoveryPointInfo
SetTapeStatus sets the TapeStatus field's value.
func (TapeRecoveryPointInfo) String ¶ added in v0.6.5
func (s TapeRecoveryPointInfo) String() string
String returns the string representation
type UpdateBandwidthRateLimitInput ¶
type UpdateBandwidthRateLimitInput struct { // The average download bandwidth rate limit in bits per second. AverageDownloadRateLimitInBitsPerSec *int64 `min:"102400" type:"long"` // The average upload bandwidth rate limit in bits per second. AverageUploadRateLimitInBitsPerSec *int64 `min:"51200" type:"long"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing one or more of the following fields:
UpdateBandwidthRateLimitInput$AverageDownloadRateLimitInBitsPerSec
UpdateBandwidthRateLimitInput$AverageUploadRateLimitInBitsPerSec
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateBandwidthRateLimitInput
func (UpdateBandwidthRateLimitInput) GoString ¶ added in v0.6.5
func (s UpdateBandwidthRateLimitInput) GoString() string
GoString returns the string representation
func (*UpdateBandwidthRateLimitInput) SetAverageDownloadRateLimitInBitsPerSec ¶ added in v1.5.0
func (s *UpdateBandwidthRateLimitInput) SetAverageDownloadRateLimitInBitsPerSec(v int64) *UpdateBandwidthRateLimitInput
SetAverageDownloadRateLimitInBitsPerSec sets the AverageDownloadRateLimitInBitsPerSec field's value.
func (*UpdateBandwidthRateLimitInput) SetAverageUploadRateLimitInBitsPerSec ¶ added in v1.5.0
func (s *UpdateBandwidthRateLimitInput) SetAverageUploadRateLimitInBitsPerSec(v int64) *UpdateBandwidthRateLimitInput
SetAverageUploadRateLimitInBitsPerSec sets the AverageUploadRateLimitInBitsPerSec field's value.
func (*UpdateBandwidthRateLimitInput) SetGatewayARN ¶ added in v1.5.0
func (s *UpdateBandwidthRateLimitInput) SetGatewayARN(v string) *UpdateBandwidthRateLimitInput
SetGatewayARN sets the GatewayARN field's value.
func (UpdateBandwidthRateLimitInput) String ¶ added in v0.6.5
func (s UpdateBandwidthRateLimitInput) String() string
String returns the string representation
func (*UpdateBandwidthRateLimitInput) Validate ¶ added in v1.1.21
func (s *UpdateBandwidthRateLimitInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateBandwidthRateLimitOutput ¶
type UpdateBandwidthRateLimitOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the of the gateway whose throttle information was updated. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateBandwidthRateLimitOutput
func (UpdateBandwidthRateLimitOutput) GoString ¶ added in v0.6.5
func (s UpdateBandwidthRateLimitOutput) GoString() string
GoString returns the string representation
func (*UpdateBandwidthRateLimitOutput) SetGatewayARN ¶ added in v1.5.0
func (s *UpdateBandwidthRateLimitOutput) SetGatewayARN(v string) *UpdateBandwidthRateLimitOutput
SetGatewayARN sets the GatewayARN field's value.
func (UpdateBandwidthRateLimitOutput) String ¶ added in v0.6.5
func (s UpdateBandwidthRateLimitOutput) String() string
String returns the string representation
type UpdateChapCredentialsInput ¶
type UpdateChapCredentialsInput struct { // The iSCSI initiator that connects to the target. // // InitiatorName is a required field InitiatorName *string `min:"1" type:"string" required:"true"` // 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. // // SecretToAuthenticateInitiator is a required field SecretToAuthenticateInitiator *string `min:"1" type:"string" required:"true"` // 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. SecretToAuthenticateTarget *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes // operation to return the TargetARN for specified VolumeARN. // // TargetARN is a required field TargetARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing one or more of the following fields:
UpdateChapCredentialsInput$InitiatorName
UpdateChapCredentialsInput$SecretToAuthenticateInitiator
UpdateChapCredentialsInput$SecretToAuthenticateTarget
UpdateChapCredentialsInput$TargetARN
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateChapCredentialsInput
func (UpdateChapCredentialsInput) GoString ¶ added in v0.6.5
func (s UpdateChapCredentialsInput) GoString() string
GoString returns the string representation
func (*UpdateChapCredentialsInput) SetInitiatorName ¶ added in v1.5.0
func (s *UpdateChapCredentialsInput) SetInitiatorName(v string) *UpdateChapCredentialsInput
SetInitiatorName sets the InitiatorName field's value.
func (*UpdateChapCredentialsInput) SetSecretToAuthenticateInitiator ¶ added in v1.5.0
func (s *UpdateChapCredentialsInput) SetSecretToAuthenticateInitiator(v string) *UpdateChapCredentialsInput
SetSecretToAuthenticateInitiator sets the SecretToAuthenticateInitiator field's value.
func (*UpdateChapCredentialsInput) SetSecretToAuthenticateTarget ¶ added in v1.5.0
func (s *UpdateChapCredentialsInput) SetSecretToAuthenticateTarget(v string) *UpdateChapCredentialsInput
SetSecretToAuthenticateTarget sets the SecretToAuthenticateTarget field's value.
func (*UpdateChapCredentialsInput) SetTargetARN ¶ added in v1.5.0
func (s *UpdateChapCredentialsInput) SetTargetARN(v string) *UpdateChapCredentialsInput
SetTargetARN sets the TargetARN field's value.
func (UpdateChapCredentialsInput) String ¶ added in v0.6.5
func (s UpdateChapCredentialsInput) String() string
String returns the string representation
func (*UpdateChapCredentialsInput) Validate ¶ added in v1.1.21
func (s *UpdateChapCredentialsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateChapCredentialsOutput ¶
type UpdateChapCredentialsOutput struct { // The iSCSI initiator that connects to the target. This is the same initiator // name specified in the request. InitiatorName *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the target. This is the same target specified // in the request. TargetARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the following fields: Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateChapCredentialsOutput
func (UpdateChapCredentialsOutput) GoString ¶ added in v0.6.5
func (s UpdateChapCredentialsOutput) GoString() string
GoString returns the string representation
func (*UpdateChapCredentialsOutput) SetInitiatorName ¶ added in v1.5.0
func (s *UpdateChapCredentialsOutput) SetInitiatorName(v string) *UpdateChapCredentialsOutput
SetInitiatorName sets the InitiatorName field's value.
func (*UpdateChapCredentialsOutput) SetTargetARN ¶ added in v1.5.0
func (s *UpdateChapCredentialsOutput) SetTargetARN(v string) *UpdateChapCredentialsOutput
SetTargetARN sets the TargetARN field's value.
func (UpdateChapCredentialsOutput) String ¶ added in v0.6.5
func (s UpdateChapCredentialsOutput) String() string
String returns the string representation
type UpdateGatewayInformationInput ¶
type UpdateGatewayInformationInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The name you configured for your gateway. GatewayName *string `min:"2" type:"string"` GatewayTimezone *string `min:"3" type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewayInformationInput
func (UpdateGatewayInformationInput) GoString ¶ added in v0.6.5
func (s UpdateGatewayInformationInput) GoString() string
GoString returns the string representation
func (*UpdateGatewayInformationInput) SetGatewayARN ¶ added in v1.5.0
func (s *UpdateGatewayInformationInput) SetGatewayARN(v string) *UpdateGatewayInformationInput
SetGatewayARN sets the GatewayARN field's value.
func (*UpdateGatewayInformationInput) SetGatewayName ¶ added in v1.5.0
func (s *UpdateGatewayInformationInput) SetGatewayName(v string) *UpdateGatewayInformationInput
SetGatewayName sets the GatewayName field's value.
func (*UpdateGatewayInformationInput) SetGatewayTimezone ¶ added in v1.5.0
func (s *UpdateGatewayInformationInput) SetGatewayTimezone(v string) *UpdateGatewayInformationInput
SetGatewayTimezone sets the GatewayTimezone field's value.
func (UpdateGatewayInformationInput) String ¶ added in v0.6.5
func (s UpdateGatewayInformationInput) String() string
String returns the string representation
func (*UpdateGatewayInformationInput) Validate ¶ added in v1.1.21
func (s *UpdateGatewayInformationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateGatewayInformationOutput ¶
type UpdateGatewayInformationOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` GatewayName *string `type:"string"` // contains filtered or unexported fields }
A JSON object containing the ARN of the gateway that was updated. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewayInformationOutput
func (UpdateGatewayInformationOutput) GoString ¶ added in v0.6.5
func (s UpdateGatewayInformationOutput) GoString() string
GoString returns the string representation
func (*UpdateGatewayInformationOutput) SetGatewayARN ¶ added in v1.5.0
func (s *UpdateGatewayInformationOutput) SetGatewayARN(v string) *UpdateGatewayInformationOutput
SetGatewayARN sets the GatewayARN field's value.
func (*UpdateGatewayInformationOutput) SetGatewayName ¶ added in v1.5.0
func (s *UpdateGatewayInformationOutput) SetGatewayName(v string) *UpdateGatewayInformationOutput
SetGatewayName sets the GatewayName field's value.
func (UpdateGatewayInformationOutput) String ¶ added in v0.6.5
func (s UpdateGatewayInformationOutput) String() string
String returns the string representation
type UpdateGatewaySoftwareNowInput ¶
type UpdateGatewaySoftwareNowInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the of the gateway to update. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewaySoftwareNowInput
func (UpdateGatewaySoftwareNowInput) GoString ¶ added in v0.6.5
func (s UpdateGatewaySoftwareNowInput) GoString() string
GoString returns the string representation
func (*UpdateGatewaySoftwareNowInput) SetGatewayARN ¶ added in v1.5.0
func (s *UpdateGatewaySoftwareNowInput) SetGatewayARN(v string) *UpdateGatewaySoftwareNowInput
SetGatewayARN sets the GatewayARN field's value.
func (UpdateGatewaySoftwareNowInput) String ¶ added in v0.6.5
func (s UpdateGatewaySoftwareNowInput) String() string
String returns the string representation
func (*UpdateGatewaySoftwareNowInput) Validate ¶ added in v1.1.21
func (s *UpdateGatewaySoftwareNowInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateGatewaySoftwareNowOutput ¶
type UpdateGatewaySoftwareNowOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the of the gateway that was updated. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewaySoftwareNowOutput
func (UpdateGatewaySoftwareNowOutput) GoString ¶ added in v0.6.5
func (s UpdateGatewaySoftwareNowOutput) GoString() string
GoString returns the string representation
func (*UpdateGatewaySoftwareNowOutput) SetGatewayARN ¶ added in v1.5.0
func (s *UpdateGatewaySoftwareNowOutput) SetGatewayARN(v string) *UpdateGatewaySoftwareNowOutput
SetGatewayARN sets the GatewayARN field's value.
func (UpdateGatewaySoftwareNowOutput) String ¶ added in v0.6.5
func (s UpdateGatewaySoftwareNowOutput) String() string
String returns the string representation
type UpdateMaintenanceStartTimeInput ¶
type UpdateMaintenanceStartTimeInput struct { // The maintenance start time day of the week. // // DayOfWeek is a required field DayOfWeek *int64 `type:"integer" required:"true"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // 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. // // HourOfDay is a required field HourOfDay *int64 `type:"integer" required:"true"` // 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. // // MinuteOfHour is a required field MinuteOfHour *int64 `type:"integer" required:"true"` // contains filtered or unexported fields }
A JSON object containing the following fields:
UpdateMaintenanceStartTimeInput$DayOfWeek
UpdateMaintenanceStartTimeInput$HourOfDay
UpdateMaintenanceStartTimeInput$MinuteOfHour
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateMaintenanceStartTimeInput
func (UpdateMaintenanceStartTimeInput) GoString ¶ added in v0.6.5
func (s UpdateMaintenanceStartTimeInput) GoString() string
GoString returns the string representation
func (*UpdateMaintenanceStartTimeInput) SetDayOfWeek ¶ added in v1.5.0
func (s *UpdateMaintenanceStartTimeInput) SetDayOfWeek(v int64) *UpdateMaintenanceStartTimeInput
SetDayOfWeek sets the DayOfWeek field's value.
func (*UpdateMaintenanceStartTimeInput) SetGatewayARN ¶ added in v1.5.0
func (s *UpdateMaintenanceStartTimeInput) SetGatewayARN(v string) *UpdateMaintenanceStartTimeInput
SetGatewayARN sets the GatewayARN field's value.
func (*UpdateMaintenanceStartTimeInput) SetHourOfDay ¶ added in v1.5.0
func (s *UpdateMaintenanceStartTimeInput) SetHourOfDay(v int64) *UpdateMaintenanceStartTimeInput
SetHourOfDay sets the HourOfDay field's value.
func (*UpdateMaintenanceStartTimeInput) SetMinuteOfHour ¶ added in v1.5.0
func (s *UpdateMaintenanceStartTimeInput) SetMinuteOfHour(v int64) *UpdateMaintenanceStartTimeInput
SetMinuteOfHour sets the MinuteOfHour field's value.
func (UpdateMaintenanceStartTimeInput) String ¶ added in v0.6.5
func (s UpdateMaintenanceStartTimeInput) String() string
String returns the string representation
func (*UpdateMaintenanceStartTimeInput) Validate ¶ added in v1.1.21
func (s *UpdateMaintenanceStartTimeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateMaintenanceStartTimeOutput ¶
type UpdateMaintenanceStartTimeOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the of the gateway whose maintenance start time is updated. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateMaintenanceStartTimeOutput
func (UpdateMaintenanceStartTimeOutput) GoString ¶ added in v0.6.5
func (s UpdateMaintenanceStartTimeOutput) GoString() string
GoString returns the string representation
func (*UpdateMaintenanceStartTimeOutput) SetGatewayARN ¶ added in v1.5.0
func (s *UpdateMaintenanceStartTimeOutput) SetGatewayARN(v string) *UpdateMaintenanceStartTimeOutput
SetGatewayARN sets the GatewayARN field's value.
func (UpdateMaintenanceStartTimeOutput) String ¶ added in v0.6.5
func (s UpdateMaintenanceStartTimeOutput) String() string
String returns the string representation
type UpdateSnapshotScheduleInput ¶
type UpdateSnapshotScheduleInput struct { // Optional description of the snapshot that overwrites the existing description. Description *string `min:"1" type:"string"` // Frequency of snapshots. Specify the number of hours between snapshots. // // RecurrenceInHours is a required field RecurrenceInHours *int64 `min:"1" type:"integer" required:"true"` // 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. // // StartAt is a required field StartAt *int64 `type:"integer" required:"true"` // The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation // to return a list of gateway volumes. // // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing one or more of the following fields:
UpdateSnapshotScheduleInput$Description
UpdateSnapshotScheduleInput$RecurrenceInHours
UpdateSnapshotScheduleInput$StartAt
UpdateSnapshotScheduleInput$VolumeARN
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSnapshotScheduleInput
func (UpdateSnapshotScheduleInput) GoString ¶ added in v0.6.5
func (s UpdateSnapshotScheduleInput) GoString() string
GoString returns the string representation
func (*UpdateSnapshotScheduleInput) SetDescription ¶ added in v1.5.0
func (s *UpdateSnapshotScheduleInput) SetDescription(v string) *UpdateSnapshotScheduleInput
SetDescription sets the Description field's value.
func (*UpdateSnapshotScheduleInput) SetRecurrenceInHours ¶ added in v1.5.0
func (s *UpdateSnapshotScheduleInput) SetRecurrenceInHours(v int64) *UpdateSnapshotScheduleInput
SetRecurrenceInHours sets the RecurrenceInHours field's value.
func (*UpdateSnapshotScheduleInput) SetStartAt ¶ added in v1.5.0
func (s *UpdateSnapshotScheduleInput) SetStartAt(v int64) *UpdateSnapshotScheduleInput
SetStartAt sets the StartAt field's value.
func (*UpdateSnapshotScheduleInput) SetVolumeARN ¶ added in v1.5.0
func (s *UpdateSnapshotScheduleInput) SetVolumeARN(v string) *UpdateSnapshotScheduleInput
SetVolumeARN sets the VolumeARN field's value.
func (UpdateSnapshotScheduleInput) String ¶ added in v0.6.5
func (s UpdateSnapshotScheduleInput) String() string
String returns the string representation
func (*UpdateSnapshotScheduleInput) Validate ¶ added in v1.1.21
func (s *UpdateSnapshotScheduleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateSnapshotScheduleOutput ¶
type UpdateSnapshotScheduleOutput struct { VolumeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the of the updated storage volume. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSnapshotScheduleOutput
func (UpdateSnapshotScheduleOutput) GoString ¶ added in v0.6.5
func (s UpdateSnapshotScheduleOutput) GoString() string
GoString returns the string representation
func (*UpdateSnapshotScheduleOutput) SetVolumeARN ¶ added in v1.5.0
func (s *UpdateSnapshotScheduleOutput) SetVolumeARN(v string) *UpdateSnapshotScheduleOutput
SetVolumeARN sets the VolumeARN field's value.
func (UpdateSnapshotScheduleOutput) String ¶ added in v0.6.5
func (s UpdateSnapshotScheduleOutput) String() string
String returns the string representation
type UpdateVTLDeviceTypeInput ¶
type UpdateVTLDeviceTypeInput struct { // The type of medium changer you want to select. // // Valid Values: "STK-L700", "AWS-Gateway-VTL" // // DeviceType is a required field DeviceType *string `min:"2" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the medium changer you want to select. // // VTLDeviceARN is a required field VTLDeviceARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateVTLDeviceTypeInput
func (UpdateVTLDeviceTypeInput) GoString ¶ added in v0.6.5
func (s UpdateVTLDeviceTypeInput) GoString() string
GoString returns the string representation
func (*UpdateVTLDeviceTypeInput) SetDeviceType ¶ added in v1.5.0
func (s *UpdateVTLDeviceTypeInput) SetDeviceType(v string) *UpdateVTLDeviceTypeInput
SetDeviceType sets the DeviceType field's value.
func (*UpdateVTLDeviceTypeInput) SetVTLDeviceARN ¶ added in v1.5.0
func (s *UpdateVTLDeviceTypeInput) SetVTLDeviceARN(v string) *UpdateVTLDeviceTypeInput
SetVTLDeviceARN sets the VTLDeviceARN field's value.
func (UpdateVTLDeviceTypeInput) String ¶ added in v0.6.5
func (s UpdateVTLDeviceTypeInput) String() string
String returns the string representation
func (*UpdateVTLDeviceTypeInput) Validate ¶ added in v1.1.21
func (s *UpdateVTLDeviceTypeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateVTLDeviceTypeOutput ¶
type UpdateVTLDeviceTypeOutput struct { // The Amazon Resource Name (ARN) of the medium changer you have selected. VTLDeviceARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
UpdateVTLDeviceTypeOutput Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateVTLDeviceTypeOutput
func (UpdateVTLDeviceTypeOutput) GoString ¶ added in v0.6.5
func (s UpdateVTLDeviceTypeOutput) GoString() string
GoString returns the string representation
func (*UpdateVTLDeviceTypeOutput) SetVTLDeviceARN ¶ added in v1.5.0
func (s *UpdateVTLDeviceTypeOutput) SetVTLDeviceARN(v string) *UpdateVTLDeviceTypeOutput
SetVTLDeviceARN sets the VTLDeviceARN field's value.
func (UpdateVTLDeviceTypeOutput) String ¶ added in v0.6.5
func (s UpdateVTLDeviceTypeOutput) String() string
String returns the string representation
type VTLDevice ¶
type VTLDevice struct { // A list of iSCSI information about a VTL device. DeviceiSCSIAttributes *DeviceiSCSIAttributes `type:"structure"` // Specifies the unique Amazon Resource Name (ARN) of the device (tape drive // or media changer). VTLDeviceARN *string `min:"50" type:"string"` VTLDeviceProductIdentifier *string `type:"string"` VTLDeviceType *string `type:"string"` VTLDeviceVendor *string `type:"string"` // contains filtered or unexported fields }
Represents a device object associated with a gateway-VTL. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/VTLDevice
func (*VTLDevice) SetDeviceiSCSIAttributes ¶ added in v1.5.0
func (s *VTLDevice) SetDeviceiSCSIAttributes(v *DeviceiSCSIAttributes) *VTLDevice
SetDeviceiSCSIAttributes sets the DeviceiSCSIAttributes field's value.
func (*VTLDevice) SetVTLDeviceARN ¶ added in v1.5.0
SetVTLDeviceARN sets the VTLDeviceARN field's value.
func (*VTLDevice) SetVTLDeviceProductIdentifier ¶ added in v1.5.0
SetVTLDeviceProductIdentifier sets the VTLDeviceProductIdentifier field's value.
func (*VTLDevice) SetVTLDeviceType ¶ added in v1.5.0
SetVTLDeviceType sets the VTLDeviceType field's value.
func (*VTLDevice) SetVTLDeviceVendor ¶ added in v1.5.0
SetVTLDeviceVendor sets the VTLDeviceVendor field's value.
type VolumeInfo ¶
type VolumeInfo struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and region. GatewayARN *string `min:"50" type:"string"` // 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 // (-). GatewayId *string `min:"12" type:"string"` // 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 // (-). VolumeARN *string `min:"50" type:"string"` // 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 // (-). VolumeId *string `min:"12" type:"string"` // The size, in bytes, of the volume. // // Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens // (-). VolumeSizeInBytes *int64 `type:"long"` VolumeType *string `min:"3" type:"string"` // contains filtered or unexported fields }
Describes a storage volume object. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/VolumeInfo
func (VolumeInfo) GoString ¶ added in v0.6.5
func (s VolumeInfo) GoString() string
GoString returns the string representation
func (*VolumeInfo) SetGatewayARN ¶ added in v1.5.0
func (s *VolumeInfo) SetGatewayARN(v string) *VolumeInfo
SetGatewayARN sets the GatewayARN field's value.
func (*VolumeInfo) SetGatewayId ¶ added in v1.5.0
func (s *VolumeInfo) SetGatewayId(v string) *VolumeInfo
SetGatewayId sets the GatewayId field's value.
func (*VolumeInfo) SetVolumeARN ¶ added in v1.5.0
func (s *VolumeInfo) SetVolumeARN(v string) *VolumeInfo
SetVolumeARN sets the VolumeARN field's value.
func (*VolumeInfo) SetVolumeId ¶ added in v1.5.0
func (s *VolumeInfo) SetVolumeId(v string) *VolumeInfo
SetVolumeId sets the VolumeId field's value.
func (*VolumeInfo) SetVolumeSizeInBytes ¶ added in v1.5.0
func (s *VolumeInfo) SetVolumeSizeInBytes(v int64) *VolumeInfo
SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value.
func (*VolumeInfo) SetVolumeType ¶ added in v1.5.0
func (s *VolumeInfo) SetVolumeType(v string) *VolumeInfo
SetVolumeType sets the VolumeType field's value.
func (VolumeInfo) String ¶ added in v0.6.5
func (s VolumeInfo) String() string
String returns the string representation
type VolumeRecoveryPointInfo ¶
type VolumeRecoveryPointInfo struct { VolumeARN *string `min:"50" type:"string"` VolumeRecoveryPointTime *string `type:"string"` VolumeSizeInBytes *int64 `type:"long"` VolumeUsageInBytes *int64 `type:"long"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/VolumeRecoveryPointInfo
func (VolumeRecoveryPointInfo) GoString ¶ added in v0.6.5
func (s VolumeRecoveryPointInfo) GoString() string
GoString returns the string representation
func (*VolumeRecoveryPointInfo) SetVolumeARN ¶ added in v1.5.0
func (s *VolumeRecoveryPointInfo) SetVolumeARN(v string) *VolumeRecoveryPointInfo
SetVolumeARN sets the VolumeARN field's value.
func (*VolumeRecoveryPointInfo) SetVolumeRecoveryPointTime ¶ added in v1.5.0
func (s *VolumeRecoveryPointInfo) SetVolumeRecoveryPointTime(v string) *VolumeRecoveryPointInfo
SetVolumeRecoveryPointTime sets the VolumeRecoveryPointTime field's value.
func (*VolumeRecoveryPointInfo) SetVolumeSizeInBytes ¶ added in v1.5.0
func (s *VolumeRecoveryPointInfo) SetVolumeSizeInBytes(v int64) *VolumeRecoveryPointInfo
SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value.
func (*VolumeRecoveryPointInfo) SetVolumeUsageInBytes ¶ added in v1.5.0
func (s *VolumeRecoveryPointInfo) SetVolumeUsageInBytes(v int64) *VolumeRecoveryPointInfo
SetVolumeUsageInBytes sets the VolumeUsageInBytes field's value.
func (VolumeRecoveryPointInfo) String ¶ added in v0.6.5
func (s VolumeRecoveryPointInfo) String() string
String returns the string representation
type VolumeiSCSIAttributes ¶
type VolumeiSCSIAttributes struct { // Indicates whether mutual CHAP is enabled for the iSCSI target. ChapEnabled *bool `type:"boolean"` // The logical disk number. LunNumber *int64 `min:"1" type:"integer"` // The network interface identifier. NetworkInterfaceId *string `type:"string"` // The port used to communicate with iSCSI targets. NetworkInterfacePort *int64 `type:"integer"` // The Amazon Resource Name (ARN) of the volume target. TargetARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
Lists iSCSI information about a volume. Please also see https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/VolumeiSCSIAttributes
func (VolumeiSCSIAttributes) GoString ¶ added in v0.6.5
func (s VolumeiSCSIAttributes) GoString() string
GoString returns the string representation
func (*VolumeiSCSIAttributes) SetChapEnabled ¶ added in v1.5.0
func (s *VolumeiSCSIAttributes) SetChapEnabled(v bool) *VolumeiSCSIAttributes
SetChapEnabled sets the ChapEnabled field's value.
func (*VolumeiSCSIAttributes) SetLunNumber ¶ added in v1.5.0
func (s *VolumeiSCSIAttributes) SetLunNumber(v int64) *VolumeiSCSIAttributes
SetLunNumber sets the LunNumber field's value.
func (*VolumeiSCSIAttributes) SetNetworkInterfaceId ¶ added in v1.5.0
func (s *VolumeiSCSIAttributes) SetNetworkInterfaceId(v string) *VolumeiSCSIAttributes
SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
func (*VolumeiSCSIAttributes) SetNetworkInterfacePort ¶ added in v1.5.0
func (s *VolumeiSCSIAttributes) SetNetworkInterfacePort(v int64) *VolumeiSCSIAttributes
SetNetworkInterfacePort sets the NetworkInterfacePort field's value.
func (*VolumeiSCSIAttributes) SetTargetARN ¶ added in v1.5.0
func (s *VolumeiSCSIAttributes) SetTargetARN(v string) *VolumeiSCSIAttributes
SetTargetARN sets the TargetARN field's value.
func (VolumeiSCSIAttributes) String ¶ added in v0.6.5
func (s VolumeiSCSIAttributes) String() string
String returns the string representation
Directories ¶
Path | Synopsis |
---|---|
Package storagegatewayiface provides an interface to enable mocking the AWS Storage Gateway service client for testing your code.
|
Package storagegatewayiface provides an interface to enable mocking the AWS Storage Gateway service client for testing your code. |