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 GatewayCapacity_Values() []string
GatewayCapacity_Values returns all elements of the GatewayCapacity 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 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 Amazon Web Services Region where you want to store // your data. The gateway Amazon Web Services Region specified must be the same // Amazon Web Services Region as the Amazon Web Services Region in your Host // header in the request. For more information about available Amazon Web Services // Regions and endpoints for Storage Gateway, see Storage Gateway endpoints // and quotas (https://docs.aws.amazon.com/general/latest/gr/sg.html) in the // Amazon Web Services General Reference. // // Valid Values: See Storage Gateway endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/sg.html) // in the Amazon Web Services 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 | VTL_SNOW | FILE_S3 | FILE_FSX_SMB 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ActivateGatewayOutput) SetGatewayARN(v string) *ActivateGatewayOutput
SetGatewayARN sets the GatewayARN field's value.
func (s ActivateGatewayOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s AddCacheOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AddCacheOutput) SetGatewayARN(v string) *AddCacheOutput
SetGatewayARN sets the GatewayARN field's value.
func (s AddCacheOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AddTagsToResourceOutput) SetResourceARN(v string) *AddTagsToResourceOutput
SetResourceARN sets the ResourceARN field's value.
func (s AddTagsToResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s AddUploadBufferOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AddUploadBufferOutput) SetGatewayARN(v string) *AddUploadBufferOutput
SetGatewayARN sets the GatewayARN field's value.
func (s AddUploadBufferOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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:
func (s AddWorkingStorageInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AddWorkingStorageOutput) SetGatewayARN(v string) *AddWorkingStorageOutput
SetGatewayARN sets the GatewayARN field's value.
func (s AddWorkingStorageOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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. // // 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssignTapePoolOutput) SetTapeARN(v string) *AssignTapePoolOutput
SetTapeARN sets the TapeARN field's value.
func (s AssignTapePoolOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type AssociateFileSystemInput struct { // The Amazon Resource Name (ARN) of the storage used for the audit logs. AuditDestinationARN *string `type:"string"` // The refresh cache information for the file share or FSx file systems. CacheAttributes *CacheAttributes `type:"structure"` // A unique string value that you supply that is used by the FSx File Gateway // to ensure idempotent file system association creation. // // ClientToken is a required field ClientToken *string `min:"5" type:"string" required:"true"` // Specifies the network configuration information for the gateway associated // with the Amazon FSx file system. // // If multiple file systems are associated with this gateway, this parameter's // IpAddresses field is required. EndpointNetworkConfiguration *EndpointNetworkConfiguration `type:"structure"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and Amazon Web Services Region. // // GatewayARN is a required field GatewayARN *string `min:"50" type:"string" required:"true"` // The Amazon Resource Name (ARN) of the Amazon FSx file system to associate // with the FSx File Gateway. // // LocationARN is a required field LocationARN *string `min:"8" type:"string" required:"true"` // The password of the user credential. // // Password is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AssociateFileSystemInput's // String and GoString methods. // // Password is a required field Password *string `min:"1" type:"string" required:"true" sensitive:"true"` // A list of up to 50 tags that can be assigned to the file system association. // Each tag is a key-value pair. Tags []*Tag `type:"list"` // The user name of the user credential that has permission to access the root // share D$ of the Amazon FSx file system. The user account must belong to the // Amazon FSx delegated admin user group. // // UserName is a required field UserName *string `min:"1" type:"string" required:"true"` // contains filtered or unexported fields }
func (s AssociateFileSystemInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateFileSystemInput) SetAuditDestinationARN(v string) *AssociateFileSystemInput
SetAuditDestinationARN sets the AuditDestinationARN field's value.
func (s *AssociateFileSystemInput) SetCacheAttributes(v *CacheAttributes) *AssociateFileSystemInput
SetCacheAttributes sets the CacheAttributes field's value.
func (s *AssociateFileSystemInput) SetClientToken(v string) *AssociateFileSystemInput
SetClientToken sets the ClientToken field's value.
func (s *AssociateFileSystemInput) SetEndpointNetworkConfiguration(v *EndpointNetworkConfiguration) *AssociateFileSystemInput
SetEndpointNetworkConfiguration sets the EndpointNetworkConfiguration field's value.
func (s *AssociateFileSystemInput) SetGatewayARN(v string) *AssociateFileSystemInput
SetGatewayARN sets the GatewayARN field's value.
func (s *AssociateFileSystemInput) SetLocationARN(v string) *AssociateFileSystemInput
SetLocationARN sets the LocationARN field's value.
func (s *AssociateFileSystemInput) SetPassword(v string) *AssociateFileSystemInput
SetPassword sets the Password field's value.
func (s *AssociateFileSystemInput) SetTags(v []*Tag) *AssociateFileSystemInput
SetTags sets the Tags field's value.
func (s *AssociateFileSystemInput) SetUserName(v string) *AssociateFileSystemInput
SetUserName sets the UserName field's value.
func (s AssociateFileSystemInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateFileSystemInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AssociateFileSystemOutput struct { // The ARN of the newly created file system association. FileSystemAssociationARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s AssociateFileSystemOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *AssociateFileSystemOutput) SetFileSystemAssociationARN(v string) *AssociateFileSystemOutput
SetFileSystemAssociationARN sets the FileSystemAssociationARN field's value.
func (s AssociateFileSystemOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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. // // 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 represents // 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 or Amazon FSx file system. The TTL duration is in seconds. // // Valid Values:0, 300 to 2,592,000 seconds (5 minutes to 30 days) CacheStaleTimeoutInSeconds *int64 `type:"integer"` // contains filtered or unexported fields }
The refresh cache information for the file share or FSx file systems.
func (s CacheAttributes) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CacheAttributes) SetCacheStaleTimeoutInSeconds(v int64) *CacheAttributes
SetCacheStaleTimeoutInSeconds sets the CacheStaleTimeoutInSeconds field's value.
func (s CacheAttributes) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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. // // If you use a delete tool that overwrites the data on your volume with random // data, your usage will not be reduced. This is because the random data is // not compressible. If you want to reduce the amount of billed storage on your // volume, we recommend overwriting your files with zeros to compress the data // to a negligible amount of actual storage. 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CancelArchivalOutput) SetTapeARN(v string) *CancelArchivalOutput
SetTapeARN sets the TapeARN field's value.
func (s CancelArchivalOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CancelRetrievalOutput) SetTapeARN(v string) *CancelRetrievalOutput
SetTapeARN sets the TapeARN field's value.
func (s CancelRetrievalOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ChapInfo's // String and GoString methods. 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 is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by ChapInfo's // String and GoString methods. 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type CreateNFSFileShareInput struct { // The Amazon Resource Name (ARN) of the storage used for audit logs. AuditDestinationARN *string `type:"string"` // Specifies the Region of the S3 bucket where the NFS file share stores files. // // This parameter is required for NFS file shares that connect to Amazon S3 // through a VPC endpoint, a VPC access point, or an access point alias that // points to a VPC access point. BucketRegion *string `min:"1" type:"string"` // Specifies refresh cache information for the file share. CacheAttributes *CacheAttributes `type:"structure"` // The list of clients that are allowed to access the S3 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 S3 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 // S3 File Gateway. The default value is S3_STANDARD. 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, or // if an access point or access point alias is used. FileShareName *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the S3 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 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"` // A custom ARN for the backend storage used for storing data for file shares. // It includes a resource ARN with an optional prefix concatenation. The prefix // must end with a forward slash (/). // // You can specify LocationARN as a bucket ARN, access point ARN or access point // alias, as shown in the following examples. // // Bucket ARN: // // arn:aws:s3:::my-bucket/prefix/ // // Access point ARN: // // arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/ // // If you specify an access point, the bucket policy must be configured to delegate // access control to the access point. For information, see Delegating access // control to access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-policies.html#access-points-delegating-control) // in the Amazon S3 User Guide. // // Access point alias: // // test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias // // 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. SettlingTimeInSeconds controls // the number of seconds to wait after the last point in time a client wrote // to a file before generating an ObjectUploaded notification. Because clients // can make many small writes to files, it's best to set this parameter for // as long as possible to avoid generating multiple notifications for the same // file in a small time period. // // SettlingTimeInSeconds has no effect on the timing of the object uploading // to Amazon S3, only the timing of the notification. // // The following example sets NotificationPolicy on with SettlingTimeInSeconds // set to 60. // // {\"Upload\": {\"SettlingTimeInSeconds\": 60}} // // The following example sets NotificationPolicy off. // // {} NotificationPolicy *string `min:"2" type:"string"` // A value that sets the access control list (ACL) permission for objects in // the S3 bucket that a S3 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 Identity and Access Management (IAM) role that an S3 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"` // Specifies the DNS name for the VPC endpoint that the NFS file share uses // to connect to Amazon S3. // // This parameter is required for NFS file shares that connect to Amazon S3 // through a VPC endpoint, a VPC access point, or an access point alias that // points to a VPC access point. VPCEndpointDNSName *string `min:"1" type:"string"` // contains filtered or unexported fields }
CreateNFSFileShareInput
func (s CreateNFSFileShareInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateNFSFileShareInput) SetAuditDestinationARN(v string) *CreateNFSFileShareInput
SetAuditDestinationARN sets the AuditDestinationARN field's value.
func (s *CreateNFSFileShareInput) SetBucketRegion(v string) *CreateNFSFileShareInput
SetBucketRegion sets the BucketRegion field's value.
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) SetVPCEndpointDNSName(v string) *CreateNFSFileShareInput
SetVPCEndpointDNSName sets the VPCEndpointDNSName field's value.
func (s CreateNFSFileShareInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateNFSFileShareOutput) SetFileShareARN(v string) *CreateNFSFileShareOutput
SetFileShareARN sets the FileShareARN field's value.
func (s CreateNFSFileShareOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 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"` // Specifies the Region of the S3 bucket where the SMB file share stores files. // // This parameter is required for SMB file shares that connect to Amazon S3 // through a VPC endpoint, a VPC access point, or an access point alias that // points to a VPC access point. BucketRegion *string `min:"1" type:"string"` // Specifies refresh cache information for the file share. 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 S3 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 // S3 File Gateway. The default value is S3_STANDARD. 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, or // if an access point or access point alias is used. FileShareName *string `min:"1" type:"string"` // The ARN of the S3 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 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"` // A custom ARN for the backend storage used for storing data for file shares. // It includes a resource ARN with an optional prefix concatenation. The prefix // must end with a forward slash (/). // // You can specify LocationARN as a bucket ARN, access point ARN or access point // alias, as shown in the following examples. // // Bucket ARN: // // arn:aws:s3:::my-bucket/prefix/ // // Access point ARN: // // arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/ // // If you specify an access point, the bucket policy must be configured to delegate // access control to the access point. For information, see Delegating access // control to access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-policies.html#access-points-delegating-control) // in the Amazon S3 User Guide. // // Access point alias: // // test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias // // LocationARN is a required field LocationARN *string `min:"16" type:"string" required:"true"` // The notification policy of the file share. SettlingTimeInSeconds controls // the number of seconds to wait after the last point in time a client wrote // to a file before generating an ObjectUploaded notification. Because clients // can make many small writes to files, it's best to set this parameter for // as long as possible to avoid generating multiple notifications for the same // file in a small time period. // // SettlingTimeInSeconds has no effect on the timing of the object uploading // to Amazon S3, only the timing of the notification. // // The following example sets NotificationPolicy on with SettlingTimeInSeconds // set to 60. // // {\"Upload\": {\"SettlingTimeInSeconds\": 60}} // // The following example sets NotificationPolicy off. // // {} NotificationPolicy *string `min:"2" type:"string"` // A value that sets the access control list (ACL) permission for objects in // the S3 bucket that a S3 File Gateway puts objects into. The default value // is private. ObjectACL *string `type:"string" enum:"ObjectACL"` // Specifies whether opportunistic locking is enabled for the SMB file share. // // Enabling opportunistic locking on case-sensitive shares is not recommended // for workloads that involve access to files with the same name in different // case. // // Valid Values: true | false OplocksEnabled *bool `type:"boolean"` // 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 Identity and Access Management (IAM) role that an S3 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 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"` // Specifies the DNS name for the VPC endpoint that the SMB file share uses // to connect to Amazon S3. // // This parameter is required for SMB file shares that connect to Amazon S3 // through a VPC endpoint, a VPC access point, or an access point alias that // points to a VPC access point. VPCEndpointDNSName *string `min:"1" type:"string"` // 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) SetBucketRegion(v string) *CreateSMBFileShareInput
SetBucketRegion sets the BucketRegion 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) SetOplocksEnabled(v bool) *CreateSMBFileShareInput
SetOplocksEnabled sets the OplocksEnabled 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) SetVPCEndpointDNSName(v string) *CreateSMBFileShareInput
SetVPCEndpointDNSName sets the VPCEndpointDNSName 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateSMBFileShareOutput) SetFileShareARN(v string) *CreateSMBFileShareOutput
SetFileShareARN sets the FileShareARN field's value.
func (s CreateSMBFileShareOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 // 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 // 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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 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 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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, Amazon Web Services 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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services Region. PoolARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s CreateTapePoolOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateTapePoolOutput) SetPoolARN(v string) *CreateTapePoolOutput
SetPoolARN sets the PoolARN field's value.
func (s CreateTapePoolOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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 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. 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:"5" 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateTapeWithBarcodeOutput) SetTapeARN(v string) *CreateTapeWithBarcodeOutput
SetTapeARN sets the TapeARN field's value.
func (s CreateTapeWithBarcodeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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 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. 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-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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *CreateTapesOutput) SetTapeARNs(v []*string) *CreateTapesOutput
SetTapeARNs sets the TapeARNs field's value.
func (s CreateTapesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteAutomaticTapeCreationPolicyInput) SetGatewayARN(v string) *DeleteAutomaticTapeCreationPolicyInput
SetGatewayARN sets the GatewayARN field's value.
func (s DeleteAutomaticTapeCreationPolicyInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s DeleteAutomaticTapeCreationPolicyOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteAutomaticTapeCreationPolicyOutput) SetGatewayARN(v string) *DeleteAutomaticTapeCreationPolicyOutput
SetGatewayARN sets the GatewayARN field's value.
func (s DeleteAutomaticTapeCreationPolicyOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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:
func (s DeleteBandwidthRateLimitInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteBandwidthRateLimitOutput) SetGatewayARN(v string) *DeleteBandwidthRateLimitOutput
SetGatewayARN sets the GatewayARN field's value.
func (s DeleteBandwidthRateLimitOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services. Otherwise, the file share // is not deleted until all data is uploaded to Amazon Web Services. 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteFileShareOutput) SetFileShareARN(v string) *DeleteFileShareOutput
SetFileShareARN sets the FileShareARN field's value.
func (s DeleteFileShareOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteGatewayInput) SetGatewayARN(v string) *DeleteGatewayInput
SetGatewayARN sets the GatewayARN field's value.
func (s DeleteGatewayInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteGatewayOutput) SetGatewayARN(v string) *DeleteGatewayOutput
SetGatewayARN sets the GatewayARN field's value.
func (s DeleteGatewayOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteSnapshotScheduleInput) SetVolumeARN(v string) *DeleteSnapshotScheduleInput
SetVolumeARN sets the VolumeARN field's value.
func (s DeleteSnapshotScheduleInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteSnapshotScheduleOutput) SetVolumeARN(v string) *DeleteSnapshotScheduleOutput
SetVolumeARN sets the VolumeARN field's value.
func (s DeleteSnapshotScheduleOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteTapeArchiveOutput) SetTapeARN(v string) *DeleteTapeArchiveOutput
SetTapeARN sets the TapeARN field's value.
func (s DeleteTapeArchiveOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteTapeOutput) SetTapeARN(v string) *DeleteTapeOutput
SetTapeARN sets the TapeARN field's value.
func (s DeleteTapeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteTapePoolInput) SetPoolARN(v string) *DeleteTapePoolInput
SetPoolARN sets the PoolARN field's value.
func (s DeleteTapePoolInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteTapePoolOutput) SetPoolARN(v string) *DeleteTapePoolOutput
SetPoolARN sets the PoolARN field's value.
func (s DeleteTapePoolOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteVolumeInput) SetVolumeARN(v string) *DeleteVolumeInput
SetVolumeARN sets the VolumeARN field's value.
func (s DeleteVolumeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DeleteVolumeOutput) SetVolumeARN(v string) *DeleteVolumeOutput
SetVolumeARN sets the VolumeARN field's value.
func (s DeleteVolumeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeAvailabilityMonitorTestInput) SetGatewayARN(v string) *DescribeAvailabilityMonitorTestInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeAvailabilityMonitorTestInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeBandwidthRateLimitInput) SetGatewayARN(v string) *DescribeBandwidthRateLimitInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeBandwidthRateLimitInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeBandwidthRateLimitScheduleInput) SetGatewayARN(v string) *DescribeBandwidthRateLimitScheduleInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeBandwidthRateLimitScheduleInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s DescribeBandwidthRateLimitScheduleOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeCacheInput) SetGatewayARN(v string) *DescribeCacheInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeCacheInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services. 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 Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s DescribeCacheOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeCachediSCSIVolumesInput) SetVolumeARNs(v []*string) *DescribeCachediSCSIVolumesInput
SetVolumeARNs sets the VolumeARNs field's value.
func (s DescribeCachediSCSIVolumesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeCachediSCSIVolumesOutput) SetCachediSCSIVolumes(v []*CachediSCSIVolume) *DescribeCachediSCSIVolumesOutput
SetCachediSCSIVolumes sets the CachediSCSIVolumes field's value.
func (s DescribeCachediSCSIVolumesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeChapCredentialsInput) SetTargetARN(v string) *DescribeChapCredentialsInput
SetTargetARN sets the TargetARN field's value.
func (s DescribeChapCredentialsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeChapCredentialsOutput) SetChapCredentials(v []*ChapInfo) *DescribeChapCredentialsOutput
SetChapCredentials sets the ChapCredentials field's value.
func (s DescribeChapCredentialsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DescribeFileSystemAssociationsInput struct { // An array containing the Amazon Resource Name (ARN) of each file system association // to be described. // // FileSystemAssociationARNList is a required field FileSystemAssociationARNList []*string `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
func (s DescribeFileSystemAssociationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeFileSystemAssociationsInput) SetFileSystemAssociationARNList(v []*string) *DescribeFileSystemAssociationsInput
SetFileSystemAssociationARNList sets the FileSystemAssociationARNList field's value.
func (s DescribeFileSystemAssociationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeFileSystemAssociationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeFileSystemAssociationsOutput struct { // An array containing the FileSystemAssociationInfo data type of each file // system association to be described. FileSystemAssociationInfoList []*FileSystemAssociationInfo `type:"list"` // contains filtered or unexported fields }
func (s DescribeFileSystemAssociationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeFileSystemAssociationsOutput) SetFileSystemAssociationInfoList(v []*FileSystemAssociationInfo) *DescribeFileSystemAssociationsOutput
SetFileSystemAssociationInfoList sets the FileSystemAssociationInfoList field's value.
func (s DescribeFileSystemAssociationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeGatewayInformationInput) SetGatewayARN(v string) *DescribeGatewayInformationInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeGatewayInformationInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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. This field only only exist and returns // once it have been chosen and set by the SGW service, based on the OS version // of the gateway VM 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 Amazon Web Services 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 Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // Specifies the size of the gateway's metadata cache. GatewayCapacity *string `type:"string" enum:"GatewayCapacity"` // 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 hardware or software platform on which the gateway is running. HostEnvironment *string `type:"string" enum:"HostEnvironment"` // A unique identifier for the specific instance of the host platform running // the gateway. This value is only available for certain host environments, // and its format depends on the host environment type. HostEnvironmentId *string `min:"1" type:"string"` // The date on which the last software update was applied to the gateway. If // the gateway has never been updated, this field does not return a value in // the response. This only only exist and returns once it have been chosen and // set by the SGW service, based on the OS version of the gateway VM 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 the metadata cache sizes that the gateway can support based on // its current hardware specifications. SupportedGatewayCapacities []*string `type:"list" enum:"GatewayCapacity"` // 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) SetGatewayCapacity(v string) *DescribeGatewayInformationOutput
SetGatewayCapacity sets the GatewayCapacity 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) SetHostEnvironmentId(v string) *DescribeGatewayInformationOutput
SetHostEnvironmentId sets the HostEnvironmentId 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) SetSupportedGatewayCapacities(v []*string) *DescribeGatewayInformationOutput
SetSupportedGatewayCapacities sets the SupportedGatewayCapacities 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeMaintenanceStartTimeInput) SetGatewayARN(v string) *DescribeMaintenanceStartTimeInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeMaintenanceStartTimeInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeNFSFileSharesInput) SetFileShareARNList(v []*string) *DescribeNFSFileSharesInput
SetFileShareARNList sets the FileShareARNList field's value.
func (s DescribeNFSFileSharesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeNFSFileSharesOutput) SetNFSFileShareInfoList(v []*NFSFileShareInfo) *DescribeNFSFileSharesOutput
SetNFSFileShareInfoList sets the NFSFileShareInfoList field's value.
func (s DescribeNFSFileSharesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeSMBFileSharesInput) SetFileShareARNList(v []*string) *DescribeSMBFileSharesInput
SetFileShareARNList sets the FileShareARNList field's value.
func (s DescribeSMBFileSharesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeSMBFileSharesOutput) SetSMBFileShareInfoList(v []*SMBFileShareInfo) *DescribeSMBFileSharesOutput
SetSMBFileShareInfoList sets the SMBFileShareInfoList field's value.
func (s DescribeSMBFileSharesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeSMBSettingsInput) SetGatewayARN(v string) *DescribeSMBSettingsInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeSMBSettingsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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. Only supported for // S3 File Gateways. 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 Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // This value is true if a password for the guest user smbguest is set, otherwise // false. Only supported for S3 File Gateways. // // Valid Values: true | false SMBGuestPasswordSet *bool `type:"boolean"` // A list of Active Directory users and groups that have special permissions // for SMB file shares on the gateway. SMBLocalGroups *SMBLocalGroups `type:"structure"` // 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. // Only supported for S3 File Gateways. // // * 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) SetSMBLocalGroups(v *SMBLocalGroups) *DescribeSMBSettingsOutput
SetSMBLocalGroups sets the SMBLocalGroups 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeSnapshotScheduleInput) SetVolumeARN(v string) *DescribeSnapshotScheduleInput
SetVolumeARN sets the VolumeARN field's value.
func (s DescribeSnapshotScheduleInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeStorediSCSIVolumesInput) SetVolumeARNs(v []*string) *DescribeStorediSCSIVolumesInput
SetVolumeARNs sets the VolumeARNs field's value.
func (s DescribeStorediSCSIVolumesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeStorediSCSIVolumesOutput) SetStorediSCSIVolumes(v []*StorediSCSIVolume) *DescribeStorediSCSIVolumesOutput
SetStorediSCSIVolumes sets the StorediSCSIVolumes field's value.
func (s DescribeStorediSCSIVolumesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeTapesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeTapesOutput struct { // An opaque string that 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeUploadBufferInput) SetGatewayARN(v string) *DescribeUploadBufferInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeUploadBufferInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DescribeWorkingStorageInput) SetGatewayARN(v string) *DescribeWorkingStorageInput
SetGatewayARN sets the GatewayARN field's value.
func (s DescribeWorkingStorageInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DetachVolumeOutput) SetVolumeARN(v string) *DetachVolumeOutput
SetVolumeARN sets the VolumeARN field's value.
func (s DetachVolumeOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisableGatewayInput) SetGatewayARN(v string) *DisableGatewayInput
SetGatewayARN sets the GatewayARN field's value.
func (s DisableGatewayInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisableGatewayOutput) SetGatewayARN(v string) *DisableGatewayOutput
SetGatewayARN sets the GatewayARN field's value.
func (s DisableGatewayOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type DisassociateFileSystemInput struct { // The Amazon Resource Name (ARN) of the file system association to be deleted. // // FileSystemAssociationARN is a required field FileSystemAssociationARN *string `min:"50" type:"string" required:"true"` // If this value is set to true, the operation disassociates an Amazon FSx file // system immediately. It ends all data uploads to the file system, and the // file system association enters the FORCE_DELETING status. If this value is // set to false, the Amazon FSx file system does not disassociate until all // data is uploaded. ForceDelete *bool `type:"boolean"` // contains filtered or unexported fields }
func (s DisassociateFileSystemInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisassociateFileSystemInput) SetFileSystemAssociationARN(v string) *DisassociateFileSystemInput
SetFileSystemAssociationARN sets the FileSystemAssociationARN field's value.
func (s *DisassociateFileSystemInput) SetForceDelete(v bool) *DisassociateFileSystemInput
SetForceDelete sets the ForceDelete field's value.
func (s DisassociateFileSystemInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisassociateFileSystemInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DisassociateFileSystemOutput struct { // The Amazon Resource Name (ARN) of the deleted file system association. FileSystemAssociationARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s DisassociateFileSystemOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *DisassociateFileSystemOutput) SetFileSystemAssociationARN(v string) *DisassociateFileSystemOutput
SetFileSystemAssociationARN sets the FileSystemAssociationARN field's value.
func (s DisassociateFileSystemOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type EndpointNetworkConfiguration struct { // A list of gateway IP addresses on which the associated Amazon FSx file system // is available. // // If multiple file systems are associated with this gateway, this field is // required. IpAddresses []*string `type:"list"` // contains filtered or unexported fields }
Specifies network configuration information for the gateway associated with the Amazon FSx file system.
func (s EndpointNetworkConfiguration) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *EndpointNetworkConfiguration) SetIpAddresses(v []*string) *EndpointNetworkConfiguration
SetIpAddresses sets the IpAddresses field's value.
func (s EndpointNetworkConfiguration) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
Describes a file share. Only supported S3 File Gateway.
func (s FileShareInfo) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FileSystemAssociationInfo struct { // The Amazon Resource Name (ARN) of the storage used for the audit logs. AuditDestinationARN *string `type:"string"` // The refresh cache information for the file share or FSx file systems. CacheAttributes *CacheAttributes `type:"structure"` // Specifies network configuration information for the gateway associated with // the Amazon FSx file system. // // If multiple file systems are associated with this gateway, this parameter's // IpAddresses field is required. EndpointNetworkConfiguration *EndpointNetworkConfiguration `type:"structure"` // The Amazon Resource Name (ARN) of the file system association. FileSystemAssociationARN *string `min:"50" type:"string"` // The status of the file system association. Valid Values: AVAILABLE | CREATING // | DELETING | FORCE_DELETING | UPDATING | ERROR FileSystemAssociationStatus *string `min:"3" type:"string"` // An array containing the FileSystemAssociationStatusDetail data type, which // provides detailed information on file system association status. FileSystemAssociationStatusDetails []*FileSystemAssociationStatusDetail `type:"list"` // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // The ARN of the backend Amazon FSx file system used for storing file data. // For information, see FileSystem (https://docs.aws.amazon.com/fsx/latest/APIReference/API_FileSystem.html) // in the Amazon FSx API Reference. LocationARN *string `min:"8" type:"string"` // 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. Tags []*Tag `type:"list"` // contains filtered or unexported fields }
Describes the object returned by DescribeFileSystemAssociations that describes a created file system association.
func (s FileSystemAssociationInfo) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FileSystemAssociationInfo) SetAuditDestinationARN(v string) *FileSystemAssociationInfo
SetAuditDestinationARN sets the AuditDestinationARN field's value.
func (s *FileSystemAssociationInfo) SetCacheAttributes(v *CacheAttributes) *FileSystemAssociationInfo
SetCacheAttributes sets the CacheAttributes field's value.
func (s *FileSystemAssociationInfo) SetEndpointNetworkConfiguration(v *EndpointNetworkConfiguration) *FileSystemAssociationInfo
SetEndpointNetworkConfiguration sets the EndpointNetworkConfiguration field's value.
func (s *FileSystemAssociationInfo) SetFileSystemAssociationARN(v string) *FileSystemAssociationInfo
SetFileSystemAssociationARN sets the FileSystemAssociationARN field's value.
func (s *FileSystemAssociationInfo) SetFileSystemAssociationStatus(v string) *FileSystemAssociationInfo
SetFileSystemAssociationStatus sets the FileSystemAssociationStatus field's value.
func (s *FileSystemAssociationInfo) SetFileSystemAssociationStatusDetails(v []*FileSystemAssociationStatusDetail) *FileSystemAssociationInfo
SetFileSystemAssociationStatusDetails sets the FileSystemAssociationStatusDetails field's value.
func (s *FileSystemAssociationInfo) SetGatewayARN(v string) *FileSystemAssociationInfo
SetGatewayARN sets the GatewayARN field's value.
func (s *FileSystemAssociationInfo) SetLocationARN(v string) *FileSystemAssociationInfo
SetLocationARN sets the LocationARN field's value.
func (s *FileSystemAssociationInfo) SetTags(v []*Tag) *FileSystemAssociationInfo
SetTags sets the Tags field's value.
func (s FileSystemAssociationInfo) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FileSystemAssociationStatusDetail struct { // The error code for a given file system association status. ErrorCode *string `type:"string"` // contains filtered or unexported fields }
Detailed information on file system association status.
func (s FileSystemAssociationStatusDetail) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FileSystemAssociationStatusDetail) SetErrorCode(v string) *FileSystemAssociationStatusDetail
SetErrorCode sets the ErrorCode field's value.
func (s FileSystemAssociationStatusDetail) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type FileSystemAssociationSummary struct { // The Amazon Resource Name (ARN) of the file system association. FileSystemAssociationARN *string `min:"50" type:"string"` // The ID of the file system association. FileSystemAssociationId *string `min:"10" type:"string"` // The status of the file share. Valid Values: AVAILABLE | CREATING | DELETING // | FORCE_DELETING | UPDATING | ERROR FileSystemAssociationStatus *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 Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
Gets the summary returned by ListFileSystemAssociation, which is a summary of a created file system association.
func (s FileSystemAssociationSummary) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *FileSystemAssociationSummary) SetFileSystemAssociationARN(v string) *FileSystemAssociationSummary
SetFileSystemAssociationARN sets the FileSystemAssociationARN field's value.
func (s *FileSystemAssociationSummary) SetFileSystemAssociationId(v string) *FileSystemAssociationSummary
SetFileSystemAssociationId sets the FileSystemAssociationId field's value.
func (s *FileSystemAssociationSummary) SetFileSystemAssociationStatus(v string) *FileSystemAssociationSummary
SetFileSystemAssociationStatus sets the FileSystemAssociationStatus field's value.
func (s *FileSystemAssociationSummary) SetGatewayARN(v string) *FileSystemAssociationSummary
SetGatewayARN sets the GatewayARN field's value.
func (s FileSystemAssociationSummary) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type GatewayInfo struct { // The ID of the Amazon EC2 instance that was used to launch the gateway. Ec2InstanceId *string `type:"string"` // The Amazon Web Services 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 Amazon Web Services 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"` // The type of hardware or software platform on which the gateway is running. HostEnvironment *string `type:"string" enum:"HostEnvironment"` // A unique identifier for the specific instance of the host platform running // the gateway. This value is only available for certain host environments, // and its format depends on the host environment type. HostEnvironmentId *string `min:"1" type:"string"` // contains filtered or unexported fields }
Describes a gateway object.
func (s GatewayInfo) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) SetHostEnvironment(v string) *GatewayInfo
SetHostEnvironment sets the HostEnvironment field's value.
func (s *GatewayInfo) SetHostEnvironmentId(v string) *GatewayInfo
SetHostEnvironmentId sets the HostEnvironmentId field's value.
func (s GatewayInfo) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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 sensitive parameter and its value will be // replaced with "sensitive" in string returned by JoinDomainInput's // String and GoString methods. // // 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s ListAutomaticTapeCreationPoliciesInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAutomaticTapeCreationPoliciesInput) SetGatewayARN(v string) *ListAutomaticTapeCreationPoliciesInput
SetGatewayARN sets the GatewayARN field's value.
func (s ListAutomaticTapeCreationPoliciesInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListAutomaticTapeCreationPoliciesOutput) SetAutomaticTapeCreationPolicyInfos(v []*AutomaticTapeCreationPolicyInfo) *ListAutomaticTapeCreationPoliciesOutput
SetAutomaticTapeCreationPolicyInfos sets the AutomaticTapeCreationPolicyInfos field's value.
func (s ListAutomaticTapeCreationPoliciesOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 S3 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type ListFileSystemAssociationsInput struct { // The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation // to return a list of gateways for your account and Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // The maximum number of file system associations to return in the response. // If present, Limit must be an integer with a value greater than zero. Optional. Limit *int64 `min:"1" type:"integer"` // Opaque pagination token returned from a previous ListFileSystemAssociations // operation. If present, Marker specifies where to continue the list from after // a previous call to ListFileSystemAssociations. Optional. Marker *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListFileSystemAssociationsInput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListFileSystemAssociationsInput) SetGatewayARN(v string) *ListFileSystemAssociationsInput
SetGatewayARN sets the GatewayARN field's value.
func (s *ListFileSystemAssociationsInput) SetLimit(v int64) *ListFileSystemAssociationsInput
SetLimit sets the Limit field's value.
func (s *ListFileSystemAssociationsInput) SetMarker(v string) *ListFileSystemAssociationsInput
SetMarker sets the Marker field's value.
func (s ListFileSystemAssociationsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListFileSystemAssociationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListFileSystemAssociationsOutput struct { // An array of information about the Amazon FSx gateway's file system associations. FileSystemAssociationSummaryList []*FileSystemAssociationSummary `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 system associations to return. // In a subsequent request, use NextMarker as the value for Marker to retrieve // the next set of file system associations. NextMarker *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s ListFileSystemAssociationsOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListFileSystemAssociationsOutput) SetFileSystemAssociationSummaryList(v []*FileSystemAssociationSummary) *ListFileSystemAssociationsOutput
SetFileSystemAssociationSummaryList sets the FileSystemAssociationSummaryList field's value.
func (s *ListFileSystemAssociationsOutput) SetMarker(v string) *ListFileSystemAssociationsOutput
SetMarker sets the Marker field's value.
func (s *ListFileSystemAssociationsOutput) SetNextMarker(v string) *ListFileSystemAssociationsOutput
SetNextMarker sets the NextMarker field's value.
func (s ListFileSystemAssociationsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListLocalDisksInput) SetGatewayARN(v string) *ListLocalDisksInput
SetGatewayARN sets the GatewayARN field's value.
func (s ListLocalDisksInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s ListLocalDisksOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListVolumeInitiatorsInput) SetVolumeARN(v string) *ListVolumeInitiatorsInput
SetVolumeARN sets the VolumeARN field's value.
func (s ListVolumeInitiatorsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListVolumeInitiatorsOutput) SetInitiators(v []*string) *ListVolumeInitiatorsOutput
SetInitiators sets the Initiators field's value.
func (s ListVolumeInitiatorsOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ListVolumeRecoveryPointsInput) SetGatewayARN(v string) *ListVolumeRecoveryPointsInput
SetGatewayARN sets the GatewayARN field's value.
func (s ListVolumeRecoveryPointsInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 S3 File Gateways.
func (s NFSFileShareDefaults) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NFSFileShareDefaults) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type NFSFileShareInfo struct { // The Amazon Resource Name (ARN) of the storage used for audit logs. AuditDestinationARN *string `type:"string"` // Specifies the Region of the S3 bucket where the NFS file share stores files. // // This parameter is required for NFS file shares that connect to Amazon S3 // through a VPC endpoint, a VPC access point, or an access point alias that // points to a VPC access point. BucketRegion *string `min:"1" type:"string"` // Refresh cache information for the file share. CacheAttributes *CacheAttributes `type:"structure"` // The list of clients that are allowed to access the S3 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 // S3 File Gateway. The default value is S3_STANDARD. 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, or // if an access point or access point alias is used. 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 Amazon Web Services 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 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"` // A custom ARN for the backend storage used for storing data for file shares. // It includes a resource ARN with an optional prefix concatenation. The prefix // must end with a forward slash (/). // // You can specify LocationARN as a bucket ARN, access point ARN or access point // alias, as shown in the following examples. // // Bucket ARN: // // arn:aws:s3:::my-bucket/prefix/ // // Access point ARN: // // arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/ // // If you specify an access point, the bucket policy must be configured to delegate // access control to the access point. For information, see Delegating access // control to access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-policies.html#access-points-delegating-control) // in the Amazon S3 User Guide. // // Access point alias: // // test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias 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 S3 File // Gateways. NFSFileShareDefaults *NFSFileShareDefaults `type:"structure"` // The notification policy of the file share. SettlingTimeInSeconds controls // the number of seconds to wait after the last point in time a client wrote // to a file before generating an ObjectUploaded notification. Because clients // can make many small writes to files, it's best to set this parameter for // as long as possible to avoid generating multiple notifications for the same // file in a small time period. // // SettlingTimeInSeconds has no effect on the timing of the object uploading // to Amazon S3, only the timing of the notification. // // The following example sets NotificationPolicy on with SettlingTimeInSeconds // set to 60. // // {\"Upload\": {\"SettlingTimeInSeconds\": 60}} // // The following example sets NotificationPolicy off. // // {} NotificationPolicy *string `min:"2" type:"string"` // A value that sets the access control list (ACL) permission for objects in // the S3 bucket that an S3 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 an S3 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"` // Specifies the DNS name for the VPC endpoint that the NFS file share uses // to connect to Amazon S3. // // This parameter is required for NFS file shares that connect to Amazon S3 // through a VPC endpoint, a VPC access point, or an access point alias that // points to a VPC access point. VPCEndpointDNSName *string `min:"1" type:"string"` // contains filtered or unexported fields }
The Unix file permissions and ownership information assigned, by default, to native S3 objects when an S3 File Gateway discovers them in S3 buckets. This operation is only supported in S3 File Gateways.
func (s NFSFileShareInfo) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NFSFileShareInfo) SetAuditDestinationARN(v string) *NFSFileShareInfo
SetAuditDestinationARN sets the AuditDestinationARN field's value.
func (s *NFSFileShareInfo) SetBucketRegion(v string) *NFSFileShareInfo
SetBucketRegion sets the BucketRegion field's value.
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) SetVPCEndpointDNSName(v string) *NFSFileShareInfo
SetVPCEndpointDNSName sets the VPCEndpointDNSName field's value.
func (s NFSFileShareInfo) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *NotifyWhenUploadedInput) SetFileShareARN(v string) *NotifyWhenUploadedInput
SetFileShareARN sets the FileShareARN field's value.
func (s NotifyWhenUploadedInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon // Web Services 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, Amazon Web Services 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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RemoveTagsFromResourceOutput) SetResourceARN(v string) *RemoveTagsFromResourceOutput
SetResourceARN sets the ResourceARN field's value.
func (s RemoveTagsFromResourceOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResetCacheInput) SetGatewayARN(v string) *ResetCacheInput
SetGatewayARN sets the GatewayARN field's value.
func (s ResetCacheInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s ResetCacheOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ResetCacheOutput) SetGatewayARN(v string) *ResetCacheOutput
SetGatewayARN sets the GatewayARN field's value.
func (s ResetCacheOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RetrieveTapeArchiveOutput) SetTapeARN(v string) *RetrieveTapeArchiveOutput
SetTapeARN sets the TapeARN field's value.
func (s RetrieveTapeArchiveOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *RetrieveTapeRecoveryPointOutput) SetTapeARN(v string) *RetrieveTapeRecoveryPointOutput
SetTapeARN sets the TapeARN field's value.
func (s RetrieveTapeRecoveryPointOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 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"` // Specifies the Region of the S3 bucket where the SMB file share stores files. // // This parameter is required for SMB file shares that connect to Amazon S3 // through a VPC endpoint, a VPC access point, or an access point alias that // points to a VPC access point. BucketRegion *string `min:"1" type:"string"` // Refresh cache information for the file share. 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 // S3 File Gateway. The default value is S3_STANDARD. 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, or // if an access point or access point alias is used. 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 Amazon Web Services 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 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"` // A custom ARN for the backend storage used for storing data for file shares. // It includes a resource ARN with an optional prefix concatenation. The prefix // must end with a forward slash (/). // // You can specify LocationARN as a bucket ARN, access point ARN or access point // alias, as shown in the following examples. // // Bucket ARN: // // arn:aws:s3:::my-bucket/prefix/ // // Access point ARN: // // arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/ // // If you specify an access point, the bucket policy must be configured to delegate // access control to the access point. For information, see Delegating access // control to access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-policies.html#access-points-delegating-control) // in the Amazon S3 User Guide. // // Access point alias: // // test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias LocationARN *string `min:"16" type:"string"` // The notification policy of the file share. SettlingTimeInSeconds controls // the number of seconds to wait after the last point in time a client wrote // to a file before generating an ObjectUploaded notification. Because clients // can make many small writes to files, it's best to set this parameter for // as long as possible to avoid generating multiple notifications for the same // file in a small time period. // // SettlingTimeInSeconds has no effect on the timing of the object uploading // to Amazon S3, only the timing of the notification. // // The following example sets NotificationPolicy on with SettlingTimeInSeconds // set to 60. // // {\"Upload\": {\"SettlingTimeInSeconds\": 60}} // // The following example sets NotificationPolicy off. // // {} NotificationPolicy *string `min:"2" type:"string"` // A value that sets the access control list (ACL) permission for objects in // the S3 bucket that an S3 File Gateway puts objects into. The default value // is private. ObjectACL *string `type:"string" enum:"ObjectACL"` // Specifies whether opportunistic locking is enabled for the SMB file share. // // Enabling opportunistic locking on case-sensitive shares is not recommended // for workloads that involve access to files with the same name in different // case. // // Valid Values: true | false OplocksEnabled *bool `type:"boolean"` // 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 an S3 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 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"` // Specifies the DNS name for the VPC endpoint that the SMB file share uses // to connect to Amazon S3. // // This parameter is required for SMB file shares that connect to Amazon S3 // through a VPC endpoint, a VPC access point, or an access point alias that // points to a VPC access point. VPCEndpointDNSName *string `min:"1" type:"string"` // 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 S3 File Gateway discovers them in S3 buckets. This operation is only supported for S3 File Gateways.
func (s SMBFileShareInfo) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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) SetBucketRegion(v string) *SMBFileShareInfo
SetBucketRegion sets the BucketRegion 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) SetOplocksEnabled(v bool) *SMBFileShareInfo
SetOplocksEnabled sets the OplocksEnabled 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) SetVPCEndpointDNSName(v string) *SMBFileShareInfo
SetVPCEndpointDNSName sets the VPCEndpointDNSName 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SMBLocalGroups struct { // A list of Active Directory users and groups that have local Gateway Admin // permissions. Acceptable formats include: DOMAIN\User1, user1, DOMAIN\group1, // and group1. // // Gateway Admins can use the Shared Folders Microsoft Management Console snap-in // to force-close files that are open and locked. GatewayAdmins []*string `type:"list"` // contains filtered or unexported fields }
A list of Active Directory users and groups that have special permissions for SMB file shares on the gateway.
func (s SMBLocalGroups) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SMBLocalGroups) SetGatewayAdmins(v []*string) *SMBLocalGroups
SetGatewayAdmins sets the GatewayAdmins field's value.
func (s SMBLocalGroups) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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 sensitive parameter and its value will be // replaced with "sensitive" in string returned by SetLocalConsolePasswordInput's // String and GoString methods. // // 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s SetLocalConsolePasswordOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SetLocalConsolePasswordOutput) SetGatewayARN(v string) *SetLocalConsolePasswordOutput
SetGatewayARN sets the GatewayARN field's value.
func (s SetLocalConsolePasswordOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
type SetSMBGuestPasswordInput struct { // The Amazon Resource Name (ARN) of the S3 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 sensitive parameter and its value will be // replaced with "sensitive" in string returned by SetSMBGuestPasswordInput's // String and GoString methods. // // 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s SetSMBGuestPasswordOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *SetSMBGuestPasswordOutput) SetGatewayARN(v string) *SetSMBGuestPasswordOutput
SetGatewayARN sets the GatewayARN field's value.
func (s SetSMBGuestPasswordOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ShutdownGatewayInput) SetGatewayARN(v string) *ShutdownGatewayInput
SetGatewayARN sets the GatewayARN field's value.
func (s ShutdownGatewayInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *ShutdownGatewayOutput) SetGatewayARN(v string) *ShutdownGatewayOutput
SetGatewayARN sets the GatewayARN field's value.
func (s ShutdownGatewayOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StartAvailabilityMonitorTestInput) SetGatewayARN(v string) *StartAvailabilityMonitorTestInput
SetGatewayARN sets the GatewayARN field's value.
func (s StartAvailabilityMonitorTestInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services Region. GatewayARN *string `min:"50" type:"string"` // contains filtered or unexported fields }
func (s StartAvailabilityMonitorTestOutput) GoString() string
GoString returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StartAvailabilityMonitorTestOutput) SetGatewayARN(v string) *StartAvailabilityMonitorTestOutput
SetGatewayARN sets the GatewayARN field's value.
func (s StartAvailabilityMonitorTestOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StartGatewayInput) SetGatewayARN(v string) *StartGatewayInput
SetGatewayARN sets the GatewayARN field's value.
func (s StartGatewayInput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
func (s *StartGatewayOutput) SetGatewayARN(v string) *StartGatewayOutput
SetGatewayARN sets the GatewayARN field's value.
func (s StartGatewayOutput) String() string
String returns the string representation.
API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".
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 Amazon Web Services 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 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 Storage Gateway resources:
Storage gateways of all types
Storage volumes
Virtual tapes
NFS and SMB file shares
File System associations
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.
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) AssociateFileSystem(input *AssociateFileSystemInput) (*AssociateFileSystemOutput, error)
AssociateFileSystem API operation for AWS Storage Gateway.
Associate an Amazon FSx file system with the FSx File Gateway. After the association process is complete, the file shares on the Amazon FSx file system are available for access through the gateway. This operation only supports the FSx File 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 AssociateFileSystem 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/AssociateFileSystem
func (c *StorageGateway) AssociateFileSystemRequest(input *AssociateFileSystemInput) (req *request.Request, output *AssociateFileSystemOutput)
AssociateFileSystemRequest generates a "aws/request.Request" representing the client's request for the AssociateFileSystem 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 AssociateFileSystem for more information on using the AssociateFileSystem 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 AssociateFileSystemRequest method. req, resp := client.AssociateFileSystemRequest(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/AssociateFileSystem
func (c *StorageGateway) AssociateFileSystemWithContext(ctx aws.Context, input *AssociateFileSystemInput, opts ...request.Option) (*AssociateFileSystemOutput, error)
AssociateFileSystemWithContext is the same as AssociateFileSystem with the addition of the ability to pass a context and additional request options.
See AssociateFileSystem 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 S3 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 S3 File Gateways.
S3 File gateway requires Security Token Service (Amazon Web Services STS) to be activated to enable you to create a file share. Make sure Amazon Web Services STS is activated in the Amazon Web Services Region you are creating your S3 File Gateway in. If Amazon Web Services STS is not activated in the Amazon Web Services Region, activate it. For information about how to activate Amazon Web Services STS, see Activating and deactivating Amazon Web Services STS in an Amazon Web Services Region (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) in the Identity and Access Management User Guide.
S3 File Gateways do 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) CreateSMBF