func ActiveDirectoryStatus_Values() []string
ActiveDirectoryStatus_Values returns all elements of the ActiveDirectoryStatus enum
func AvailabilityMonitorTestStatus_Values() []string
AvailabilityMonitorTestStatus_Values returns all elements of the AvailabilityMonitorTestStatus enum
func CaseSensitivity_Values() []string
CaseSensitivity_Values returns all elements of the CaseSensitivity enum
func ErrorCode_Values() []string
ErrorCode_Values returns all elements of the ErrorCode enum
func FileShareType_Values() []string
FileShareType_Values returns all elements of the FileShareType enum
func HostEnvironment_Values() []string
HostEnvironment_Values returns all elements of the HostEnvironment enum
func ObjectACL_Values() []string
ObjectACL_Values returns all elements of the ObjectACL enum
func PoolStatus_Values() []string
PoolStatus_Values returns all elements of the PoolStatus enum
func RetentionLockType_Values() []string
RetentionLockType_Values returns all elements of the RetentionLockType enum
func SMBSecurityStrategy_Values() []string
SMBSecurityStrategy_Values returns all elements of the SMBSecurityStrategy enum
func TapeStorageClass_Values() []string
TapeStorageClass_Values returns all elements of the TapeStorageClass enum
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. // // For more information, see Getting activation key (https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html) // in the AWS Storage Gateway User Guide. // // 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 AWS Region where you want to store your data. // The gateway AWS Region specified must be the same AWS Region as the AWS Region // in your Host header in the request. For more information about available // AWS Regions and endpoints for AWS Storage Gateway, see AWS Storage Gateway // endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/sg.html) // in the AWS General Reference. // // Valid Values: See AWS Storage Gateway endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/sg.html) // in the AWS General Reference. // // 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 of the format "GMT-hr:mm" or "GMT+hr:mm". For example, GMT-4:00 // indicates the time is 4 hours behind GMT. GMT+2:00 indicates the time is // 2 hours ahead of GMT. 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 CACHED. // // Valid Values: STORED | CACHED | VTL | FILE_S3 GatewayType *string `min:"2" type:"string"` // The value that indicates the type of medium changer to use for tape gateway. // This field is optional. // // Valid Values: STK-L700 | AWS-Gateway-VTL | IBM-03584L32-0402 MediumChangerType *string `min:"2" type:"string"` // A list of up to 50 tags that you can assign to the gateway. Each tag is a // key-value pair. // // Valid characters for key and value are letters, spaces, and numbers that // can be represented in UTF-8 format, and the following special characters: // + - = . _ : / @. The maximum length of a tag's key is 128 characters, and // the maximum length for a tag's value is 256 characters. Tags []*Tag `type:"list"` // The value that indicates the type of tape drive to use for tape gateway. // 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$MediumChangerType * ActivateGatewayInput$TapeDriveType
func (s ActivateGatewayInput) GoString() string
GoString returns the string representation
func (s *ActivateGatewayInput) SetActivationKey(v string) *ActivateGatewayInput
SetActivationKey sets the ActivationKey field's value.
func (s *ActivateGatewayInput) SetGatewayName(v string) *ActivateGatewayInput
SetGatewayName sets the GatewayName field's value.
func (s *ActivateGatewayInput) SetGatewayRegion(v string) *ActivateGatewayInput
SetGatewayRegion sets the GatewayRegion field's value.
func (s *ActivateGatewayInput) SetGatewayTimezone(v string) *ActivateGatewayInput
SetGatewayTimezone sets the GatewayTimezone field's value.
func (s *ActivateGatewayInput) SetGatewayType(v string) *ActivateGatewayInput
SetGatewayType sets the GatewayType field's value.
func (s *ActivateGatewayInput) SetMediumChangerType(v string) *ActivateGatewayInput
SetMediumChangerType sets the MediumChangerType field's value.
func (s *ActivateGatewayInput) SetTags(v []*Tag) *ActivateGatewayInput
SetTags sets the Tags field's value.
func (s *ActivateGatewayInput) SetTapeDriveType(v string) *ActivateGatewayInput
SetTapeDriveType sets the TapeDriveType field's value.
func (s ActivateGatewayInput) String() string
String returns the string representation
func (s *ActivateGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS 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 AWS 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.
func (s ActivateGatewayOutput) GoString() string
GoString returns the string representation
func (s *ActivateGatewayOutput) SetGatewayARN(v string) *ActivateGatewayOutput
SetGatewayARN sets the GatewayARN field's value.
func (s ActivateGatewayOutput) String() string
String returns the string representation
type AddCacheInput struct { // An array of strings that identify disks that are to be configured as working // storage. Each string has 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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
func (s AddCacheInput) GoString() string
GoString returns the string representation
func (s *AddCacheInput) SetDiskIds(v []*string) *AddCacheInput
SetDiskIds sets the DiskIds field's value.
func (s *AddCacheInput) SetGatewayARN(v string) *AddCacheInput
SetGatewayARN sets the GatewayARN field's value.
func (s AddCacheInput) String() string
String returns the string representation
func (s *AddCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s AddCacheOutput) GoString() string
GoString returns the string representation
func (s *AddCacheOutput) SetGatewayARN(v string) *AddCacheOutput
SetGatewayARN sets the GatewayARN field's value.
func (s AddCacheOutput) String() string
String returns the string representation
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: + - = . _ : / @. The // maximum length of a tag's key is 128 characters, and the maximum length for // a tag's value is 256. // // Tags is a required field Tags []*Tag `type:"list" required:"true"` // contains filtered or unexported fields }
AddTagsToResourceInput
func (s AddTagsToResourceInput) GoString() string
GoString returns the string representation
func (s *AddTagsToResourceInput) SetResourceARN(v string) *AddTagsToResourceInput
SetResourceARN sets the ResourceARN field's value.
func (s *AddTagsToResourceInput) SetTags(v []*Tag) *AddTagsToResourceInput
SetTags sets the Tags field's value.
func (s AddTagsToResourceInput) String() string
String returns the string representation
func (s *AddTagsToResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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
func (s AddTagsToResourceOutput) GoString() string
GoString returns the string representation
func (s *AddTagsToResourceOutput) SetResourceARN(v string) *AddTagsToResourceOutput
SetResourceARN sets the ResourceARN field's value.
func (s AddTagsToResourceOutput) String() string
String returns the string representation
type AddUploadBufferInput struct { // An array of strings that identify disks that are to be configured as working // storage. Each string has 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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
func (s AddUploadBufferInput) GoString() string
GoString returns the string representation
func (s *AddUploadBufferInput) SetDiskIds(v []*string) *AddUploadBufferInput
SetDiskIds sets the DiskIds field's value.
func (s *AddUploadBufferInput) SetGatewayARN(v string) *AddUploadBufferInput
SetGatewayARN sets the GatewayARN field's value.
func (s AddUploadBufferInput) String() string
String returns the string representation
func (s *AddUploadBufferInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s AddUploadBufferOutput) GoString() string
GoString returns the string representation
func (s *AddUploadBufferOutput) SetGatewayARN(v string) *AddUploadBufferOutput
SetGatewayARN sets the GatewayARN field's value.
func (s AddUploadBufferOutput) String() string
String returns the string representation
type AddWorkingStorageInput struct { // An array of strings that identify disks that are to be configured as working // storage. Each string has 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 AWS 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
func (s AddWorkingStorageInput) GoString() string
GoString returns the string representation
func (s *AddWorkingStorageInput) SetDiskIds(v []*string) *AddWorkingStorageInput
SetDiskIds sets the DiskIds field's value.
func (s *AddWorkingStorageInput) SetGatewayARN(v string) *AddWorkingStorageInput
SetGatewayARN sets the GatewayARN field's value.
func (s AddWorkingStorageInput) String() string
String returns the string representation
func (s *AddWorkingStorageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the Amazon Resource Name (ARN) of the gateway for which working storage was configured.
func (s AddWorkingStorageOutput) GoString() string
GoString returns the string representation
func (s *AddWorkingStorageOutput) SetGatewayARN(v string) *AddWorkingStorageOutput
SetGatewayARN sets the GatewayARN field's value.
func (s AddWorkingStorageOutput) String() string
String returns the string representation
type AssignTapePoolInput struct { // Set permissions to bypass governance retention. If the lock type of the archived // tape is Governance, the tape's archived age is not older than RetentionLockInDays, // and the user does not already have BypassGovernanceRetention, setting this // to TRUE enables the user to bypass the retention lock. This parameter is // set to true by default for calls from the console. // // Valid values: TRUE | FALSE BypassGovernanceRetention *bool `type:"boolean"` // The ID of the pool that you want to add your tape to for archiving. The tape // in this pool is archived in the S3 storage class that is associated with // the pool. When you use your backup application to eject the tape, the tape // is archived directly into the storage class (S3 Glacier or S3 Glacier Deep // Archive) that corresponds to the pool. // // Valid Values: GLACIER | DEEP_ARCHIVE // // PoolId is a required field PoolId *string `min:"1" type:"string" required:"true"` // The unique Amazon Resource Name (ARN) of the virtual tape that you want to // add to the tape pool. // // TapeARN is a required field TapeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
func (s AssignTapePoolInput) GoString() string
GoString returns the string representation
func (s *AssignTapePoolInput) SetBypassGovernanceRetention(v bool) *AssignTapePoolInput
SetBypassGovernanceRetention sets the BypassGovernanceRetention field's value.
func (s *AssignTapePoolInput) SetPoolId(v string) *AssignTapePoolInput
SetPoolId sets the PoolId field's value.
func (s *AssignTapePoolInput) SetTapeARN(v string) *AssignTapePoolInput
SetTapeARN sets the TapeARN field's value.
func (s AssignTapePoolInput) String() string
String returns the string representation
func (s *AssignTapePoolInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssignTapePoolOutput struct { // The unique Amazon Resource Names (ARN) of the virtual tape that was added // to the tape pool. TapeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s AssignTapePoolOutput) GoString() string
GoString returns the string representation
func (s *AssignTapePoolOutput) SetTapeARN(v string) *AssignTapePoolOutput
SetTapeARN sets the TapeARN field's value.
func (s AssignTapePoolOutput) String() string
String returns the string representation
type AttachVolumeInput struct { // The unique device ID or other distinguishing data that identifies the local // disk used to create the volume. This value is only required when you are // attaching a stored volume. DiskId *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the gateway that you want to attach the // volume to. // // 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"` // The name of the iSCSI target used by an initiator to connect to a volume // and used as a suffix for the target ARN. For example, specifying TargetName // as myvolume results in the target ARN of arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. // The target name must be unique across all volumes on a gateway. // // If you don't specify a value, Storage Gateway uses the value that was previously // used for this volume as the new target name. TargetName *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the volume to attach to the specified gateway. // // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
AttachVolumeInput
func (s AttachVolumeInput) GoString() string
GoString returns the string representation
func (s *AttachVolumeInput) SetDiskId(v string) *AttachVolumeInput
SetDiskId sets the DiskId field's value.
func (s *AttachVolumeInput) SetGatewayARN(v string) *AttachVolumeInput
SetGatewayARN sets the GatewayARN field's value.
func (s *AttachVolumeInput) SetNetworkInterfaceId(v string) *AttachVolumeInput
SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
func (s *AttachVolumeInput) SetTargetName(v string) *AttachVolumeInput
SetTargetName sets the TargetName field's value.
func (s *AttachVolumeInput) SetVolumeARN(v string) *AttachVolumeInput
SetVolumeARN sets the VolumeARN field's value.
func (s AttachVolumeInput) String() string
String returns the string representation
func (s *AttachVolumeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AttachVolumeOutput struct { // The Amazon Resource Name (ARN) of the volume target, which includes the iSCSI // name for the initiator that was used to connect to the target. TargetARN *string `min:"50" type:"string"` // The Amazon Resource Name (ARN) of the volume that was attached to the gateway. VolumeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
AttachVolumeOutput
func (s AttachVolumeOutput) GoString() string
GoString returns the string representation
func (s *AttachVolumeOutput) SetTargetARN(v string) *AttachVolumeOutput
SetTargetARN sets the TargetARN field's value.
func (s *AttachVolumeOutput) SetVolumeARN(v string) *AttachVolumeOutput
SetVolumeARN sets the VolumeARN field's value.
func (s AttachVolumeOutput) String() string
String returns the string representation
type AutomaticTapeCreationPolicyInfo struct { // An automatic tape creation policy consists of a list of automatic tape creation // rules. This returns the rules that determine when and how to automatically // create new tapes. AutomaticTapeCreationRules []*AutomaticTapeCreationRule `min:"1" type:"list"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
Information about the gateway's automatic tape creation policies, including the automatic tape creation rules and the gateway that is using the policies.
func (s AutomaticTapeCreationPolicyInfo) GoString() string
GoString returns the string representation
func (s *AutomaticTapeCreationPolicyInfo) SetAutomaticTapeCreationRules(v []*AutomaticTapeCreationRule) *AutomaticTapeCreationPolicyInfo
SetAutomaticTapeCreationRules sets the AutomaticTapeCreationRules field's value.
func (s *AutomaticTapeCreationPolicyInfo) SetGatewayARN(v string) *AutomaticTapeCreationPolicyInfo
SetGatewayARN sets the GatewayARN field's value.
func (s AutomaticTapeCreationPolicyInfo) String() string
String returns the string representation
type AutomaticTapeCreationRule struct { // The minimum number of available virtual tapes that the gateway maintains // at all times. If the number of tapes on the gateway goes below this value, // the gateway creates as many new tapes as are needed to have MinimumNumTapes // on the gateway. For more information about automatic tape creation, see Creating // Tapes Automatically (https://docs.aws.amazon.com/storagegateway/latest/userguide/GettingStartedCreateTapes.html#CreateTapesAutomatically). // // MinimumNumTapes is a required field MinimumNumTapes *int64 `min:"1" type:"integer" required:"true"` // The ID of the pool that you want to add your tape to for archiving. The tape // in this pool is archived in the Amazon S3 storage class that is associated // with the pool. When you use your backup application to eject the tape, the // tape is archived directly into the storage class (S3 Glacier or S3 Glacier // Deep Archive) that corresponds to the pool. // // Valid Values: GLACIER | DEEP_ARCHIVE // // PoolId is a required field PoolId *string `min:"1" type:"string" required:"true"` // A prefix that you append to the barcode of the virtual tape that you are // creating. This prefix makes the barcode unique. // // The prefix must be 1-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 tape capacity. // // TapeSizeInBytes is a required field TapeSizeInBytes *int64 `type:"long" required:"true"` // Set to true to indicate that tapes are to be archived as write-once-read-many // (WORM). Set to false when WORM is not enabled for tapes. Worm *bool `type:"boolean"` // contains filtered or unexported fields }
An automatic tape creation policy consists of automatic tape creation rules where each rule defines when and how to create new tapes. For more information about automatic tape creation, see Creating Tapes Automatically (https://docs.aws.amazon.com/storagegateway/latest/userguide/GettingStartedCreateTapes.html#CreateTapesAutomatically).
func (s AutomaticTapeCreationRule) GoString() string
GoString returns the string representation
func (s *AutomaticTapeCreationRule) SetMinimumNumTapes(v int64) *AutomaticTapeCreationRule
SetMinimumNumTapes sets the MinimumNumTapes field's value.
func (s *AutomaticTapeCreationRule) SetPoolId(v string) *AutomaticTapeCreationRule
SetPoolId sets the PoolId field's value.
func (s *AutomaticTapeCreationRule) SetTapeBarcodePrefix(v string) *AutomaticTapeCreationRule
SetTapeBarcodePrefix sets the TapeBarcodePrefix field's value.
func (s *AutomaticTapeCreationRule) SetTapeSizeInBytes(v int64) *AutomaticTapeCreationRule
SetTapeSizeInBytes sets the TapeSizeInBytes field's value.
func (s *AutomaticTapeCreationRule) SetWorm(v bool) *AutomaticTapeCreationRule
SetWorm sets the Worm field's value.
func (s AutomaticTapeCreationRule) String() string
String returns the string representation
func (s *AutomaticTapeCreationRule) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type BandwidthRateLimitInterval struct { // The average download rate limit component of the bandwidth rate limit interval, // 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 rate limit component of the bandwidth rate limit interval, // 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 days of the week component of the bandwidth rate limit interval, represented // as ordinal numbers from 0 to 6, where 0 represents Sunday and 6 Saturday. // // DaysOfWeek is a required field DaysOfWeek []*int64 `min:"1" type:"list" required:"true"` // The hour of the day to end the bandwidth rate limit interval. // // EndHourOfDay is a required field EndHourOfDay *int64 `type:"integer" required:"true"` // The minute of the hour to end the bandwidth rate limit interval. // // The bandwidth rate limit interval ends at the end of the minute. To end an // interval at the end of an hour, use the value 59. // // EndMinuteOfHour is a required field EndMinuteOfHour *int64 `type:"integer" required:"true"` // The hour of the day to start the bandwidth rate limit interval. // // StartHourOfDay is a required field StartHourOfDay *int64 `type:"integer" required:"true"` // The minute of the hour to start the bandwidth rate limit interval. The interval // begins at the start of that minute. To begin an interval exactly at the start // of the hour, use the value 0. // // StartMinuteOfHour is a required field StartMinuteOfHour *int64 `type:"integer" required:"true"` // contains filtered or unexported fields }
Describes a bandwidth rate limit interval for a gateway. A bandwidth rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit interval defines a period of time on one or more days of the week, during which bandwidth rate limits are specified for uploading, downloading, or both.
func (s BandwidthRateLimitInterval) GoString() string
GoString returns the string representation
func (s *BandwidthRateLimitInterval) SetAverageDownloadRateLimitInBitsPerSec(v int64) *BandwidthRateLimitInterval
SetAverageDownloadRateLimitInBitsPerSec sets the AverageDownloadRateLimitInBitsPerSec field's value.
func (s *BandwidthRateLimitInterval) SetAverageUploadRateLimitInBitsPerSec(v int64) *BandwidthRateLimitInterval
SetAverageUploadRateLimitInBitsPerSec sets the AverageUploadRateLimitInBitsPerSec field's value.
func (s *BandwidthRateLimitInterval) SetDaysOfWeek(v []*int64) *BandwidthRateLimitInterval
SetDaysOfWeek sets the DaysOfWeek field's value.
func (s *BandwidthRateLimitInterval) SetEndHourOfDay(v int64) *BandwidthRateLimitInterval
SetEndHourOfDay sets the EndHourOfDay field's value.
func (s *BandwidthRateLimitInterval) SetEndMinuteOfHour(v int64) *BandwidthRateLimitInterval
SetEndMinuteOfHour sets the EndMinuteOfHour field's value.
func (s *BandwidthRateLimitInterval) SetStartHourOfDay(v int64) *BandwidthRateLimitInterval
SetStartHourOfDay sets the StartHourOfDay field's value.
func (s *BandwidthRateLimitInterval) SetStartMinuteOfHour(v int64) *BandwidthRateLimitInterval
SetStartMinuteOfHour sets the StartMinuteOfHour field's value.
func (s BandwidthRateLimitInterval) String() string
String returns the string representation
func (s *BandwidthRateLimitInterval) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CacheAttributes struct { // Refreshes a file share's cache by using Time To Live (TTL). TTL is the length // of time since the last refresh after which access to the directory would // cause the file gateway to first refresh that directory's contents from the // Amazon S3 bucket. The TTL duration is in seconds. // // Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days) CacheStaleTimeoutInSeconds *int64 `type:"integer"` // contains filtered or unexported fields }
Lists refresh cache information.
func (s CacheAttributes) GoString() string
GoString returns the string representation
func (s *CacheAttributes) SetCacheStaleTimeoutInSeconds(v int64) *CacheAttributes
SetCacheStaleTimeoutInSeconds sets the CacheStaleTimeoutInSeconds field's value.
func (s CacheAttributes) String() string
String returns the string representation
type CachediSCSIVolume struct { // The date the volume was created. Volumes created prior to March 28, 2017 // don’t have this timestamp. CreatedDate *time.Time `type:"timestamp"` // The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used // for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric // CMKs. This value can only be set when KMSEncrypted is true. Optional. KMSKey *string `min:"7" type:"string"` // If the cached volume was created from a snapshot, this field contains the // snapshot ID used, e.g., snap-78e22663. Otherwise, this field is not included. SourceSnapshotId *string `type:"string"` // The name of the iSCSI target used by an initiator to connect to a volume // and used as a suffix for the target ARN. For example, specifying TargetName // as myvolume results in the target ARN of arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. // The target name must be unique across all volumes on a gateway. // // If you don't specify a value, Storage Gateway uses the value that was previously // used for this volume as the new target name. TargetName *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the storage volume. VolumeARN *string `min:"50" type:"string"` // A value that indicates whether a storage volume is attached to or detached // from a gateway. For more information, see Moving your volumes to a different // gateway (https://docs.aws.amazon.com/storagegateway/latest/userguide/managing-volumes.html#attach-detach-volume). VolumeAttachmentStatus *string `min:"3" type:"string"` // The unique identifier of the volume, e.g., vol-AE4B946D. VolumeId *string `min:"12" type:"string"` // Represents the percentage complete if the volume is restoring or bootstrapping // that represents the percent of data transferred. This field does not appear // in the response if the cached volume is not restoring or bootstrapping. VolumeProgress *float64 `type:"double"` // The size, in bytes, of the volume capacity. VolumeSizeInBytes *int64 `type:"long"` // One of the VolumeStatus values that indicates the state of the storage volume. VolumeStatus *string `min:"3" type:"string"` // One of the VolumeType enumeration values that describes the type of the volume. VolumeType *string `min:"3" type:"string"` // The size of the data stored on the volume in bytes. This value is calculated // based on the number of blocks that are touched, instead of the actual amount // of data written. This value can be useful for sequential write patterns but // less accurate for random write patterns. VolumeUsedInBytes is different from // the compressed size of the volume, which is the value that is used to calculate // your bill. // // This value is not available for volumes created prior to May 13, 2015, until // you store data on the volume. VolumeUsedInBytes *int64 `type:"long"` // An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes // for one stored volume. VolumeiSCSIAttributes *VolumeiSCSIAttributes `type:"structure"` // contains filtered or unexported fields }
Describes an iSCSI cached volume.
func (s CachediSCSIVolume) GoString() string
GoString returns the string representation
func (s *CachediSCSIVolume) SetCreatedDate(v time.Time) *CachediSCSIVolume
SetCreatedDate sets the CreatedDate field's value.
func (s *CachediSCSIVolume) SetKMSKey(v string) *CachediSCSIVolume
SetKMSKey sets the KMSKey field's value.
func (s *CachediSCSIVolume) SetSourceSnapshotId(v string) *CachediSCSIVolume
SetSourceSnapshotId sets the SourceSnapshotId field's value.
func (s *CachediSCSIVolume) SetTargetName(v string) *CachediSCSIVolume
SetTargetName sets the TargetName field's value.
func (s *CachediSCSIVolume) SetVolumeARN(v string) *CachediSCSIVolume
SetVolumeARN sets the VolumeARN field's value.
func (s *CachediSCSIVolume) SetVolumeAttachmentStatus(v string) *CachediSCSIVolume
SetVolumeAttachmentStatus sets the VolumeAttachmentStatus field's value.
func (s *CachediSCSIVolume) SetVolumeId(v string) *CachediSCSIVolume
SetVolumeId sets the VolumeId field's value.
func (s *CachediSCSIVolume) SetVolumeProgress(v float64) *CachediSCSIVolume
SetVolumeProgress sets the VolumeProgress field's value.
func (s *CachediSCSIVolume) SetVolumeSizeInBytes(v int64) *CachediSCSIVolume
SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value.
func (s *CachediSCSIVolume) SetVolumeStatus(v string) *CachediSCSIVolume
SetVolumeStatus sets the VolumeStatus field's value.
func (s *CachediSCSIVolume) SetVolumeType(v string) *CachediSCSIVolume
SetVolumeType sets the VolumeType field's value.
func (s *CachediSCSIVolume) SetVolumeUsedInBytes(v int64) *CachediSCSIVolume
SetVolumeUsedInBytes sets the VolumeUsedInBytes field's value.
func (s *CachediSCSIVolume) SetVolumeiSCSIAttributes(v *VolumeiSCSIAttributes) *CachediSCSIVolume
SetVolumeiSCSIAttributes sets the VolumeiSCSIAttributes field's value.
func (s CachediSCSIVolume) String() string
String returns the string representation
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 AWS 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
func (s CancelArchivalInput) GoString() string
GoString returns the string representation
func (s *CancelArchivalInput) SetGatewayARN(v string) *CancelArchivalInput
SetGatewayARN sets the GatewayARN field's value.
func (s *CancelArchivalInput) SetTapeARN(v string) *CancelArchivalInput
SetTapeARN sets the TapeARN field's value.
func (s CancelArchivalInput) String() string
String returns the string representation
func (s *CancelArchivalInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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
func (s CancelArchivalOutput) GoString() string
GoString returns the string representation
func (s *CancelArchivalOutput) SetTapeARN(v string) *CancelArchivalOutput
SetTapeARN sets the TapeARN field's value.
func (s CancelArchivalOutput) String() string
String returns the string representation
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 AWS 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
func (s CancelRetrievalInput) GoString() string
GoString returns the string representation
func (s *CancelRetrievalInput) SetGatewayARN(v string) *CancelRetrievalInput
SetGatewayARN sets the GatewayARN field's value.
func (s *CancelRetrievalInput) SetTapeARN(v string) *CancelRetrievalInput
SetTapeARN sets the TapeARN field's value.
func (s CancelRetrievalInput) String() string
String returns the string representation
func (s *CancelRetrievalInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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
func (s CancelRetrievalOutput) GoString() string
GoString returns the string representation
func (s *CancelRetrievalOutput) SetTapeARN(v string) *CancelRetrievalOutput
SetTapeARN sets the TapeARN field's value.
func (s CancelRetrievalOutput) String() string
String returns the string representation
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" sensitive:"true"` // 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" sensitive:"true"` // 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.
func (s ChapInfo) GoString() string
GoString returns the string representation
func (s *ChapInfo) SetInitiatorName(v string) *ChapInfo
SetInitiatorName sets the InitiatorName field's value.
func (s *ChapInfo) SetSecretToAuthenticateInitiator(v string) *ChapInfo
SetSecretToAuthenticateInitiator sets the SecretToAuthenticateInitiator field's value.
func (s *ChapInfo) SetSecretToAuthenticateTarget(v string) *ChapInfo
SetSecretToAuthenticateTarget sets the SecretToAuthenticateTarget field's value.
func (s *ChapInfo) SetTargetARN(v string) *ChapInfo
SetTargetARN sets the TargetARN field's value.
func (s ChapInfo) String() string
String returns the string representation
type CreateCachediSCSIVolumeInput 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. // // 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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // Set to true to use Amazon S3 server-side encryption with your own AWS KMS // key, or false to use a key managed by Amazon S3. Optional. // // Valid Values: true | false KMSEncrypted *bool `type:"boolean"` // The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used // for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric // CMKs. This value can only be set when KMSEncrypted is true. Optional. KMSKey *string `min:"7" type:"string"` // 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"` // The snapshot ID (e.g. "snap-1122aabb") of the snapshot to restore as the // new cached 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 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSnapshots.html) // in the Amazon Elastic Compute Cloud API Reference. SnapshotId *string `type:"string"` // The ARN for an existing volume. Specifying this ARN makes the new volume // into an exact copy of the specified existing volume's latest recovery point. // The VolumeSizeInBytes value for this new volume must be equal to or larger // than the size of the existing volume, in bytes. SourceVolumeARN *string `min:"50" type:"string"` // A list of up to 50 tags that you can assign to a cached volume. Each tag // is a key-value pair. // // Valid characters for key and value are letters, spaces, and numbers that // you can represent in UTF-8 format, and the following special characters: // + - = . _ : / @. The maximum length of a tag's key is 128 characters, and // the maximum length for a tag's value is 256 characters. Tags []*Tag `type:"list"` // The name of the iSCSI target used by an initiator to connect to a volume // and used as a suffix for the target ARN. For example, specifying TargetName // as myvolume results in the target ARN of arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. // The target name must be unique across all volumes on a gateway. // // If you don't specify a value, Storage Gateway uses the value that was previously // used for this volume as the new target name. // // TargetName is a required field TargetName *string `min:"1" type:"string" required:"true"` // The size of the volume in bytes. // // VolumeSizeInBytes is a required field VolumeSizeInBytes *int64 `type:"long" required:"true"` // contains filtered or unexported fields }
func (s CreateCachediSCSIVolumeInput) GoString() string
GoString returns the string representation
func (s *CreateCachediSCSIVolumeInput) SetClientToken(v string) *CreateCachediSCSIVolumeInput
SetClientToken sets the ClientToken field's value.
func (s *CreateCachediSCSIVolumeInput) SetGatewayARN(v string) *CreateCachediSCSIVolumeInput
SetGatewayARN sets the GatewayARN field's value.
func (s *CreateCachediSCSIVolumeInput) SetKMSEncrypted(v bool) *CreateCachediSCSIVolumeInput
SetKMSEncrypted sets the KMSEncrypted field's value.
func (s *CreateCachediSCSIVolumeInput) SetKMSKey(v string) *CreateCachediSCSIVolumeInput
SetKMSKey sets the KMSKey field's value.
func (s *CreateCachediSCSIVolumeInput) SetNetworkInterfaceId(v string) *CreateCachediSCSIVolumeInput
SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
func (s *CreateCachediSCSIVolumeInput) SetSnapshotId(v string) *CreateCachediSCSIVolumeInput
SetSnapshotId sets the SnapshotId field's value.
func (s *CreateCachediSCSIVolumeInput) SetSourceVolumeARN(v string) *CreateCachediSCSIVolumeInput
SetSourceVolumeARN sets the SourceVolumeARN field's value.
func (s *CreateCachediSCSIVolumeInput) SetTags(v []*Tag) *CreateCachediSCSIVolumeInput
SetTags sets the Tags field's value.
func (s *CreateCachediSCSIVolumeInput) SetTargetName(v string) *CreateCachediSCSIVolumeInput
SetTargetName sets the TargetName field's value.
func (s *CreateCachediSCSIVolumeInput) SetVolumeSizeInBytes(v int64) *CreateCachediSCSIVolumeInput
SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value.
func (s CreateCachediSCSIVolumeInput) String() string
String returns the string representation
func (s *CreateCachediSCSIVolumeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateCachediSCSIVolumeOutput struct { // The Amazon Resource Name (ARN) of the volume target, which 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"` // contains filtered or unexported fields }
func (s CreateCachediSCSIVolumeOutput) GoString() string
GoString returns the string representation
func (s *CreateCachediSCSIVolumeOutput) SetTargetARN(v string) *CreateCachediSCSIVolumeOutput
SetTargetARN sets the TargetARN field's value.
func (s *CreateCachediSCSIVolumeOutput) SetVolumeARN(v string) *CreateCachediSCSIVolumeOutput
SetVolumeARN sets the VolumeARN field's value.
func (s CreateCachediSCSIVolumeOutput) String() string
String returns the string representation
type CreateNFSFileShareInput struct { // Refresh cache information. CacheAttributes *CacheAttributes `type:"structure"` // The list of clients that are allowed to access the file gateway. The list // must contain either valid IP addresses or valid CIDR blocks. ClientList []*string `min:"1" type:"list"` // A unique string value that you supply that is used by file gateway to ensure // idempotent file share creation. // // ClientToken is a required field ClientToken *string `min:"5" type:"string" required:"true"` // The default storage class for objects put into an Amazon S3 bucket by the // file gateway. The default value is S3_INTELLIGENT_TIERING. Optional. // // Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA DefaultStorageClass *string `min:"5" type:"string"` // The name of the file share. Optional. // // FileShareName must be set if an S3 prefix name is set in LocationARN. FileShareName *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the file gateway on which you want to create // a file share. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // A value that enables guessing of the MIME type for uploaded objects based // on file extensions. Set this value to true to enable MIME type guessing, // otherwise set to false. The default value is true. // // Valid Values: true | false GuessMIMETypeEnabled *bool `type:"boolean"` // Set to true to use Amazon S3 server-side encryption with your own AWS KMS // key, or false to use a key managed by Amazon S3. Optional. // // Valid Values: true | false KMSEncrypted *bool `type:"boolean"` // The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used // for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric // CMKs. This value can only be set when KMSEncrypted is true. Optional. KMSKey *string `min:"7" type:"string"` // The ARN of the backend storage used for storing file data. A prefix name // can be added to the S3 bucket name. It must end with a "/". // // LocationARN is a required field LocationARN *string `min:"16" type:"string" required:"true"` // File share default values. Optional. NFSFileShareDefaults *NFSFileShareDefaults `type:"structure"` // The notification policy of the file share. NotificationPolicy *string `min:"2" type:"string"` // A value that sets the access control list (ACL) permission for objects in // the S3 bucket that a file gateway puts objects into. The default value is // private. ObjectACL *string `type:"string" enum:"ObjectACL"` // A value that sets the write status of a file share. Set this value to true // to set the write status to read-only, otherwise set to false. // // Valid Values: true | false ReadOnly *bool `type:"boolean"` // A value that sets who pays the cost of the request and the cost associated // with data download from the S3 bucket. If this value is set to true, the // requester pays the costs; otherwise, the S3 bucket owner pays. However, the // S3 bucket owner always pays the cost of storing data. // // RequesterPays is a configuration for the S3 bucket that backs the file share, // so make sure that the configuration on the file share is the same as the // S3 bucket configuration. // // Valid Values: true | false RequesterPays *bool `type:"boolean"` // The ARN of the AWS Identity and Access Management (IAM) role that a file // gateway assumes when it accesses the underlying storage. // // Role is a required field Role *string `min:"20" type:"string" required:"true"` // A value that maps a user to anonymous user. // // Valid values are the following: // // * RootSquash: Only root is mapped to anonymous user. // // * NoSquash: No one is mapped to anonymous user. // // * AllSquash: Everyone is mapped to anonymous user. Squash *string `min:"5" type:"string"` // A list of up to 50 tags that can be assigned to the NFS file share. Each // tag is a key-value pair. // // Valid characters for key and value are letters, spaces, and numbers representable // in UTF-8 format, and the following special characters: + - = . _ : / @. The // maximum length of a tag's key is 128 characters, and the maximum length for // a tag's value is 256. Tags []*Tag `type:"list"` // contains filtered or unexported fields }
CreateNFSFileShareInput
func (s CreateNFSFileShareInput) GoString() string
GoString returns the string representation
func (s *CreateNFSFileShareInput) SetCacheAttributes(v *CacheAttributes) *CreateNFSFileShareInput
SetCacheAttributes sets the CacheAttributes field's value.
func (s *CreateNFSFileShareInput) SetClientList(v []*string) *CreateNFSFileShareInput
SetClientList sets the ClientList field's value.
func (s *CreateNFSFileShareInput) SetClientToken(v string) *CreateNFSFileShareInput
SetClientToken sets the ClientToken field's value.
func (s *CreateNFSFileShareInput) SetDefaultStorageClass(v string) *CreateNFSFileShareInput
SetDefaultStorageClass sets the DefaultStorageClass field's value.
func (s *CreateNFSFileShareInput) SetFileShareName(v string) *CreateNFSFileShareInput
SetFileShareName sets the FileShareName field's value.
func (s *CreateNFSFileShareInput) SetGatewayARN(v string) *CreateNFSFileShareInput
SetGatewayARN sets the GatewayARN field's value.
func (s *CreateNFSFileShareInput) SetGuessMIMETypeEnabled(v bool) *CreateNFSFileShareInput
SetGuessMIMETypeEnabled sets the GuessMIMETypeEnabled field's value.
func (s *CreateNFSFileShareInput) SetKMSEncrypted(v bool) *CreateNFSFileShareInput
SetKMSEncrypted sets the KMSEncrypted field's value.
func (s *CreateNFSFileShareInput) SetKMSKey(v string) *CreateNFSFileShareInput
SetKMSKey sets the KMSKey field's value.
func (s *CreateNFSFileShareInput) SetLocationARN(v string) *CreateNFSFileShareInput
SetLocationARN sets the LocationARN field's value.
func (s *CreateNFSFileShareInput) SetNFSFileShareDefaults(v *NFSFileShareDefaults) *CreateNFSFileShareInput
SetNFSFileShareDefaults sets the NFSFileShareDefaults field's value.
func (s *CreateNFSFileShareInput) SetNotificationPolicy(v string) *CreateNFSFileShareInput
SetNotificationPolicy sets the NotificationPolicy field's value.
func (s *CreateNFSFileShareInput) SetObjectACL(v string) *CreateNFSFileShareInput
SetObjectACL sets the ObjectACL field's value.
func (s *CreateNFSFileShareInput) SetReadOnly(v bool) *CreateNFSFileShareInput
SetReadOnly sets the ReadOnly field's value.
func (s *CreateNFSFileShareInput) SetRequesterPays(v bool) *CreateNFSFileShareInput
SetRequesterPays sets the RequesterPays field's value.
func (s *CreateNFSFileShareInput) SetRole(v string) *CreateNFSFileShareInput
SetRole sets the Role field's value.
func (s *CreateNFSFileShareInput) SetSquash(v string) *CreateNFSFileShareInput
SetSquash sets the Squash field's value.
func (s *CreateNFSFileShareInput) SetTags(v []*Tag) *CreateNFSFileShareInput
SetTags sets the Tags field's value.
func (s CreateNFSFileShareInput) String() string
String returns the string representation
func (s *CreateNFSFileShareInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateNFSFileShareOutput struct { // The Amazon Resource Name (ARN) of the newly created file share. FileShareARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
CreateNFSFileShareOutput
func (s CreateNFSFileShareOutput) GoString() string
GoString returns the string representation
func (s *CreateNFSFileShareOutput) SetFileShareARN(v string) *CreateNFSFileShareOutput
SetFileShareARN sets the FileShareARN field's value.
func (s CreateNFSFileShareOutput) String() string
String returns the string representation
type CreateSMBFileShareInput struct { // The files and folders on this share will only be visible to users with read // access. AccessBasedEnumeration *bool `type:"boolean"` // A list of users or groups in the Active Directory that will be granted administrator // privileges on the file share. These users can do all file operations as the // super-user. Acceptable formats include: DOMAIN\User1, user1, @group1, and // @DOMAIN\group1. // // Use this option very carefully, because any user in this list can do anything // they like on the file share, regardless of file permissions. AdminUserList []*string `type:"list"` // The Amazon Resource Name (ARN) of the storage used for the audit logs. AuditDestinationARN *string `type:"string"` // The authentication method that users use to access the file share. The default // is ActiveDirectory. // // Valid Values: ActiveDirectory | GuestAccess Authentication *string `min:"5" type:"string"` // Refresh cache information. CacheAttributes *CacheAttributes `type:"structure"` // The case of an object name in an Amazon S3 bucket. For ClientSpecified, the // client determines the case sensitivity. For CaseSensitive, the gateway determines // the case sensitivity. The default value is ClientSpecified. CaseSensitivity *string `type:"string" enum:"CaseSensitivity"` // A unique string value that you supply that is used by file gateway to ensure // idempotent file share creation. // // ClientToken is a required field ClientToken *string `min:"5" type:"string" required:"true"` // The default storage class for objects put into an Amazon S3 bucket by the // file gateway. The default value is S3_INTELLIGENT_TIERING. Optional. // // Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA DefaultStorageClass *string `min:"5" type:"string"` // The name of the file share. Optional. // // FileShareName must be set if an S3 prefix name is set in LocationARN. FileShareName *string `min:"1" type:"string"` // The ARN of the file gateway on which you want to create a file share. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // A value that enables guessing of the MIME type for uploaded objects based // on file extensions. Set this value to true to enable MIME type guessing, // otherwise set to false. The default value is true. // // Valid Values: true | false GuessMIMETypeEnabled *bool `type:"boolean"` // A list of users or groups in the Active Directory that are not allowed to // access the file share. A group must be prefixed with the @ character. Acceptable // formats include: DOMAIN\User1, user1, @group1, and @DOMAIN\group1. Can only // be set if Authentication is set to ActiveDirectory. InvalidUserList []*string `type:"list"` // Set to true to use Amazon S3 server-side encryption with your own AWS KMS // key, or false to use a key managed by Amazon S3. Optional. // // Valid Values: true | false KMSEncrypted *bool `type:"boolean"` // The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used // for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric // CMKs. This value can only be set when KMSEncrypted is true. Optional. KMSKey *string `min:"7" type:"string"` // The ARN of the backend storage used for storing file data. A prefix name // can be added to the S3 bucket name. It must end with a "/". // // LocationARN is a required field LocationARN *string `min:"16" type:"string" required:"true"` // The notification policy of the file share. NotificationPolicy *string `min:"2" type:"string"` // A value that sets the access control list (ACL) permission for objects in // the S3 bucket that a file gateway puts objects into. The default value is // private. ObjectACL *string `type:"string" enum:"ObjectACL"` // A value that sets the write status of a file share. Set this value to true // to set the write status to read-only, otherwise set to false. // // Valid Values: true | false ReadOnly *bool `type:"boolean"` // A value that sets who pays the cost of the request and the cost associated // with data download from the S3 bucket. If this value is set to true, the // requester pays the costs; otherwise, the S3 bucket owner pays. However, the // S3 bucket owner always pays the cost of storing data. // // RequesterPays is a configuration for the S3 bucket that backs the file share, // so make sure that the configuration on the file share is the same as the // S3 bucket configuration. // // Valid Values: true | false RequesterPays *bool `type:"boolean"` // The ARN of the AWS Identity and Access Management (IAM) role that a file // gateway assumes when it accesses the underlying storage. // // Role is a required field Role *string `min:"20" type:"string" required:"true"` // Set this value to true to enable access control list (ACL) on the SMB file // share. Set it to false to map file and directory permissions to the POSIX // permissions. // // For more information, see Using Microsoft Windows ACLs to control access // to an SMB file share (https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html) // in the AWS Storage Gateway User Guide. // // Valid Values: true | false SMBACLEnabled *bool `type:"boolean"` // A list of up to 50 tags that can be assigned to the NFS file share. Each // tag is a key-value pair. // // Valid characters for key and value are letters, spaces, and numbers representable // in UTF-8 format, and the following special characters: + - = . _ : / @. The // maximum length of a tag's key is 128 characters, and the maximum length for // a tag's value is 256. Tags []*Tag `type:"list"` // A list of users or groups in the Active Directory that are allowed to access // the file share. A group must be prefixed with the @ character. Acceptable // formats include: DOMAIN\User1, user1, @group1, and @DOMAIN\group1. Can only // be set if Authentication is set to ActiveDirectory. ValidUserList []*string `type:"list"` // contains filtered or unexported fields }
CreateSMBFileShareInput
func (s CreateSMBFileShareInput) GoString() string
GoString returns the string representation
func (s *CreateSMBFileShareInput) SetAccessBasedEnumeration(v bool) *CreateSMBFileShareInput
SetAccessBasedEnumeration sets the AccessBasedEnumeration field's value.
func (s *CreateSMBFileShareInput) SetAdminUserList(v []*string) *CreateSMBFileShareInput
SetAdminUserList sets the AdminUserList field's value.
func (s *CreateSMBFileShareInput) SetAuditDestinationARN(v string) *CreateSMBFileShareInput
SetAuditDestinationARN sets the AuditDestinationARN field's value.
func (s *CreateSMBFileShareInput) SetAuthentication(v string) *CreateSMBFileShareInput
SetAuthentication sets the Authentication field's value.
func (s *CreateSMBFileShareInput) SetCacheAttributes(v *CacheAttributes) *CreateSMBFileShareInput
SetCacheAttributes sets the CacheAttributes field's value.
func (s *CreateSMBFileShareInput) SetCaseSensitivity(v string) *CreateSMBFileShareInput
SetCaseSensitivity sets the CaseSensitivity field's value.
func (s *CreateSMBFileShareInput) SetClientToken(v string) *CreateSMBFileShareInput
SetClientToken sets the ClientToken field's value.
func (s *CreateSMBFileShareInput) SetDefaultStorageClass(v string) *CreateSMBFileShareInput
SetDefaultStorageClass sets the DefaultStorageClass field's value.
func (s *CreateSMBFileShareInput) SetFileShareName(v string) *CreateSMBFileShareInput
SetFileShareName sets the FileShareName field's value.
func (s *CreateSMBFileShareInput) SetGatewayARN(v string) *CreateSMBFileShareInput
SetGatewayARN sets the GatewayARN field's value.
func (s *CreateSMBFileShareInput) SetGuessMIMETypeEnabled(v bool) *CreateSMBFileShareInput
SetGuessMIMETypeEnabled sets the GuessMIMETypeEnabled field's value.
func (s *CreateSMBFileShareInput) SetInvalidUserList(v []*string) *CreateSMBFileShareInput
SetInvalidUserList sets the InvalidUserList field's value.
func (s *CreateSMBFileShareInput) SetKMSEncrypted(v bool) *CreateSMBFileShareInput
SetKMSEncrypted sets the KMSEncrypted field's value.
func (s *CreateSMBFileShareInput) SetKMSKey(v string) *CreateSMBFileShareInput
SetKMSKey sets the KMSKey field's value.
func (s *CreateSMBFileShareInput) SetLocationARN(v string) *CreateSMBFileShareInput
SetLocationARN sets the LocationARN field's value.
func (s *CreateSMBFileShareInput) SetNotificationPolicy(v string) *CreateSMBFileShareInput
SetNotificationPolicy sets the NotificationPolicy field's value.
func (s *CreateSMBFileShareInput) SetObjectACL(v string) *CreateSMBFileShareInput
SetObjectACL sets the ObjectACL field's value.
func (s *CreateSMBFileShareInput) SetReadOnly(v bool) *CreateSMBFileShareInput
SetReadOnly sets the ReadOnly field's value.
func (s *CreateSMBFileShareInput) SetRequesterPays(v bool) *CreateSMBFileShareInput
SetRequesterPays sets the RequesterPays field's value.
func (s *CreateSMBFileShareInput) SetRole(v string) *CreateSMBFileShareInput
SetRole sets the Role field's value.
func (s *CreateSMBFileShareInput) SetSMBACLEnabled(v bool) *CreateSMBFileShareInput
SetSMBACLEnabled sets the SMBACLEnabled field's value.
func (s *CreateSMBFileShareInput) SetTags(v []*Tag) *CreateSMBFileShareInput
SetTags sets the Tags field's value.
func (s *CreateSMBFileShareInput) SetValidUserList(v []*string) *CreateSMBFileShareInput
SetValidUserList sets the ValidUserList field's value.
func (s CreateSMBFileShareInput) String() string
String returns the string representation
func (s *CreateSMBFileShareInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSMBFileShareOutput struct { // The Amazon Resource Name (ARN) of the newly created file share. FileShareARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
CreateSMBFileShareOutput
func (s CreateSMBFileShareOutput) GoString() string
GoString returns the string representation
func (s *CreateSMBFileShareOutput) SetFileShareARN(v string) *CreateSMBFileShareOutput
SetFileShareARN sets the FileShareARN field's value.
func (s CreateSMBFileShareOutput) String() string
String returns the string representation
type CreateSnapshotFromVolumeRecoveryPointInput 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"` // A list of up to 50 tags that can be assigned to a snapshot. Each tag is a // key-value pair. // // Valid characters for key and value are letters, spaces, and numbers representable // in UTF-8 format, and the following special characters: + - = . _ : / @. The // maximum length of a tag's key is 128 characters, and the maximum length for // a tag's value is 256. Tags []*Tag `type:"list"` // The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes // operation to return to retrieve the TargetARN for specified VolumeARN. // // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
func (s CreateSnapshotFromVolumeRecoveryPointInput) GoString() string
GoString returns the string representation
func (s *CreateSnapshotFromVolumeRecoveryPointInput) SetSnapshotDescription(v string) *CreateSnapshotFromVolumeRecoveryPointInput
SetSnapshotDescription sets the SnapshotDescription field's value.
func (s *CreateSnapshotFromVolumeRecoveryPointInput) SetTags(v []*Tag) *CreateSnapshotFromVolumeRecoveryPointInput
SetTags sets the Tags field's value.
func (s *CreateSnapshotFromVolumeRecoveryPointInput) SetVolumeARN(v string) *CreateSnapshotFromVolumeRecoveryPointInput
SetVolumeARN sets the VolumeARN field's value.
func (s CreateSnapshotFromVolumeRecoveryPointInput) String() string
String returns the string representation
func (s *CreateSnapshotFromVolumeRecoveryPointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateSnapshotFromVolumeRecoveryPointOutput struct { // The ID of the snapshot. SnapshotId *string `type:"string"` // The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes // operation to return to retrieve the TargetARN for specified VolumeARN. VolumeARN *string `min:"50" type:"string"` // The time the volume was created from the recovery point. VolumeRecoveryPointTime *string `type:"string"` // contains filtered or unexported fields }
func (s CreateSnapshotFromVolumeRecoveryPointOutput) GoString() string
GoString returns the string representation
func (s *CreateSnapshotFromVolumeRecoveryPointOutput) SetSnapshotId(v string) *CreateSnapshotFromVolumeRecoveryPointOutput
SetSnapshotId sets the SnapshotId field's value.
func (s *CreateSnapshotFromVolumeRecoveryPointOutput) SetVolumeARN(v string) *CreateSnapshotFromVolumeRecoveryPointOutput
SetVolumeARN sets the VolumeARN field's value.
func (s *CreateSnapshotFromVolumeRecoveryPointOutput) SetVolumeRecoveryPointTime(v string) *CreateSnapshotFromVolumeRecoveryPointOutput
SetVolumeRecoveryPointTime sets the VolumeRecoveryPointTime field's value.
func (s CreateSnapshotFromVolumeRecoveryPointOutput) String() string
String returns the string representation
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"` // A list of up to 50 tags that can be assigned to a snapshot. Each tag is a // key-value pair. // // Valid characters for key and value are letters, spaces, and numbers representable // in UTF-8 format, and the following special characters: + - = . _ : / @. The // maximum length of a tag's key is 128 characters, and the maximum length for // a tag's value is 256. Tags []*Tag `type:"list"` // 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
func (s CreateSnapshotInput) GoString() string
GoString returns the string representation
func (s *CreateSnapshotInput) SetSnapshotDescription(v string) *CreateSnapshotInput
SetSnapshotDescription sets the SnapshotDescription field's value.
func (s *CreateSnapshotInput) SetTags(v []*Tag) *CreateSnapshotInput
SetTags sets the Tags field's value.
func (s *CreateSnapshotInput) SetVolumeARN(v string) *CreateSnapshotInput
SetVolumeARN sets the VolumeARN field's value.
func (s CreateSnapshotInput) String() string
String returns the string representation
func (s *CreateSnapshotInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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:
func (s CreateSnapshotOutput) GoString() string
GoString returns the string representation
func (s *CreateSnapshotOutput) SetSnapshotId(v string) *CreateSnapshotOutput
SetSnapshotId sets the SnapshotId field's value.
func (s *CreateSnapshotOutput) SetVolumeARN(v string) *CreateSnapshotOutput
SetVolumeARN sets the VolumeARN field's value.
func (s CreateSnapshotOutput) String() string
String returns the string representation
type CreateStorediSCSIVolumeInput struct { // The unique identifier for the gateway local disk that is configured as a // stored volume. Use ListLocalDisks (https://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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // Set to true to use Amazon S3 server-side encryption with your own AWS KMS // key, or false to use a key managed by Amazon S3. Optional. // // Valid Values: true | false KMSEncrypted *bool `type:"boolean"` // The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used // for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric // CMKs. This value can only be set when KMSEncrypted is true. Optional. KMSKey *string `min:"7" type:"string"` // 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"` // Set to true true if you want to preserve the data on the local disk. Otherwise, // set to false to create 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 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSnapshots.html) // in the Amazon Elastic Compute Cloud API Reference. SnapshotId *string `type:"string"` // A list of up to 50 tags that can be assigned to a stored volume. Each tag // is a key-value pair. // // Valid characters for key and value are letters, spaces, and numbers representable // in UTF-8 format, and the following special characters: + - = . _ : / @. The // maximum length of a tag's key is 128 characters, and the maximum length for // a tag's value is 256. Tags []*Tag `type:"list"` // The name of the iSCSI target used by an initiator to connect to a volume // and used as a suffix for the target ARN. For example, specifying TargetName // as myvolume results in the target ARN of arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/target/iqn.1997-05.com.amazon:myvolume. // The target name must be unique across all volumes on a gateway. // // If you don't specify a value, Storage Gateway uses the value that was previously // used for this volume as the new target name. // // 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
func (s CreateStorediSCSIVolumeInput) GoString() string
GoString returns the string representation
func (s *CreateStorediSCSIVolumeInput) SetDiskId(v string) *CreateStorediSCSIVolumeInput
SetDiskId sets the DiskId field's value.
func (s *CreateStorediSCSIVolumeInput) SetGatewayARN(v string) *CreateStorediSCSIVolumeInput
SetGatewayARN sets the GatewayARN field's value.
func (s *CreateStorediSCSIVolumeInput) SetKMSEncrypted(v bool) *CreateStorediSCSIVolumeInput
SetKMSEncrypted sets the KMSEncrypted field's value.
func (s *CreateStorediSCSIVolumeInput) SetKMSKey(v string) *CreateStorediSCSIVolumeInput
SetKMSKey sets the KMSKey field's value.
func (s *CreateStorediSCSIVolumeInput) SetNetworkInterfaceId(v string) *CreateStorediSCSIVolumeInput
SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
func (s *CreateStorediSCSIVolumeInput) SetPreserveExistingData(v bool) *CreateStorediSCSIVolumeInput
SetPreserveExistingData sets the PreserveExistingData field's value.
func (s *CreateStorediSCSIVolumeInput) SetSnapshotId(v string) *CreateStorediSCSIVolumeInput
SetSnapshotId sets the SnapshotId field's value.
func (s *CreateStorediSCSIVolumeInput) SetTags(v []*Tag) *CreateStorediSCSIVolumeInput
SetTags sets the Tags field's value.
func (s *CreateStorediSCSIVolumeInput) SetTargetName(v string) *CreateStorediSCSIVolumeInput
SetTargetName sets the TargetName field's value.
func (s CreateStorediSCSIVolumeInput) String() string
String returns the string representation
func (s *CreateStorediSCSIVolumeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateStorediSCSIVolumeOutput struct { // The Amazon Resource Name (ARN) of the volume target, which 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:
func (s CreateStorediSCSIVolumeOutput) GoString() string
GoString returns the string representation
func (s *CreateStorediSCSIVolumeOutput) SetTargetARN(v string) *CreateStorediSCSIVolumeOutput
SetTargetARN sets the TargetARN field's value.
func (s *CreateStorediSCSIVolumeOutput) SetVolumeARN(v string) *CreateStorediSCSIVolumeOutput
SetVolumeARN sets the VolumeARN field's value.
func (s *CreateStorediSCSIVolumeOutput) SetVolumeSizeInBytes(v int64) *CreateStorediSCSIVolumeOutput
SetVolumeSizeInBytes sets the VolumeSizeInBytes field's value.
func (s CreateStorediSCSIVolumeOutput) String() string
String returns the string representation
type CreateTapePoolInput struct { // The name of the new custom tape pool. // // PoolName is a required field PoolName *string `min:"1" type:"string" required:"true"` // Tape retention lock time is set in days. Tape retention lock can be enabled // for up to 100 years (36,500 days). RetentionLockTimeInDays *int64 `type:"integer"` // Tape retention lock can be configured in two modes. When configured in governance // mode, AWS accounts with specific IAM permissions are authorized to remove // the tape retention lock from archived virtual tapes. When configured in compliance // mode, the tape retention lock cannot be removed by any user, including the // root AWS account. RetentionLockType *string `type:"string" enum:"RetentionLockType"` // The storage class that is associated with the new custom pool. When you use // your backup application to eject the tape, the tape is archived directly // into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds // to the pool. // // StorageClass is a required field StorageClass *string `type:"string" required:"true" enum:"TapeStorageClass"` // A list of up to 50 tags that can be assigned to tape pool. Each tag is a // key-value pair. // // Valid characters for key and value are letters, spaces, and numbers representable // in UTF-8 format, and the following special characters: + - = . _ : / @. The // maximum length of a tag's key is 128 characters, and the maximum length for // a tag's value is 256. Tags []*Tag `type:"list"` // contains filtered or unexported fields }
func (s CreateTapePoolInput) GoString() string
GoString returns the string representation
func (s *CreateTapePoolInput) SetPoolName(v string) *CreateTapePoolInput
SetPoolName sets the PoolName field's value.
func (s *CreateTapePoolInput) SetRetentionLockTimeInDays(v int64) *CreateTapePoolInput
SetRetentionLockTimeInDays sets the RetentionLockTimeInDays field's value.
func (s *CreateTapePoolInput) SetRetentionLockType(v string) *CreateTapePoolInput
SetRetentionLockType sets the RetentionLockType field's value.
func (s *CreateTapePoolInput) SetStorageClass(v string) *CreateTapePoolInput
SetStorageClass sets the StorageClass field's value.
func (s *CreateTapePoolInput) SetTags(v []*Tag) *CreateTapePoolInput
SetTags sets the Tags field's value.
func (s CreateTapePoolInput) String() string
String returns the string representation
func (s *CreateTapePoolInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTapePoolOutput struct { // The unique Amazon Resource Name (ARN) that represents the custom tape pool. // Use the ListTapePools operation to return a list of tape pools for your account // and AWS Region. PoolARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s CreateTapePoolOutput) GoString() string
GoString returns the string representation
func (s *CreateTapePoolOutput) SetPoolARN(v string) *CreateTapePoolOutput
SetPoolARN sets the PoolARN field's value.
func (s CreateTapePoolOutput) String() string
String returns the string representation
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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // Set to true to use Amazon S3 server-side encryption with your own AWS KMS // key, or false to use a key managed by Amazon S3. Optional. // // Valid Values: true | false KMSEncrypted *bool `type:"boolean"` // The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used // for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric // CMKs. This value can only be set when KMSEncrypted is true. Optional. KMSKey *string `min:"7" type:"string"` // The ID of the pool that you want to add your tape to for archiving. The tape // in this pool is archived in the S3 storage class that is associated with // the pool. When you use your backup application to eject the tape, the tape // is archived directly into the storage class (S3 Glacier or S3 Deep Archive) // that corresponds to the pool. // // Valid Values: GLACIER | DEEP_ARCHIVE PoolId *string `min:"1" type:"string"` // A list of up to 50 tags that can be assigned to a virtual tape that has a // barcode. Each tag is a key-value pair. // // Valid characters for key and value are letters, spaces, and numbers representable // in UTF-8 format, and the following special characters: + - = . _ : / @. The // maximum length of a tag's key is 128 characters, and the maximum length for // a tag's value is 256. Tags []*Tag `type:"list"` // The barcode that you want to assign to the tape. // // Barcodes cannot be reused. This includes barcodes used for tapes that have // been deleted. // // 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 bytes). // // TapeSizeInBytes is a required field TapeSizeInBytes *int64 `type:"long" required:"true"` // Set to TRUE if the tape you are creating is to be configured as a write-once-read-many // (WORM) tape. Worm *bool `type:"boolean"` // contains filtered or unexported fields }
CreateTapeWithBarcodeInput
func (s CreateTapeWithBarcodeInput) GoString() string
GoString returns the string representation
func (s *CreateTapeWithBarcodeInput) SetGatewayARN(v string) *CreateTapeWithBarcodeInput
SetGatewayARN sets the GatewayARN field's value.
func (s *CreateTapeWithBarcodeInput) SetKMSEncrypted(v bool) *CreateTapeWithBarcodeInput
SetKMSEncrypted sets the KMSEncrypted field's value.
func (s *CreateTapeWithBarcodeInput) SetKMSKey(v string) *CreateTapeWithBarcodeInput
SetKMSKey sets the KMSKey field's value.
func (s *CreateTapeWithBarcodeInput) SetPoolId(v string) *CreateTapeWithBarcodeInput
SetPoolId sets the PoolId field's value.
func (s *CreateTapeWithBarcodeInput) SetTags(v []*Tag) *CreateTapeWithBarcodeInput
SetTags sets the Tags field's value.
func (s *CreateTapeWithBarcodeInput) SetTapeBarcode(v string) *CreateTapeWithBarcodeInput
SetTapeBarcode sets the TapeBarcode field's value.
func (s *CreateTapeWithBarcodeInput) SetTapeSizeInBytes(v int64) *CreateTapeWithBarcodeInput
SetTapeSizeInBytes sets the TapeSizeInBytes field's value.
func (s *CreateTapeWithBarcodeInput) SetWorm(v bool) *CreateTapeWithBarcodeInput
SetWorm sets the Worm field's value.
func (s CreateTapeWithBarcodeInput) String() string
String returns the string representation
func (s *CreateTapeWithBarcodeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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
func (s CreateTapeWithBarcodeOutput) GoString() string
GoString returns the string representation
func (s *CreateTapeWithBarcodeOutput) SetTapeARN(v string) *CreateTapeWithBarcodeOutput
SetTapeARN sets the TapeARN field's value.
func (s CreateTapeWithBarcodeOutput) String() string
String returns the string representation
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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // Set to true to use Amazon S3 server-side encryption with your own AWS KMS // key, or false to use a key managed by Amazon S3. Optional. // // Valid Values: true | false KMSEncrypted *bool `type:"boolean"` // The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used // for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric // CMKs. This value can only be set when KMSEncrypted is true. Optional. KMSKey *string `min:"7" type:"string"` // The number of virtual tapes that you want to create. // // NumTapesToCreate is a required field NumTapesToCreate *int64 `min:"1" type:"integer" required:"true"` // The ID of the pool that you want to add your tape to for archiving. The tape // in this pool is archived in the S3 storage class that is associated with // the pool. When you use your backup application to eject the tape, the tape // is archived directly into the storage class (S3 Glacier or S3 Glacier Deep // Archive) that corresponds to the pool. // // Valid Values: GLACIER | DEEP_ARCHIVE PoolId *string `min:"1" type:"string"` // A list of up to 50 tags that can be assigned to a virtual tape. Each tag // is a key-value pair. // // Valid characters for key and value are letters, spaces, and numbers representable // in UTF-8 format, and the following special characters: + - = . _ : / @. The // maximum length of a tag's key is 128 characters, and the maximum length for // a tag's value is 256. Tags []*Tag `type:"list"` // 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 bytes). // // TapeSizeInBytes is a required field TapeSizeInBytes *int64 `type:"long" required:"true"` // Set to TRUE if the tape you are creating is to be configured as a write-once-read-many // (WORM) tape. Worm *bool `type:"boolean"` // contains filtered or unexported fields }
CreateTapesInput
func (s CreateTapesInput) GoString() string
GoString returns the string representation
func (s *CreateTapesInput) SetClientToken(v string) *CreateTapesInput
SetClientToken sets the ClientToken field's value.
func (s *CreateTapesInput) SetGatewayARN(v string) *CreateTapesInput
SetGatewayARN sets the GatewayARN field's value.
func (s *CreateTapesInput) SetKMSEncrypted(v bool) *CreateTapesInput
SetKMSEncrypted sets the KMSEncrypted field's value.
func (s *CreateTapesInput) SetKMSKey(v string) *CreateTapesInput
SetKMSKey sets the KMSKey field's value.
func (s *CreateTapesInput) SetNumTapesToCreate(v int64) *CreateTapesInput
SetNumTapesToCreate sets the NumTapesToCreate field's value.
func (s *CreateTapesInput) SetPoolId(v string) *CreateTapesInput
SetPoolId sets the PoolId field's value.
func (s *CreateTapesInput) SetTags(v []*Tag) *CreateTapesInput
SetTags sets the Tags field's value.
func (s *CreateTapesInput) SetTapeBarcodePrefix(v string) *CreateTapesInput
SetTapeBarcodePrefix sets the TapeBarcodePrefix field's value.
func (s *CreateTapesInput) SetTapeSizeInBytes(v int64) *CreateTapesInput
SetTapeSizeInBytes sets the TapeSizeInBytes field's value.
func (s *CreateTapesInput) SetWorm(v bool) *CreateTapesInput
SetWorm sets the Worm field's value.
func (s CreateTapesInput) String() string
String returns the string representation
func (s *CreateTapesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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
func (s CreateTapesOutput) GoString() string
GoString returns the string representation
func (s *CreateTapesOutput) SetTapeARNs(v []*string) *CreateTapesOutput
SetTapeARNs sets the TapeARNs field's value.
func (s CreateTapesOutput) String() string
String returns the string representation
type DeleteAutomaticTapeCreationPolicyInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteAutomaticTapeCreationPolicyInput) GoString() string
GoString returns the string representation
func (s *DeleteAutomaticTapeCreationPolicyInput) SetGatewayARN(v string) *DeleteAutomaticTapeCreationPolicyInput
SetGatewayARN sets the GatewayARN field's value.
func (s DeleteAutomaticTapeCreationPolicyInput) String() string
String returns the string representation
func (s *DeleteAutomaticTapeCreationPolicyInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAutomaticTapeCreationPolicyOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s DeleteAutomaticTapeCreationPolicyOutput) GoString() string
GoString returns the string representation
func (s *DeleteAutomaticTapeCreationPolicyOutput) SetGatewayARN(v string) *DeleteAutomaticTapeCreationPolicyOutput
SetGatewayARN sets the GatewayARN field's value.
func (s DeleteAutomaticTapeCreationPolicyOutput) String() string
String returns the string representation
type DeleteBandwidthRateLimitInput struct { // One of the BandwidthType values that indicates the gateway bandwidth rate // limit to delete. // // Valid Values: UPLOAD | DOWNLOAD | ALL // // 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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the following fields:
* DeleteBandwidthRateLimitInput$BandwidthType
func (s DeleteBandwidthRateLimitInput) GoString() string
GoString returns the string representation
func (s *DeleteBandwidthRateLimitInput) SetBandwidthType(v string) *DeleteBandwidthRateLimitInput
SetBandwidthType sets the BandwidthType field's value.
func (s *DeleteBandwidthRateLimitInput) SetGatewayARN(v string) *DeleteBandwidthRateLimitInput
SetGatewayARN sets the GatewayARN field's value.
func (s DeleteBandwidthRateLimitInput) String() string
String returns the string representation
func (s *DeleteBandwidthRateLimitInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the Amazon Resource Name (ARN) of the gateway whose bandwidth rate information was deleted.
func (s DeleteBandwidthRateLimitOutput) GoString() string
GoString returns the string representation
func (s *DeleteBandwidthRateLimitOutput) SetGatewayARN(v string) *DeleteBandwidthRateLimitOutput
SetGatewayARN sets the GatewayARN field's value.
func (s DeleteBandwidthRateLimitOutput) String() string
String returns the string representation
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
func (s DeleteChapCredentialsInput) GoString() string
GoString returns the string representation
func (s *DeleteChapCredentialsInput) SetInitiatorName(v string) *DeleteChapCredentialsInput
SetInitiatorName sets the InitiatorName field's value.
func (s *DeleteChapCredentialsInput) SetTargetARN(v string) *DeleteChapCredentialsInput
SetTargetARN sets the TargetARN field's value.
func (s DeleteChapCredentialsInput) String() string
String returns the string representation
func (s *DeleteChapCredentialsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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:
func (s DeleteChapCredentialsOutput) GoString() string
GoString returns the string representation
func (s *DeleteChapCredentialsOutput) SetInitiatorName(v string) *DeleteChapCredentialsOutput
SetInitiatorName sets the InitiatorName field's value.
func (s *DeleteChapCredentialsOutput) SetTargetARN(v string) *DeleteChapCredentialsOutput
SetTargetARN sets the TargetARN field's value.
func (s DeleteChapCredentialsOutput) String() string
String returns the string representation
type DeleteFileShareInput struct { // The Amazon Resource Name (ARN) of the file share to be deleted. // // FileShareARN is a required field FileShareARN *string `min:"50" type:"string" required:"true"` // If this value is set to true, the operation deletes a file share immediately // and aborts all data uploads to AWS. Otherwise, the file share is not deleted // until all data is uploaded to AWS. This process aborts the data upload process, // and the file share enters the FORCE_DELETING status. // // Valid Values: true | false ForceDelete *bool `type:"boolean"` // contains filtered or unexported fields }
DeleteFileShareInput
func (s DeleteFileShareInput) GoString() string
GoString returns the string representation
func (s *DeleteFileShareInput) SetFileShareARN(v string) *DeleteFileShareInput
SetFileShareARN sets the FileShareARN field's value.
func (s *DeleteFileShareInput) SetForceDelete(v bool) *DeleteFileShareInput
SetForceDelete sets the ForceDelete field's value.
func (s DeleteFileShareInput) String() string
String returns the string representation
func (s *DeleteFileShareInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteFileShareOutput struct { // The Amazon Resource Name (ARN) of the deleted file share. FileShareARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
DeleteFileShareOutput
func (s DeleteFileShareOutput) GoString() string
GoString returns the string representation
func (s *DeleteFileShareOutput) SetFileShareARN(v string) *DeleteFileShareOutput
SetFileShareARN sets the FileShareARN field's value.
func (s DeleteFileShareOutput) String() string
String returns the string representation
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 AWS 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.
func (s DeleteGatewayInput) GoString() string
GoString returns the string representation
func (s *DeleteGatewayInput) SetGatewayARN(v string) *DeleteGatewayInput
SetGatewayARN sets the GatewayARN field's value.
func (s DeleteGatewayInput) String() string
String returns the string representation
func (s *DeleteGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the ID of the deleted gateway.
func (s DeleteGatewayOutput) GoString() string
GoString returns the string representation
func (s *DeleteGatewayOutput) SetGatewayARN(v string) *DeleteGatewayOutput
SetGatewayARN sets the GatewayARN field's value.
func (s DeleteGatewayOutput) String() string
String returns the string representation
type DeleteSnapshotScheduleInput struct { // The volume which snapshot schedule to delete. // // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteSnapshotScheduleInput) GoString() string
GoString returns the string representation
func (s *DeleteSnapshotScheduleInput) SetVolumeARN(v string) *DeleteSnapshotScheduleInput
SetVolumeARN sets the VolumeARN field's value.
func (s DeleteSnapshotScheduleInput) String() string
String returns the string representation
func (s *DeleteSnapshotScheduleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteSnapshotScheduleOutput struct { // The volume which snapshot schedule was deleted. VolumeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s DeleteSnapshotScheduleOutput) GoString() string
GoString returns the string representation
func (s *DeleteSnapshotScheduleOutput) SetVolumeARN(v string) *DeleteSnapshotScheduleOutput
SetVolumeARN sets the VolumeARN field's value.
func (s DeleteSnapshotScheduleOutput) String() string
String returns the string representation
type DeleteTapeArchiveInput struct { // Set to TRUE to delete an archived tape that belongs to a custom pool with // tape retention lock. Only archived tapes with tape retention lock set to // governance can be deleted. Archived tapes with tape retention lock set to // compliance can't be deleted. BypassGovernanceRetention *bool `type:"boolean"` // 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
func (s DeleteTapeArchiveInput) GoString() string
GoString returns the string representation
func (s *DeleteTapeArchiveInput) SetBypassGovernanceRetention(v bool) *DeleteTapeArchiveInput
SetBypassGovernanceRetention sets the BypassGovernanceRetention field's value.
func (s *DeleteTapeArchiveInput) SetTapeARN(v string) *DeleteTapeArchiveInput
SetTapeARN sets the TapeARN field's value.
func (s DeleteTapeArchiveInput) String() string
String returns the string representation
func (s *DeleteTapeArchiveInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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
func (s DeleteTapeArchiveOutput) GoString() string
GoString returns the string representation
func (s *DeleteTapeArchiveOutput) SetTapeARN(v string) *DeleteTapeArchiveOutput
SetTapeARN sets the TapeARN field's value.
func (s DeleteTapeArchiveOutput) String() string
String returns the string representation
type DeleteTapeInput struct { // Set to TRUE to delete an archived tape that belongs to a custom pool with // tape retention lock. Only archived tapes with tape retention lock set to // governance can be deleted. Archived tapes with tape retention lock set to // compliance can't be deleted. BypassGovernanceRetention *bool `type:"boolean"` // 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 AWS 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
func (s DeleteTapeInput) GoString() string
GoString returns the string representation
func (s *DeleteTapeInput) SetBypassGovernanceRetention(v bool) *DeleteTapeInput
SetBypassGovernanceRetention sets the BypassGovernanceRetention field's value.
func (s *DeleteTapeInput) SetGatewayARN(v string) *DeleteTapeInput
SetGatewayARN sets the GatewayARN field's value.
func (s *DeleteTapeInput) SetTapeARN(v string) *DeleteTapeInput
SetTapeARN sets the TapeARN field's value.
func (s DeleteTapeInput) String() string
String returns the string representation
func (s *DeleteTapeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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
func (s DeleteTapeOutput) GoString() string
GoString returns the string representation
func (s *DeleteTapeOutput) SetTapeARN(v string) *DeleteTapeOutput
SetTapeARN sets the TapeARN field's value.
func (s DeleteTapeOutput) String() string
String returns the string representation
type DeleteTapePoolInput struct { // The Amazon Resource Name (ARN) of the custom tape pool to delete. // // PoolARN is a required field PoolARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DeleteTapePoolInput) GoString() string
GoString returns the string representation
func (s *DeleteTapePoolInput) SetPoolARN(v string) *DeleteTapePoolInput
SetPoolARN sets the PoolARN field's value.
func (s DeleteTapePoolInput) String() string
String returns the string representation
func (s *DeleteTapePoolInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTapePoolOutput struct { // The Amazon Resource Name (ARN) of the custom tape pool being deleted. PoolARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s DeleteTapePoolOutput) GoString() string
GoString returns the string representation
func (s *DeleteTapePoolOutput) SetPoolARN(v string) *DeleteTapePoolOutput
SetPoolARN sets the PoolARN field's value.
func (s DeleteTapePoolOutput) String() string
String returns the string representation
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.
func (s DeleteVolumeInput) GoString() string
GoString returns the string representation
func (s *DeleteVolumeInput) SetVolumeARN(v string) *DeleteVolumeInput
SetVolumeARN sets the VolumeARN field's value.
func (s DeleteVolumeInput) String() string
String returns the string representation
func (s *DeleteVolumeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 Amazon Resource Name (ARN) of the storage volume that was deleted.
func (s DeleteVolumeOutput) GoString() string
GoString returns the string representation
func (s *DeleteVolumeOutput) SetVolumeARN(v string) *DeleteVolumeOutput
SetVolumeARN sets the VolumeARN field's value.
func (s DeleteVolumeOutput) String() string
String returns the string representation
type DescribeAvailabilityMonitorTestInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeAvailabilityMonitorTestInput) GoString() string
GoString returns the string representation
func (s *DescribeAvailabilityMonitorTestInput) SetGatewayARN(v string) *DescribeAvailabilityMonitorTestInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeAvailabilityMonitorTestInput) String() string
String returns the string representation
func (s *DescribeAvailabilityMonitorTestInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeAvailabilityMonitorTestOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS Region. GatewayARN *string `min:"50" type:"string"` // The time the High Availability monitoring test was started. If a test hasn't // been performed, the value of this field is null. StartTime *time.Time `type:"timestamp"` // The status of the High Availability monitoring test. If a test hasn't been // performed, the value of this field is null. Status *string `type:"string" enum:"AvailabilityMonitorTestStatus"` // contains filtered or unexported fields }
func (s DescribeAvailabilityMonitorTestOutput) GoString() string
GoString returns the string representation
func (s *DescribeAvailabilityMonitorTestOutput) SetGatewayARN(v string) *DescribeAvailabilityMonitorTestOutput
SetGatewayARN sets the GatewayARN field's value.
func (s *DescribeAvailabilityMonitorTestOutput) SetStartTime(v time.Time) *DescribeAvailabilityMonitorTestOutput
SetStartTime sets the StartTime field's value.
func (s *DescribeAvailabilityMonitorTestOutput) SetStatus(v string) *DescribeAvailabilityMonitorTestOutput
SetStatus sets the Status field's value.
func (s DescribeAvailabilityMonitorTestOutput) String() string
String returns the string representation
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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the Amazon Resource Name (ARN) of the gateway.
func (s DescribeBandwidthRateLimitInput) GoString() string
GoString returns the string representation
func (s *DescribeBandwidthRateLimitInput) SetGatewayARN(v string) *DescribeBandwidthRateLimitInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeBandwidthRateLimitInput) String() string
String returns the string representation
func (s *DescribeBandwidthRateLimitInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the following fields:
func (s DescribeBandwidthRateLimitOutput) GoString() string
GoString returns the string representation
func (s *DescribeBandwidthRateLimitOutput) SetAverageDownloadRateLimitInBitsPerSec(v int64) *DescribeBandwidthRateLimitOutput
SetAverageDownloadRateLimitInBitsPerSec sets the AverageDownloadRateLimitInBitsPerSec field's value.
func (s *DescribeBandwidthRateLimitOutput) SetAverageUploadRateLimitInBitsPerSec(v int64) *DescribeBandwidthRateLimitOutput
SetAverageUploadRateLimitInBitsPerSec sets the AverageUploadRateLimitInBitsPerSec field's value.
func (s *DescribeBandwidthRateLimitOutput) SetGatewayARN(v string) *DescribeBandwidthRateLimitOutput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeBandwidthRateLimitOutput) String() string
String returns the string representation
type DescribeBandwidthRateLimitScheduleInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeBandwidthRateLimitScheduleInput) GoString() string
GoString returns the string representation
func (s *DescribeBandwidthRateLimitScheduleInput) SetGatewayARN(v string) *DescribeBandwidthRateLimitScheduleInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeBandwidthRateLimitScheduleInput) String() string
String returns the string representation
func (s *DescribeBandwidthRateLimitScheduleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeBandwidthRateLimitScheduleOutput struct { // An array that contains the bandwidth rate limit intervals for a tape or volume // gateway. BandwidthRateLimitIntervals []*BandwidthRateLimitInterval `type:"list"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s DescribeBandwidthRateLimitScheduleOutput) GoString() string
GoString returns the string representation
func (s *DescribeBandwidthRateLimitScheduleOutput) SetBandwidthRateLimitIntervals(v []*BandwidthRateLimitInterval) *DescribeBandwidthRateLimitScheduleOutput
SetBandwidthRateLimitIntervals sets the BandwidthRateLimitIntervals field's value.
func (s *DescribeBandwidthRateLimitScheduleOutput) SetGatewayARN(v string) *DescribeBandwidthRateLimitScheduleOutput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeBandwidthRateLimitScheduleOutput) String() string
String returns the string representation
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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeCacheInput) GoString() string
GoString returns the string representation
func (s *DescribeCacheInput) SetGatewayARN(v string) *DescribeCacheInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeCacheInput) String() string
String returns the string representation
func (s *DescribeCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeCacheOutput struct { // The amount of cache in bytes allocated to a gateway. CacheAllocatedInBytes *int64 `type:"long"` // The file share's contribution to the overall percentage of the gateway's // cache that has not been persisted to AWS. The sample is taken at the end // of the reporting period. CacheDirtyPercentage *float64 `type:"double"` // Percent of application read operations from the file shares that are served // from cache. The sample is taken at the end of the reporting period. CacheHitPercentage *float64 `type:"double"` // Percent of application read operations from the file shares that are not // served from cache. The sample is taken at the end of the reporting period. CacheMissPercentage *float64 `type:"double"` // Percent use of the gateway's cache storage. This metric applies only to the // gateway-cached volume setup. The sample is taken at the end of the reporting // period. CacheUsedPercentage *float64 `type:"double"` // An array of strings that identify disks that are to be configured as working // storage. Each string has a minimum length of 1 and maximum length of 300. // You can get the disk IDs from the ListLocalDisks API. 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 AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s DescribeCacheOutput) GoString() string
GoString returns the string representation
func (s *DescribeCacheOutput) SetCacheAllocatedInBytes(v int64) *DescribeCacheOutput
SetCacheAllocatedInBytes sets the CacheAllocatedInBytes field's value.
func (s *DescribeCacheOutput) SetCacheDirtyPercentage(v float64) *DescribeCacheOutput
SetCacheDirtyPercentage sets the CacheDirtyPercentage field's value.
func (s *DescribeCacheOutput) SetCacheHitPercentage(v float64) *DescribeCacheOutput
SetCacheHitPercentage sets the CacheHitPercentage field's value.
func (s *DescribeCacheOutput) SetCacheMissPercentage(v float64) *DescribeCacheOutput
SetCacheMissPercentage sets the CacheMissPercentage field's value.
func (s *DescribeCacheOutput) SetCacheUsedPercentage(v float64) *DescribeCacheOutput
SetCacheUsedPercentage sets the CacheUsedPercentage field's value.
func (s *DescribeCacheOutput) SetDiskIds(v []*string) *DescribeCacheOutput
SetDiskIds sets the DiskIds field's value.
func (s *DescribeCacheOutput) SetGatewayARN(v string) *DescribeCacheOutput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeCacheOutput) String() string
String returns the string representation
type DescribeCachediSCSIVolumesInput struct { // An array of strings where each string represents the Amazon Resource Name // (ARN) of a cached volume. All of the specified cached volumes must be 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 }
func (s DescribeCachediSCSIVolumesInput) GoString() string
GoString returns the string representation
func (s *DescribeCachediSCSIVolumesInput) SetVolumeARNs(v []*string) *DescribeCachediSCSIVolumesInput
SetVolumeARNs sets the VolumeARNs field's value.
func (s DescribeCachediSCSIVolumesInput) String() string
String returns the string representation
func (s *DescribeCachediSCSIVolumesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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:
func (s DescribeCachediSCSIVolumesOutput) GoString() string
GoString returns the string representation
func (s *DescribeCachediSCSIVolumesOutput) SetCachediSCSIVolumes(v []*CachediSCSIVolume) *DescribeCachediSCSIVolumesOutput
SetCachediSCSIVolumes sets the CachediSCSIVolumes field's value.
func (s DescribeCachediSCSIVolumesOutput) String() string
String returns the string representation
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.
func (s DescribeChapCredentialsInput) GoString() string
GoString returns the string representation
func (s *DescribeChapCredentialsInput) SetTargetARN(v string) *DescribeChapCredentialsInput
SetTargetARN sets the TargetARN field's value.
func (s DescribeChapCredentialsInput) String() string
String returns the string representation
func (s *DescribeChapCredentialsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 the following fields:
func (s DescribeChapCredentialsOutput) GoString() string
GoString returns the string representation
func (s *DescribeChapCredentialsOutput) SetChapCredentials(v []*ChapInfo) *DescribeChapCredentialsOutput
SetChapCredentials sets the ChapCredentials field's value.
func (s DescribeChapCredentialsOutput) String() string
String returns the string representation
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 AWS 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.
func (s DescribeGatewayInformationInput) GoString() string
GoString returns the string representation
func (s *DescribeGatewayInformationInput) SetGatewayARN(v string) *DescribeGatewayInformationInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeGatewayInformationInput) String() string
String returns the string representation
func (s *DescribeGatewayInformationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeGatewayInformationOutput struct { // The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is // used to monitor events in the gateway. CloudWatchLogGroupARN *string `type:"string"` // Date after which this gateway will not receive software updates for new features // and bug fixes. DeprecationDate *string `min:"1" type:"string"` // The ID of the Amazon EC2 instance that was used to launch the gateway. Ec2InstanceId *string `type:"string"` // The AWS Region where the Amazon EC2 instance is located. Ec2InstanceRegion *string `type:"string"` // The type of endpoint for your gateway. // // Valid Values: STANDARD | FIPS EndpointType *string `min:"4" type:"string"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS 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 type of hypervisor environment used by the host. HostEnvironment *string `type:"string" enum:"HostEnvironment"` // 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"` // Date after which this gateway will not receive software updates for new features. SoftwareUpdatesEndDate *string `min:"1" type:"string"` // A list of up to 50 tags assigned to the gateway, sorted alphabetically by // key name. Each tag is a key-value pair. For a gateway with more than 10 tags // assigned, you can view all tags using the ListTagsForResource API operation. Tags []*Tag `type:"list"` // The configuration settings for the virtual private cloud (VPC) endpoint for // your gateway. VPCEndpoint *string `type:"string"` // contains filtered or unexported fields }
A JSON object containing the following fields:
func (s DescribeGatewayInformationOutput) GoString() string
GoString returns the string representation
func (s *DescribeGatewayInformationOutput) SetCloudWatchLogGroupARN(v string) *DescribeGatewayInformationOutput
SetCloudWatchLogGroupARN sets the CloudWatchLogGroupARN field's value.
func (s *DescribeGatewayInformationOutput) SetDeprecationDate(v string) *DescribeGatewayInformationOutput
SetDeprecationDate sets the DeprecationDate field's value.
func (s *DescribeGatewayInformationOutput) SetEc2InstanceId(v string) *DescribeGatewayInformationOutput
SetEc2InstanceId sets the Ec2InstanceId field's value.
func (s *DescribeGatewayInformationOutput) SetEc2InstanceRegion(v string) *DescribeGatewayInformationOutput
SetEc2InstanceRegion sets the Ec2InstanceRegion field's value.
func (s *DescribeGatewayInformationOutput) SetEndpointType(v string) *DescribeGatewayInformationOutput
SetEndpointType sets the EndpointType field's value.
func (s *DescribeGatewayInformationOutput) SetGatewayARN(v string) *DescribeGatewayInformationOutput
SetGatewayARN sets the GatewayARN field's value.
func (s *DescribeGatewayInformationOutput) SetGatewayId(v string) *DescribeGatewayInformationOutput
SetGatewayId sets the GatewayId field's value.
func (s *DescribeGatewayInformationOutput) SetGatewayName(v string) *DescribeGatewayInformationOutput
SetGatewayName sets the GatewayName field's value.
func (s *DescribeGatewayInformationOutput) SetGatewayNetworkInterfaces(v []*NetworkInterface) *DescribeGatewayInformationOutput
SetGatewayNetworkInterfaces sets the GatewayNetworkInterfaces field's value.
func (s *DescribeGatewayInformationOutput) SetGatewayState(v string) *DescribeGatewayInformationOutput
SetGatewayState sets the GatewayState field's value.
func (s *DescribeGatewayInformationOutput) SetGatewayTimezone(v string) *DescribeGatewayInformationOutput
SetGatewayTimezone sets the GatewayTimezone field's value.
func (s *DescribeGatewayInformationOutput) SetGatewayType(v string) *DescribeGatewayInformationOutput
SetGatewayType sets the GatewayType field's value.
func (s *DescribeGatewayInformationOutput) SetHostEnvironment(v string) *DescribeGatewayInformationOutput
SetHostEnvironment sets the HostEnvironment field's value.
func (s *DescribeGatewayInformationOutput) SetLastSoftwareUpdate(v string) *DescribeGatewayInformationOutput
SetLastSoftwareUpdate sets the LastSoftwareUpdate field's value.
func (s *DescribeGatewayInformationOutput) SetNextUpdateAvailabilityDate(v string) *DescribeGatewayInformationOutput
SetNextUpdateAvailabilityDate sets the NextUpdateAvailabilityDate field's value.
func (s *DescribeGatewayInformationOutput) SetSoftwareUpdatesEndDate(v string) *DescribeGatewayInformationOutput
SetSoftwareUpdatesEndDate sets the SoftwareUpdatesEndDate field's value.
func (s *DescribeGatewayInformationOutput) SetTags(v []*Tag) *DescribeGatewayInformationOutput
SetTags sets the Tags field's value.
func (s *DescribeGatewayInformationOutput) SetVPCEndpoint(v string) *DescribeGatewayInformationOutput
SetVPCEndpoint sets the VPCEndpoint field's value.
func (s DescribeGatewayInformationOutput) String() string
String returns the string representation
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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the Amazon Resource Name (ARN) of the gateway.
func (s DescribeMaintenanceStartTimeInput) GoString() string
GoString returns the string representation
func (s *DescribeMaintenanceStartTimeInput) SetGatewayARN(v string) *DescribeMaintenanceStartTimeInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeMaintenanceStartTimeInput) String() string
String returns the string representation
func (s *DescribeMaintenanceStartTimeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeMaintenanceStartTimeOutput struct { // The day of the month component of the maintenance start time represented // as an ordinal number from 1 to 28, where 1 represents the first day of the // month and 28 represents the last day of the month. DayOfMonth *int64 `min:"1" type:"integer"` // An ordinal number between 0 and 6 that represents the day of the week, where // 0 represents Sunday and 6 represents Saturday. The day of week is in the // time zone of the gateway. 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 AWS Region. GatewayARN *string `min:"50" type:"string"` // The hour component of the maintenance start time represented as hh, where // hh is the hour (0 to 23). The hour of the day is in the time zone of the // gateway. HourOfDay *int64 `type:"integer"` // The minute component of the maintenance start time represented as mm, where // mm is the minute (0 to 59). The minute of the hour is in the time zone of // the gateway. MinuteOfHour *int64 `type:"integer"` // A value that indicates the time zone that is set for the gateway. The start // time and day of week specified should be in the time zone of the gateway. Timezone *string `min:"3" type:"string"` // contains filtered or unexported fields }
A JSON object containing the following fields:
* DescribeMaintenanceStartTimeOutput$DayOfMonth * DescribeMaintenanceStartTimeOutput$DayOfWeek * DescribeMaintenanceStartTimeOutput$HourOfDay * DescribeMaintenanceStartTimeOutput$MinuteOfHour * DescribeMaintenanceStartTimeOutput$Timezone
func (s DescribeMaintenanceStartTimeOutput) GoString() string
GoString returns the string representation
func (s *DescribeMaintenanceStartTimeOutput) SetDayOfMonth(v int64) *DescribeMaintenanceStartTimeOutput
SetDayOfMonth sets the DayOfMonth field's value.
func (s *DescribeMaintenanceStartTimeOutput) SetDayOfWeek(v int64) *DescribeMaintenanceStartTimeOutput
SetDayOfWeek sets the DayOfWeek field's value.
func (s *DescribeMaintenanceStartTimeOutput) SetGatewayARN(v string) *DescribeMaintenanceStartTimeOutput
SetGatewayARN sets the GatewayARN field's value.
func (s *DescribeMaintenanceStartTimeOutput) SetHourOfDay(v int64) *DescribeMaintenanceStartTimeOutput
SetHourOfDay sets the HourOfDay field's value.
func (s *DescribeMaintenanceStartTimeOutput) SetMinuteOfHour(v int64) *DescribeMaintenanceStartTimeOutput
SetMinuteOfHour sets the MinuteOfHour field's value.
func (s *DescribeMaintenanceStartTimeOutput) SetTimezone(v string) *DescribeMaintenanceStartTimeOutput
SetTimezone sets the Timezone field's value.
func (s DescribeMaintenanceStartTimeOutput) String() string
String returns the string representation
type DescribeNFSFileSharesInput struct { // An array containing the Amazon Resource Name (ARN) of each file share to // be described. // // FileShareARNList is a required field FileShareARNList []*string `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
DescribeNFSFileSharesInput
func (s DescribeNFSFileSharesInput) GoString() string
GoString returns the string representation
func (s *DescribeNFSFileSharesInput) SetFileShareARNList(v []*string) *DescribeNFSFileSharesInput
SetFileShareARNList sets the FileShareARNList field's value.
func (s DescribeNFSFileSharesInput) String() string
String returns the string representation
func (s *DescribeNFSFileSharesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeNFSFileSharesOutput struct { // An array containing a description for each requested file share. NFSFileShareInfoList []*NFSFileShareInfo `type:"list"` // contains filtered or unexported fields }
DescribeNFSFileSharesOutput
func (s DescribeNFSFileSharesOutput) GoString() string
GoString returns the string representation
func (s *DescribeNFSFileSharesOutput) SetNFSFileShareInfoList(v []*NFSFileShareInfo) *DescribeNFSFileSharesOutput
SetNFSFileShareInfoList sets the NFSFileShareInfoList field's value.
func (s DescribeNFSFileSharesOutput) String() string
String returns the string representation
type DescribeSMBFileSharesInput struct { // An array containing the Amazon Resource Name (ARN) of each file share to // be described. // // FileShareARNList is a required field FileShareARNList []*string `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
DescribeSMBFileSharesInput
func (s DescribeSMBFileSharesInput) GoString() string
GoString returns the string representation
func (s *DescribeSMBFileSharesInput) SetFileShareARNList(v []*string) *DescribeSMBFileSharesInput
SetFileShareARNList sets the FileShareARNList field's value.
func (s DescribeSMBFileSharesInput) String() string
String returns the string representation
func (s *DescribeSMBFileSharesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSMBFileSharesOutput struct { // An array containing a description for each requested file share. SMBFileShareInfoList []*SMBFileShareInfo `type:"list"` // contains filtered or unexported fields }
DescribeSMBFileSharesOutput
func (s DescribeSMBFileSharesOutput) GoString() string
GoString returns the string representation
func (s *DescribeSMBFileSharesOutput) SetSMBFileShareInfoList(v []*SMBFileShareInfo) *DescribeSMBFileSharesOutput
SetSMBFileShareInfoList sets the SMBFileShareInfoList field's value.
func (s DescribeSMBFileSharesOutput) String() string
String returns the string representation
type DescribeSMBSettingsInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeSMBSettingsInput) GoString() string
GoString returns the string representation
func (s *DescribeSMBSettingsInput) SetGatewayARN(v string) *DescribeSMBSettingsInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeSMBSettingsInput) String() string
String returns the string representation
func (s *DescribeSMBSettingsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSMBSettingsOutput struct { // Indicates the status of a gateway that is a member of the Active Directory // domain. // // * ACCESS_DENIED: Indicates that the JoinDomain operation failed due to // an authentication error. // // * DETACHED: Indicates that gateway is not joined to a domain. // // * JOINED: Indicates that the gateway has successfully joined a domain. // // * JOINING: Indicates that a JoinDomain operation is in progress. // // * NETWORK_ERROR: Indicates that JoinDomain operation failed due to a network // or connectivity error. // // * TIMEOUT: Indicates that the JoinDomain operation failed because the // operation didn't complete within the allotted time. // // * UNKNOWN_ERROR: Indicates that the JoinDomain operation failed due to // another type of error. ActiveDirectoryStatus *string `type:"string" enum:"ActiveDirectoryStatus"` // The name of the domain that the gateway is joined to. DomainName *string `min:"1" type:"string"` // The shares on this gateway appear when listing shares. FileSharesVisible *bool `type:"boolean"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS Region. GatewayARN *string `min:"50" type:"string"` // This value is true if a password for the guest user smbguest is set, otherwise // false. // // Valid Values: true | false SMBGuestPasswordSet *bool `type:"boolean"` // The type of security strategy that was specified for file gateway. // // * ClientSpecified: If you use this option, requests are established based // on what is negotiated by the client. This option is recommended when you // want to maximize compatibility across different clients in your environment. // // * MandatorySigning: If you use this option, file gateway only allows connections // from SMBv2 or SMBv3 clients that have signing enabled. This option works // with SMB clients on Microsoft Windows Vista, Windows Server 2008 or newer. // // * MandatoryEncryption: If you use this option, file gateway only allows // connections from SMBv3 clients that have encryption enabled. This option // is highly recommended for environments that handle sensitive data. This // option works with SMB clients on Microsoft Windows 8, Windows Server 2012 // or newer. SMBSecurityStrategy *string `type:"string" enum:"SMBSecurityStrategy"` // contains filtered or unexported fields }
func (s DescribeSMBSettingsOutput) GoString() string
GoString returns the string representation
func (s *DescribeSMBSettingsOutput) SetActiveDirectoryStatus(v string) *DescribeSMBSettingsOutput
SetActiveDirectoryStatus sets the ActiveDirectoryStatus field's value.
func (s *DescribeSMBSettingsOutput) SetDomainName(v string) *DescribeSMBSettingsOutput
SetDomainName sets the DomainName field's value.
func (s *DescribeSMBSettingsOutput) SetFileSharesVisible(v bool) *DescribeSMBSettingsOutput
SetFileSharesVisible sets the FileSharesVisible field's value.
func (s *DescribeSMBSettingsOutput) SetGatewayARN(v string) *DescribeSMBSettingsOutput
SetGatewayARN sets the GatewayARN field's value.
func (s *DescribeSMBSettingsOutput) SetSMBGuestPasswordSet(v bool) *DescribeSMBSettingsOutput
SetSMBGuestPasswordSet sets the SMBGuestPasswordSet field's value.
func (s *DescribeSMBSettingsOutput) SetSMBSecurityStrategy(v string) *DescribeSMBSettingsOutput
SetSMBSecurityStrategy sets the SMBSecurityStrategy field's value.
func (s DescribeSMBSettingsOutput) String() string
String returns the string representation
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.
func (s DescribeSnapshotScheduleInput) GoString() string
GoString returns the string representation
func (s *DescribeSnapshotScheduleInput) SetVolumeARN(v string) *DescribeSnapshotScheduleInput
SetVolumeARN sets the VolumeARN field's value.
func (s DescribeSnapshotScheduleInput) String() string
String returns the string representation
func (s *DescribeSnapshotScheduleInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeSnapshotScheduleOutput struct { // The snapshot description. Description *string `min:"1" type:"string"` // The number of hours between snapshots. RecurrenceInHours *int64 `min:"1" type:"integer"` // 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 *int64 `type:"integer"` // A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically // by key name. Each tag is a key-value pair. For a gateway with more than 10 // tags assigned, you can view all tags using the ListTagsForResource API operation. Tags []*Tag `type:"list"` // A value that indicates the time zone of the gateway. Timezone *string `min:"3" type:"string"` // The Amazon Resource Name (ARN) of the volume that was specified in the request. VolumeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s DescribeSnapshotScheduleOutput) GoString() string
GoString returns the string representation
func (s *DescribeSnapshotScheduleOutput) SetDescription(v string) *DescribeSnapshotScheduleOutput
SetDescription sets the Description field's value.
func (s *DescribeSnapshotScheduleOutput) SetRecurrenceInHours(v int64) *DescribeSnapshotScheduleOutput
SetRecurrenceInHours sets the RecurrenceInHours field's value.
func (s *DescribeSnapshotScheduleOutput) SetStartAt(v int64) *DescribeSnapshotScheduleOutput
SetStartAt sets the StartAt field's value.
func (s *DescribeSnapshotScheduleOutput) SetTags(v []*Tag) *DescribeSnapshotScheduleOutput
SetTags sets the Tags field's value.
func (s *DescribeSnapshotScheduleOutput) SetTimezone(v string) *DescribeSnapshotScheduleOutput
SetTimezone sets the Timezone field's value.
func (s *DescribeSnapshotScheduleOutput) SetVolumeARN(v string) *DescribeSnapshotScheduleOutput
SetVolumeARN sets the VolumeARN field's value.
func (s DescribeSnapshotScheduleOutput) String() string
String returns the string representation
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 be 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.
func (s DescribeStorediSCSIVolumesInput) GoString() string
GoString returns the string representation
func (s *DescribeStorediSCSIVolumesInput) SetVolumeARNs(v []*string) *DescribeStorediSCSIVolumesInput
SetVolumeARNs sets the VolumeARNs field's value.
func (s DescribeStorediSCSIVolumesInput) String() string
String returns the string representation
func (s *DescribeStorediSCSIVolumesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeStorediSCSIVolumesOutput struct { // Describes a single unit of output from DescribeStorediSCSIVolumes. The following // fields are returned: // // * ChapEnabled: Indicates whether mutual CHAP is enabled for the iSCSI // target. // // * LunNumber: The logical disk number. // // * NetworkInterfaceId: The network interface ID of the stored volume that // initiator use to map the stored volume as an iSCSI target. // // * NetworkInterfacePort: The port used to communicate with iSCSI targets. // // * PreservedExistingData: Indicates when the stored volume was created, // existing data on the underlying local disk was preserved. // // * SourceSnapshotId: If the stored volume was created from a snapshot, // this field contains the snapshot ID used, e.g. snap-1122aabb. Otherwise, // this field is not included. // // * StorediSCSIVolumes: An array of StorediSCSIVolume objects where each // object contains metadata about one stored volume. // // * TargetARN: The Amazon Resource Name (ARN) of the volume target. // // * VolumeARN: The Amazon Resource Name (ARN) of the stored volume. // // * VolumeDiskId: The disk ID of the local disk that was specified in the // CreateStorediSCSIVolume operation. // // * VolumeId: The unique identifier of the storage volume, e.g. vol-1122AABB. // // * VolumeiSCSIAttributes: An VolumeiSCSIAttributes object that represents // a collection of iSCSI attributes for one stored volume. // // * VolumeProgress: Represents the percentage complete if the volume is // restoring or bootstrapping that represents the percent of data transferred. // This field does not appear in the response if the stored volume is not // restoring or bootstrapping. // // * VolumeSizeInBytes: The size of the volume in bytes. // // * VolumeStatus: One of the VolumeStatus values that indicates the state // of the volume. // // * VolumeType: One of the enumeration values describing the type of the // volume. Currently, only STORED volumes are supported. StorediSCSIVolumes []*StorediSCSIVolume `type:"list"` // contains filtered or unexported fields }
func (s DescribeStorediSCSIVolumesOutput) GoString() string
GoString returns the string representation
func (s *DescribeStorediSCSIVolumesOutput) SetStorediSCSIVolumes(v []*StorediSCSIVolume) *DescribeStorediSCSIVolumesOutput
SetStorediSCSIVolumes sets the StorediSCSIVolumes field's value.
func (s DescribeStorediSCSIVolumesOutput) String() string
String returns the string representation
type DescribeTapeArchivesInput struct { // Specifies that the number of virtual tapes 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 // 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
func (s DescribeTapeArchivesInput) GoString() string
GoString returns the string representation
func (s *DescribeTapeArchivesInput) SetLimit(v int64) *DescribeTapeArchivesInput
SetLimit sets the Limit field's value.
func (s *DescribeTapeArchivesInput) SetMarker(v string) *DescribeTapeArchivesInput
SetMarker sets the Marker field's value.
func (s *DescribeTapeArchivesInput) SetTapeARNs(v []*string) *DescribeTapeArchivesInput
SetTapeARNs sets the TapeARNs field's value.
func (s DescribeTapeArchivesInput) String() string
String returns the string representation
func (s *DescribeTapeArchivesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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
func (s DescribeTapeArchivesOutput) GoString() string
GoString returns the string representation
func (s *DescribeTapeArchivesOutput) SetMarker(v string) *DescribeTapeArchivesOutput
SetMarker sets the Marker field's value.
func (s *DescribeTapeArchivesOutput) SetTapeArchives(v []*TapeArchive) *DescribeTapeArchivesOutput
SetTapeArchives sets the TapeArchives field's value.
func (s DescribeTapeArchivesOutput) String() string
String returns the string representation
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 AWS 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
func (s DescribeTapeRecoveryPointsInput) GoString() string
GoString returns the string representation
func (s *DescribeTapeRecoveryPointsInput) SetGatewayARN(v string) *DescribeTapeRecoveryPointsInput
SetGatewayARN sets the GatewayARN field's value.
func (s *DescribeTapeRecoveryPointsInput) SetLimit(v int64) *DescribeTapeRecoveryPointsInput
SetLimit sets the Limit field's value.
func (s *DescribeTapeRecoveryPointsInput) SetMarker(v string) *DescribeTapeRecoveryPointsInput
SetMarker sets the Marker field's value.
func (s DescribeTapeRecoveryPointsInput) String() string
String returns the string representation
func (s *DescribeTapeRecoveryPointsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS 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
func (s DescribeTapeRecoveryPointsOutput) GoString() string
GoString returns the string representation
func (s *DescribeTapeRecoveryPointsOutput) SetGatewayARN(v string) *DescribeTapeRecoveryPointsOutput
SetGatewayARN sets the GatewayARN field's value.
func (s *DescribeTapeRecoveryPointsOutput) SetMarker(v string) *DescribeTapeRecoveryPointsOutput
SetMarker sets the Marker field's value.
func (s *DescribeTapeRecoveryPointsOutput) SetTapeRecoveryPointInfos(v []*TapeRecoveryPointInfo) *DescribeTapeRecoveryPointsOutput
SetTapeRecoveryPointInfos sets the TapeRecoveryPointInfos field's value.
func (s DescribeTapeRecoveryPointsOutput) String() string
String returns the string representation
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 AWS 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, // Tape gateway returns a description of all virtual tapes associated with the // specified gateway. TapeARNs []*string `type:"list"` // contains filtered or unexported fields }
DescribeTapesInput
func (s DescribeTapesInput) GoString() string
GoString returns the string representation
func (s *DescribeTapesInput) SetGatewayARN(v string) *DescribeTapesInput
SetGatewayARN sets the GatewayARN field's value.
func (s *DescribeTapesInput) SetLimit(v int64) *DescribeTapesInput
SetLimit sets the Limit field's value.
func (s *DescribeTapesInput) SetMarker(v string) *DescribeTapesInput
SetMarker sets the Marker field's value.
func (s *DescribeTapesInput) SetTapeARNs(v []*string) *DescribeTapesInput
SetTapeARNs sets the TapeARNs field's value.
func (s DescribeTapesInput) String() string
String returns the string representation
func (s *DescribeTapesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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
func (s DescribeTapesOutput) GoString() string
GoString returns the string representation
func (s *DescribeTapesOutput) SetMarker(v string) *DescribeTapesOutput
SetMarker sets the Marker field's value.
func (s *DescribeTapesOutput) SetTapes(v []*Tape) *DescribeTapesOutput
SetTapes sets the Tapes field's value.
func (s DescribeTapesOutput) String() string
String returns the string representation
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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeUploadBufferInput) GoString() string
GoString returns the string representation
func (s *DescribeUploadBufferInput) SetGatewayARN(v string) *DescribeUploadBufferInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeUploadBufferInput) String() string
String returns the string representation
func (s *DescribeUploadBufferInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeUploadBufferOutput 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 AWS Region. GatewayARN *string `min:"50" type:"string"` // The total number of bytes allocated in the gateway's as upload buffer. UploadBufferAllocatedInBytes *int64 `type:"long"` // The total number of bytes being used in the gateway's upload buffer. UploadBufferUsedInBytes *int64 `type:"long"` // contains filtered or unexported fields }
func (s DescribeUploadBufferOutput) GoString() string
GoString returns the string representation
func (s *DescribeUploadBufferOutput) SetDiskIds(v []*string) *DescribeUploadBufferOutput
SetDiskIds sets the DiskIds field's value.
func (s *DescribeUploadBufferOutput) SetGatewayARN(v string) *DescribeUploadBufferOutput
SetGatewayARN sets the GatewayARN field's value.
func (s *DescribeUploadBufferOutput) SetUploadBufferAllocatedInBytes(v int64) *DescribeUploadBufferOutput
SetUploadBufferAllocatedInBytes sets the UploadBufferAllocatedInBytes field's value.
func (s *DescribeUploadBufferOutput) SetUploadBufferUsedInBytes(v int64) *DescribeUploadBufferOutput
SetUploadBufferUsedInBytes sets the UploadBufferUsedInBytes field's value.
func (s DescribeUploadBufferOutput) String() string
String returns the string representation
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 AWS 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
func (s DescribeVTLDevicesInput) GoString() string
GoString returns the string representation
func (s *DescribeVTLDevicesInput) SetGatewayARN(v string) *DescribeVTLDevicesInput
SetGatewayARN sets the GatewayARN field's value.
func (s *DescribeVTLDevicesInput) SetLimit(v int64) *DescribeVTLDevicesInput
SetLimit sets the Limit field's value.
func (s *DescribeVTLDevicesInput) SetMarker(v string) *DescribeVTLDevicesInput
SetMarker sets the Marker field's value.
func (s *DescribeVTLDevicesInput) SetVTLDeviceARNs(v []*string) *DescribeVTLDevicesInput
SetVTLDeviceARNs sets the VTLDeviceARNs field's value.
func (s DescribeVTLDevicesInput) String() string
String returns the string representation
func (s *DescribeVTLDevicesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS 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
func (s DescribeVTLDevicesOutput) GoString() string
GoString returns the string representation
func (s *DescribeVTLDevicesOutput) SetGatewayARN(v string) *DescribeVTLDevicesOutput
SetGatewayARN sets the GatewayARN field's value.
func (s *DescribeVTLDevicesOutput) SetMarker(v string) *DescribeVTLDevicesOutput
SetMarker sets the Marker field's value.
func (s *DescribeVTLDevicesOutput) SetVTLDevices(v []*VTLDevice) *DescribeVTLDevicesOutput
SetVTLDevices sets the VTLDevices field's value.
func (s DescribeVTLDevicesOutput) String() string
String returns the string representation
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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the Amazon Resource Name (ARN) of the gateway.
func (s DescribeWorkingStorageInput) GoString() string
GoString returns the string representation
func (s *DescribeWorkingStorageInput) SetGatewayARN(v string) *DescribeWorkingStorageInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeWorkingStorageInput) String() string
String returns the string representation
func (s *DescribeWorkingStorageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS 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:
func (s DescribeWorkingStorageOutput) GoString() string
GoString returns the string representation
func (s *DescribeWorkingStorageOutput) SetDiskIds(v []*string) *DescribeWorkingStorageOutput
SetDiskIds sets the DiskIds field's value.
func (s *DescribeWorkingStorageOutput) SetGatewayARN(v string) *DescribeWorkingStorageOutput
SetGatewayARN sets the GatewayARN field's value.
func (s *DescribeWorkingStorageOutput) SetWorkingStorageAllocatedInBytes(v int64) *DescribeWorkingStorageOutput
SetWorkingStorageAllocatedInBytes sets the WorkingStorageAllocatedInBytes field's value.
func (s *DescribeWorkingStorageOutput) SetWorkingStorageUsedInBytes(v int64) *DescribeWorkingStorageOutput
SetWorkingStorageUsedInBytes sets the WorkingStorageUsedInBytes field's value.
func (s DescribeWorkingStorageOutput) String() string
String returns the string representation
type DetachVolumeInput struct { // Set to true to forcibly remove the iSCSI connection of the target volume // and detach the volume. The default is false. If this value is set to false, // you must manually disconnect the iSCSI connection from the target volume. // // Valid Values: true | false ForceDetach *bool `type:"boolean"` // The Amazon Resource Name (ARN) of the volume to detach from the gateway. // // VolumeARN is a required field VolumeARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
AttachVolumeInput
func (s DetachVolumeInput) GoString() string
GoString returns the string representation
func (s *DetachVolumeInput) SetForceDetach(v bool) *DetachVolumeInput
SetForceDetach sets the ForceDetach field's value.
func (s *DetachVolumeInput) SetVolumeARN(v string) *DetachVolumeInput
SetVolumeARN sets the VolumeARN field's value.
func (s DetachVolumeInput) String() string
String returns the string representation
func (s *DetachVolumeInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DetachVolumeOutput struct { // The Amazon Resource Name (ARN) of the volume that was detached. VolumeARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
AttachVolumeOutput
func (s DetachVolumeOutput) GoString() string
GoString returns the string representation
func (s *DetachVolumeOutput) SetVolumeARN(v string) *DetachVolumeOutput
SetVolumeARN sets the VolumeARN field's value.
func (s DetachVolumeOutput) String() string
String returns the string representation
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.
func (s DeviceiSCSIAttributes) GoString() string
GoString returns the string representation
func (s *DeviceiSCSIAttributes) SetChapEnabled(v bool) *DeviceiSCSIAttributes
SetChapEnabled sets the ChapEnabled field's value.
func (s *DeviceiSCSIAttributes) SetNetworkInterfaceId(v string) *DeviceiSCSIAttributes
SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
func (s *DeviceiSCSIAttributes) SetNetworkInterfacePort(v int64) *DeviceiSCSIAttributes
SetNetworkInterfacePort sets the NetworkInterfacePort field's value.
func (s *DeviceiSCSIAttributes) SetTargetARN(v string) *DeviceiSCSIAttributes
SetTargetARN sets the TargetARN field's value.
func (s DeviceiSCSIAttributes) String() string
String returns the string representation
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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
DisableGatewayInput
func (s DisableGatewayInput) GoString() string
GoString returns the string representation
func (s *DisableGatewayInput) SetGatewayARN(v string) *DisableGatewayInput
SetGatewayARN sets the GatewayARN field's value.
func (s DisableGatewayInput) String() string
String returns the string representation
func (s *DisableGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisableGatewayOutput struct { // The unique Amazon Resource Name (ARN) of the disabled gateway. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
DisableGatewayOutput
func (s DisableGatewayOutput) GoString() string
GoString returns the string representation
func (s *DisableGatewayOutput) SetGatewayARN(v string) *DisableGatewayOutput
SetGatewayARN sets the GatewayARN field's value.
func (s DisableGatewayOutput) String() string
String returns the string representation
type Disk struct { // The iSCSI qualified name (IQN) that is defined for a disk. This field is // not included in the response if the local disk is not defined as an iSCSI // target. The format of this field is targetIqn::LUNNumber::region-volumeId. DiskAllocationResource *string `type:"string"` // One of the DiskAllocationType enumeration values that identifies how a local // disk is used. // // Valid Values: UPLOAD_BUFFER | CACHE_STORAGE DiskAllocationType *string `min:"3" type:"string"` // A list of values that represents attributes of a local disk. DiskAttributeList []*string `type:"list"` // The unique device ID or other distinguishing data that identifies a local // disk. DiskId *string `min:"1" type:"string"` // The device node of a local disk as assigned by the virtualization environment. DiskNode *string `type:"string"` // The path of a local disk in the gateway virtual machine (VM). DiskPath *string `type:"string"` // The local disk size in bytes. DiskSizeInBytes *int64 `type:"long"` // A value that represents the status of a local disk. DiskStatus *string `type:"string"` // contains filtered or unexported fields }
Represents a gateway's local disk.
func (s Disk) GoString() string
GoString returns the string representation
func (s *Disk) SetDiskAllocationResource(v string) *Disk
SetDiskAllocationResource sets the DiskAllocationResource field's value.
func (s *Disk) SetDiskAllocationType(v string) *Disk
SetDiskAllocationType sets the DiskAllocationType field's value.
func (s *Disk) SetDiskAttributeList(v []*string) *Disk
SetDiskAttributeList sets the DiskAttributeList field's value.
func (s *Disk) SetDiskId(v string) *Disk
SetDiskId sets the DiskId field's value.
func (s *Disk) SetDiskNode(v string) *Disk
SetDiskNode sets the DiskNode field's value.
func (s *Disk) SetDiskPath(v string) *Disk
SetDiskPath sets the DiskPath field's value.
func (s *Disk) SetDiskSizeInBytes(v int64) *Disk
SetDiskSizeInBytes sets the DiskSizeInBytes field's value.
func (s *Disk) SetDiskStatus(v string) *Disk
SetDiskStatus sets the DiskStatus field's value.
func (s Disk) String() string
String returns the string representation
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. See the errorCode and errorDetails members for more information about the error.
func (s Error) GoString() string
GoString returns the string representation
func (s *Error) SetErrorCode(v string) *Error
SetErrorCode sets the ErrorCode field's value.
func (s *Error) SetErrorDetails(v map[string]*string) *Error
SetErrorDetails sets the ErrorDetails field's value.
func (s Error) String() string
String returns the string representation
type FileShareInfo struct { // The Amazon Resource Name (ARN) of the file share. FileShareARN *string `min:"50" type:"string"` // The ID of the file share. FileShareId *string `min:"12" type:"string"` // The status of the file share. // // Valid Values: CREATING | UPDATING | AVAILABLE | DELETING FileShareStatus *string `min:"3" type:"string"` // The type of the file share. FileShareType *string `type:"string" enum:"FileShareType"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
Describes a file share.
func (s FileShareInfo) GoString() string
GoString returns the string representation
func (s *FileShareInfo) SetFileShareARN(v string) *FileShareInfo
SetFileShareARN sets the FileShareARN field's value.
func (s *FileShareInfo) SetFileShareId(v string) *FileShareInfo
SetFileShareId sets the FileShareId field's value.
func (s *FileShareInfo) SetFileShareStatus(v string) *FileShareInfo
SetFileShareStatus sets the FileShareStatus field's value.
func (s *FileShareInfo) SetFileShareType(v string) *FileShareInfo
SetFileShareType sets the FileShareType field's value.
func (s *FileShareInfo) SetGatewayARN(v string) *FileShareInfo
SetGatewayARN sets the GatewayARN field's value.
func (s FileShareInfo) String() string
String returns the string representation
type GatewayInfo struct { // The ID of the Amazon EC2 instance that was used to launch the gateway. Ec2InstanceId *string `type:"string"` // The AWS Region where the Amazon EC2 instance is located. Ec2InstanceRegion *string `type:"string"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS 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 | 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.
func (s GatewayInfo) GoString() string
GoString returns the string representation
func (s *GatewayInfo) SetEc2InstanceId(v string) *GatewayInfo
SetEc2InstanceId sets the Ec2InstanceId field's value.
func (s *GatewayInfo) SetEc2InstanceRegion(v string) *GatewayInfo
SetEc2InstanceRegion sets the Ec2InstanceRegion field's value.
func (s *GatewayInfo) SetGatewayARN(v string) *GatewayInfo
SetGatewayARN sets the GatewayARN field's value.
func (s *GatewayInfo) SetGatewayId(v string) *GatewayInfo
SetGatewayId sets the GatewayId field's value.
func (s *GatewayInfo) SetGatewayName(v string) *GatewayInfo
SetGatewayName sets the GatewayName field's value.
func (s *GatewayInfo) SetGatewayOperationalState(v string) *GatewayInfo
SetGatewayOperationalState sets the GatewayOperationalState field's value.
func (s *GatewayInfo) SetGatewayType(v string) *GatewayInfo
SetGatewayType sets the GatewayType field's value.
func (s GatewayInfo) String() string
String returns the string representation
type InternalServerError struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // A StorageGatewayError that provides more information about the cause of the // error. Error_ *Error `locationName:"error" type:"structure"` // A human-readable message describing the error that occurred. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
An internal server error has occurred during the request. For more information, see the error and message fields.
func (s *InternalServerError) Code() string
Code returns the exception type name.
func (s *InternalServerError) Error() string
func (s InternalServerError) GoString() string
GoString returns the string representation
func (s *InternalServerError) Message() string
Message returns the exception's message.
func (s *InternalServerError) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalServerError) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalServerError) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InternalServerError) String() string
String returns the string representation
type InvalidGatewayRequestException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // A StorageGatewayError that provides more detail about the cause of the error. Error_ *Error `locationName:"error" type:"structure"` // A human-readable message describing the error that occurred. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
func (s *InvalidGatewayRequestException) Code() string
Code returns the exception type name.
func (s *InvalidGatewayRequestException) Error() string
func (s InvalidGatewayRequestException) GoString() string
GoString returns the string representation
func (s *InvalidGatewayRequestException) Message() string
Message returns the exception's message.
func (s *InvalidGatewayRequestException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InvalidGatewayRequestException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InvalidGatewayRequestException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InvalidGatewayRequestException) String() string
String returns the string representation
type JoinDomainInput struct { // List of IPv4 addresses, NetBIOS names, or host names of your domain server. // If you need to specify the port number include it after the colon (“:”). // For example, mydc.mydomain.com:389. DomainControllers []*string `type:"list"` // The name of the domain that you want the gateway to join. // // DomainName is a required field DomainName *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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The organizational unit (OU) is a container in an Active Directory that can // hold users, groups, computers, and other OUs and this parameter specifies // the OU that the gateway will join within the AD domain. OrganizationalUnit *string `min:"1" type:"string"` // Sets the password of the user who has permission to add the gateway to the // Active Directory domain. // // Password is a required field Password *string `min:"1" type:"string" required:"true" sensitive:"true"` // Specifies the time in seconds, in which the JoinDomain operation must complete. // The default is 20 seconds. TimeoutInSeconds *int64 `type:"integer"` // Sets the user name of user who has permission to add the gateway to the Active // Directory domain. The domain user account should be enabled to join computers // to the domain. For example, you can use the domain administrator account // or an account with delegated permissions to join computers to the domain. // // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
JoinDomainInput
func (s JoinDomainInput) GoString() string
GoString returns the string representation
func (s *JoinDomainInput) SetDomainControllers(v []*string) *JoinDomainInput
SetDomainControllers sets the DomainControllers field's value.
func (s *JoinDomainInput) SetDomainName(v string) *JoinDomainInput
SetDomainName sets the DomainName field's value.
func (s *JoinDomainInput) SetGatewayARN(v string) *JoinDomainInput
SetGatewayARN sets the GatewayARN field's value.
func (s *JoinDomainInput) SetOrganizationalUnit(v string) *JoinDomainInput
SetOrganizationalUnit sets the OrganizationalUnit field's value.
func (s *JoinDomainInput) SetPassword(v string) *JoinDomainInput
SetPassword sets the Password field's value.
func (s *JoinDomainInput) SetTimeoutInSeconds(v int64) *JoinDomainInput
SetTimeoutInSeconds sets the TimeoutInSeconds field's value.
func (s *JoinDomainInput) SetUserName(v string) *JoinDomainInput
SetUserName sets the UserName field's value.
func (s JoinDomainInput) String() string
String returns the string representation
func (s *JoinDomainInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type JoinDomainOutput struct { // Indicates the status of the gateway as a member of the Active Directory domain. // // * ACCESS_DENIED: Indicates that the JoinDomain operation failed due to // an authentication error. // // * DETACHED: Indicates that gateway is not joined to a domain. // // * JOINED: Indicates that the gateway has successfully joined a domain. // // * JOINING: Indicates that a JoinDomain operation is in progress. // // * NETWORK_ERROR: Indicates that JoinDomain operation failed due to a network // or connectivity error. // // * TIMEOUT: Indicates that the JoinDomain operation failed because the // operation didn't complete within the allotted time. // // * UNKNOWN_ERROR: Indicates that the JoinDomain operation failed due to // another type of error. ActiveDirectoryStatus *string `type:"string" enum:"ActiveDirectoryStatus"` // The unique Amazon Resource Name (ARN) of the gateway that joined the domain. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
JoinDomainOutput
func (s JoinDomainOutput) GoString() string
GoString returns the string representation
func (s *JoinDomainOutput) SetActiveDirectoryStatus(v string) *JoinDomainOutput
SetActiveDirectoryStatus sets the ActiveDirectoryStatus field's value.
func (s *JoinDomainOutput) SetGatewayARN(v string) *JoinDomainOutput
SetGatewayARN sets the GatewayARN field's value.
func (s JoinDomainOutput) String() string
String returns the string representation
type ListAutomaticTapeCreationPoliciesInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s ListAutomaticTapeCreationPoliciesInput) GoString() string
GoString returns the string representation
func (s *ListAutomaticTapeCreationPoliciesInput) SetGatewayARN(v string) *ListAutomaticTapeCreationPoliciesInput
SetGatewayARN sets the GatewayARN field's value.
func (s ListAutomaticTapeCreationPoliciesInput) String() string
String returns the string representation
func (s *ListAutomaticTapeCreationPoliciesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListAutomaticTapeCreationPoliciesOutput struct { // Gets a listing of information about the gateway's automatic tape creation // policies, including the automatic tape creation rules and the gateway that // is using the policies. AutomaticTapeCreationPolicyInfos []*AutomaticTapeCreationPolicyInfo `type:"list"` // contains filtered or unexported fields }
func (s ListAutomaticTapeCreationPoliciesOutput) GoString() string
GoString returns the string representation
func (s *ListAutomaticTapeCreationPoliciesOutput) SetAutomaticTapeCreationPolicyInfos(v []*AutomaticTapeCreationPolicyInfo) *ListAutomaticTapeCreationPoliciesOutput
SetAutomaticTapeCreationPolicyInfos sets the AutomaticTapeCreationPolicyInfos field's value.
func (s ListAutomaticTapeCreationPoliciesOutput) String() string
String returns the string representation
type ListFileSharesInput struct { // The Amazon Resource Name (ARN) of the gateway whose file shares you want // to list. If this field is not present, all file shares under your account // are listed. GatewayARN *string `min:"50" type:"string"` // The maximum number of file shares to return in the response. The value must // be an integer with a value greater than zero. Optional. Limit *int64 `min:"1" type:"integer"` // Opaque pagination token returned from a previous ListFileShares operation. // If present, Marker specifies where to continue the list from after a previous // call to ListFileShares. Optional. Marker *string `min:"1" type:"string"` // contains filtered or unexported fields }
ListFileShareInput
func (s ListFileSharesInput) GoString() string
GoString returns the string representation
func (s *ListFileSharesInput) SetGatewayARN(v string) *ListFileSharesInput
SetGatewayARN sets the GatewayARN field's value.
func (s *ListFileSharesInput) SetLimit(v int64) *ListFileSharesInput
SetLimit sets the Limit field's value.
func (s *ListFileSharesInput) SetMarker(v string) *ListFileSharesInput
SetMarker sets the Marker field's value.
func (s ListFileSharesInput) String() string
String returns the string representation
func (s *ListFileSharesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListFileSharesOutput struct { // An array of information about the file gateway's file shares. FileShareInfoList []*FileShareInfo `type:"list"` // If the request includes Marker, the response returns that value in this field. Marker *string `min:"1" type:"string"` // If a value is present, there are more file shares to return. In a subsequent // request, use NextMarker as the value for Marker to retrieve the next set // of file shares. NextMarker *string `min:"1" type:"string"` // contains filtered or unexported fields }
ListFileShareOutput
func (s ListFileSharesOutput) GoString() string
GoString returns the string representation
func (s *ListFileSharesOutput) SetFileShareInfoList(v []*FileShareInfo) *ListFileSharesOutput
SetFileShareInfoList sets the FileShareInfoList field's value.
func (s *ListFileSharesOutput) SetMarker(v string) *ListFileSharesOutput
SetMarker sets the Marker field's value.
func (s *ListFileSharesOutput) SetNextMarker(v string) *ListFileSharesOutput
SetNextMarker sets the NextMarker field's value.
func (s ListFileSharesOutput) String() string
String returns the string representation
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
func (s ListGatewaysInput) GoString() string
GoString returns the string representation
func (s *ListGatewaysInput) SetLimit(v int64) *ListGatewaysInput
SetLimit sets the Limit field's value.
func (s *ListGatewaysInput) SetMarker(v string) *ListGatewaysInput
SetMarker sets the Marker field's value.
func (s ListGatewaysInput) String() string
String returns the string representation
func (s *ListGatewaysInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListGatewaysOutput struct { // An array of GatewayInfo objects. Gateways []*GatewayInfo `type:"list"` // Use the marker in your next request to fetch the next set of gateways in // the list. If there are no more gateways to list, this field does not appear // in the response. Marker *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListGatewaysOutput) GoString() string
GoString returns the string representation
func (s *ListGatewaysOutput) SetGateways(v []*GatewayInfo) *ListGatewaysOutput
SetGateways sets the Gateways field's value.
func (s *ListGatewaysOutput) SetMarker(v string) *ListGatewaysOutput
SetMarker sets the Marker field's value.
func (s ListGatewaysOutput) String() string
String returns the string representation
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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the Amazon Resource Name (ARN) of the gateway.
func (s ListLocalDisksInput) GoString() string
GoString returns the string representation
func (s *ListLocalDisksInput) SetGatewayARN(v string) *ListLocalDisksInput
SetGatewayARN sets the GatewayARN field's value.
func (s ListLocalDisksInput) String() string
String returns the string representation
func (s *ListLocalDisksInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListLocalDisksOutput struct { // A JSON object containing the following fields: // // * ListLocalDisksOutput$Disks 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 AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s ListLocalDisksOutput) GoString() string
GoString returns the string representation
func (s *ListLocalDisksOutput) SetDisks(v []*Disk) *ListLocalDisksOutput
SetDisks sets the Disks field's value.
func (s *ListLocalDisksOutput) SetGatewayARN(v string) *ListLocalDisksOutput
SetGatewayARN sets the GatewayARN field's value.
func (s ListLocalDisksOutput) String() string
String returns the string representation
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
func (s ListTagsForResourceInput) GoString() string
GoString returns the string representation
func (s *ListTagsForResourceInput) SetLimit(v int64) *ListTagsForResourceInput
SetLimit sets the Limit field's value.
func (s *ListTagsForResourceInput) SetMarker(v string) *ListTagsForResourceInput
SetMarker sets the Marker field's value.
func (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput
SetResourceARN sets the ResourceARN field's value.
func (s ListTagsForResourceInput) String() string
String returns the string representation
func (s *ListTagsForResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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"` // The 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
func (s ListTagsForResourceOutput) GoString() string
GoString returns the string representation
func (s *ListTagsForResourceOutput) SetMarker(v string) *ListTagsForResourceOutput
SetMarker sets the Marker field's value.
func (s *ListTagsForResourceOutput) SetResourceARN(v string) *ListTagsForResourceOutput
SetResourceARN sets the ResourceARN field's value.
func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput
SetTags sets the Tags field's value.
func (s ListTagsForResourceOutput) String() string
String returns the string representation
type ListTapePoolsInput struct { // An optional number limit for the tape pools 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 tape pools. Marker *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of each of the custom tape pools you want // to list. If you don't specify a custom tape pool ARN, the response lists // all custom tape pools. PoolARNs []*string `type:"list"` // contains filtered or unexported fields }
func (s ListTapePoolsInput) GoString() string
GoString returns the string representation
func (s *ListTapePoolsInput) SetLimit(v int64) *ListTapePoolsInput
SetLimit sets the Limit field's value.
func (s *ListTapePoolsInput) SetMarker(v string) *ListTapePoolsInput
SetMarker sets the Marker field's value.
func (s *ListTapePoolsInput) SetPoolARNs(v []*string) *ListTapePoolsInput
SetPoolARNs sets the PoolARNs field's value.
func (s ListTapePoolsInput) String() string
String returns the string representation
func (s *ListTapePoolsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTapePoolsOutput struct { // A string that indicates the position at which to begin the returned list // of tape pools. Use the marker in your next request to continue pagination // of tape pools. If there are no more tape pools to list, this element does // not appear in the response body. Marker *string `min:"1" type:"string"` // An array of PoolInfo objects, where each object describes a single custom // tape pool. If there are no custom tape pools, the PoolInfos is an empty array. PoolInfos []*PoolInfo `type:"list"` // contains filtered or unexported fields }
func (s ListTapePoolsOutput) GoString() string
GoString returns the string representation
func (s *ListTapePoolsOutput) SetMarker(v string) *ListTapePoolsOutput
SetMarker sets the Marker field's value.
func (s *ListTapePoolsOutput) SetPoolInfos(v []*PoolInfo) *ListTapePoolsOutput
SetPoolInfos sets the PoolInfos field's value.
func (s ListTapePoolsOutput) String() string
String returns the string representation
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
func (s ListTapesInput) GoString() string
GoString returns the string representation
func (s *ListTapesInput) SetLimit(v int64) *ListTapesInput
SetLimit sets the Limit field's value.
func (s *ListTapesInput) SetMarker(v string) *ListTapesInput
SetMarker sets the Marker field's value.
func (s *ListTapesInput) SetTapeARNs(v []*string) *ListTapesInput
SetTapeARNs sets the TapeARNs field's value.
func (s ListTapesInput) String() string
String returns the string representation
func (s *ListTapesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 a single tape. // If there are no 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
func (s ListTapesOutput) GoString() string
GoString returns the string representation
func (s *ListTapesOutput) SetMarker(v string) *ListTapesOutput
SetMarker sets the Marker field's value.
func (s *ListTapesOutput) SetTapeInfos(v []*TapeInfo) *ListTapesOutput
SetTapeInfos sets the TapeInfos field's value.
func (s ListTapesOutput) String() string
String returns the string representation
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
func (s ListVolumeInitiatorsInput) GoString() string
GoString returns the string representation
func (s *ListVolumeInitiatorsInput) SetVolumeARN(v string) *ListVolumeInitiatorsInput
SetVolumeARN sets the VolumeARN field's value.
func (s ListVolumeInitiatorsInput) String() string
String returns the string representation
func (s *ListVolumeInitiatorsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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
func (s ListVolumeInitiatorsOutput) GoString() string
GoString returns the string representation
func (s *ListVolumeInitiatorsOutput) SetInitiators(v []*string) *ListVolumeInitiatorsOutput
SetInitiators sets the Initiators field's value.
func (s ListVolumeInitiatorsOutput) String() string
String returns the string representation
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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
func (s ListVolumeRecoveryPointsInput) GoString() string
GoString returns the string representation
func (s *ListVolumeRecoveryPointsInput) SetGatewayARN(v string) *ListVolumeRecoveryPointsInput
SetGatewayARN sets the GatewayARN field's value.
func (s ListVolumeRecoveryPointsInput) String() string
String returns the string representation
func (s *ListVolumeRecoveryPointsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS Region. GatewayARN *string `min:"50" type:"string"` // An array of VolumeRecoveryPointInfo objects. VolumeRecoveryPointInfos []*VolumeRecoveryPointInfo `type:"list"` // contains filtered or unexported fields }
func (s ListVolumeRecoveryPointsOutput) GoString() string
GoString returns the string representation
func (s *ListVolumeRecoveryPointsOutput) SetGatewayARN(v string) *ListVolumeRecoveryPointsOutput
SetGatewayARN sets the GatewayARN field's value.
func (s *ListVolumeRecoveryPointsOutput) SetVolumeRecoveryPointInfos(v []*VolumeRecoveryPointInfo) *ListVolumeRecoveryPointsOutput
SetVolumeRecoveryPointInfos sets the VolumeRecoveryPointInfos field's value.
func (s ListVolumeRecoveryPointsOutput) String() string
String returns the string representation
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 AWS 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
func (s ListVolumesInput) GoString() string
GoString returns the string representation
func (s *ListVolumesInput) SetGatewayARN(v string) *ListVolumesInput
SetGatewayARN sets the GatewayARN field's value.
func (s *ListVolumesInput) SetLimit(v int64) *ListVolumesInput
SetLimit sets the Limit field's value.
func (s *ListVolumesInput) SetMarker(v string) *ListVolumesInput
SetMarker sets the Marker field's value.
func (s ListVolumesInput) String() string
String returns the string representation
func (s *ListVolumesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS Region. GatewayARN *string `min:"50" type:"string"` // Use the marker in your next request to continue pagination of iSCSI volumes. // If there are no more volumes to list, this field does not appear in the response // body. Marker *string `min:"1" type:"string"` // An array of VolumeInfo objects, where each object describes an iSCSI volume. // If no volumes are defined for the gateway, then VolumeInfos is an empty array // "[]". VolumeInfos []*VolumeInfo `type:"list"` // contains filtered or unexported fields }
A JSON object containing the following fields:
* ListVolumesOutput$Marker * ListVolumesOutput$VolumeInfos
func (s ListVolumesOutput) GoString() string
GoString returns the string representation
func (s *ListVolumesOutput) SetGatewayARN(v string) *ListVolumesOutput
SetGatewayARN sets the GatewayARN field's value.
func (s *ListVolumesOutput) SetMarker(v string) *ListVolumesOutput
SetMarker sets the Marker field's value.
func (s *ListVolumesOutput) SetVolumeInfos(v []*VolumeInfo) *ListVolumesOutput
SetVolumeInfos sets the VolumeInfos field's value.
func (s ListVolumesOutput) String() string
String returns the string representation
type NFSFileShareDefaults struct { // The Unix directory mode in the form "nnnn". For example, 0666 represents // the default access mode for all directories inside the file share. The default // value is 0777. DirectoryMode *string `min:"1" type:"string"` // The Unix file mode in the form "nnnn". For example, 0666 represents the default // file mode inside the file share. The default value is 0666. FileMode *string `min:"1" type:"string"` // The default group ID for the file share (unless the files have another group // ID specified). The default value is nfsnobody. GroupId *int64 `type:"long"` // The default owner ID for files in the file share (unless the files have another // owner ID specified). The default value is nfsnobody. OwnerId *int64 `type:"long"` // contains filtered or unexported fields }
Describes Network File System (NFS) file share default values. Files and folders stored as Amazon S3 objects in S3 buckets don't, by default, have Unix file permissions assigned to them. Upon discovery in an S3 bucket by Storage Gateway, the S3 objects that represent files and folders are assigned these default Unix permissions. This operation is only supported for file gateways.
func (s NFSFileShareDefaults) GoString() string
GoString returns the string representation
func (s *NFSFileShareDefaults) SetDirectoryMode(v string) *NFSFileShareDefaults
SetDirectoryMode sets the DirectoryMode field's value.
func (s *NFSFileShareDefaults) SetFileMode(v string) *NFSFileShareDefaults
SetFileMode sets the FileMode field's value.
func (s *NFSFileShareDefaults) SetGroupId(v int64) *NFSFileShareDefaults
SetGroupId sets the GroupId field's value.
func (s *NFSFileShareDefaults) SetOwnerId(v int64) *NFSFileShareDefaults
SetOwnerId sets the OwnerId field's value.
func (s NFSFileShareDefaults) String() string
String returns the string representation
func (s *NFSFileShareDefaults) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NFSFileShareInfo struct { // Refresh cache information. CacheAttributes *CacheAttributes `type:"structure"` // The list of clients that are allowed to access the file gateway. The list // must contain either valid IP addresses or valid CIDR blocks. ClientList []*string `min:"1" type:"list"` // The default storage class for objects put into an Amazon S3 bucket by the // file gateway. The default value is S3_INTELLIGENT_TIERING. Optional. // // Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA DefaultStorageClass *string `min:"5" type:"string"` // The Amazon Resource Name (ARN) of the file share. FileShareARN *string `min:"50" type:"string"` // The ID of the file share. FileShareId *string `min:"12" type:"string"` // The name of the file share. Optional. // // FileShareName must be set if an S3 prefix name is set in LocationARN. FileShareName *string `min:"1" type:"string"` // The status of the file share. // // Valid Values: CREATING | UPDATING | AVAILABLE | DELETING FileShareStatus *string `min:"3" type:"string"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS Region. GatewayARN *string `min:"50" type:"string"` // A value that enables guessing of the MIME type for uploaded objects based // on file extensions. Set this value to true to enable MIME type guessing, // otherwise set to false. The default value is true. // // Valid Values: true | false GuessMIMETypeEnabled *bool `type:"boolean"` // Set to true to use Amazon S3 server-side encryption with your own AWS KMS // key, or false to use a key managed by Amazon S3. Optional. // // Valid Values: true | false KMSEncrypted *bool `type:"boolean"` // The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used // for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric // CMKs. This value can only be set when KMSEncrypted is true. Optional. KMSKey *string `min:"7" type:"string"` // The ARN of the backend storage used for storing file data. A prefix name // can be added to the S3 bucket name. It must end with a "/". LocationARN *string `min:"16" type:"string"` // Describes Network File System (NFS) file share default values. Files and // folders stored as Amazon S3 objects in S3 buckets don't, by default, have // Unix file permissions assigned to them. Upon discovery in an S3 bucket by // Storage Gateway, the S3 objects that represent files and folders are assigned // these default Unix permissions. This operation is only supported for file // gateways. NFSFileShareDefaults *NFSFileShareDefaults `type:"structure"` // The notification policy of the file share. NotificationPolicy *string `min:"2" type:"string"` // A value that sets the access control list (ACL) permission for objects in // the S3 bucket that a file gateway puts objects into. The default value is // private. ObjectACL *string `type:"string" enum:"ObjectACL"` // The file share path used by the NFS client to identify the mount point. Path *string `type:"string"` // A value that sets the write status of a file share. Set this value to true // to set the write status to read-only, otherwise set to false. // // Valid Values: true | false ReadOnly *bool `type:"boolean"` // A value that sets who pays the cost of the request and the cost associated // with data download from the S3 bucket. If this value is set to true, the // requester pays the costs; otherwise, the S3 bucket owner pays. However, the // S3 bucket owner always pays the cost of storing data. // // RequesterPays is a configuration for the S3 bucket that backs the file share, // so make sure that the configuration on the file share is the same as the // S3 bucket configuration. // // Valid Values: true | false RequesterPays *bool `type:"boolean"` // The ARN of the IAM role that file gateway assumes when it accesses the underlying // storage. Role *string `min:"20" type:"string"` // The user mapped to anonymous user. Valid options are the following: // // * RootSquash: Only root is mapped to anonymous user. // // * NoSquash: No one is mapped to anonymous user. // // * AllSquash: Everyone is mapped to anonymous user. Squash *string `min:"5" type:"string"` // A list of up to 50 tags assigned to the NFS file share, sorted alphabetically // by key name. Each tag is a key-value pair. For a gateway with more than 10 // tags assigned, you can view all tags using the ListTagsForResource API operation. Tags []*Tag `type:"list"` // contains filtered or unexported fields }
The Unix file permissions and ownership information assigned, by default, to native S3 objects when file gateway discovers them in S3 buckets. This operation is only supported in file gateways.
func (s NFSFileShareInfo) GoString() string
GoString returns the string representation
func (s *NFSFileShareInfo) SetCacheAttributes(v *CacheAttributes) *NFSFileShareInfo
SetCacheAttributes sets the CacheAttributes field's value.
func (s *NFSFileShareInfo) SetClientList(v []*string) *NFSFileShareInfo
SetClientList sets the ClientList field's value.
func (s *NFSFileShareInfo) SetDefaultStorageClass(v string) *NFSFileShareInfo
SetDefaultStorageClass sets the DefaultStorageClass field's value.
func (s *NFSFileShareInfo) SetFileShareARN(v string) *NFSFileShareInfo
SetFileShareARN sets the FileShareARN field's value.
func (s *NFSFileShareInfo) SetFileShareId(v string) *NFSFileShareInfo
SetFileShareId sets the FileShareId field's value.
func (s *NFSFileShareInfo) SetFileShareName(v string) *NFSFileShareInfo
SetFileShareName sets the FileShareName field's value.
func (s *NFSFileShareInfo) SetFileShareStatus(v string) *NFSFileShareInfo
SetFileShareStatus sets the FileShareStatus field's value.
func (s *NFSFileShareInfo) SetGatewayARN(v string) *NFSFileShareInfo
SetGatewayARN sets the GatewayARN field's value.
func (s *NFSFileShareInfo) SetGuessMIMETypeEnabled(v bool) *NFSFileShareInfo
SetGuessMIMETypeEnabled sets the GuessMIMETypeEnabled field's value.
func (s *NFSFileShareInfo) SetKMSEncrypted(v bool) *NFSFileShareInfo
SetKMSEncrypted sets the KMSEncrypted field's value.
func (s *NFSFileShareInfo) SetKMSKey(v string) *NFSFileShareInfo
SetKMSKey sets the KMSKey field's value.
func (s *NFSFileShareInfo) SetLocationARN(v string) *NFSFileShareInfo
SetLocationARN sets the LocationARN field's value.
func (s *NFSFileShareInfo) SetNFSFileShareDefaults(v *NFSFileShareDefaults) *NFSFileShareInfo
SetNFSFileShareDefaults sets the NFSFileShareDefaults field's value.
func (s *NFSFileShareInfo) SetNotificationPolicy(v string) *NFSFileShareInfo
SetNotificationPolicy sets the NotificationPolicy field's value.
func (s *NFSFileShareInfo) SetObjectACL(v string) *NFSFileShareInfo
SetObjectACL sets the ObjectACL field's value.
func (s *NFSFileShareInfo) SetPath(v string) *NFSFileShareInfo
SetPath sets the Path field's value.
func (s *NFSFileShareInfo) SetReadOnly(v bool) *NFSFileShareInfo
SetReadOnly sets the ReadOnly field's value.
func (s *NFSFileShareInfo) SetRequesterPays(v bool) *NFSFileShareInfo
SetRequesterPays sets the RequesterPays field's value.
func (s *NFSFileShareInfo) SetRole(v string) *NFSFileShareInfo
SetRole sets the Role field's value.
func (s *NFSFileShareInfo) SetSquash(v string) *NFSFileShareInfo
SetSquash sets the Squash field's value.
func (s *NFSFileShareInfo) SetTags(v []*Tag) *NFSFileShareInfo
SetTags sets the Tags field's value.
func (s NFSFileShareInfo) String() string
String returns the string representation
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.
func (s NetworkInterface) GoString() string
GoString returns the string representation
func (s *NetworkInterface) SetIpv4Address(v string) *NetworkInterface
SetIpv4Address sets the Ipv4Address field's value.
func (s *NetworkInterface) SetIpv6Address(v string) *NetworkInterface
SetIpv6Address sets the Ipv6Address field's value.
func (s *NetworkInterface) SetMacAddress(v string) *NetworkInterface
SetMacAddress sets the MacAddress field's value.
func (s NetworkInterface) String() string
String returns the string representation
type NotifyWhenUploadedInput struct { // The Amazon Resource Name (ARN) of the file share. // // FileShareARN is a required field FileShareARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
func (s NotifyWhenUploadedInput) GoString() string
GoString returns the string representation
func (s *NotifyWhenUploadedInput) SetFileShareARN(v string) *NotifyWhenUploadedInput
SetFileShareARN sets the FileShareARN field's value.
func (s NotifyWhenUploadedInput) String() string
String returns the string representation
func (s *NotifyWhenUploadedInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NotifyWhenUploadedOutput struct { // The Amazon Resource Name (ARN) of the file share. FileShareARN *string `min:"50" type:"string"` // The randomly generated ID of the notification that was sent. This ID is in // UUID format. NotificationId *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s NotifyWhenUploadedOutput) GoString() string
GoString returns the string representation
func (s *NotifyWhenUploadedOutput) SetFileShareARN(v string) *NotifyWhenUploadedOutput
SetFileShareARN sets the FileShareARN field's value.
func (s *NotifyWhenUploadedOutput) SetNotificationId(v string) *NotifyWhenUploadedOutput
SetNotificationId sets the NotificationId field's value.
func (s NotifyWhenUploadedOutput) String() string
String returns the string representation
type PoolInfo struct { // The Amazon Resource Name (ARN) of the custom tape pool. Use the ListTapePools // operation to return a list of custom tape pools for your account and AWS // Region. PoolARN *string `min:"50" type:"string"` // The name of the custom tape pool. PoolName can use all ASCII characters, // except '/' and '\'. PoolName *string `min:"1" type:"string"` // Status of the custom tape pool. Pool can be ACTIVE or DELETED. PoolStatus *string `type:"string" enum:"PoolStatus"` // Tape retention lock time is set in days. Tape retention lock can be enabled // for up to 100 years (36,500 days). RetentionLockTimeInDays *int64 `type:"integer"` // Tape retention lock type, which can be configured in two modes. When configured // in governance mode, AWS accounts with specific IAM permissions are authorized // to remove the tape retention lock from archived virtual tapes. When configured // in compliance mode, the tape retention lock cannot be removed by any user, // including the root AWS account. RetentionLockType *string `type:"string" enum:"RetentionLockType"` // The storage class that is associated with the custom pool. When you use your // backup application to eject the tape, the tape is archived directly into // the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds // to the pool. StorageClass *string `type:"string" enum:"TapeStorageClass"` // contains filtered or unexported fields }
Describes a custom tape pool.
func (s PoolInfo) GoString() string
GoString returns the string representation
func (s *PoolInfo) SetPoolARN(v string) *PoolInfo
SetPoolARN sets the PoolARN field's value.
func (s *PoolInfo) SetPoolName(v string) *PoolInfo
SetPoolName sets the PoolName field's value.
func (s *PoolInfo) SetPoolStatus(v string) *PoolInfo
SetPoolStatus sets the PoolStatus field's value.
func (s *PoolInfo) SetRetentionLockTimeInDays(v int64) *PoolInfo
SetRetentionLockTimeInDays sets the RetentionLockTimeInDays field's value.
func (s *PoolInfo) SetRetentionLockType(v string) *PoolInfo
SetRetentionLockType sets the RetentionLockType field's value.
func (s *PoolInfo) SetStorageClass(v string) *PoolInfo
SetStorageClass sets the StorageClass field's value.
func (s PoolInfo) String() string
String returns the string representation
type RefreshCacheInput struct { // The Amazon Resource Name (ARN) of the file share you want to refresh. // // FileShareARN is a required field FileShareARN *string `min:"50" type:"string" required:"true"` // A comma-separated list of the paths of folders to refresh in the cache. The // default is ["/"]. The default refreshes objects and folders at the root of // the Amazon S3 bucket. If Recursive is set to true, the entire S3 bucket that // the file share has access to is refreshed. FolderList []*string `min:"1" type:"list"` // A value that specifies whether to recursively refresh folders in the cache. // The refresh includes folders that were in the cache the last time the gateway // listed the folder's contents. If this value set to true, each folder that // is listed in FolderList is recursively updated. Otherwise, subfolders listed // in FolderList are not refreshed. Only objects that are in folders listed // directly under FolderList are found and used for the update. The default // is true. // // Valid Values: true | false Recursive *bool `type:"boolean"` // contains filtered or unexported fields }
RefreshCacheInput
func (s RefreshCacheInput) GoString() string
GoString returns the string representation
func (s *RefreshCacheInput) SetFileShareARN(v string) *RefreshCacheInput
SetFileShareARN sets the FileShareARN field's value.
func (s *RefreshCacheInput) SetFolderList(v []*string) *RefreshCacheInput
SetFolderList sets the FolderList field's value.
func (s *RefreshCacheInput) SetRecursive(v bool) *RefreshCacheInput
SetRecursive sets the Recursive field's value.
func (s RefreshCacheInput) String() string
String returns the string representation
func (s *RefreshCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RefreshCacheOutput struct { // The Amazon Resource Name (ARN) of the file share. FileShareARN *string `min:"50" type:"string"` // The randomly generated ID of the notification that was sent. This ID is in // UUID format. NotificationId *string `min:"1" type:"string"` // contains filtered or unexported fields }
RefreshCacheOutput
func (s RefreshCacheOutput) GoString() string
GoString returns the string representation
func (s *RefreshCacheOutput) SetFileShareARN(v string) *RefreshCacheOutput
SetFileShareARN sets the FileShareARN field's value.
func (s *RefreshCacheOutput) SetNotificationId(v string) *RefreshCacheOutput
SetNotificationId sets the NotificationId field's value.
func (s RefreshCacheOutput) String() string
String returns the string representation
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
func (s RemoveTagsFromResourceInput) GoString() string
GoString returns the string representation
func (s *RemoveTagsFromResourceInput) SetResourceARN(v string) *RemoveTagsFromResourceInput
SetResourceARN sets the ResourceARN field's value.
func (s *RemoveTagsFromResourceInput) SetTagKeys(v []*string) *RemoveTagsFromResourceInput
SetTagKeys sets the TagKeys field's value.
func (s RemoveTagsFromResourceInput) String() string
String returns the string representation
func (s *RemoveTagsFromResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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
func (s RemoveTagsFromResourceOutput) GoString() string
GoString returns the string representation
func (s *RemoveTagsFromResourceOutput) SetResourceARN(v string) *RemoveTagsFromResourceOutput
SetResourceARN sets the ResourceARN field's value.
func (s RemoveTagsFromResourceOutput) String() string
String returns the string representation
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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
func (s ResetCacheInput) GoString() string
GoString returns the string representation
func (s *ResetCacheInput) SetGatewayARN(v string) *ResetCacheInput
SetGatewayARN sets the GatewayARN field's value.
func (s ResetCacheInput) String() string
String returns the string representation
func (s *ResetCacheInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s ResetCacheOutput) GoString() string
GoString returns the string representation
func (s *ResetCacheOutput) SetGatewayARN(v string) *ResetCacheOutput
SetGatewayARN sets the GatewayARN field's value.
func (s ResetCacheOutput) String() string
String returns the string representation
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 AWS Region. // // You retrieve archived virtual tapes to only one gateway and the gateway must // be a tape gateway. // // 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
func (s RetrieveTapeArchiveInput) GoString() string
GoString returns the string representation
func (s *RetrieveTapeArchiveInput) SetGatewayARN(v string) *RetrieveTapeArchiveInput
SetGatewayARN sets the GatewayARN field's value.
func (s *RetrieveTapeArchiveInput) SetTapeARN(v string) *RetrieveTapeArchiveInput
SetTapeARN sets the TapeARN field's value.
func (s RetrieveTapeArchiveInput) String() string
String returns the string representation
func (s *RetrieveTapeArchiveInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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
func (s RetrieveTapeArchiveOutput) GoString() string
GoString returns the string representation
func (s *RetrieveTapeArchiveOutput) SetTapeARN(v string) *RetrieveTapeArchiveOutput
SetTapeARN sets the TapeARN field's value.
func (s RetrieveTapeArchiveOutput) String() string
String returns the string representation
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 AWS 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
func (s RetrieveTapeRecoveryPointInput) GoString() string
GoString returns the string representation
func (s *RetrieveTapeRecoveryPointInput) SetGatewayARN(v string) *RetrieveTapeRecoveryPointInput
SetGatewayARN sets the GatewayARN field's value.
func (s *RetrieveTapeRecoveryPointInput) SetTapeARN(v string) *RetrieveTapeRecoveryPointInput
SetTapeARN sets the TapeARN field's value.
func (s RetrieveTapeRecoveryPointInput) String() string
String returns the string representation
func (s *RetrieveTapeRecoveryPointInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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
func (s RetrieveTapeRecoveryPointOutput) GoString() string
GoString returns the string representation
func (s *RetrieveTapeRecoveryPointOutput) SetTapeARN(v string) *RetrieveTapeRecoveryPointOutput
SetTapeARN sets the TapeARN field's value.
func (s RetrieveTapeRecoveryPointOutput) String() string
String returns the string representation
type SMBFileShareInfo struct { // Indicates whether AccessBasedEnumeration is enabled. AccessBasedEnumeration *bool `type:"boolean"` // A list of users or groups in the Active Directory that have administrator // rights to the file share. A group must be prefixed with the @ character. // Acceptable formats include: DOMAIN\User1, user1, @group1, and @DOMAIN\group1. // Can only be set if Authentication is set to ActiveDirectory. AdminUserList []*string `type:"list"` // The Amazon Resource Name (ARN) of the storage used for the audit logs. AuditDestinationARN *string `type:"string"` // The authentication method of the file share. The default is ActiveDirectory. // // Valid Values: ActiveDirectory | GuestAccess Authentication *string `min:"5" type:"string"` // Refresh cache information. CacheAttributes *CacheAttributes `type:"structure"` // The case of an object name in an Amazon S3 bucket. For ClientSpecified, the // client determines the case sensitivity. For CaseSensitive, the gateway determines // the case sensitivity. The default value is ClientSpecified. CaseSensitivity *string `type:"string" enum:"CaseSensitivity"` // The default storage class for objects put into an Amazon S3 bucket by the // file gateway. The default value is S3_INTELLIGENT_TIERING. Optional. // // Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | S3_STANDARD_IA | S3_ONEZONE_IA DefaultStorageClass *string `min:"5" type:"string"` // The Amazon Resource Name (ARN) of the file share. FileShareARN *string `min:"50" type:"string"` // The ID of the file share. FileShareId *string `min:"12" type:"string"` // The name of the file share. Optional. // // FileShareName must be set if an S3 prefix name is set in LocationARN. FileShareName *string `min:"1" type:"string"` // The status of the file share. // // Valid Values: CREATING | UPDATING | AVAILABLE | DELETING FileShareStatus *string `min:"3" type:"string"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS Region. GatewayARN *string `min:"50" type:"string"` // A value that enables guessing of the MIME type for uploaded objects based // on file extensions. Set this value to true to enable MIME type guessing, // otherwise set to false. The default value is true. // // Valid Values: true | false GuessMIMETypeEnabled *bool `type:"boolean"` // A list of users or groups in the Active Directory that are not allowed to // access the file share. A group must be prefixed with the @ character. Acceptable // formats include: DOMAIN\User1, user1, @group1, and @DOMAIN\group1. Can only // be set if Authentication is set to ActiveDirectory. InvalidUserList []*string `type:"list"` // Set to true to use Amazon S3 server-side encryption with your own AWS KMS // key, or false to use a key managed by Amazon S3. Optional. // // Valid Values: true | false KMSEncrypted *bool `type:"boolean"` // The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used // for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric // CMKs. This value can only be set when KMSEncrypted is true. Optional. KMSKey *string `min:"7" type:"string"` // The ARN of the backend storage used for storing file data. A prefix name // can be added to the S3 bucket name. It must end with a "/". LocationARN *string `min:"16" type:"string"` // The notification policy of the file share. NotificationPolicy *string `min:"2" type:"string"` // A value that sets the access control list (ACL) permission for objects in // the S3 bucket that a file gateway puts objects into. The default value is // private. ObjectACL *string `type:"string" enum:"ObjectACL"` // The file share path used by the SMB client to identify the mount point. Path *string `type:"string"` // A value that sets the write status of a file share. Set this value to true // to set the write status to read-only, otherwise set to false. // // Valid Values: true | false ReadOnly *bool `type:"boolean"` // A value that sets who pays the cost of the request and the cost associated // with data download from the S3 bucket. If this value is set to true, the // requester pays the costs; otherwise, the S3 bucket owner pays. However, the // S3 bucket owner always pays the cost of storing data. // // RequesterPays is a configuration for the S3 bucket that backs the file share, // so make sure that the configuration on the file share is the same as the // S3 bucket configuration. // // Valid Values: true | false RequesterPays *bool `type:"boolean"` // The ARN of the IAM role that file gateway assumes when it accesses the underlying // storage. Role *string `min:"20" type:"string"` // If this value is set to true, it indicates that access control list (ACL) // is enabled on the SMB file share. If it is set to false, it indicates that // file and directory permissions are mapped to the POSIX permission. // // For more information, see Using Microsoft Windows ACLs to control access // to an SMB file share (https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html) // in the AWS Storage Gateway User Guide. SMBACLEnabled *bool `type:"boolean"` // A list of up to 50 tags assigned to the SMB file share, sorted alphabetically // by key name. Each tag is a key-value pair. For a gateway with more than 10 // tags assigned, you can view all tags using the ListTagsForResource API operation. Tags []*Tag `type:"list"` // A list of users or groups in the Active Directory that are allowed to access // the file share. A group must be prefixed with the @ character. Acceptable // formats include: DOMAIN\User1, user1, @group1, and @DOMAIN\group1. Can only // be set if Authentication is set to ActiveDirectory. ValidUserList []*string `type:"list"` // contains filtered or unexported fields }
The Windows file permissions and ownership information assigned, by default, to native S3 objects when file gateway discovers them in S3 buckets. This operation is only supported for file gateways.
func (s SMBFileShareInfo) GoString() string
GoString returns the string representation
func (s *SMBFileShareInfo) SetAccessBasedEnumeration(v bool) *SMBFileShareInfo
SetAccessBasedEnumeration sets the AccessBasedEnumeration field's value.
func (s *SMBFileShareInfo) SetAdminUserList(v []*string) *SMBFileShareInfo
SetAdminUserList sets the AdminUserList field's value.
func (s *SMBFileShareInfo) SetAuditDestinationARN(v string) *SMBFileShareInfo
SetAuditDestinationARN sets the AuditDestinationARN field's value.
func (s *SMBFileShareInfo) SetAuthentication(v string) *SMBFileShareInfo
SetAuthentication sets the Authentication field's value.
func (s *SMBFileShareInfo) SetCacheAttributes(v *CacheAttributes) *SMBFileShareInfo
SetCacheAttributes sets the CacheAttributes field's value.
func (s *SMBFileShareInfo) SetCaseSensitivity(v string) *SMBFileShareInfo
SetCaseSensitivity sets the CaseSensitivity field's value.
func (s *SMBFileShareInfo) SetDefaultStorageClass(v string) *SMBFileShareInfo
SetDefaultStorageClass sets the DefaultStorageClass field's value.
func (s *SMBFileShareInfo) SetFileShareARN(v string) *SMBFileShareInfo
SetFileShareARN sets the FileShareARN field's value.
func (s *SMBFileShareInfo) SetFileShareId(v string) *SMBFileShareInfo
SetFileShareId sets the FileShareId field's value.
func (s *SMBFileShareInfo) SetFileShareName(v string) *SMBFileShareInfo
SetFileShareName sets the FileShareName field's value.
func (s *SMBFileShareInfo) SetFileShareStatus(v string) *SMBFileShareInfo
SetFileShareStatus sets the FileShareStatus field's value.
func (s *SMBFileShareInfo) SetGatewayARN(v string) *SMBFileShareInfo
SetGatewayARN sets the GatewayARN field's value.
func (s *SMBFileShareInfo) SetGuessMIMETypeEnabled(v bool) *SMBFileShareInfo
SetGuessMIMETypeEnabled sets the GuessMIMETypeEnabled field's value.
func (s *SMBFileShareInfo) SetInvalidUserList(v []*string) *SMBFileShareInfo
SetInvalidUserList sets the InvalidUserList field's value.
func (s *SMBFileShareInfo) SetKMSEncrypted(v bool) *SMBFileShareInfo
SetKMSEncrypted sets the KMSEncrypted field's value.
func (s *SMBFileShareInfo) SetKMSKey(v string) *SMBFileShareInfo
SetKMSKey sets the KMSKey field's value.
func (s *SMBFileShareInfo) SetLocationARN(v string) *SMBFileShareInfo
SetLocationARN sets the LocationARN field's value.
func (s *SMBFileShareInfo) SetNotificationPolicy(v string) *SMBFileShareInfo
SetNotificationPolicy sets the NotificationPolicy field's value.
func (s *SMBFileShareInfo) SetObjectACL(v string) *SMBFileShareInfo
SetObjectACL sets the ObjectACL field's value.
func (s *SMBFileShareInfo) SetPath(v string) *SMBFileShareInfo
SetPath sets the Path field's value.
func (s *SMBFileShareInfo) SetReadOnly(v bool) *SMBFileShareInfo
SetReadOnly sets the ReadOnly field's value.
func (s *SMBFileShareInfo) SetRequesterPays(v bool) *SMBFileShareInfo
SetRequesterPays sets the RequesterPays field's value.
func (s *SMBFileShareInfo) SetRole(v string) *SMBFileShareInfo
SetRole sets the Role field's value.
func (s *SMBFileShareInfo) SetSMBACLEnabled(v bool) *SMBFileShareInfo
SetSMBACLEnabled sets the SMBACLEnabled field's value.
func (s *SMBFileShareInfo) SetTags(v []*Tag) *SMBFileShareInfo
SetTags sets the Tags field's value.
func (s *SMBFileShareInfo) SetValidUserList(v []*string) *SMBFileShareInfo
SetValidUserList sets the ValidUserList field's value.
func (s SMBFileShareInfo) String() string
String returns the string representation
type ServiceUnavailableError struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` // A StorageGatewayError that provides more information about the cause of the // error. Error_ *Error `locationName:"error" type:"structure"` // A human-readable message describing the error that occurred. Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
An internal server error has occurred because the service is unavailable. For more information, see the error and message fields.
func (s *ServiceUnavailableError) Code() string
Code returns the exception type name.
func (s *ServiceUnavailableError) Error() string
func (s ServiceUnavailableError) GoString() string
GoString returns the string representation
func (s *ServiceUnavailableError) Message() string
Message returns the exception's message.
func (s *ServiceUnavailableError) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *ServiceUnavailableError) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *ServiceUnavailableError) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s ServiceUnavailableError) String() string
String returns the string representation
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 AWS 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" sensitive:"true"` // contains filtered or unexported fields }
SetLocalConsolePasswordInput
func (s SetLocalConsolePasswordInput) GoString() string
GoString returns the string representation
func (s *SetLocalConsolePasswordInput) SetGatewayARN(v string) *SetLocalConsolePasswordInput
SetGatewayARN sets the GatewayARN field's value.
func (s *SetLocalConsolePasswordInput) SetLocalConsolePassword(v string) *SetLocalConsolePasswordInput
SetLocalConsolePassword sets the LocalConsolePassword field's value.
func (s SetLocalConsolePasswordInput) String() string
String returns the string representation
func (s *SetLocalConsolePasswordInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s SetLocalConsolePasswordOutput) GoString() string
GoString returns the string representation
func (s *SetLocalConsolePasswordOutput) SetGatewayARN(v string) *SetLocalConsolePasswordOutput
SetGatewayARN sets the GatewayARN field's value.
func (s SetLocalConsolePasswordOutput) String() string
String returns the string representation
type SetSMBGuestPasswordInput struct { // The Amazon Resource Name (ARN) of the file gateway the SMB file share is // associated with. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The password that you want to set for your SMB server. // // Password is a required field Password *string `min:"6" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
SetSMBGuestPasswordInput
func (s SetSMBGuestPasswordInput) GoString() string
GoString returns the string representation
func (s *SetSMBGuestPasswordInput) SetGatewayARN(v string) *SetSMBGuestPasswordInput
SetGatewayARN sets the GatewayARN field's value.
func (s *SetSMBGuestPasswordInput) SetPassword(v string) *SetSMBGuestPasswordInput
SetPassword sets the Password field's value.
func (s SetSMBGuestPasswordInput) String() string
String returns the string representation
func (s *SetSMBGuestPasswordInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SetSMBGuestPasswordOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s SetSMBGuestPasswordOutput) GoString() string
GoString returns the string representation
func (s *SetSMBGuestPasswordOutput) SetGatewayARN(v string) *SetSMBGuestPasswordOutput
SetGatewayARN sets the GatewayARN field's value.
func (s SetSMBGuestPasswordOutput) String() string
String returns the string representation
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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the Amazon Resource Name (ARN) of the gateway to shut down.
func (s ShutdownGatewayInput) GoString() string
GoString returns the string representation
func (s *ShutdownGatewayInput) SetGatewayARN(v string) *ShutdownGatewayInput
SetGatewayARN sets the GatewayARN field's value.
func (s ShutdownGatewayInput) String() string
String returns the string representation
func (s *ShutdownGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the Amazon Resource Name (ARN) of the gateway that was shut down.
func (s ShutdownGatewayOutput) GoString() string
GoString returns the string representation
func (s *ShutdownGatewayOutput) SetGatewayARN(v string) *ShutdownGatewayOutput
SetGatewayARN sets the GatewayARN field's value.
func (s ShutdownGatewayOutput) String() string
String returns the string representation
type StartAvailabilityMonitorTestInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
func (s StartAvailabilityMonitorTestInput) GoString() string
GoString returns the string representation
func (s *StartAvailabilityMonitorTestInput) SetGatewayARN(v string) *StartAvailabilityMonitorTestInput
SetGatewayARN sets the GatewayARN field's value.
func (s StartAvailabilityMonitorTestInput) String() string
String returns the string representation
func (s *StartAvailabilityMonitorTestInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartAvailabilityMonitorTestOutput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s StartAvailabilityMonitorTestOutput) GoString() string
GoString returns the string representation
func (s *StartAvailabilityMonitorTestOutput) SetGatewayARN(v string) *StartAvailabilityMonitorTestOutput
SetGatewayARN sets the GatewayARN field's value.
func (s StartAvailabilityMonitorTestOutput) String() string
String returns the string representation
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 AWS Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // contains filtered or unexported fields }
A JSON object containing the Amazon Resource Name (ARN) of the gateway to start.
func (s StartGatewayInput) GoString() string
GoString returns the string representation
func (s *StartGatewayInput) SetGatewayARN(v string) *StartGatewayInput
SetGatewayARN sets the GatewayARN field's value.
func (s StartGatewayInput) String() string
String returns the string representation
func (s *StartGatewayInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
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 AWS Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
A JSON object containing the Amazon Resource Name (ARN) of the gateway that was restarted.
func (s StartGatewayOutput) GoString() string
GoString returns the string representation
func (s *StartGatewayOutput) SetGatewayARN(v string) *StartGatewayOutput
SetGatewayARN sets the GatewayARN field's value.
func (s StartGatewayOutput) String() string
String returns the string representation
type StorageGateway struct { *client.Client }
StorageGateway provides the API operation methods for making requests to AWS Storage Gateway. See this package's package overview docs for details on the service.
StorageGateway methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
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:
mySession := session.Must(session.NewSession()) // 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 (c *StorageGateway) ActivateGateway(input *ActivateGatewayInput) (*ActivateGatewayOutput, error)
ActivateGateway API operation for AWS Storage Gateway.
Activates the gateway you previously deployed on your host. In the activation process, you specify information such as the AWS Region that you want to use for storing snapshots or tapes, 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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ActivateGateway
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See ActivateGateway for more information on using the ActivateGateway API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ActivateGateway
func (c *StorageGateway) ActivateGatewayWithContext(ctx aws.Context, input *ActivateGatewayInput, opts ...request.Option) (*ActivateGatewayOutput, error)
ActivateGatewayWithContext is the same as ActivateGateway with the addition of the ability to pass a context and additional request options.
See ActivateGateway for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 gateway. This operation is only supported in the cached volume, tape, and file gateway type (see How AWS Storage Gateway works (architecture) (https://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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddCache
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AddCache for more information on using the AddCache API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddCache
func (c *StorageGateway) AddCacheWithContext(ctx aws.Context, input *AddCacheInput, opts ...request.Option) (*AddCacheOutput, error)
AddCacheWithContext is the same as AddCache with the addition of the ability to pass a context and additional request options.
See AddCache for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 * NFS and SMB file shares
You can create a maximum of 50 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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddTagsToResource
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AddTagsToResource for more information on using the AddTagsToResource API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddTagsToResource
func (c *StorageGateway) AddTagsToResourceWithContext(ctx aws.Context, input *AddTagsToResourceInput, opts ...request.Option) (*AddTagsToResourceOutput, error)
AddTagsToResourceWithContext is the same as AddTagsToResource with the addition of the ability to pass a context and additional request options.
See AddTagsToResource for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 the stored volume, cached volume and tape gateway types.
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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddUploadBuffer
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AddUploadBuffer for more information on using the AddUploadBuffer API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddUploadBuffer
func (c *StorageGateway) AddUploadBufferWithContext(ctx aws.Context, input *AddUploadBufferInput, opts ...request.Option) (*AddUploadBufferOutput, error)
AddUploadBufferWithContext is the same as AddUploadBuffer with the addition of the ability to pass a context and additional request options.
See AddUploadBuffer for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 only supported in the stored volume gateway type. This operation is deprecated in cached volume 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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddWorkingStorage
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AddWorkingStorage for more information on using the AddWorkingStorage API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddWorkingStorage
func (c *StorageGateway) AddWorkingStorageWithContext(ctx aws.Context, input *AddWorkingStorageInput, opts ...request.Option) (*AddWorkingStorageOutput, error)
AddWorkingStorageWithContext is the same as AddWorkingStorage with the addition of the ability to pass a context and additional request options.
See AddWorkingStorage for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *StorageGateway) AssignTapePool(input *AssignTapePoolInput) (*AssignTapePoolOutput, error)
AssignTapePool API operation for AWS Storage Gateway.
Assigns a tape to a tape pool for archiving. The tape assigned to a pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the S3 storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
Valid Values: GLACIER | DEEP_ARCHIVE
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 AssignTapePool for usage and error information.
Returned Error Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AssignTapePool
func (c *StorageGateway) AssignTapePoolRequest(input *AssignTapePoolInput) (req *request.Request, output *AssignTapePoolOutput)
AssignTapePoolRequest generates a "aws/request.Request" representing the client's request for the AssignTapePool operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AssignTapePool for more information on using the AssignTapePool API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AssignTapePoolRequest method. req, resp := client.AssignTapePoolRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AssignTapePool
func (c *StorageGateway) AssignTapePoolWithContext(ctx aws.Context, input *AssignTapePoolInput, opts ...request.Option) (*AssignTapePoolOutput, error)
AssignTapePoolWithContext is the same as AssignTapePool with the addition of the ability to pass a context and additional request options.
See AssignTapePool for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *StorageGateway) AttachVolume(input *AttachVolumeInput) (*AttachVolumeOutput, error)
AttachVolume API operation for AWS Storage Gateway.
Connects a volume to an iSCSI connection and then attaches the volume to the specified gateway. Detaching and attaching a volume enables you to recover your data from one gateway to a different gateway without creating a snapshot. It also makes it easier to move your volumes from an on-premises gateway to a gateway hosted on an Amazon EC2 instance.
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 AttachVolume for usage and error information.
Returned Error Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AttachVolume
func (c *StorageGateway) AttachVolumeRequest(input *AttachVolumeInput) (req *request.Request, output *AttachVolumeOutput)
AttachVolumeRequest generates a "aws/request.Request" representing the client's request for the AttachVolume operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See AttachVolume for more information on using the AttachVolume API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the AttachVolumeRequest method. req, resp := client.AttachVolumeRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AttachVolume
func (c *StorageGateway) AttachVolumeWithContext(ctx aws.Context, input *AttachVolumeInput, opts ...request.Option) (*AttachVolumeOutput, error)
AttachVolumeWithContext is the same as AttachVolume with the addition of the ability to pass a context and additional request options.
See AttachVolume for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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. This operation is only supported in the tape gateway type.
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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelArchival
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CancelArchival for more information on using the CancelArchival API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelArchival
func (c *StorageGateway) CancelArchivalWithContext(ctx aws.Context, input *CancelArchivalInput, opts ...request.Option) (*CancelArchivalOutput, error)
CancelArchivalWithContext is the same as CancelArchival with the addition of the ability to pass a context and additional request options.
See CancelArchival for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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. This operation is only supported in the tape gateway type.
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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelRetrieval
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CancelRetrieval for more information on using the CancelRetrieval API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelRetrieval
func (c *StorageGateway) CancelRetrievalWithContext(ctx aws.Context, input *CancelRetrievalInput, opts ...request.Option) (*CancelRetrievalOutput, error)
CancelRetrievalWithContext is the same as CancelRetrieval with the addition of the ability to pass a context and additional request options.
See CancelRetrieval for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *StorageGateway) CreateCachediSCSIVolume(input *CreateCachediSCSIVolumeInput) (*CreateCachediSCSIVolumeOutput, error)
CreateCachediSCSIVolume API operation for AWS Storage Gateway.
Creates a cached volume on a specified cached volume gateway. This operation is only supported in the cached volume gateway type.
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, the gateway creates the volume and returns information about it. This information includes the volume Amazon Resource Name (ARN), its size, and the iSCSI target ARN that initiators can use to connect to the volume target.
Optionally, you can provide the ARN for an existing volume as the SourceVolumeARN for this cached volume, which creates an exact copy of the existing volume’s latest recovery point. The VolumeSizeInBytes value must be equal to or larger than the size of the copied volume, in bytes.
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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateCachediSCSIVolume
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateCachediSCSIVolume for more information on using the CreateCachediSCSIVolume API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateCachediSCSIVolume
func (c *StorageGateway) CreateCachediSCSIVolumeWithContext(ctx aws.Context, input *CreateCachediSCSIVolumeInput, opts ...request.Option) (*CreateCachediSCSIVolumeOutput, error)
CreateCachediSCSIVolumeWithContext is the same as CreateCachediSCSIVolume with the addition of the ability to pass a context and additional request options.
See CreateCachediSCSIVolume for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *StorageGateway) CreateNFSFileShare(input *CreateNFSFileShareInput) (*CreateNFSFileShareOutput, error)
CreateNFSFileShare API operation for AWS Storage Gateway.
Creates a Network File System (NFS) file share on an existing file gateway. In Storage Gateway, a file share is a file system mount point backed by Amazon S3 cloud storage. Storage Gateway exposes file shares using an NFS interface. This operation is only supported for file gateways.
File gateway requires AWS Security Token Service (AWS STS) to be activated to enable you to create a file share. Make sure AWS STS is activated in the AWS Region you are creating your file gateway in. If AWS STS is not activated in the AWS Region, activate it. For information about how to activate AWS STS, see Activating and deactivating AWS STS in an AWS Region (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) in the AWS Identity and Access Management User Guide.
File gateway does not support creating hard or symbolic links on a file share.
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 CreateNFSFileShare for usage and error information.
Returned Error Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateNFSFileShare
func (c *StorageGateway) CreateNFSFileShareRequest(input *CreateNFSFileShareInput) (req *request.Request, output *CreateNFSFileShareOutput)
CreateNFSFileShareRequest generates a "aws/request.Request" representing the client's request for the CreateNFSFileShare operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateNFSFileShare for more information on using the CreateNFSFileShare API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateNFSFileShareRequest method. req, resp := client.CreateNFSFileShareRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateNFSFileShare
func (c *StorageGateway) CreateNFSFileShareWithContext(ctx aws.Context, input *CreateNFSFileShareInput, opts ...request.Option) (*CreateNFSFileShareOutput, error)
CreateNFSFileShareWithContext is the same as CreateNFSFileShare with the addition of the ability to pass a context and additional request options.
See CreateNFSFileShare for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *StorageGateway) CreateSMBFileShare(input *CreateSMBFileShareInput) (*CreateSMBFileShareOutput, error)
CreateSMBFileShare API operation for AWS Storage Gateway.
Creates a Server Message Block (SMB) file share on an existing file gateway. In Storage Gateway, a file share is a file system mount point backed by Amazon S3 cloud storage. Storage Gateway exposes file shares using an SMB interface. This operation is only supported for file gateways.
File gateways require AWS Security Token Service (AWS STS) to be activated to enable you to create a file share. Make sure that AWS STS is activated in the AWS Region you are creating your file gateway in. If AWS STS is not activated in this AWS Region, activate it. For information about how to activate AWS STS, see Activating and deactivating AWS STS in an AWS Region (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) in the AWS Identity and Access Management User Guide.
File gateways don't support creating hard or symbolic links on a file share.
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 CreateSMBFileShare for usage and error information.
Returned Error Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSMBFileShare
func (c *StorageGateway) CreateSMBFileShareRequest(input *CreateSMBFileShareInput) (req *request.Request, output *CreateSMBFileShareOutput)
CreateSMBFileShareRequest generates a "aws/request.Request" representing the client's request for the CreateSMBFileShare operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateSMBFileShare for more information on using the CreateSMBFileShare API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateSMBFileShareRequest method. req, resp := client.CreateSMBFileShareRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSMBFileShare
func (c *StorageGateway) CreateSMBFileShareWithContext(ctx aws.Context, input *CreateSMBFileShareInput, opts ...request.Option) (*CreateSMBFileShareOutput, error)
CreateSMBFileShareWithContext is the same as CreateSMBFileShare with the addition of the ability to pass a context and additional request options.
See CreateSMBFileShare for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 (Amazon 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 an ad hoc snapshot. For more information, see Editing a snapshot schedule (https://docs.aws.amazon.com/storagegateway/latest/userguide/managing-volumes.html#SchedulingSnapshot).
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. This operation is only supported in stored and cached volume gateway type.
To list or delete a snapshot, you must use the Amazon EC2 API. For more information, see DescribeSnapshots (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSnapshots.html) or DeleteSnapshot (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeleteSnapshot.html) in the Amazon Elastic Compute Cloud API Reference.
Volume and snapshot IDs are changing to a longer length ID format. For more information, see the important note on the Welcome (https://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 Types:
* 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. * ServiceUnavailableError An internal server error has occurred because the service is unavailable. For more information, see the error and message fields.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshot
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 only supported in the cached volume gateway type.
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 cached volume gateway, 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 the gateway takes a snapshot of the specified volume, the snapshot and its description appear in the AWS Storage Gateway console. In response, the 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 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSnapshots.html) or DeleteSnapshot (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DeleteSnapshot.html) in the 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 Types:
* 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. * ServiceUnavailableError An internal server error has occurred because the service is unavailable. For more information, see the error and message fields.
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateSnapshotFromVolumeRecoveryPoint for more information on using the CreateSnapshotFromVolumeRecoveryPoint API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
func (c *StorageGateway) CreateSnapshotFromVolumeRecoveryPointWithContext(ctx aws.Context, input *CreateSnapshotFromVolumeRecoveryPointInput, opts ...request.Option) (*CreateSnapshotFromVolumeRecoveryPointOutput, error)
CreateSnapshotFromVolumeRecoveryPointWithContext is the same as CreateSnapshotFromVolumeRecoveryPoint with the addition of the ability to pass a context and additional request options.
See CreateSnapshotFromVolumeRecoveryPoint for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateSnapshot for more information on using the CreateSnapshot API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshot
func (c *StorageGateway) CreateSnapshotWithContext(ctx aws.Context, input *CreateSnapshotInput, opts ...request.Option) (*CreateSnapshotOutput, error)
CreateSnapshotWithContext is the same as CreateSnapshot with the addition of the ability to pass a context and additional request options.
See CreateSnapshot for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 only supported in the stored volume gateway type.
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, the 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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateStorediSCSIVolume
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateStorediSCSIVolume for more information on using the CreateStorediSCSIVolume API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateStorediSCSIVolume
func (c *StorageGateway) CreateStorediSCSIVolumeWithContext(ctx aws.Context, input *CreateStorediSCSIVolumeInput, opts ...request.Option) (*CreateStorediSCSIVolumeOutput, error)
CreateStorediSCSIVolumeWithContext is the same as CreateStorediSCSIVolume with the addition of the ability to pass a context and additional request options.
See CreateStorediSCSIVolume for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *StorageGateway) CreateTapePool(input *CreateTapePoolInput) (*CreateTapePoolOutput, error)
CreateTapePool API operation for AWS Storage Gateway.
Creates a new custom tape pool. You can use custom tape pool to enable tape retention lock on tapes that are archived in the custom pool.
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 CreateTapePool for usage and error information.
Returned Error Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapePool
func (c *StorageGateway) CreateTapePoolRequest(input *CreateTapePoolInput) (req *request.Request, output *CreateTapePoolOutput)
CreateTapePoolRequest generates a "aws/request.Request" representing the client's request for the CreateTapePool operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateTapePool for more information on using the CreateTapePool API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the CreateTapePoolRequest method. req, resp := client.CreateTapePoolRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapePool
func (c *StorageGateway) CreateTapePoolWithContext(ctx aws.Context, input *CreateTapePoolInput, opts ...request.Option) (*CreateTapePoolOutput, error)
CreateTapePoolWithContext is the same as CreateTapePool with the addition of the ability to pass a context and additional request options.
See CreateTapePool for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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. A barcode is unique and cannot be reused if it has already been used on a tape. This applies to barcodes used on deleted tapes. This operation is only supported in the tape gateway type.
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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapeWithBarcode
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateTapeWithBarcode for more information on using the CreateTapeWithBarcode API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapeWithBarcode
func (c *StorageGateway) CreateTapeWithBarcodeWithContext(ctx aws.Context, input *CreateTapeWithBarcodeInput, opts ...request.Option) (*CreateTapeWithBarcodeOutput, error)
CreateTapeWithBarcodeWithContext is the same as CreateTapeWithBarcode with the addition of the ability to pass a context and additional request options.
See CreateTapeWithBarcode for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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. This operation is only supported in the tape gateway type.
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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapes
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See CreateTapes for more information on using the CreateTapes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapes
func (c *StorageGateway) CreateTapesWithContext(ctx aws.Context, input *CreateTapesInput, opts ...request.Option) (*CreateTapesOutput, error)
CreateTapesWithContext is the same as CreateTapes with the addition of the ability to pass a context and additional request options.
See CreateTapes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *StorageGateway) DeleteAutomaticTapeCreationPolicy(input *DeleteAutomaticTapeCreationPolicyInput) (*DeleteAutomaticTapeCreationPolicyOutput, error)
DeleteAutomaticTapeCreationPolicy API operation for AWS Storage Gateway.
Deletes the automatic tape creation policy of a gateway. If you delete this policy, new virtual tapes must be created manually. Use the Amazon Resource Name (ARN) of the gateway in your request to remove the policy.
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 DeleteAutomaticTapeCreationPolicy for usage and error information.
Returned Error Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteAutomaticTapeCreationPolicy
func (c *StorageGateway) DeleteAutomaticTapeCreationPolicyRequest(input *DeleteAutomaticTapeCreationPolicyInput) (req *request.Request, output *DeleteAutomaticTapeCreationPolicyOutput)
DeleteAutomaticTapeCreationPolicyRequest generates a "aws/request.Request" representing the client's request for the DeleteAutomaticTapeCreationPolicy operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteAutomaticTapeCreationPolicy for more information on using the DeleteAutomaticTapeCreationPolicy API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteAutomaticTapeCreationPolicyRequest method. req, resp := client.DeleteAutomaticTapeCreationPolicyRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteAutomaticTapeCreationPolicy
func (c *StorageGateway) DeleteAutomaticTapeCreationPolicyWithContext(ctx aws.Context, input *DeleteAutomaticTapeCreationPolicyInput, opts ...request.Option) (*DeleteAutomaticTapeCreationPolicyOutput, error)
DeleteAutomaticTapeCreationPolicyWithContext is the same as DeleteAutomaticTapeCreationPolicy with the addition of the ability to pass a context and additional request options.
See DeleteAutomaticTapeCreationPolicy for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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. This operation is supported for the stored volume, cached volume and tape gateway types.
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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteBandwidthRateLimit
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteBandwidthRateLimit for more information on using the DeleteBandwidthRateLimit API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteBandwidthRateLimit
func (c *StorageGateway) DeleteBandwidthRateLimitWithContext(ctx aws.Context, input *DeleteBandwidthRateLimitInput, opts ...request.Option) (*DeleteBandwidthRateLimitOutput, error)
DeleteBandwidthRateLimitWithContext is the same as DeleteBandwidthRateLimit with the addition of the ability to pass a context and additional request options.
See DeleteBandwidthRateLimit for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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. This operation is supported in volume and tape gateway types.
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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteChapCredentials
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteChapCredentials for more information on using the DeleteChapCredentials API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteChapCredentials
func (c *StorageGateway) DeleteChapCredentialsWithContext(ctx aws.Context, input *DeleteChapCredentialsInput, opts ...request.Option) (*DeleteChapCredentialsOutput, error)
DeleteChapCredentialsWithContext is the same as DeleteChapCredentials with the addition of the ability to pass a context and additional request options.
See DeleteChapCredentials for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *StorageGateway) DeleteFileShare(input *DeleteFileShareInput) (*DeleteFileShareOutput, error)
DeleteFileShare API operation for AWS Storage Gateway.
Deletes a file share from a file gateway. This operation is only supported for file 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 DeleteFileShare for usage and error information.
Returned Error Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteFileShare
func (c *StorageGateway) DeleteFileShareRequest(input *DeleteFileShareInput) (req *request.Request, output *DeleteFileShareOutput)
DeleteFileShareRequest generates a "aws/request.Request" representing the client's request for the DeleteFileShare operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteFileShare for more information on using the DeleteFileShare API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteFileShareRequest method. req, resp := client.DeleteFileShareRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteFileShare
func (c *StorageGateway) DeleteFileShareWithContext(ctx aws.Context, input *DeleteFileShareInput, opts ...request.Option) (*DeleteFileShareOutput, error)
DeleteFileShareWithContext is the same as DeleteFileShare with the addition of the ability to pass a context and additional request options.
See DeleteFileShare for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteGateway
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteGateway for more information on using the DeleteGateway API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteGateway
func (c *StorageGateway) DeleteGatewayWithContext(ctx aws.Context, input *DeleteGatewayInput, opts ...request.Option) (*DeleteGatewayOutput, error)
DeleteGatewayWithContext is the same as DeleteGateway with the addition of the ability to pass a context and additional request options.
See DeleteGateway for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 Backing up your volumes (https://docs.aws.amazon.com/storagegateway/latest/userguide/backing-up-volumes.html). In the DeleteSnapshotSchedule request, you identify the volume by providing its Amazon Resource Name (ARN). This operation is only supported in stored and cached volume gateway types.
To list or delete a snapshot, you must use the Amazon EC2 API. For more information, go to DescribeSnapshots (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSnapshots.html) in the 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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteSnapshotSchedule
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteSnapshotSchedule for more information on using the DeleteSnapshotSchedule API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteSnapshotSchedule
func (c *StorageGateway) DeleteSnapshotScheduleWithContext(ctx aws.Context, input *DeleteSnapshotScheduleInput, opts ...request.Option) (*DeleteSnapshotScheduleOutput, error)
DeleteSnapshotScheduleWithContext is the same as DeleteSnapshotSchedule with the addition of the ability to pass a context and additional request options.
See DeleteSnapshotSchedule for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *StorageGateway) DeleteTape(input *DeleteTapeInput) (*DeleteTapeOutput, error)
DeleteTape API operation for AWS Storage Gateway.
Deletes the specified virtual tape. This operation is only supported in the tape gateway type.
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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTape
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). This operation is only supported in the tape gateway type.
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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapeArchive
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteTapeArchive for more information on using the DeleteTapeArchive API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapeArchive
func (c *StorageGateway) DeleteTapeArchiveWithContext(ctx aws.Context, input *DeleteTapeArchiveInput, opts ...request.Option) (*DeleteTapeArchiveOutput, error)
DeleteTapeArchiveWithContext is the same as DeleteTapeArchive with the addition of the ability to pass a context and additional request options.
See DeleteTapeArchive for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *StorageGateway) DeleteTapePool(input *DeleteTapePoolInput) (*DeleteTapePoolOutput, error)
DeleteTapePool API operation for AWS Storage Gateway.
Delete a custom tape pool. A custom tape pool can only be deleted if there are no tapes in the pool and if there are no automatic tape creation policies that reference the custom tape pool.
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 DeleteTapePool for usage and error information.
Returned Error Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapePool
func (c *StorageGateway) DeleteTapePoolRequest(input *DeleteTapePoolInput) (req *request.Request, output *DeleteTapePoolOutput)
DeleteTapePoolRequest generates a "aws/request.Request" representing the client's request for the DeleteTapePool operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteTapePool for more information on using the DeleteTapePool API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DeleteTapePoolRequest method. req, resp := client.DeleteTapePoolRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapePool
func (c *StorageGateway) DeleteTapePoolWithContext(ctx aws.Context, input *DeleteTapePoolInput, opts ...request.Option) (*DeleteTapePoolOutput, error)
DeleteTapePoolWithContext is the same as DeleteTapePool with the addition of the ability to pass a context and additional request options.
See DeleteTapePool for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteTape for more information on using the DeleteTape API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTape
func (c *StorageGateway) DeleteTapeWithContext(ctx aws.Context, input *DeleteTapeInput, opts ...request.Option) (*DeleteTapeOutput, error)
DeleteTapeWithContext is the same as DeleteTape with the addition of the ability to pass a context and additional request options.
See DeleteTape for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *StorageGateway) DeleteVolume(input *DeleteVolumeInput) (*DeleteVolumeOutput, error)
DeleteVolume API operation for AWS Storage Gateway.
Deletes the specified storage volume that you previously created using the CreateCachediSCSIVolume or CreateStorediSCSIVolume API. This operation is only supported in the cached volume and stored volume types. For stored volume gateways, 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 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 (https://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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteVolume
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DeleteVolume for more information on using the DeleteVolume API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteVolume
func (c *StorageGateway) DeleteVolumeWithContext(ctx aws.Context, input *DeleteVolumeInput, opts ...request.Option) (*DeleteVolumeOutput, error)
DeleteVolumeWithContext is the same as DeleteVolume with the addition of the ability to pass a context and additional request options.
See DeleteVolume for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *StorageGateway) DescribeAvailabilityMonitorTest(input *DescribeAvailabilityMonitorTestInput) (*DescribeAvailabilityMonitorTestOutput, error)
DescribeAvailabilityMonitorTest API operation for AWS Storage Gateway.
Returns information about the most recent High Availability monitoring test that was performed on the host in a cluster. If a test isn't performed, the status and start time in the response would be null.
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 DescribeAvailabilityMonitorTest for usage and error information.
Returned Error Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeAvailabilityMonitorTest
func (c *StorageGateway) DescribeAvailabilityMonitorTestRequest(input *DescribeAvailabilityMonitorTestInput) (req *request.Request, output *DescribeAvailabilityMonitorTestOutput)
DescribeAvailabilityMonitorTestRequest generates a "aws/request.Request" representing the client's request for the DescribeAvailabilityMonitorTest operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeAvailabilityMonitorTest for more information on using the DescribeAvailabilityMonitorTest API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeAvailabilityMonitorTestRequest method. req, resp := client.DescribeAvailabilityMonitorTestRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeAvailabilityMonitorTest
func (c *StorageGateway) DescribeAvailabilityMonitorTestWithContext(ctx aws.Context, input *DescribeAvailabilityMonitorTestInput, opts ...request.Option) (*DescribeAvailabilityMonitorTestOutput, error)
DescribeAvailabilityMonitorTestWithContext is the same as DescribeAvailabilityMonitorTest with the addition of the ability to pass a context and additional request options.
See DescribeAvailabilityMonitorTest for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 is supported for the stored volume, cached volume, and tape gateway types.
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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimit
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeBandwidthRateLimit for more information on using the DescribeBandwidthRateLimit API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimit
func (c *StorageGateway) DescribeBandwidthRateLimitSchedule(input *DescribeBandwidthRateLimitScheduleInput) (*DescribeBandwidthRateLimitScheduleOutput, error)
DescribeBandwidthRateLimitSchedule API operation for AWS Storage Gateway.
Returns information about the bandwidth rate limit schedule of a gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. This operation is supported only in the volume and tape gateway types.
This operation returns information about a gateway's bandwidth rate limit schedule. A bandwidth rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit interval defines a period of time on one or more days of the week, during which bandwidth rate limits are specified for uploading, downloading, or both.
A bandwidth rate limit interval consists of one or more days of the week, a start hour and minute, an ending hour and minute, and bandwidth rate limits for uploading and downloading
If no bandwidth rate limit schedule intervals are set for the gateway, this operation returns an empty response. 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 DescribeBandwidthRateLimitSchedule for usage and error information.
Returned Error Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimitSchedule
func (c *StorageGateway) DescribeBandwidthRateLimitScheduleRequest(input *DescribeBandwidthRateLimitScheduleInput) (req *request.Request, output *DescribeBandwidthRateLimitScheduleOutput)
DescribeBandwidthRateLimitScheduleRequest generates a "aws/request.Request" representing the client's request for the DescribeBandwidthRateLimitSchedule operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeBandwidthRateLimitSchedule for more information on using the DescribeBandwidthRateLimitSchedule API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeBandwidthRateLimitScheduleRequest method. req, resp := client.DescribeBandwidthRateLimitScheduleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimitSchedule
func (c *StorageGateway) DescribeBandwidthRateLimitScheduleWithContext(ctx aws.Context, input *DescribeBandwidthRateLimitScheduleInput, opts ...request.Option) (*DescribeBandwidthRateLimitScheduleOutput, error)
DescribeBandwidthRateLimitScheduleWithContext is the same as DescribeBandwidthRateLimitSchedule with the addition of the ability to pass a context and additional request options.
See DescribeBandwidthRateLimitSchedule for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *StorageGateway) DescribeBandwidthRateLimitWithContext(ctx aws.Context, input *DescribeBandwidthRateLimitInput, opts ...request.Option) (*DescribeBandwidthRateLimitOutput, error)
DescribeBandwidthRateLimitWithContext is the same as DescribeBandwidthRateLimit with the addition of the ability to pass a context and additional request options.
See DescribeBandwidthRateLimit for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 only supported in the cached volume, tape, and file gateway types.
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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCache
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeCache for more information on using the DescribeCache API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCache
func (c *StorageGateway) DescribeCacheWithContext(ctx aws.Context, input *DescribeCacheInput, opts ...request.Option) (*DescribeCacheOutput, error)
DescribeCacheWithContext is the same as DescribeCache with the addition of the ability to pass a context and additional request options.
See DescribeCache for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 only supported in the cached volume gateway types.
The list of gateway volumes in the request must be from one gateway. In the response, AWS 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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCachediSCSIVolumes
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeCachediSCSIVolumes for more information on using the DescribeCachediSCSIVolumes API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCachediSCSIVolumes
func (c *StorageGateway) DescribeCachediSCSIVolumesWithContext(ctx aws.Context, input *DescribeCachediSCSIVolumesInput, opts ...request.Option) (*DescribeCachediSCSIVolumesOutput, error)
DescribeCachediSCSIVolumesWithContext is the same as DescribeCachediSCSIVolumes with the addition of the ability to pass a context and additional request options.
See DescribeCachediSCSIVolumes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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. This operation is supported in the volume and tape gateway types.
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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeChapCredentials
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeChapCredentials for more information on using the DescribeChapCredentials API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeChapCredentials
func (c *StorageGateway) DescribeChapCredentialsWithContext(ctx aws.Context, input *DescribeChapCredentialsInput, opts ...request.Option) (*DescribeChapCredentialsOutput, error)
DescribeChapCredentialsWithContext is the same as DescribeChapCredentials with the addition of the ability to pass a context and additional request options.
See DescribeChapCredentials for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformation
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeGatewayInformation for more information on using the DescribeGatewayInformation API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformation
func (c *StorageGateway) DescribeGatewayInformationWithContext(ctx aws.Context, input *DescribeGatewayInformationInput, opts ...request.Option) (*DescribeGatewayInformationOutput, error)
DescribeGatewayInformationWithContext is the same as DescribeGatewayInformation with the addition of the ability to pass a context and additional request options.
See DescribeGatewayInformation for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
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 Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeMaintenanceStartTime
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 will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeMaintenanceStartTime for more information on using the DescribeMaintenanceStartTime API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// 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) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeMaintenanceStartTime
func (c *StorageGateway) DescribeMaintenanceStartTimeWithContext(ctx aws.Context, input *DescribeMaintenanceStartTimeInput, opts ...request.Option) (*DescribeMaintenanceStartTimeOutput, error)
DescribeMaintenanceStartTimeWithContext is the same as DescribeMaintenanceStartTime with the addition of the ability to pass a context and additional request options.
See DescribeMaintenanceStartTime for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *StorageGateway) DescribeNFSFileShares(input *DescribeNFSFileSharesInput) (*DescribeNFSFileSharesOutput, error)
DescribeNFSFileShares API operation for AWS Storage Gateway.
Gets a description for one or more Network File System (NFS) file shares from a file gateway. This operation is only supported for file 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 DescribeNFSFileShares for usage and error information.
Returned Error Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeNFSFileShares
func (c *StorageGateway) DescribeNFSFileSharesRequest(input *DescribeNFSFileSharesInput) (req *request.Request, output *DescribeNFSFileSharesOutput)
DescribeNFSFileSharesRequest generates a "aws/request.Request" representing the client's request for the DescribeNFSFileShares operation. The "output" return value will be populated with the request's response once the request completes successfully.
Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.
See DescribeNFSFileShares for more information on using the DescribeNFSFileShares API call, and error handling.
This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.
// Example sending a request using the DescribeNFSFileSharesRequest method. req, resp := client.DescribeNFSFileSharesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeNFSFileShares
func (c *StorageGateway) DescribeNFSFileSharesWithContext(ctx aws.Context, input *DescribeNFSFileSharesInput, opts ...request.Option) (*DescribeNFSFileSharesOutput, error)
DescribeNFSFileSharesWithContext is the same as DescribeNFSFileShares with the addition of the ability to pass a context and additional request options.
See DescribeNFSFileShares for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (c *StorageGateway) DescribeSMBFileShares(input *DescribeSMBFileSharesInput) (*DescribeSMBFileSharesOutput, error)
DescribeSMBFileShares API operation for AWS Storage Gateway.
Gets a description for one or more Server Message Block (SMB) file shares from a file gateway. This operation is only supported for file 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 DescribeSMBFileShares for usage and error information.
Returned Error Types:
* 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.
See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBFileShares
func (c *StorageGateway) DescribeSMBFileSharesRequest(input *DescribeSMBFileSharesInput) (req *request.Request, output *DescribeSMBFileSharesOutput)
DescribeSMBFileSharesRequest generates a "aws/request.Request" representing the client's request for the DescribeSMBFileShares operation. Th