func AgentStatus_Values() []string
AgentStatus_Values returns all elements of the AgentStatus enum
func Atime_Values() []string
Atime_Values returns all elements of the Atime enum
func AzureAccessTier_Values() []string
AzureAccessTier_Values returns all elements of the AzureAccessTier enum
func AzureBlobAuthenticationType_Values() []string
AzureBlobAuthenticationType_Values returns all elements of the AzureBlobAuthenticationType enum
func AzureBlobType_Values() []string
AzureBlobType_Values returns all elements of the AzureBlobType enum
func DiscoveryJobStatus_Values() []string
DiscoveryJobStatus_Values returns all elements of the DiscoveryJobStatus enum
func DiscoveryResourceFilter_Values() []string
DiscoveryResourceFilter_Values returns all elements of the DiscoveryResourceFilter enum
func DiscoveryResourceType_Values() []string
DiscoveryResourceType_Values returns all elements of the DiscoveryResourceType enum
func DiscoverySystemType_Values() []string
DiscoverySystemType_Values returns all elements of the DiscoverySystemType enum
func EfsInTransitEncryption_Values() []string
EfsInTransitEncryption_Values returns all elements of the EfsInTransitEncryption enum
func EndpointType_Values() []string
EndpointType_Values returns all elements of the EndpointType enum
func FilterType_Values() []string
FilterType_Values returns all elements of the FilterType enum
func Gid_Values() []string
Gid_Values returns all elements of the Gid enum
func HdfsAuthenticationType_Values() []string
HdfsAuthenticationType_Values returns all elements of the HdfsAuthenticationType enum
func HdfsDataTransferProtection_Values() []string
HdfsDataTransferProtection_Values returns all elements of the HdfsDataTransferProtection enum
func HdfsRpcProtection_Values() []string
HdfsRpcProtection_Values returns all elements of the HdfsRpcProtection enum
func LocationFilterName_Values() []string
LocationFilterName_Values returns all elements of the LocationFilterName enum
func LogLevel_Values() []string
LogLevel_Values returns all elements of the LogLevel enum
func ManifestAction_Values() []string
ManifestAction_Values returns all elements of the ManifestAction enum
func ManifestFormat_Values() []string
ManifestFormat_Values returns all elements of the ManifestFormat enum
func Mtime_Values() []string
Mtime_Values returns all elements of the Mtime enum
func NfsVersion_Values() []string
NfsVersion_Values returns all elements of the NfsVersion enum
func ObjectStorageServerProtocol_Values() []string
ObjectStorageServerProtocol_Values returns all elements of the ObjectStorageServerProtocol enum
func ObjectTags_Values() []string
ObjectTags_Values returns all elements of the ObjectTags enum
func ObjectVersionIds_Values() []string
ObjectVersionIds_Values returns all elements of the ObjectVersionIds enum
func Operator_Values() []string
Operator_Values returns all elements of the Operator enum
func OverwriteMode_Values() []string
OverwriteMode_Values returns all elements of the OverwriteMode enum
func PhaseStatus_Values() []string
PhaseStatus_Values returns all elements of the PhaseStatus enum
func PosixPermissions_Values() []string
PosixPermissions_Values returns all elements of the PosixPermissions enum
func PreserveDeletedFiles_Values() []string
PreserveDeletedFiles_Values returns all elements of the PreserveDeletedFiles enum
func PreserveDevices_Values() []string
PreserveDevices_Values returns all elements of the PreserveDevices enum
func RecommendationStatus_Values() []string
RecommendationStatus_Values returns all elements of the RecommendationStatus enum
func ReportLevel_Values() []string
ReportLevel_Values returns all elements of the ReportLevel enum
func ReportOutputType_Values() []string
ReportOutputType_Values returns all elements of the ReportOutputType enum
func S3StorageClass_Values() []string
S3StorageClass_Values returns all elements of the S3StorageClass enum
func ScheduleDisabledBy_Values() []string
ScheduleDisabledBy_Values returns all elements of the ScheduleDisabledBy enum
func ScheduleStatus_Values() []string
ScheduleStatus_Values returns all elements of the ScheduleStatus enum
func SmbSecurityDescriptorCopyFlags_Values() []string
SmbSecurityDescriptorCopyFlags_Values returns all elements of the SmbSecurityDescriptorCopyFlags enum
func SmbVersion_Values() []string
SmbVersion_Values returns all elements of the SmbVersion enum
func StorageSystemConnectivityStatus_Values() []string
StorageSystemConnectivityStatus_Values returns all elements of the StorageSystemConnectivityStatus enum
func TaskExecutionStatus_Values() []string
TaskExecutionStatus_Values returns all elements of the TaskExecutionStatus enum
func TaskFilterName_Values() []string
TaskFilterName_Values returns all elements of the TaskFilterName enum
func TaskQueueing_Values() []string
TaskQueueing_Values returns all elements of the TaskQueueing enum
func TaskStatus_Values() []string
TaskStatus_Values returns all elements of the TaskStatus enum
func TransferMode_Values() []string
TransferMode_Values returns all elements of the TransferMode enum
func Uid_Values() []string
Uid_Values returns all elements of the Uid enum
func VerifyMode_Values() []string
VerifyMode_Values returns all elements of the VerifyMode enum
type AddStorageSystemInput struct { // Specifies the Amazon Resource Name (ARN) of the DataSync agent that connects // to and reads from your on-premises storage system's management interface. // You can only specify one ARN. // // AgentArns is a required field AgentArns []*string `min:"1" type:"list" required:"true"` // Specifies a client token to make sure requests with this API operation are // idempotent. If you don't specify a client token, DataSync generates one for // you automatically. ClientToken *string `type:"string" idempotencyToken:"true"` // Specifies the ARN of the Amazon CloudWatch log group for monitoring and logging // discovery job events. CloudWatchLogGroupArn *string `type:"string"` // Specifies the user name and password for accessing your on-premises storage // system's management interface. // // Credentials is a required field Credentials *Credentials `type:"structure" required:"true"` // Specifies a familiar name for your on-premises storage system. Name *string `min:"1" type:"string"` // Specifies the server name and network port required to connect with the management // interface of your on-premises storage system. // // ServerConfiguration is a required field ServerConfiguration *DiscoveryServerConfiguration `type:"structure" required:"true"` // Specifies the type of on-premises storage system that you want DataSync Discovery // to collect information about. // // DataSync Discovery currently supports NetApp Fabric-Attached Storage (FAS) // and All Flash FAS (AFF) systems running ONTAP 9.7 or later. // // SystemType is a required field SystemType *string `type:"string" required:"true" enum:"DiscoverySystemType"` // Specifies labels that help you categorize, filter, and search for your Amazon // Web Services resources. We recommend creating at least a name tag for your // on-premises storage system. Tags []*TagListEntry `type:"list"` // contains filtered or unexported fields }
func (s AddStorageSystemInput) 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 *AddStorageSystemInput) SetAgentArns(v []*string) *AddStorageSystemInput
SetAgentArns sets the AgentArns field's value.
func (s *AddStorageSystemInput) SetClientToken(v string) *AddStorageSystemInput
SetClientToken sets the ClientToken field's value.
func (s *AddStorageSystemInput) SetCloudWatchLogGroupArn(v string) *AddStorageSystemInput
SetCloudWatchLogGroupArn sets the CloudWatchLogGroupArn field's value.
func (s *AddStorageSystemInput) SetCredentials(v *Credentials) *AddStorageSystemInput
SetCredentials sets the Credentials field's value.
func (s *AddStorageSystemInput) SetName(v string) *AddStorageSystemInput
SetName sets the Name field's value.
func (s *AddStorageSystemInput) SetServerConfiguration(v *DiscoveryServerConfiguration) *AddStorageSystemInput
SetServerConfiguration sets the ServerConfiguration field's value.
func (s *AddStorageSystemInput) SetSystemType(v string) *AddStorageSystemInput
SetSystemType sets the SystemType field's value.
func (s *AddStorageSystemInput) SetTags(v []*TagListEntry) *AddStorageSystemInput
SetTags sets the Tags field's value.
func (s AddStorageSystemInput) 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 *AddStorageSystemInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type AddStorageSystemOutput struct { // The ARN of the on-premises storage system that you can use with DataSync // Discovery. // // StorageSystemArn is a required field StorageSystemArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s AddStorageSystemOutput) 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 *AddStorageSystemOutput) SetStorageSystemArn(v string) *AddStorageSystemOutput
SetStorageSystemArn sets the StorageSystemArn field's value.
func (s AddStorageSystemOutput) 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 AgentListEntry struct { // The Amazon Resource Name (ARN) of a DataSync agent. AgentArn *string `type:"string"` // The name of an agent. Name *string `type:"string"` // The platform-related details about the agent, such as the version number. Platform *Platform `type:"structure"` // The status of an agent. // // * If the status is ONLINE, the agent is configured properly and ready // to use. // // * If the status is OFFLINE, the agent has been out of contact with DataSync // for five minutes or longer. This can happen for a few reasons. For more // information, see What do I do if my agent is offline? (https://docs.aws.amazon.com/datasync/latest/userguide/troubleshooting-datasync-agents.html#troubleshoot-agent-offline) Status *string `type:"string" enum:"AgentStatus"` // contains filtered or unexported fields }
Represents a single entry in a list (or array) of DataSync agents when you call the ListAgents (https://docs.aws.amazon.com/datasync/latest/userguide/API_ListAgents.html) operation.
func (s AgentListEntry) 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 *AgentListEntry) SetAgentArn(v string) *AgentListEntry
SetAgentArn sets the AgentArn field's value.
func (s *AgentListEntry) SetName(v string) *AgentListEntry
SetName sets the Name field's value.
func (s *AgentListEntry) SetPlatform(v *Platform) *AgentListEntry
SetPlatform sets the Platform field's value.
func (s *AgentListEntry) SetStatus(v string) *AgentListEntry
SetStatus sets the Status field's value.
func (s AgentListEntry) 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 AzureBlobSasConfiguration struct { // Specifies a SAS token that provides permissions to access your Azure Blob // Storage. // // The token is part of the SAS URI string that comes after the storage resource // URI and a question mark. A token looks something like this: // // sp=r&st=2023-12-20T14:54:52Z&se=2023-12-20T22:54:52Z&spr=https&sv=2021-06-08&sr=c&sig=aBBKDWQvyuVcTPH9EBp%2FXTI9E%2F%2Fmq171%2BZU178wcwqU%3D // // Token is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by AzureBlobSasConfiguration's // String and GoString methods. // // Token is a required field Token *string `min:"1" type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
The shared access signature (SAS) configuration that allows DataSync to access your Microsoft Azure Blob Storage.
For more information, see SAS tokens (https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-sas-tokens) for accessing your Azure Blob Storage.
func (s AzureBlobSasConfiguration) 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 *AzureBlobSasConfiguration) SetToken(v string) *AzureBlobSasConfiguration
SetToken sets the Token field's value.
func (s AzureBlobSasConfiguration) 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 *AzureBlobSasConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelTaskExecutionInput struct { // The Amazon Resource Name (ARN) of the task execution to stop. // // TaskExecutionArn is a required field TaskExecutionArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
CancelTaskExecutionRequest
func (s CancelTaskExecutionInput) 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 *CancelTaskExecutionInput) SetTaskExecutionArn(v string) *CancelTaskExecutionInput
SetTaskExecutionArn sets the TaskExecutionArn field's value.
func (s CancelTaskExecutionInput) 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 *CancelTaskExecutionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CancelTaskExecutionOutput struct {
// contains filtered or unexported fields
}
func (s CancelTaskExecutionOutput) 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 CancelTaskExecutionOutput) 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 Capacity struct { // The amount of space in the cluster that's in cloud storage (for example, // if you're using data tiering). ClusterCloudStorageUsed *int64 `type:"long"` // The amount of space that's being used in a storage system resource without // accounting for compression or deduplication. LogicalUsed *int64 `type:"long"` // The total amount of space available in a storage system resource. Provisioned *int64 `type:"long"` // The amount of space that's being used in a storage system resource. Used *int64 `type:"long"` // contains filtered or unexported fields }
The storage capacity of an on-premises storage system resource (for example, a volume).
func (s Capacity) 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 *Capacity) SetClusterCloudStorageUsed(v int64) *Capacity
SetClusterCloudStorageUsed sets the ClusterCloudStorageUsed field's value.
func (s *Capacity) SetLogicalUsed(v int64) *Capacity
SetLogicalUsed sets the LogicalUsed field's value.
func (s *Capacity) SetProvisioned(v int64) *Capacity
SetProvisioned sets the Provisioned field's value.
func (s *Capacity) SetUsed(v int64) *Capacity
SetUsed sets the Used field's value.
func (s Capacity) 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 CreateAgentInput struct { // Specifies your DataSync agent's activation key. If you don't have an activation // key, see Activate your agent (https://docs.aws.amazon.com/datasync/latest/userguide/activate-agent.html). // // ActivationKey is a required field ActivationKey *string `type:"string" required:"true"` // Specifies a name for your agent. You can see this name in the DataSync console. AgentName *string `type:"string"` // Specifies the Amazon Resource Name (ARN) of the security group that protects // your task's network interfaces (https://docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html#required-network-interfaces) // when using a virtual private cloud (VPC) endpoint (https://docs.aws.amazon.com/datasync/latest/userguide/choose-service-endpoint.html#choose-service-endpoint-vpc). // You can only specify one ARN. SecurityGroupArns []*string `min:"1" type:"list"` // Specifies the ARN of the subnet where you want to run your DataSync task // when using a VPC endpoint. This is the subnet where DataSync creates and // manages the network interfaces (https://docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html#required-network-interfaces) // for your transfer. You can only specify one ARN. SubnetArns []*string `min:"1" type:"list"` // Specifies labels that help you categorize, filter, and search for your Amazon // Web Services resources. We recommend creating at least one tag for your agent. Tags []*TagListEntry `type:"list"` // Specifies the ID of the VPC endpoint that you want your agent to connect // to. For example, a VPC endpoint ID looks like vpce-01234d5aff67890e1. // // The VPC endpoint you use must include the DataSync service name (for example, // com.amazonaws.us-east-2.datasync). VpcEndpointId *string `type:"string"` // contains filtered or unexported fields }
CreateAgentRequest
func (s CreateAgentInput) 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 *CreateAgentInput) SetActivationKey(v string) *CreateAgentInput
SetActivationKey sets the ActivationKey field's value.
func (s *CreateAgentInput) SetAgentName(v string) *CreateAgentInput
SetAgentName sets the AgentName field's value.
func (s *CreateAgentInput) SetSecurityGroupArns(v []*string) *CreateAgentInput
SetSecurityGroupArns sets the SecurityGroupArns field's value.
func (s *CreateAgentInput) SetSubnetArns(v []*string) *CreateAgentInput
SetSubnetArns sets the SubnetArns field's value.
func (s *CreateAgentInput) SetTags(v []*TagListEntry) *CreateAgentInput
SetTags sets the Tags field's value.
func (s *CreateAgentInput) SetVpcEndpointId(v string) *CreateAgentInput
SetVpcEndpointId sets the VpcEndpointId field's value.
func (s CreateAgentInput) 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 *CreateAgentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateAgentOutput struct { // The ARN of the agent that you just activated. Use the ListAgents (https://docs.aws.amazon.com/datasync/latest/userguide/API_ListAgents.html) // operation to return a list of agents in your Amazon Web Services account // and Amazon Web Services Region. AgentArn *string `type:"string"` // contains filtered or unexported fields }
CreateAgentResponse
func (s CreateAgentOutput) 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 *CreateAgentOutput) SetAgentArn(v string) *CreateAgentOutput
SetAgentArn sets the AgentArn field's value.
func (s CreateAgentOutput) 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 CreateLocationAzureBlobInput struct { // Specifies the access tier that you want your objects or files transferred // into. This only applies when using the location as a transfer destination. // For more information, see Access tiers (https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access-tiers). AccessTier *string `type:"string" enum:"AzureAccessTier"` // Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect // with your Azure Blob Storage container. // // You can specify more than one agent. For more information, see Using multiple // agents for your transfer (https://docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html). // // AgentArns is a required field AgentArns []*string `min:"1" type:"list" required:"true"` // Specifies the authentication method DataSync uses to access your Azure Blob // Storage. DataSync can access blob storage using a shared access signature // (SAS). // // AuthenticationType is a required field AuthenticationType *string `type:"string" required:"true" enum:"AzureBlobAuthenticationType"` // Specifies the type of blob that you want your objects or files to be when // transferring them into Azure Blob Storage. Currently, DataSync only supports // moving data into Azure Blob Storage as block blobs. For more information // on blob types, see the Azure Blob Storage documentation (https://learn.microsoft.com/en-us/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs). BlobType *string `type:"string" enum:"AzureBlobType"` // Specifies the URL of the Azure Blob Storage container involved in your transfer. // // ContainerUrl is a required field ContainerUrl *string `type:"string" required:"true"` // Specifies the SAS configuration that allows DataSync to access your Azure // Blob Storage. SasConfiguration *AzureBlobSasConfiguration `type:"structure"` // Specifies path segments if you want to limit your transfer to a virtual directory // in your container (for example, /my/images). Subdirectory *string `type:"string"` // Specifies labels that help you categorize, filter, and search for your Amazon // Web Services resources. We recommend creating at least a name tag for your // transfer location. Tags []*TagListEntry `type:"list"` // contains filtered or unexported fields }
func (s CreateLocationAzureBlobInput) 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 *CreateLocationAzureBlobInput) SetAccessTier(v string) *CreateLocationAzureBlobInput
SetAccessTier sets the AccessTier field's value.
func (s *CreateLocationAzureBlobInput) SetAgentArns(v []*string) *CreateLocationAzureBlobInput
SetAgentArns sets the AgentArns field's value.
func (s *CreateLocationAzureBlobInput) SetAuthenticationType(v string) *CreateLocationAzureBlobInput
SetAuthenticationType sets the AuthenticationType field's value.
func (s *CreateLocationAzureBlobInput) SetBlobType(v string) *CreateLocationAzureBlobInput
SetBlobType sets the BlobType field's value.
func (s *CreateLocationAzureBlobInput) SetContainerUrl(v string) *CreateLocationAzureBlobInput
SetContainerUrl sets the ContainerUrl field's value.
func (s *CreateLocationAzureBlobInput) SetSasConfiguration(v *AzureBlobSasConfiguration) *CreateLocationAzureBlobInput
SetSasConfiguration sets the SasConfiguration field's value.
func (s *CreateLocationAzureBlobInput) SetSubdirectory(v string) *CreateLocationAzureBlobInput
SetSubdirectory sets the Subdirectory field's value.
func (s *CreateLocationAzureBlobInput) SetTags(v []*TagListEntry) *CreateLocationAzureBlobInput
SetTags sets the Tags field's value.
func (s CreateLocationAzureBlobInput) 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 *CreateLocationAzureBlobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLocationAzureBlobOutput struct { // The ARN of the Azure Blob Storage transfer location that you created. LocationArn *string `type:"string"` // contains filtered or unexported fields }
func (s CreateLocationAzureBlobOutput) 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 *CreateLocationAzureBlobOutput) SetLocationArn(v string) *CreateLocationAzureBlobOutput
SetLocationArn sets the LocationArn field's value.
func (s CreateLocationAzureBlobOutput) 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 CreateLocationEfsInput struct { // Specifies the Amazon Resource Name (ARN) of the access point that DataSync // uses to access the Amazon EFS file system. AccessPointArn *string `type:"string"` // Specifies the subnet and security groups DataSync uses to access your Amazon // EFS file system. // // Ec2Config is a required field Ec2Config *Ec2Config `type:"structure" required:"true"` // Specifies the ARN for the Amazon EFS file system. // // EfsFilesystemArn is a required field EfsFilesystemArn *string `type:"string" required:"true"` // Specifies an Identity and Access Management (IAM) role that DataSync assumes // when mounting the Amazon EFS file system. FileSystemAccessRoleArn *string `type:"string"` // Specifies whether you want DataSync to use Transport Layer Security (TLS) // 1.2 encryption when it copies data to or from the Amazon EFS file system. // // If you specify an access point using AccessPointArn or an IAM role using // FileSystemAccessRoleArn, you must set this parameter to TLS1_2. InTransitEncryption *string `type:"string" enum:"EfsInTransitEncryption"` // Specifies a mount path for your Amazon EFS file system. This is where DataSync // reads or writes data (depending on if this is a source or destination location). // By default, DataSync uses the root directory, but you can also include subdirectories. // // You must specify a value with forward slashes (for example, /path/to/folder). Subdirectory *string `type:"string"` // Specifies the key-value pair that represents a tag that you want to add to // the resource. The value can be an empty string. This value helps you manage, // filter, and search for your resources. We recommend that you create a name // tag for your location. Tags []*TagListEntry `type:"list"` // contains filtered or unexported fields }
CreateLocationEfsRequest
func (s CreateLocationEfsInput) 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 *CreateLocationEfsInput) SetAccessPointArn(v string) *CreateLocationEfsInput
SetAccessPointArn sets the AccessPointArn field's value.
func (s *CreateLocationEfsInput) SetEc2Config(v *Ec2Config) *CreateLocationEfsInput
SetEc2Config sets the Ec2Config field's value.
func (s *CreateLocationEfsInput) SetEfsFilesystemArn(v string) *CreateLocationEfsInput
SetEfsFilesystemArn sets the EfsFilesystemArn field's value.
func (s *CreateLocationEfsInput) SetFileSystemAccessRoleArn(v string) *CreateLocationEfsInput
SetFileSystemAccessRoleArn sets the FileSystemAccessRoleArn field's value.
func (s *CreateLocationEfsInput) SetInTransitEncryption(v string) *CreateLocationEfsInput
SetInTransitEncryption sets the InTransitEncryption field's value.
func (s *CreateLocationEfsInput) SetSubdirectory(v string) *CreateLocationEfsInput
SetSubdirectory sets the Subdirectory field's value.
func (s *CreateLocationEfsInput) SetTags(v []*TagListEntry) *CreateLocationEfsInput
SetTags sets the Tags field's value.
func (s CreateLocationEfsInput) 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 *CreateLocationEfsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLocationEfsOutput struct { // The Amazon Resource Name (ARN) of the Amazon EFS file system location that // you create. LocationArn *string `type:"string"` // contains filtered or unexported fields }
CreateLocationEfs
func (s CreateLocationEfsOutput) 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 *CreateLocationEfsOutput) SetLocationArn(v string) *CreateLocationEfsOutput
SetLocationArn sets the LocationArn field's value.
func (s CreateLocationEfsOutput) 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 CreateLocationFsxLustreInput struct { // The Amazon Resource Name (ARN) for the FSx for Lustre file system. // // FsxFilesystemArn is a required field FsxFilesystemArn *string `type:"string" required:"true"` // The Amazon Resource Names (ARNs) of the security groups that are used to // configure the FSx for Lustre file system. // // SecurityGroupArns is a required field SecurityGroupArns []*string `min:"1" type:"list" required:"true"` // A subdirectory in the location's path. This subdirectory in the FSx for Lustre // file system is used to read data from the FSx for Lustre source location // or write data to the FSx for Lustre destination. Subdirectory *string `type:"string"` // The key-value pair that represents a tag that you want to add to the resource. // The value can be an empty string. This value helps you manage, filter, and // search for your resources. We recommend that you create a name tag for your // location. Tags []*TagListEntry `type:"list"` // contains filtered or unexported fields }
func (s CreateLocationFsxLustreInput) 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 *CreateLocationFsxLustreInput) SetFsxFilesystemArn(v string) *CreateLocationFsxLustreInput
SetFsxFilesystemArn sets the FsxFilesystemArn field's value.
func (s *CreateLocationFsxLustreInput) SetSecurityGroupArns(v []*string) *CreateLocationFsxLustreInput
SetSecurityGroupArns sets the SecurityGroupArns field's value.
func (s *CreateLocationFsxLustreInput) SetSubdirectory(v string) *CreateLocationFsxLustreInput
SetSubdirectory sets the Subdirectory field's value.
func (s *CreateLocationFsxLustreInput) SetTags(v []*TagListEntry) *CreateLocationFsxLustreInput
SetTags sets the Tags field's value.
func (s CreateLocationFsxLustreInput) 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 *CreateLocationFsxLustreInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLocationFsxLustreOutput struct { // The Amazon Resource Name (ARN) of the FSx for Lustre file system location // that's created. LocationArn *string `type:"string"` // contains filtered or unexported fields }
func (s CreateLocationFsxLustreOutput) 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 *CreateLocationFsxLustreOutput) SetLocationArn(v string) *CreateLocationFsxLustreOutput
SetLocationArn sets the LocationArn field's value.
func (s CreateLocationFsxLustreOutput) 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 CreateLocationFsxOntapInput struct { // Specifies the data transfer protocol that DataSync uses to access your Amazon // FSx file system. // // Protocol is a required field Protocol *FsxProtocol `type:"structure" required:"true"` // Specifies the Amazon EC2 security groups that provide access to your file // system's preferred subnet. // // The security groups must allow outbound traffic on the following ports (depending // on the protocol you use): // // * Network File System (NFS): TCP ports 111, 635, and 2049 // // * Server Message Block (SMB): TCP port 445 // // Your file system's security groups must also allow inbound traffic on the // same ports. // // SecurityGroupArns is a required field SecurityGroupArns []*string `min:"1" type:"list" required:"true"` // Specifies the ARN of the storage virtual machine (SVM) in your file system // where you want to copy data to or from. // // StorageVirtualMachineArn is a required field StorageVirtualMachineArn *string `type:"string" required:"true"` // Specifies a path to the file share in the SVM where you'll copy your data. // // You can specify a junction path (also known as a mount point), qtree path // (for NFS file shares), or share name (for SMB file shares). For example, // your mount path might be /vol1, /vol1/tree1, or /share1. // // Don't specify a junction path in the SVM's root volume. For more information, // see Managing FSx for ONTAP storage virtual machines (https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-svms.html) // in the Amazon FSx for NetApp ONTAP User Guide. Subdirectory *string `type:"string"` // Specifies labels that help you categorize, filter, and search for your Amazon // Web Services resources. We recommend creating at least a name tag for your // location. Tags []*TagListEntry `type:"list"` // contains filtered or unexported fields }
func (s CreateLocationFsxOntapInput) 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 *CreateLocationFsxOntapInput) SetProtocol(v *FsxProtocol) *CreateLocationFsxOntapInput
SetProtocol sets the Protocol field's value.
func (s *CreateLocationFsxOntapInput) SetSecurityGroupArns(v []*string) *CreateLocationFsxOntapInput
SetSecurityGroupArns sets the SecurityGroupArns field's value.
func (s *CreateLocationFsxOntapInput) SetStorageVirtualMachineArn(v string) *CreateLocationFsxOntapInput
SetStorageVirtualMachineArn sets the StorageVirtualMachineArn field's value.
func (s *CreateLocationFsxOntapInput) SetSubdirectory(v string) *CreateLocationFsxOntapInput
SetSubdirectory sets the Subdirectory field's value.
func (s *CreateLocationFsxOntapInput) SetTags(v []*TagListEntry) *CreateLocationFsxOntapInput
SetTags sets the Tags field's value.
func (s CreateLocationFsxOntapInput) 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 *CreateLocationFsxOntapInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLocationFsxOntapOutput struct { // Specifies the ARN of the FSx for ONTAP file system location that you create. LocationArn *string `type:"string"` // contains filtered or unexported fields }
func (s CreateLocationFsxOntapOutput) 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 *CreateLocationFsxOntapOutput) SetLocationArn(v string) *CreateLocationFsxOntapOutput
SetLocationArn sets the LocationArn field's value.
func (s CreateLocationFsxOntapOutput) 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 CreateLocationFsxOpenZfsInput struct { // The Amazon Resource Name (ARN) of the FSx for OpenZFS file system. // // FsxFilesystemArn is a required field FsxFilesystemArn *string `type:"string" required:"true"` // The type of protocol that DataSync uses to access your file system. // // Protocol is a required field Protocol *FsxProtocol `type:"structure" required:"true"` // The ARNs of the security groups that are used to configure the FSx for OpenZFS // file system. // // SecurityGroupArns is a required field SecurityGroupArns []*string `min:"1" type:"list" required:"true"` // A subdirectory in the location's path that must begin with /fsx. DataSync // uses this subdirectory to read or write data (depending on whether the file // system is a source or destination location). Subdirectory *string `type:"string"` // The key-value pair that represents a tag that you want to add to the resource. // The value can be an empty string. This value helps you manage, filter, and // search for your resources. We recommend that you create a name tag for your // location. Tags []*TagListEntry `type:"list"` // contains filtered or unexported fields }
func (s CreateLocationFsxOpenZfsInput) 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 *CreateLocationFsxOpenZfsInput) SetFsxFilesystemArn(v string) *CreateLocationFsxOpenZfsInput
SetFsxFilesystemArn sets the FsxFilesystemArn field's value.
func (s *CreateLocationFsxOpenZfsInput) SetProtocol(v *FsxProtocol) *CreateLocationFsxOpenZfsInput
SetProtocol sets the Protocol field's value.
func (s *CreateLocationFsxOpenZfsInput) SetSecurityGroupArns(v []*string) *CreateLocationFsxOpenZfsInput
SetSecurityGroupArns sets the SecurityGroupArns field's value.
func (s *CreateLocationFsxOpenZfsInput) SetSubdirectory(v string) *CreateLocationFsxOpenZfsInput
SetSubdirectory sets the Subdirectory field's value.
func (s *CreateLocationFsxOpenZfsInput) SetTags(v []*TagListEntry) *CreateLocationFsxOpenZfsInput
SetTags sets the Tags field's value.
func (s CreateLocationFsxOpenZfsInput) 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 *CreateLocationFsxOpenZfsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLocationFsxOpenZfsOutput struct { // The ARN of the FSx for OpenZFS file system location that you created. LocationArn *string `type:"string"` // contains filtered or unexported fields }
func (s CreateLocationFsxOpenZfsOutput) 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 *CreateLocationFsxOpenZfsOutput) SetLocationArn(v string) *CreateLocationFsxOpenZfsOutput
SetLocationArn sets the LocationArn field's value.
func (s CreateLocationFsxOpenZfsOutput) 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 CreateLocationFsxWindowsInput struct { // Specifies the name of the Microsoft Active Directory domain that the FSx // for Windows File Server file system belongs to. // // If you have multiple Active Directory domains in your environment, configuring // this parameter makes sure that DataSync connects to the right file system. Domain *string `type:"string"` // Specifies the Amazon Resource Name (ARN) for the FSx for Windows File Server // file system. // // FsxFilesystemArn is a required field FsxFilesystemArn *string `type:"string" required:"true"` // Specifies the password of the user with the permissions to mount and access // the files, folders, and file metadata in your FSx for Windows File Server // file system. // // Password is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateLocationFsxWindowsInput's // String and GoString methods. // // Password is a required field Password *string `type:"string" required:"true" sensitive:"true"` // Specifies the ARNs of the security groups that provide access to your file // system's preferred subnet. // // If you choose a security group that doesn't allow connections from within // itself, do one of the following: // // * Configure the security group to allow it to communicate within itself. // // * Choose a different security group that can communicate with the mount // target's security group. // // SecurityGroupArns is a required field SecurityGroupArns []*string `min:"1" type:"list" required:"true"` // Specifies a mount path for your file system using forward slashes. This is // where DataSync reads or writes data (depending on if this is a source or // destination location). Subdirectory *string `type:"string"` // Specifies labels that help you categorize, filter, and search for your Amazon // Web Services resources. We recommend creating at least a name tag for your // location. Tags []*TagListEntry `type:"list"` // Specifies the user with the permissions to mount and access the files, folders, // and file metadata in your FSx for Windows File Server file system. // // For information about choosing a user with the right level of access for // your transfer, see required permissions (https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#create-fsx-windows-location-permissions) // for FSx for Windows File Server locations. // // User is a required field User *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s CreateLocationFsxWindowsInput) 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 *CreateLocationFsxWindowsInput) SetDomain(v string) *CreateLocationFsxWindowsInput
SetDomain sets the Domain field's value.
func (s *CreateLocationFsxWindowsInput) SetFsxFilesystemArn(v string) *CreateLocationFsxWindowsInput
SetFsxFilesystemArn sets the FsxFilesystemArn field's value.
func (s *CreateLocationFsxWindowsInput) SetPassword(v string) *CreateLocationFsxWindowsInput
SetPassword sets the Password field's value.
func (s *CreateLocationFsxWindowsInput) SetSecurityGroupArns(v []*string) *CreateLocationFsxWindowsInput
SetSecurityGroupArns sets the SecurityGroupArns field's value.
func (s *CreateLocationFsxWindowsInput) SetSubdirectory(v string) *CreateLocationFsxWindowsInput
SetSubdirectory sets the Subdirectory field's value.
func (s *CreateLocationFsxWindowsInput) SetTags(v []*TagListEntry) *CreateLocationFsxWindowsInput
SetTags sets the Tags field's value.
func (s *CreateLocationFsxWindowsInput) SetUser(v string) *CreateLocationFsxWindowsInput
SetUser sets the User field's value.
func (s CreateLocationFsxWindowsInput) 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 *CreateLocationFsxWindowsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLocationFsxWindowsOutput struct { // The ARN of the FSx for Windows File Server file system location you created. LocationArn *string `type:"string"` // contains filtered or unexported fields }
func (s CreateLocationFsxWindowsOutput) 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 *CreateLocationFsxWindowsOutput) SetLocationArn(v string) *CreateLocationFsxWindowsOutput
SetLocationArn sets the LocationArn field's value.
func (s CreateLocationFsxWindowsOutput) 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 CreateLocationHdfsInput struct { // The Amazon Resource Names (ARNs) of the agents that are used to connect to // the HDFS cluster. // // AgentArns is a required field AgentArns []*string `min:"1" type:"list" required:"true"` // The type of authentication used to determine the identity of the user. // // AuthenticationType is a required field AuthenticationType *string `type:"string" required:"true" enum:"HdfsAuthenticationType"` // The size of data blocks to write into the HDFS cluster. The block size must // be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB). BlockSize *int64 `min:"1.048576e+06" type:"integer"` // The Kerberos key table (keytab) that contains mappings between the defined // Kerberos principal and the encrypted keys. You can load the keytab from a // file by providing the file's address. If you're using the CLI, it performs // base64 encoding for you. Otherwise, provide the base64-encoded text. // // If KERBEROS is specified for AuthenticationType, this parameter is required. // KerberosKeytab is automatically base64 encoded/decoded by the SDK. KerberosKeytab []byte `type:"blob"` // The krb5.conf file that contains the Kerberos configuration information. // You can load the krb5.conf file by providing the file's address. If you're // using the CLI, it performs the base64 encoding for you. Otherwise, provide // the base64-encoded text. // // If KERBEROS is specified for AuthenticationType, this parameter is required. // KerberosKrb5Conf is automatically base64 encoded/decoded by the SDK. KerberosKrb5Conf []byte `type:"blob"` // The Kerberos principal with access to the files and folders on the HDFS cluster. // // If KERBEROS is specified for AuthenticationType, this parameter is required. KerberosPrincipal *string `min:"1" type:"string"` // The URI of the HDFS cluster's Key Management Server (KMS). KmsKeyProviderUri *string `min:"1" type:"string"` // The NameNode that manages the HDFS namespace. The NameNode performs operations // such as opening, closing, and renaming files and directories. The NameNode // contains the information to map blocks of data to the DataNodes. You can // use only one NameNode. // // NameNodes is a required field NameNodes []*HdfsNameNode `min:"1" type:"list" required:"true"` // The Quality of Protection (QOP) configuration specifies the Remote Procedure // Call (RPC) and data transfer protection settings configured on the Hadoop // Distributed File System (HDFS) cluster. If QopConfiguration isn't specified, // RpcProtection and DataTransferProtection default to PRIVACY. If you set RpcProtection // or DataTransferProtection, the other parameter assumes the same value. QopConfiguration *QopConfiguration `type:"structure"` // The number of DataNodes to replicate the data to when writing to the HDFS // cluster. By default, data is replicated to three DataNodes. ReplicationFactor *int64 `min:"1" type:"integer"` // The user name used to identify the client on the host operating system. // // If SIMPLE is specified for AuthenticationType, this parameter is required. SimpleUser *string `min:"1" type:"string"` // A subdirectory in the HDFS cluster. This subdirectory is used to read data // from or write data to the HDFS cluster. If the subdirectory isn't specified, // it will default to /. Subdirectory *string `type:"string"` // The key-value pair that represents the tag that you want to add to the location. // The value can be an empty string. We recommend using tags to name your resources. Tags []*TagListEntry `type:"list"` // contains filtered or unexported fields }
func (s CreateLocationHdfsInput) 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 *CreateLocationHdfsInput) SetAgentArns(v []*string) *CreateLocationHdfsInput
SetAgentArns sets the AgentArns field's value.
func (s *CreateLocationHdfsInput) SetAuthenticationType(v string) *CreateLocationHdfsInput
SetAuthenticationType sets the AuthenticationType field's value.
func (s *CreateLocationHdfsInput) SetBlockSize(v int64) *CreateLocationHdfsInput
SetBlockSize sets the BlockSize field's value.
func (s *CreateLocationHdfsInput) SetKerberosKeytab(v []byte) *CreateLocationHdfsInput
SetKerberosKeytab sets the KerberosKeytab field's value.
func (s *CreateLocationHdfsInput) SetKerberosKrb5Conf(v []byte) *CreateLocationHdfsInput
SetKerberosKrb5Conf sets the KerberosKrb5Conf field's value.
func (s *CreateLocationHdfsInput) SetKerberosPrincipal(v string) *CreateLocationHdfsInput
SetKerberosPrincipal sets the KerberosPrincipal field's value.
func (s *CreateLocationHdfsInput) SetKmsKeyProviderUri(v string) *CreateLocationHdfsInput
SetKmsKeyProviderUri sets the KmsKeyProviderUri field's value.
func (s *CreateLocationHdfsInput) SetNameNodes(v []*HdfsNameNode) *CreateLocationHdfsInput
SetNameNodes sets the NameNodes field's value.
func (s *CreateLocationHdfsInput) SetQopConfiguration(v *QopConfiguration) *CreateLocationHdfsInput
SetQopConfiguration sets the QopConfiguration field's value.
func (s *CreateLocationHdfsInput) SetReplicationFactor(v int64) *CreateLocationHdfsInput
SetReplicationFactor sets the ReplicationFactor field's value.
func (s *CreateLocationHdfsInput) SetSimpleUser(v string) *CreateLocationHdfsInput
SetSimpleUser sets the SimpleUser field's value.
func (s *CreateLocationHdfsInput) SetSubdirectory(v string) *CreateLocationHdfsInput
SetSubdirectory sets the Subdirectory field's value.
func (s *CreateLocationHdfsInput) SetTags(v []*TagListEntry) *CreateLocationHdfsInput
SetTags sets the Tags field's value.
func (s CreateLocationHdfsInput) 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 *CreateLocationHdfsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLocationHdfsOutput struct { // The ARN of the source HDFS cluster location that's created. LocationArn *string `type:"string"` // contains filtered or unexported fields }
func (s CreateLocationHdfsOutput) 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 *CreateLocationHdfsOutput) SetLocationArn(v string) *CreateLocationHdfsOutput
SetLocationArn sets the LocationArn field's value.
func (s CreateLocationHdfsOutput) 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 CreateLocationNfsInput struct { // Specifies the options that DataSync can use to mount your NFS file server. MountOptions *NfsMountOptions `type:"structure"` // Specifies the Amazon Resource Name (ARN) of the DataSync agent that want // to connect to your NFS file server. // // You can specify more than one agent. For more information, see Using multiple // agents for transfers (https://docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html). // // OnPremConfig is a required field OnPremConfig *OnPremConfig `type:"structure" required:"true"` // Specifies the Domain Name System (DNS) name or IP version 4 address of the // NFS file server that your DataSync agent connects to. // // ServerHostname is a required field ServerHostname *string `type:"string" required:"true"` // Specifies the export path in your NFS file server that you want DataSync // to mount. // // This path (or a subdirectory of the path) is where DataSync transfers data // to or from. For information on configuring an export for DataSync, see Accessing // NFS file servers (https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#accessing-nfs). // // Subdirectory is a required field Subdirectory *string `type:"string" required:"true"` // Specifies labels that help you categorize, filter, and search for your Amazon // Web Services resources. We recommend creating at least a name tag for your // location. Tags []*TagListEntry `type:"list"` // contains filtered or unexported fields }
CreateLocationNfsRequest
func (s CreateLocationNfsInput) 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 *CreateLocationNfsInput) SetMountOptions(v *NfsMountOptions) *CreateLocationNfsInput
SetMountOptions sets the MountOptions field's value.
func (s *CreateLocationNfsInput) SetOnPremConfig(v *OnPremConfig) *CreateLocationNfsInput
SetOnPremConfig sets the OnPremConfig field's value.
func (s *CreateLocationNfsInput) SetServerHostname(v string) *CreateLocationNfsInput
SetServerHostname sets the ServerHostname field's value.
func (s *CreateLocationNfsInput) SetSubdirectory(v string) *CreateLocationNfsInput
SetSubdirectory sets the Subdirectory field's value.
func (s *CreateLocationNfsInput) SetTags(v []*TagListEntry) *CreateLocationNfsInput
SetTags sets the Tags field's value.
func (s CreateLocationNfsInput) 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 *CreateLocationNfsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLocationNfsOutput struct { // The ARN of the transfer location that you created for your NFS file server. LocationArn *string `type:"string"` // contains filtered or unexported fields }
CreateLocationNfsResponse
func (s CreateLocationNfsOutput) 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 *CreateLocationNfsOutput) SetLocationArn(v string) *CreateLocationNfsOutput
SetLocationArn sets the LocationArn field's value.
func (s CreateLocationNfsOutput) 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 CreateLocationObjectStorageInput struct { // Specifies the access key (for example, a user name) if credentials are required // to authenticate with the object storage server. AccessKey *string `type:"string"` // Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can // securely connect with your location. // // AgentArns is a required field AgentArns []*string `min:"1" type:"list" required:"true"` // Specifies the name of the object storage bucket involved in the transfer. // // BucketName is a required field BucketName *string `min:"3" type:"string" required:"true"` // Specifies the secret key (for example, a password) if credentials are required // to authenticate with the object storage server. // // SecretKey is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateLocationObjectStorageInput's // String and GoString methods. SecretKey *string `type:"string" sensitive:"true"` // Specifies a certificate chain for DataSync to authenticate with your object // storage system if the system uses a private or self-signed certificate authority // (CA). You must specify a single .pem file with a full certificate chain (for // example, file:///home/user/.ssh/object_storage_certificates.pem). // // The certificate chain might include: // // * The object storage system's certificate // // * All intermediate certificates (if there are any) // // * The root certificate of the signing CA // // You can concatenate your certificates into a .pem file (which can be up to // 32768 bytes before base64 encoding). The following example cat command creates // an object_storage_certificates.pem file that includes three certificates: // // cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem // > object_storage_certificates.pem // // To use this parameter, configure ServerProtocol to HTTPS. // ServerCertificate is automatically base64 encoded/decoded by the SDK. ServerCertificate []byte `type:"blob"` // Specifies the domain name or IP address of the object storage server. A DataSync // agent uses this hostname to mount the object storage server in a network. // // ServerHostname is a required field ServerHostname *string `type:"string" required:"true"` // Specifies the port that your object storage server accepts inbound network // traffic on (for example, port 443). ServerPort *int64 `min:"1" type:"integer"` // Specifies the protocol that your object storage server uses to communicate. ServerProtocol *string `type:"string" enum:"ObjectStorageServerProtocol"` // Specifies the object prefix for your object storage server. If this is a // source location, DataSync only copies objects with this prefix. If this is // a destination location, DataSync writes all objects with this prefix. Subdirectory *string `type:"string"` // Specifies the key-value pair that represents a tag that you want to add to // the resource. Tags can help you manage, filter, and search for your resources. // We recommend creating a name tag for your location. Tags []*TagListEntry `type:"list"` // contains filtered or unexported fields }
CreateLocationObjectStorageRequest
func (s CreateLocationObjectStorageInput) 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 *CreateLocationObjectStorageInput) SetAccessKey(v string) *CreateLocationObjectStorageInput
SetAccessKey sets the AccessKey field's value.
func (s *CreateLocationObjectStorageInput) SetAgentArns(v []*string) *CreateLocationObjectStorageInput
SetAgentArns sets the AgentArns field's value.
func (s *CreateLocationObjectStorageInput) SetBucketName(v string) *CreateLocationObjectStorageInput
SetBucketName sets the BucketName field's value.
func (s *CreateLocationObjectStorageInput) SetSecretKey(v string) *CreateLocationObjectStorageInput
SetSecretKey sets the SecretKey field's value.
func (s *CreateLocationObjectStorageInput) SetServerCertificate(v []byte) *CreateLocationObjectStorageInput
SetServerCertificate sets the ServerCertificate field's value.
func (s *CreateLocationObjectStorageInput) SetServerHostname(v string) *CreateLocationObjectStorageInput
SetServerHostname sets the ServerHostname field's value.
func (s *CreateLocationObjectStorageInput) SetServerPort(v int64) *CreateLocationObjectStorageInput
SetServerPort sets the ServerPort field's value.
func (s *CreateLocationObjectStorageInput) SetServerProtocol(v string) *CreateLocationObjectStorageInput
SetServerProtocol sets the ServerProtocol field's value.
func (s *CreateLocationObjectStorageInput) SetSubdirectory(v string) *CreateLocationObjectStorageInput
SetSubdirectory sets the Subdirectory field's value.
func (s *CreateLocationObjectStorageInput) SetTags(v []*TagListEntry) *CreateLocationObjectStorageInput
SetTags sets the Tags field's value.
func (s CreateLocationObjectStorageInput) 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 *CreateLocationObjectStorageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLocationObjectStorageOutput struct { // Specifies the ARN of the object storage system location that you create. LocationArn *string `type:"string"` // contains filtered or unexported fields }
CreateLocationObjectStorageResponse
func (s CreateLocationObjectStorageOutput) 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 *CreateLocationObjectStorageOutput) SetLocationArn(v string) *CreateLocationObjectStorageOutput
SetLocationArn sets the LocationArn field's value.
func (s CreateLocationObjectStorageOutput) 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 CreateLocationS3Input struct { // (Amazon S3 on Outposts only) Specifies the Amazon Resource Name (ARN) of // the DataSync agent on your Outpost. // // For more information, see Deploy your DataSync agent on Outposts (https://docs.aws.amazon.com/datasync/latest/userguide/deploy-agents.html#outposts-agent). AgentArns []*string `min:"1" type:"list"` // Specifies the ARN of the S3 bucket that you want to use as a location. (When // creating your DataSync task later, you specify whether this location is a // transfer source or destination.) // // If your S3 bucket is located on an Outposts resource, you must specify an // Amazon S3 access point. For more information, see Managing data access with // Amazon S3 access points (https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html) // in the Amazon S3 User Guide. // // S3BucketArn is a required field S3BucketArn *string `type:"string" required:"true"` // Specifies the Amazon Resource Name (ARN) of the Identity and Access Management // (IAM) role that DataSync uses to access your S3 bucket. // // For more information, see Accessing S3 buckets (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-access). // // S3Config is a required field S3Config *S3Config `type:"structure" required:"true"` // Specifies the storage class that you want your objects to use when Amazon // S3 is a transfer destination. // // For buckets in Amazon Web Services Regions, the storage class defaults to // STANDARD. For buckets on Outposts, the storage class defaults to OUTPOSTS. // // For more information, see Storage class considerations with Amazon S3 transfers // (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes). S3StorageClass *string `type:"string" enum:"S3StorageClass"` // Specifies a prefix in the S3 bucket that DataSync reads from or writes to // (depending on whether the bucket is a source or destination location). // // DataSync can't transfer objects with a prefix that begins with a slash (/) // or includes //, /./, or /../ patterns. For example: // // * /photos // // * photos//2006/January // // * photos/./2006/February // // * photos/../2006/March Subdirectory *string `type:"string"` // Specifies labels that help you categorize, filter, and search for your Amazon // Web Services resources. We recommend creating at least a name tag for your // transfer location. Tags []*TagListEntry `type:"list"` // contains filtered or unexported fields }
CreateLocationS3Request
func (s CreateLocationS3Input) 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 *CreateLocationS3Input) SetAgentArns(v []*string) *CreateLocationS3Input
SetAgentArns sets the AgentArns field's value.
func (s *CreateLocationS3Input) SetS3BucketArn(v string) *CreateLocationS3Input
SetS3BucketArn sets the S3BucketArn field's value.
func (s *CreateLocationS3Input) SetS3Config(v *S3Config) *CreateLocationS3Input
SetS3Config sets the S3Config field's value.
func (s *CreateLocationS3Input) SetS3StorageClass(v string) *CreateLocationS3Input
SetS3StorageClass sets the S3StorageClass field's value.
func (s *CreateLocationS3Input) SetSubdirectory(v string) *CreateLocationS3Input
SetSubdirectory sets the Subdirectory field's value.
func (s *CreateLocationS3Input) SetTags(v []*TagListEntry) *CreateLocationS3Input
SetTags sets the Tags field's value.
func (s CreateLocationS3Input) 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 *CreateLocationS3Input) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLocationS3Output struct { // The ARN of the S3 location that you created. LocationArn *string `type:"string"` // contains filtered or unexported fields }
CreateLocationS3Response
func (s CreateLocationS3Output) 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 *CreateLocationS3Output) SetLocationArn(v string) *CreateLocationS3Output
SetLocationArn sets the LocationArn field's value.
func (s CreateLocationS3Output) 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 CreateLocationSmbInput struct { // Specifies the DataSync agent (or agents) which you want to connect to your // SMB file server. You specify an agent by using its Amazon Resource Name (ARN). // // AgentArns is a required field AgentArns []*string `min:"1" type:"list" required:"true"` // Specifies the name of the Active Directory domain that your SMB file server // belongs to. // // If you have multiple Active Directory domains in your environment, configuring // this parameter makes sure that DataSync connects to the right file server. Domain *string `type:"string"` // Specifies the version of the SMB protocol that DataSync uses to access your // SMB file server. MountOptions *SmbMountOptions `type:"structure"` // Specifies the password of the user who can mount your SMB file server and // has permission to access the files and folders involved in your transfer. // // For more information, see required permissions (https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions) // for SMB locations. // // Password is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by CreateLocationSmbInput's // String and GoString methods. // // Password is a required field Password *string `type:"string" required:"true" sensitive:"true"` // Specifies the Domain Name Service (DNS) name or IP address of the SMB file // server that your DataSync agent will mount. // // You can't specify an IP version 6 (IPv6) address. // // ServerHostname is a required field ServerHostname *string `type:"string" required:"true"` // Specifies the name of the share exported by your SMB file server where DataSync // will read or write data. You can include a subdirectory in the share path // (for example, /path/to/subdirectory). Make sure that other SMB clients in // your network can also mount this path. // // To copy all data in the subdirectory, DataSync must be able to mount the // SMB share and access all of its data. For more information, see required // permissions (https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions) // for SMB locations. // // Subdirectory is a required field Subdirectory *string `type:"string" required:"true"` // Specifies labels that help you categorize, filter, and search for your Amazon // Web Services resources. We recommend creating at least a name tag for your // location. Tags []*TagListEntry `type:"list"` // Specifies the user that can mount and access the files, folders, and file // metadata in your SMB file server. // // For information about choosing a user with the right level of access for // your transfer, see required permissions (https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions) // for SMB locations. // // User is a required field User *string `type:"string" required:"true"` // contains filtered or unexported fields }
CreateLocationSmbRequest
func (s CreateLocationSmbInput) 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 *CreateLocationSmbInput) SetAgentArns(v []*string) *CreateLocationSmbInput
SetAgentArns sets the AgentArns field's value.
func (s *CreateLocationSmbInput) SetDomain(v string) *CreateLocationSmbInput
SetDomain sets the Domain field's value.
func (s *CreateLocationSmbInput) SetMountOptions(v *SmbMountOptions) *CreateLocationSmbInput
SetMountOptions sets the MountOptions field's value.
func (s *CreateLocationSmbInput) SetPassword(v string) *CreateLocationSmbInput
SetPassword sets the Password field's value.
func (s *CreateLocationSmbInput) SetServerHostname(v string) *CreateLocationSmbInput
SetServerHostname sets the ServerHostname field's value.
func (s *CreateLocationSmbInput) SetSubdirectory(v string) *CreateLocationSmbInput
SetSubdirectory sets the Subdirectory field's value.
func (s *CreateLocationSmbInput) SetTags(v []*TagListEntry) *CreateLocationSmbInput
SetTags sets the Tags field's value.
func (s *CreateLocationSmbInput) SetUser(v string) *CreateLocationSmbInput
SetUser sets the User field's value.
func (s CreateLocationSmbInput) 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 *CreateLocationSmbInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateLocationSmbOutput struct { // The ARN of the SMB location that you created. LocationArn *string `type:"string"` // contains filtered or unexported fields }
CreateLocationSmbResponse
func (s CreateLocationSmbOutput) 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 *CreateLocationSmbOutput) SetLocationArn(v string) *CreateLocationSmbOutput
SetLocationArn sets the LocationArn field's value.
func (s CreateLocationSmbOutput) 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 CreateTaskInput struct { // Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group // for monitoring your task. CloudWatchLogGroupArn *string `type:"string"` // Specifies the ARN of your transfer's destination location. // // DestinationLocationArn is a required field DestinationLocationArn *string `type:"string" required:"true"` // Specifies exclude filters that define the files, objects, and folders in // your source location that you don't want DataSync to transfer. For more information // and examples, see Specifying what DataSync transfers by using filters (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). Excludes []*FilterRule `type:"list"` // Specifies include filters define the files, objects, and folders in your // source location that you want DataSync to transfer. For more information // and examples, see Specifying what DataSync transfers by using filters (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). Includes []*FilterRule `type:"list"` // Configures a manifest, which is a list of files or objects that you want // DataSync to transfer. For more information and configuration examples, see // Specifying what DataSync transfers by using a manifest (https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html). // // When using this parameter, your caller identity (the role that you're using // DataSync with) must have the iam:PassRole permission. The AWSDataSyncFullAccess // (https://docs.aws.amazon.com/datasync/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-awsdatasyncfullaccess) // policy includes this permission. ManifestConfig *ManifestConfig `type:"structure"` // Specifies the name of your task. Name *string `type:"string"` // Specifies your task's settings, such as preserving file metadata, verifying // data integrity, among other options. Options *Options `type:"structure"` // Specifies a schedule for when you want your task to run. For more information, // see Scheduling your task (https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html). Schedule *TaskSchedule `type:"structure"` // Specifies the ARN of your transfer's source location. // // SourceLocationArn is a required field SourceLocationArn *string `type:"string" required:"true"` // Specifies the tags that you want to apply to your task. // // Tags are key-value pairs that help you manage, filter, and search for your // DataSync resources. Tags []*TagListEntry `type:"list"` // Specifies how you want to configure a task report, which provides detailed // information about your DataSync transfer. For more information, see Monitoring // your DataSync transfers with task reports (https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html). // // When using this parameter, your caller identity (the role that you're using // DataSync with) must have the iam:PassRole permission. The AWSDataSyncFullAccess // (https://docs.aws.amazon.com/datasync/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-awsdatasyncfullaccess) // policy includes this permission. TaskReportConfig *TaskReportConfig `type:"structure"` // contains filtered or unexported fields }
CreateTaskRequest
func (s CreateTaskInput) 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 *CreateTaskInput) SetCloudWatchLogGroupArn(v string) *CreateTaskInput
SetCloudWatchLogGroupArn sets the CloudWatchLogGroupArn field's value.
func (s *CreateTaskInput) SetDestinationLocationArn(v string) *CreateTaskInput
SetDestinationLocationArn sets the DestinationLocationArn field's value.
func (s *CreateTaskInput) SetExcludes(v []*FilterRule) *CreateTaskInput
SetExcludes sets the Excludes field's value.
func (s *CreateTaskInput) SetIncludes(v []*FilterRule) *CreateTaskInput
SetIncludes sets the Includes field's value.
func (s *CreateTaskInput) SetManifestConfig(v *ManifestConfig) *CreateTaskInput
SetManifestConfig sets the ManifestConfig field's value.
func (s *CreateTaskInput) SetName(v string) *CreateTaskInput
SetName sets the Name field's value.
func (s *CreateTaskInput) SetOptions(v *Options) *CreateTaskInput
SetOptions sets the Options field's value.
func (s *CreateTaskInput) SetSchedule(v *TaskSchedule) *CreateTaskInput
SetSchedule sets the Schedule field's value.
func (s *CreateTaskInput) SetSourceLocationArn(v string) *CreateTaskInput
SetSourceLocationArn sets the SourceLocationArn field's value.
func (s *CreateTaskInput) SetTags(v []*TagListEntry) *CreateTaskInput
SetTags sets the Tags field's value.
func (s *CreateTaskInput) SetTaskReportConfig(v *TaskReportConfig) *CreateTaskInput
SetTaskReportConfig sets the TaskReportConfig field's value.
func (s CreateTaskInput) 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 *CreateTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type CreateTaskOutput struct { // The Amazon Resource Name (ARN) of the task. TaskArn *string `type:"string"` // contains filtered or unexported fields }
CreateTaskResponse
func (s CreateTaskOutput) 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 *CreateTaskOutput) SetTaskArn(v string) *CreateTaskOutput
SetTaskArn sets the TaskArn field's value.
func (s CreateTaskOutput) 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 Credentials struct { // Specifies the password for your storage system's management interface. // // Password is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by Credentials's // String and GoString methods. // // Password is a required field Password *string `type:"string" required:"true" sensitive:"true"` // Specifies the user name for your storage system's management interface. // // Username is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by Credentials's // String and GoString methods. // // Username is a required field Username *string `type:"string" required:"true" sensitive:"true"` // contains filtered or unexported fields }
The credentials that provide DataSync Discovery read access to your on-premises storage system's management interface.
DataSync Discovery stores these credentials in Secrets Manager (https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html). For more information, see Accessing your on-premises storage system (https://docs.aws.amazon.com/datasync/latest/userguide/discovery-configure-storage.html).
func (s Credentials) 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 *Credentials) SetPassword(v string) *Credentials
SetPassword sets the Password field's value.
func (s *Credentials) SetUsername(v string) *Credentials
SetUsername sets the Username field's value.
func (s Credentials) 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 *Credentials) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DataSync struct { *client.Client }
DataSync provides the API operation methods for making requests to AWS DataSync. See this package's package overview docs for details on the service.
DataSync 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) *DataSync
New creates a new instance of the DataSync 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 DataSync client from just a session. svc := datasync.New(mySession) // Create a DataSync client with additional configuration svc := datasync.New(mySession, aws.NewConfig().WithRegion("us-west-2"))
func (c *DataSync) AddStorageSystem(input *AddStorageSystemInput) (*AddStorageSystemOutput, error)
AddStorageSystem API operation for AWS DataSync.
Creates an Amazon Web Services resource for an on-premises storage system that you want DataSync Discovery to collect information about.
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 DataSync's API operation AddStorageSystem for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/AddStorageSystem
func (c *DataSync) AddStorageSystemRequest(input *AddStorageSystemInput) (req *request.Request, output *AddStorageSystemOutput)
AddStorageSystemRequest generates a "aws/request.Request" representing the client's request for the AddStorageSystem 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 AddStorageSystem for more information on using the AddStorageSystem 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 AddStorageSystemRequest method. req, resp := client.AddStorageSystemRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/AddStorageSystem
func (c *DataSync) AddStorageSystemWithContext(ctx aws.Context, input *AddStorageSystemInput, opts ...request.Option) (*AddStorageSystemOutput, error)
AddStorageSystemWithContext is the same as AddStorageSystem with the addition of the ability to pass a context and additional request options.
See AddStorageSystem 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 *DataSync) CancelTaskExecution(input *CancelTaskExecutionInput) (*CancelTaskExecutionOutput, error)
CancelTaskExecution API operation for AWS DataSync.
Stops an DataSync task execution that's in progress. The transfer of some files are abruptly interrupted. File contents that're transferred to the destination might be incomplete or inconsistent with the source files.
However, if you start a new task execution using the same task and allow it to finish, file content on the destination will be complete and consistent. This applies to other unexpected failures that interrupt a task execution. In all of these cases, DataSync successfully completes the transfer when you start the next task execution.
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 DataSync's API operation CancelTaskExecution for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CancelTaskExecution
func (c *DataSync) CancelTaskExecutionRequest(input *CancelTaskExecutionInput) (req *request.Request, output *CancelTaskExecutionOutput)
CancelTaskExecutionRequest generates a "aws/request.Request" representing the client's request for the CancelTaskExecution 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 CancelTaskExecution for more information on using the CancelTaskExecution 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 CancelTaskExecutionRequest method. req, resp := client.CancelTaskExecutionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CancelTaskExecution
func (c *DataSync) CancelTaskExecutionWithContext(ctx aws.Context, input *CancelTaskExecutionInput, opts ...request.Option) (*CancelTaskExecutionOutput, error)
CancelTaskExecutionWithContext is the same as CancelTaskExecution with the addition of the ability to pass a context and additional request options.
See CancelTaskExecution 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 *DataSync) CreateAgent(input *CreateAgentInput) (*CreateAgentOutput, error)
CreateAgent API operation for AWS DataSync.
Activates an DataSync agent that you've deployed in your storage environment. The activation process associates the agent with your Amazon Web Services account.
If you haven't deployed an agent yet, see the following topics to learn more:
Agent requirements (https://docs.aws.amazon.com/datasync/latest/userguide/agent-requirements.html)
Create an agent (https://docs.aws.amazon.com/datasync/latest/userguide/configure-agent.html)
If you're transferring between Amazon Web Services storage services, you don't need a DataSync agent.
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 DataSync's API operation CreateAgent for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateAgent
func (c *DataSync) CreateAgentRequest(input *CreateAgentInput) (req *request.Request, output *CreateAgentOutput)
CreateAgentRequest generates a "aws/request.Request" representing the client's request for the CreateAgent 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 CreateAgent for more information on using the CreateAgent 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 CreateAgentRequest method. req, resp := client.CreateAgentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateAgent
func (c *DataSync) CreateAgentWithContext(ctx aws.Context, input *CreateAgentInput, opts ...request.Option) (*CreateAgentOutput, error)
CreateAgentWithContext is the same as CreateAgent with the addition of the ability to pass a context and additional request options.
See CreateAgent 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 *DataSync) CreateLocationAzureBlob(input *CreateLocationAzureBlobInput) (*CreateLocationAzureBlobOutput, error)
CreateLocationAzureBlob API operation for AWS DataSync.
Creates a transfer location for a Microsoft Azure Blob Storage container. DataSync can use this location as a transfer source or destination.
Before you begin, make sure you know how DataSync accesses Azure Blob Storage (https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access) and works with access tiers (https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access-tiers) and blob types (https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#blob-types). You also need a DataSync agent (https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-creating-agent) that can connect to your container.
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 DataSync's API operation CreateLocationAzureBlob for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) CreateLocationAzureBlobRequest(input *CreateLocationAzureBlobInput) (req *request.Request, output *CreateLocationAzureBlobOutput)
CreateLocationAzureBlobRequest generates a "aws/request.Request" representing the client's request for the CreateLocationAzureBlob 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 CreateLocationAzureBlob for more information on using the CreateLocationAzureBlob 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 CreateLocationAzureBlobRequest method. req, resp := client.CreateLocationAzureBlobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) CreateLocationAzureBlobWithContext(ctx aws.Context, input *CreateLocationAzureBlobInput, opts ...request.Option) (*CreateLocationAzureBlobOutput, error)
CreateLocationAzureBlobWithContext is the same as CreateLocationAzureBlob with the addition of the ability to pass a context and additional request options.
See CreateLocationAzureBlob 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 *DataSync) CreateLocationEfs(input *CreateLocationEfsInput) (*CreateLocationEfsOutput, error)
CreateLocationEfs API operation for AWS DataSync.
Creates a transfer location for an Amazon EFS file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses Amazon EFS file systems (https://docs.aws.amazon.com/datasync/latest/userguide/create-efs-location.html#create-efs-location-access).
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 DataSync's API operation CreateLocationEfs for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationEfs
func (c *DataSync) CreateLocationEfsRequest(input *CreateLocationEfsInput) (req *request.Request, output *CreateLocationEfsOutput)
CreateLocationEfsRequest generates a "aws/request.Request" representing the client's request for the CreateLocationEfs 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 CreateLocationEfs for more information on using the CreateLocationEfs 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 CreateLocationEfsRequest method. req, resp := client.CreateLocationEfsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationEfs
func (c *DataSync) CreateLocationEfsWithContext(ctx aws.Context, input *CreateLocationEfsInput, opts ...request.Option) (*CreateLocationEfsOutput, error)
CreateLocationEfsWithContext is the same as CreateLocationEfs with the addition of the ability to pass a context and additional request options.
See CreateLocationEfs 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 *DataSync) CreateLocationFsxLustre(input *CreateLocationFsxLustreInput) (*CreateLocationFsxLustreOutput, error)
CreateLocationFsxLustre API operation for AWS DataSync.
Creates a transfer location for an Amazon FSx for Lustre file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for Lustre file systems (https://docs.aws.amazon.com/datasync/latest/userguide/create-lustre-location.html#create-lustre-location-access).
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 DataSync's API operation CreateLocationFsxLustre for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) CreateLocationFsxLustreRequest(input *CreateLocationFsxLustreInput) (req *request.Request, output *CreateLocationFsxLustreOutput)
CreateLocationFsxLustreRequest generates a "aws/request.Request" representing the client's request for the CreateLocationFsxLustre 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 CreateLocationFsxLustre for more information on using the CreateLocationFsxLustre 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 CreateLocationFsxLustreRequest method. req, resp := client.CreateLocationFsxLustreRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) CreateLocationFsxLustreWithContext(ctx aws.Context, input *CreateLocationFsxLustreInput, opts ...request.Option) (*CreateLocationFsxLustreOutput, error)
CreateLocationFsxLustreWithContext is the same as CreateLocationFsxLustre with the addition of the ability to pass a context and additional request options.
See CreateLocationFsxLustre 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 *DataSync) CreateLocationFsxOntap(input *CreateLocationFsxOntapInput) (*CreateLocationFsxOntapOutput, error)
CreateLocationFsxOntap API operation for AWS DataSync.
Creates a transfer location for an Amazon FSx for NetApp ONTAP file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for ONTAP file systems (https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html#create-ontap-location-access).
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 DataSync's API operation CreateLocationFsxOntap for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) CreateLocationFsxOntapRequest(input *CreateLocationFsxOntapInput) (req *request.Request, output *CreateLocationFsxOntapOutput)
CreateLocationFsxOntapRequest generates a "aws/request.Request" representing the client's request for the CreateLocationFsxOntap 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 CreateLocationFsxOntap for more information on using the CreateLocationFsxOntap 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 CreateLocationFsxOntapRequest method. req, resp := client.CreateLocationFsxOntapRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) CreateLocationFsxOntapWithContext(ctx aws.Context, input *CreateLocationFsxOntapInput, opts ...request.Option) (*CreateLocationFsxOntapOutput, error)
CreateLocationFsxOntapWithContext is the same as CreateLocationFsxOntap with the addition of the ability to pass a context and additional request options.
See CreateLocationFsxOntap 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 *DataSync) CreateLocationFsxOpenZfs(input *CreateLocationFsxOpenZfsInput) (*CreateLocationFsxOpenZfsOutput, error)
CreateLocationFsxOpenZfs API operation for AWS DataSync.
Creates a transfer location for an Amazon FSx for OpenZFS file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for OpenZFS file systems (https://docs.aws.amazon.com/datasync/latest/userguide/create-openzfs-location.html#create-openzfs-access).
Request parameters related to SMB aren't supported with the CreateLocationFsxOpenZfs operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS DataSync's API operation CreateLocationFsxOpenZfs for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) CreateLocationFsxOpenZfsRequest(input *CreateLocationFsxOpenZfsInput) (req *request.Request, output *CreateLocationFsxOpenZfsOutput)
CreateLocationFsxOpenZfsRequest generates a "aws/request.Request" representing the client's request for the CreateLocationFsxOpenZfs 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 CreateLocationFsxOpenZfs for more information on using the CreateLocationFsxOpenZfs 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 CreateLocationFsxOpenZfsRequest method. req, resp := client.CreateLocationFsxOpenZfsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) CreateLocationFsxOpenZfsWithContext(ctx aws.Context, input *CreateLocationFsxOpenZfsInput, opts ...request.Option) (*CreateLocationFsxOpenZfsOutput, error)
CreateLocationFsxOpenZfsWithContext is the same as CreateLocationFsxOpenZfs with the addition of the ability to pass a context and additional request options.
See CreateLocationFsxOpenZfs 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 *DataSync) CreateLocationFsxWindows(input *CreateLocationFsxWindowsInput) (*CreateLocationFsxWindowsOutput, error)
CreateLocationFsxWindows API operation for AWS DataSync.
Creates a transfer location for an Amazon FSx for Windows File Server file system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses FSx for Windows File Server file systems (https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#create-fsx-location-access).
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 DataSync's API operation CreateLocationFsxWindows for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) CreateLocationFsxWindowsRequest(input *CreateLocationFsxWindowsInput) (req *request.Request, output *CreateLocationFsxWindowsOutput)
CreateLocationFsxWindowsRequest generates a "aws/request.Request" representing the client's request for the CreateLocationFsxWindows 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 CreateLocationFsxWindows for more information on using the CreateLocationFsxWindows 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 CreateLocationFsxWindowsRequest method. req, resp := client.CreateLocationFsxWindowsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) CreateLocationFsxWindowsWithContext(ctx aws.Context, input *CreateLocationFsxWindowsInput, opts ...request.Option) (*CreateLocationFsxWindowsOutput, error)
CreateLocationFsxWindowsWithContext is the same as CreateLocationFsxWindows with the addition of the ability to pass a context and additional request options.
See CreateLocationFsxWindows 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 *DataSync) CreateLocationHdfs(input *CreateLocationHdfsInput) (*CreateLocationHdfsOutput, error)
CreateLocationHdfs API operation for AWS DataSync.
Creates a transfer location for a Hadoop Distributed File System (HDFS). DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses HDFS clusters (https://docs.aws.amazon.com/datasync/latest/userguide/create-hdfs-location.html#accessing-hdfs).
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 DataSync's API operation CreateLocationHdfs for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationHdfs
func (c *DataSync) CreateLocationHdfsRequest(input *CreateLocationHdfsInput) (req *request.Request, output *CreateLocationHdfsOutput)
CreateLocationHdfsRequest generates a "aws/request.Request" representing the client's request for the CreateLocationHdfs 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 CreateLocationHdfs for more information on using the CreateLocationHdfs 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 CreateLocationHdfsRequest method. req, resp := client.CreateLocationHdfsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationHdfs
func (c *DataSync) CreateLocationHdfsWithContext(ctx aws.Context, input *CreateLocationHdfsInput, opts ...request.Option) (*CreateLocationHdfsOutput, error)
CreateLocationHdfsWithContext is the same as CreateLocationHdfs with the addition of the ability to pass a context and additional request options.
See CreateLocationHdfs 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 *DataSync) CreateLocationNfs(input *CreateLocationNfsInput) (*CreateLocationNfsOutput, error)
CreateLocationNfs API operation for AWS DataSync.
Creates a transfer location for a Network File System (NFS) file server. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses NFS file servers (https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#accessing-nfs).
If you're copying data to or from an Snowcone device, you can also use CreateLocationNfs to create your transfer location. For more information, see Configuring transfers with Snowcone (https://docs.aws.amazon.com/datasync/latest/userguide/nfs-on-snowcone.html).
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 DataSync's API operation CreateLocationNfs for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationNfs
func (c *DataSync) CreateLocationNfsRequest(input *CreateLocationNfsInput) (req *request.Request, output *CreateLocationNfsOutput)
CreateLocationNfsRequest generates a "aws/request.Request" representing the client's request for the CreateLocationNfs 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 CreateLocationNfs for more information on using the CreateLocationNfs 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 CreateLocationNfsRequest method. req, resp := client.CreateLocationNfsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationNfs
func (c *DataSync) CreateLocationNfsWithContext(ctx aws.Context, input *CreateLocationNfsInput, opts ...request.Option) (*CreateLocationNfsOutput, error)
CreateLocationNfsWithContext is the same as CreateLocationNfs with the addition of the ability to pass a context and additional request options.
See CreateLocationNfs 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 *DataSync) CreateLocationObjectStorage(input *CreateLocationObjectStorageInput) (*CreateLocationObjectStorageOutput, error)
CreateLocationObjectStorage API operation for AWS DataSync.
Creates a transfer location for an object storage system. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand the prerequisites (https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html#create-object-location-prerequisites) for DataSync to work with object storage systems.
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 DataSync's API operation CreateLocationObjectStorage for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) CreateLocationObjectStorageRequest(input *CreateLocationObjectStorageInput) (req *request.Request, output *CreateLocationObjectStorageOutput)
CreateLocationObjectStorageRequest generates a "aws/request.Request" representing the client's request for the CreateLocationObjectStorage 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 CreateLocationObjectStorage for more information on using the CreateLocationObjectStorage 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 CreateLocationObjectStorageRequest method. req, resp := client.CreateLocationObjectStorageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) CreateLocationObjectStorageWithContext(ctx aws.Context, input *CreateLocationObjectStorageInput, opts ...request.Option) (*CreateLocationObjectStorageOutput, error)
CreateLocationObjectStorageWithContext is the same as CreateLocationObjectStorage with the addition of the ability to pass a context and additional request options.
See CreateLocationObjectStorage 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 *DataSync) CreateLocationS3(input *CreateLocationS3Input) (*CreateLocationS3Output, error)
CreateLocationS3 API operation for AWS DataSync.
Creates a transfer location for an Amazon S3 bucket. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you read the following topics:
Storage class considerations with Amazon S3 locations (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes)
Evaluating S3 request costs when using DataSync (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-s3-requests)
For more information, see Configuring transfers with Amazon S3 (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html).
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 DataSync's API operation CreateLocationS3 for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationS3
func (c *DataSync) CreateLocationS3Request(input *CreateLocationS3Input) (req *request.Request, output *CreateLocationS3Output)
CreateLocationS3Request generates a "aws/request.Request" representing the client's request for the CreateLocationS3 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 CreateLocationS3 for more information on using the CreateLocationS3 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 CreateLocationS3Request method. req, resp := client.CreateLocationS3Request(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationS3
func (c *DataSync) CreateLocationS3WithContext(ctx aws.Context, input *CreateLocationS3Input, opts ...request.Option) (*CreateLocationS3Output, error)
CreateLocationS3WithContext is the same as CreateLocationS3 with the addition of the ability to pass a context and additional request options.
See CreateLocationS3 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 *DataSync) CreateLocationSmb(input *CreateLocationSmbInput) (*CreateLocationSmbOutput, error)
CreateLocationSmb API operation for AWS DataSync.
Creates a transfer location for a Server Message Block (SMB) file server. DataSync can use this location as a source or destination for transferring data.
Before you begin, make sure that you understand how DataSync accesses SMB file servers (https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb).
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 DataSync's API operation CreateLocationSmb for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationSmb
func (c *DataSync) CreateLocationSmbRequest(input *CreateLocationSmbInput) (req *request.Request, output *CreateLocationSmbOutput)
CreateLocationSmbRequest generates a "aws/request.Request" representing the client's request for the CreateLocationSmb 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 CreateLocationSmb for more information on using the CreateLocationSmb 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 CreateLocationSmbRequest method. req, resp := client.CreateLocationSmbRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationSmb
func (c *DataSync) CreateLocationSmbWithContext(ctx aws.Context, input *CreateLocationSmbInput, opts ...request.Option) (*CreateLocationSmbOutput, error)
CreateLocationSmbWithContext is the same as CreateLocationSmb with the addition of the ability to pass a context and additional request options.
See CreateLocationSmb 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 *DataSync) CreateTask(input *CreateTaskInput) (*CreateTaskOutput, error)
CreateTask API operation for AWS DataSync.
Configures a task, which defines where and how DataSync transfers your data.
A task includes a source location, destination location, and transfer options (such as bandwidth limits, scheduling, and more).
If you're planning to transfer data to or from an Amazon S3 location, review how DataSync can affect your S3 request charges (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-s3-requests) and the DataSync pricing page (http://aws.amazon.com/datasync/pricing/) before you begin.
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 DataSync's API operation CreateTask for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateTask
func (c *DataSync) CreateTaskRequest(input *CreateTaskInput) (req *request.Request, output *CreateTaskOutput)
CreateTaskRequest generates a "aws/request.Request" representing the client's request for the CreateTask 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 CreateTask for more information on using the CreateTask 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 CreateTaskRequest method. req, resp := client.CreateTaskRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateTask
func (c *DataSync) CreateTaskWithContext(ctx aws.Context, input *CreateTaskInput, opts ...request.Option) (*CreateTaskOutput, error)
CreateTaskWithContext is the same as CreateTask with the addition of the ability to pass a context and additional request options.
See CreateTask 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 *DataSync) DeleteAgent(input *DeleteAgentInput) (*DeleteAgentOutput, error)
DeleteAgent API operation for AWS DataSync.
Removes an DataSync agent resource from your Amazon Web Services account.
Keep in mind that this operation (which can't be undone) doesn't remove the agent's virtual machine (VM) or Amazon EC2 instance from your storage environment. For next steps, you can delete the VM or instance from your storage environment or reuse it to activate a new agent (https://docs.aws.amazon.com/datasync/latest/userguide/activate-agent.html).
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 DataSync's API operation DeleteAgent for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DeleteAgent
func (c *DataSync) DeleteAgentRequest(input *DeleteAgentInput) (req *request.Request, output *DeleteAgentOutput)
DeleteAgentRequest generates a "aws/request.Request" representing the client's request for the DeleteAgent 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 DeleteAgent for more information on using the DeleteAgent 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 DeleteAgentRequest method. req, resp := client.DeleteAgentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DeleteAgent
func (c *DataSync) DeleteAgentWithContext(ctx aws.Context, input *DeleteAgentInput, opts ...request.Option) (*DeleteAgentOutput, error)
DeleteAgentWithContext is the same as DeleteAgent with the addition of the ability to pass a context and additional request options.
See DeleteAgent 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 *DataSync) DeleteLocation(input *DeleteLocationInput) (*DeleteLocationOutput, error)
DeleteLocation API operation for AWS DataSync.
Deletes a transfer location resource from DataSync.
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 DataSync's API operation DeleteLocation for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DeleteLocation
func (c *DataSync) DeleteLocationRequest(input *DeleteLocationInput) (req *request.Request, output *DeleteLocationOutput)
DeleteLocationRequest generates a "aws/request.Request" representing the client's request for the DeleteLocation 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 DeleteLocation for more information on using the DeleteLocation 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 DeleteLocationRequest method. req, resp := client.DeleteLocationRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DeleteLocation
func (c *DataSync) DeleteLocationWithContext(ctx aws.Context, input *DeleteLocationInput, opts ...request.Option) (*DeleteLocationOutput, error)
DeleteLocationWithContext is the same as DeleteLocation with the addition of the ability to pass a context and additional request options.
See DeleteLocation 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 *DataSync) DeleteTask(input *DeleteTaskInput) (*DeleteTaskOutput, error)
DeleteTask API operation for AWS DataSync.
Deletes a transfer task resource from DataSync.
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 DataSync's API operation DeleteTask for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DeleteTask
func (c *DataSync) DeleteTaskRequest(input *DeleteTaskInput) (req *request.Request, output *DeleteTaskOutput)
DeleteTaskRequest generates a "aws/request.Request" representing the client's request for the DeleteTask 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 DeleteTask for more information on using the DeleteTask 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 DeleteTaskRequest method. req, resp := client.DeleteTaskRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DeleteTask
func (c *DataSync) DeleteTaskWithContext(ctx aws.Context, input *DeleteTaskInput, opts ...request.Option) (*DeleteTaskOutput, error)
DeleteTaskWithContext is the same as DeleteTask with the addition of the ability to pass a context and additional request options.
See DeleteTask 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 *DataSync) DescribeAgent(input *DescribeAgentInput) (*DescribeAgentOutput, error)
DescribeAgent API operation for AWS DataSync.
Returns information about an DataSync agent, such as its name, service endpoint type, and status.
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 DataSync's API operation DescribeAgent for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeAgent
func (c *DataSync) DescribeAgentRequest(input *DescribeAgentInput) (req *request.Request, output *DescribeAgentOutput)
DescribeAgentRequest generates a "aws/request.Request" representing the client's request for the DescribeAgent 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 DescribeAgent for more information on using the DescribeAgent 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 DescribeAgentRequest method. req, resp := client.DescribeAgentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeAgent
func (c *DataSync) DescribeAgentWithContext(ctx aws.Context, input *DescribeAgentInput, opts ...request.Option) (*DescribeAgentOutput, error)
DescribeAgentWithContext is the same as DescribeAgent with the addition of the ability to pass a context and additional request options.
See DescribeAgent 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 *DataSync) DescribeDiscoveryJob(input *DescribeDiscoveryJobInput) (*DescribeDiscoveryJobOutput, error)
DescribeDiscoveryJob API operation for AWS DataSync.
Returns information about a DataSync discovery job.
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 DataSync's API operation DescribeDiscoveryJob for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) DescribeDiscoveryJobRequest(input *DescribeDiscoveryJobInput) (req *request.Request, output *DescribeDiscoveryJobOutput)
DescribeDiscoveryJobRequest generates a "aws/request.Request" representing the client's request for the DescribeDiscoveryJob 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 DescribeDiscoveryJob for more information on using the DescribeDiscoveryJob 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 DescribeDiscoveryJobRequest method. req, resp := client.DescribeDiscoveryJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) DescribeDiscoveryJobWithContext(ctx aws.Context, input *DescribeDiscoveryJobInput, opts ...request.Option) (*DescribeDiscoveryJobOutput, error)
DescribeDiscoveryJobWithContext is the same as DescribeDiscoveryJob with the addition of the ability to pass a context and additional request options.
See DescribeDiscoveryJob 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 *DataSync) DescribeLocationAzureBlob(input *DescribeLocationAzureBlobInput) (*DescribeLocationAzureBlobOutput, error)
DescribeLocationAzureBlob API operation for AWS DataSync.
Provides details about how an DataSync transfer location for Microsoft Azure Blob Storage is configured.
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 DataSync's API operation DescribeLocationAzureBlob for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) DescribeLocationAzureBlobRequest(input *DescribeLocationAzureBlobInput) (req *request.Request, output *DescribeLocationAzureBlobOutput)
DescribeLocationAzureBlobRequest generates a "aws/request.Request" representing the client's request for the DescribeLocationAzureBlob 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 DescribeLocationAzureBlob for more information on using the DescribeLocationAzureBlob 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 DescribeLocationAzureBlobRequest method. req, resp := client.DescribeLocationAzureBlobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) DescribeLocationAzureBlobWithContext(ctx aws.Context, input *DescribeLocationAzureBlobInput, opts ...request.Option) (*DescribeLocationAzureBlobOutput, error)
DescribeLocationAzureBlobWithContext is the same as DescribeLocationAzureBlob with the addition of the ability to pass a context and additional request options.
See DescribeLocationAzureBlob 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 *DataSync) DescribeLocationEfs(input *DescribeLocationEfsInput) (*DescribeLocationEfsOutput, error)
DescribeLocationEfs API operation for AWS DataSync.
Provides details about how an DataSync transfer location for an Amazon EFS file system is configured.
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 DataSync's API operation DescribeLocationEfs for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationEfs
func (c *DataSync) DescribeLocationEfsRequest(input *DescribeLocationEfsInput) (req *request.Request, output *DescribeLocationEfsOutput)
DescribeLocationEfsRequest generates a "aws/request.Request" representing the client's request for the DescribeLocationEfs 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 DescribeLocationEfs for more information on using the DescribeLocationEfs 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 DescribeLocationEfsRequest method. req, resp := client.DescribeLocationEfsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationEfs
func (c *DataSync) DescribeLocationEfsWithContext(ctx aws.Context, input *DescribeLocationEfsInput, opts ...request.Option) (*DescribeLocationEfsOutput, error)
DescribeLocationEfsWithContext is the same as DescribeLocationEfs with the addition of the ability to pass a context and additional request options.
See DescribeLocationEfs 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 *DataSync) DescribeLocationFsxLustre(input *DescribeLocationFsxLustreInput) (*DescribeLocationFsxLustreOutput, error)
DescribeLocationFsxLustre API operation for AWS DataSync.
Provides details about how an DataSync transfer location for an Amazon FSx for Lustre file system is configured.
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 DataSync's API operation DescribeLocationFsxLustre for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) DescribeLocationFsxLustreRequest(input *DescribeLocationFsxLustreInput) (req *request.Request, output *DescribeLocationFsxLustreOutput)
DescribeLocationFsxLustreRequest generates a "aws/request.Request" representing the client's request for the DescribeLocationFsxLustre 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 DescribeLocationFsxLustre for more information on using the DescribeLocationFsxLustre 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 DescribeLocationFsxLustreRequest method. req, resp := client.DescribeLocationFsxLustreRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) DescribeLocationFsxLustreWithContext(ctx aws.Context, input *DescribeLocationFsxLustreInput, opts ...request.Option) (*DescribeLocationFsxLustreOutput, error)
DescribeLocationFsxLustreWithContext is the same as DescribeLocationFsxLustre with the addition of the ability to pass a context and additional request options.
See DescribeLocationFsxLustre 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 *DataSync) DescribeLocationFsxOntap(input *DescribeLocationFsxOntapInput) (*DescribeLocationFsxOntapOutput, error)
DescribeLocationFsxOntap API operation for AWS DataSync.
Provides details about how an DataSync transfer location for an Amazon FSx for NetApp ONTAP file system is configured.
If your location uses SMB, the DescribeLocationFsxOntap operation doesn't actually return a Password.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS DataSync's API operation DescribeLocationFsxOntap for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) DescribeLocationFsxOntapRequest(input *DescribeLocationFsxOntapInput) (req *request.Request, output *DescribeLocationFsxOntapOutput)
DescribeLocationFsxOntapRequest generates a "aws/request.Request" representing the client's request for the DescribeLocationFsxOntap 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 DescribeLocationFsxOntap for more information on using the DescribeLocationFsxOntap 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 DescribeLocationFsxOntapRequest method. req, resp := client.DescribeLocationFsxOntapRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) DescribeLocationFsxOntapWithContext(ctx aws.Context, input *DescribeLocationFsxOntapInput, opts ...request.Option) (*DescribeLocationFsxOntapOutput, error)
DescribeLocationFsxOntapWithContext is the same as DescribeLocationFsxOntap with the addition of the ability to pass a context and additional request options.
See DescribeLocationFsxOntap 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 *DataSync) DescribeLocationFsxOpenZfs(input *DescribeLocationFsxOpenZfsInput) (*DescribeLocationFsxOpenZfsOutput, error)
DescribeLocationFsxOpenZfs API operation for AWS DataSync.
Provides details about how an DataSync transfer location for an Amazon FSx for OpenZFS file system is configured.
Response elements related to SMB aren't supported with the DescribeLocationFsxOpenZfs operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS DataSync's API operation DescribeLocationFsxOpenZfs for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) DescribeLocationFsxOpenZfsRequest(input *DescribeLocationFsxOpenZfsInput) (req *request.Request, output *DescribeLocationFsxOpenZfsOutput)
DescribeLocationFsxOpenZfsRequest generates a "aws/request.Request" representing the client's request for the DescribeLocationFsxOpenZfs 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 DescribeLocationFsxOpenZfs for more information on using the DescribeLocationFsxOpenZfs 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 DescribeLocationFsxOpenZfsRequest method. req, resp := client.DescribeLocationFsxOpenZfsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) DescribeLocationFsxOpenZfsWithContext(ctx aws.Context, input *DescribeLocationFsxOpenZfsInput, opts ...request.Option) (*DescribeLocationFsxOpenZfsOutput, error)
DescribeLocationFsxOpenZfsWithContext is the same as DescribeLocationFsxOpenZfs with the addition of the ability to pass a context and additional request options.
See DescribeLocationFsxOpenZfs 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 *DataSync) DescribeLocationFsxWindows(input *DescribeLocationFsxWindowsInput) (*DescribeLocationFsxWindowsOutput, error)
DescribeLocationFsxWindows API operation for AWS DataSync.
Provides details about how an DataSync transfer location for an Amazon FSx for Windows File Server file system is configured.
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 DataSync's API operation DescribeLocationFsxWindows for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) DescribeLocationFsxWindowsRequest(input *DescribeLocationFsxWindowsInput) (req *request.Request, output *DescribeLocationFsxWindowsOutput)
DescribeLocationFsxWindowsRequest generates a "aws/request.Request" representing the client's request for the DescribeLocationFsxWindows 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 DescribeLocationFsxWindows for more information on using the DescribeLocationFsxWindows 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 DescribeLocationFsxWindowsRequest method. req, resp := client.DescribeLocationFsxWindowsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) DescribeLocationFsxWindowsWithContext(ctx aws.Context, input *DescribeLocationFsxWindowsInput, opts ...request.Option) (*DescribeLocationFsxWindowsOutput, error)
DescribeLocationFsxWindowsWithContext is the same as DescribeLocationFsxWindows with the addition of the ability to pass a context and additional request options.
See DescribeLocationFsxWindows 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 *DataSync) DescribeLocationHdfs(input *DescribeLocationHdfsInput) (*DescribeLocationHdfsOutput, error)
DescribeLocationHdfs API operation for AWS DataSync.
Provides details about how an DataSync transfer location for a Hadoop Distributed File System (HDFS) is configured.
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 DataSync's API operation DescribeLocationHdfs for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) DescribeLocationHdfsRequest(input *DescribeLocationHdfsInput) (req *request.Request, output *DescribeLocationHdfsOutput)
DescribeLocationHdfsRequest generates a "aws/request.Request" representing the client's request for the DescribeLocationHdfs 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 DescribeLocationHdfs for more information on using the DescribeLocationHdfs 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 DescribeLocationHdfsRequest method. req, resp := client.DescribeLocationHdfsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) DescribeLocationHdfsWithContext(ctx aws.Context, input *DescribeLocationHdfsInput, opts ...request.Option) (*DescribeLocationHdfsOutput, error)
DescribeLocationHdfsWithContext is the same as DescribeLocationHdfs with the addition of the ability to pass a context and additional request options.
See DescribeLocationHdfs 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 *DataSync) DescribeLocationNfs(input *DescribeLocationNfsInput) (*DescribeLocationNfsOutput, error)
DescribeLocationNfs API operation for AWS DataSync.
Provides details about how an DataSync transfer location for a Network File System (NFS) file server is configured.
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 DataSync's API operation DescribeLocationNfs for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationNfs
func (c *DataSync) DescribeLocationNfsRequest(input *DescribeLocationNfsInput) (req *request.Request, output *DescribeLocationNfsOutput)
DescribeLocationNfsRequest generates a "aws/request.Request" representing the client's request for the DescribeLocationNfs 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 DescribeLocationNfs for more information on using the DescribeLocationNfs 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 DescribeLocationNfsRequest method. req, resp := client.DescribeLocationNfsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationNfs
func (c *DataSync) DescribeLocationNfsWithContext(ctx aws.Context, input *DescribeLocationNfsInput, opts ...request.Option) (*DescribeLocationNfsOutput, error)
DescribeLocationNfsWithContext is the same as DescribeLocationNfs with the addition of the ability to pass a context and additional request options.
See DescribeLocationNfs 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 *DataSync) DescribeLocationObjectStorage(input *DescribeLocationObjectStorageInput) (*DescribeLocationObjectStorageOutput, error)
DescribeLocationObjectStorage API operation for AWS DataSync.
Provides details about how an DataSync transfer location for an object storage system is configured.
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 DataSync's API operation DescribeLocationObjectStorage for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) DescribeLocationObjectStorageRequest(input *DescribeLocationObjectStorageInput) (req *request.Request, output *DescribeLocationObjectStorageOutput)
DescribeLocationObjectStorageRequest generates a "aws/request.Request" representing the client's request for the DescribeLocationObjectStorage 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 DescribeLocationObjectStorage for more information on using the DescribeLocationObjectStorage 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 DescribeLocationObjectStorageRequest method. req, resp := client.DescribeLocationObjectStorageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) DescribeLocationObjectStorageWithContext(ctx aws.Context, input *DescribeLocationObjectStorageInput, opts ...request.Option) (*DescribeLocationObjectStorageOutput, error)
DescribeLocationObjectStorageWithContext is the same as DescribeLocationObjectStorage with the addition of the ability to pass a context and additional request options.
See DescribeLocationObjectStorage 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 *DataSync) DescribeLocationS3(input *DescribeLocationS3Input) (*DescribeLocationS3Output, error)
DescribeLocationS3 API operation for AWS DataSync.
Provides details about how an DataSync transfer location for an S3 bucket is configured.
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 DataSync's API operation DescribeLocationS3 for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationS3
func (c *DataSync) DescribeLocationS3Request(input *DescribeLocationS3Input) (req *request.Request, output *DescribeLocationS3Output)
DescribeLocationS3Request generates a "aws/request.Request" representing the client's request for the DescribeLocationS3 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 DescribeLocationS3 for more information on using the DescribeLocationS3 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 DescribeLocationS3Request method. req, resp := client.DescribeLocationS3Request(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationS3
func (c *DataSync) DescribeLocationS3WithContext(ctx aws.Context, input *DescribeLocationS3Input, opts ...request.Option) (*DescribeLocationS3Output, error)
DescribeLocationS3WithContext is the same as DescribeLocationS3 with the addition of the ability to pass a context and additional request options.
See DescribeLocationS3 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 *DataSync) DescribeLocationSmb(input *DescribeLocationSmbInput) (*DescribeLocationSmbOutput, error)
DescribeLocationSmb API operation for AWS DataSync.
Provides details about how an DataSync transfer location for a Server Message Block (SMB) file server is configured.
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 DataSync's API operation DescribeLocationSmb for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmb
func (c *DataSync) DescribeLocationSmbRequest(input *DescribeLocationSmbInput) (req *request.Request, output *DescribeLocationSmbOutput)
DescribeLocationSmbRequest generates a "aws/request.Request" representing the client's request for the DescribeLocationSmb 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 DescribeLocationSmb for more information on using the DescribeLocationSmb 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 DescribeLocationSmbRequest method. req, resp := client.DescribeLocationSmbRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmb
func (c *DataSync) DescribeLocationSmbWithContext(ctx aws.Context, input *DescribeLocationSmbInput, opts ...request.Option) (*DescribeLocationSmbOutput, error)
DescribeLocationSmbWithContext is the same as DescribeLocationSmb with the addition of the ability to pass a context and additional request options.
See DescribeLocationSmb 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 *DataSync) DescribeStorageSystem(input *DescribeStorageSystemInput) (*DescribeStorageSystemOutput, error)
DescribeStorageSystem API operation for AWS DataSync.
Returns information about an on-premises storage system that you're using with DataSync Discovery.
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 DataSync's API operation DescribeStorageSystem for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) DescribeStorageSystemRequest(input *DescribeStorageSystemInput) (req *request.Request, output *DescribeStorageSystemOutput)
DescribeStorageSystemRequest generates a "aws/request.Request" representing the client's request for the DescribeStorageSystem 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 DescribeStorageSystem for more information on using the DescribeStorageSystem 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 DescribeStorageSystemRequest method. req, resp := client.DescribeStorageSystemRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) DescribeStorageSystemResourceMetrics(input *DescribeStorageSystemResourceMetricsInput) (*DescribeStorageSystemResourceMetricsOutput, error)
DescribeStorageSystemResourceMetrics API operation for AWS DataSync.
Returns information, including performance data and capacity usage, which DataSync Discovery collects about a specific resource in your-premises storage system.
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 DataSync's API operation DescribeStorageSystemResourceMetrics for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) DescribeStorageSystemResourceMetricsPages(input *DescribeStorageSystemResourceMetricsInput, fn func(*DescribeStorageSystemResourceMetricsOutput, bool) bool) error
DescribeStorageSystemResourceMetricsPages iterates over the pages of a DescribeStorageSystemResourceMetrics operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeStorageSystemResourceMetrics method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeStorageSystemResourceMetrics operation. pageNum := 0 err := client.DescribeStorageSystemResourceMetricsPages(params, func(page *datasync.DescribeStorageSystemResourceMetricsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *DataSync) DescribeStorageSystemResourceMetricsPagesWithContext(ctx aws.Context, input *DescribeStorageSystemResourceMetricsInput, fn func(*DescribeStorageSystemResourceMetricsOutput, bool) bool, opts ...request.Option) error
DescribeStorageSystemResourceMetricsPagesWithContext same as DescribeStorageSystemResourceMetricsPages except it takes a Context and allows setting request options on the pages.
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 *DataSync) DescribeStorageSystemResourceMetricsRequest(input *DescribeStorageSystemResourceMetricsInput) (req *request.Request, output *DescribeStorageSystemResourceMetricsOutput)
DescribeStorageSystemResourceMetricsRequest generates a "aws/request.Request" representing the client's request for the DescribeStorageSystemResourceMetrics 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 DescribeStorageSystemResourceMetrics for more information on using the DescribeStorageSystemResourceMetrics 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 DescribeStorageSystemResourceMetricsRequest method. req, resp := client.DescribeStorageSystemResourceMetricsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) DescribeStorageSystemResourceMetricsWithContext(ctx aws.Context, input *DescribeStorageSystemResourceMetricsInput, opts ...request.Option) (*DescribeStorageSystemResourceMetricsOutput, error)
DescribeStorageSystemResourceMetricsWithContext is the same as DescribeStorageSystemResourceMetrics with the addition of the ability to pass a context and additional request options.
See DescribeStorageSystemResourceMetrics 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 *DataSync) DescribeStorageSystemResources(input *DescribeStorageSystemResourcesInput) (*DescribeStorageSystemResourcesOutput, error)
DescribeStorageSystemResources API operation for AWS DataSync.
Returns information that DataSync Discovery collects about resources in your on-premises storage system.
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 DataSync's API operation DescribeStorageSystemResources for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) DescribeStorageSystemResourcesPages(input *DescribeStorageSystemResourcesInput, fn func(*DescribeStorageSystemResourcesOutput, bool) bool) error
DescribeStorageSystemResourcesPages iterates over the pages of a DescribeStorageSystemResources operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeStorageSystemResources method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeStorageSystemResources operation. pageNum := 0 err := client.DescribeStorageSystemResourcesPages(params, func(page *datasync.DescribeStorageSystemResourcesOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *DataSync) DescribeStorageSystemResourcesPagesWithContext(ctx aws.Context, input *DescribeStorageSystemResourcesInput, fn func(*DescribeStorageSystemResourcesOutput, bool) bool, opts ...request.Option) error
DescribeStorageSystemResourcesPagesWithContext same as DescribeStorageSystemResourcesPages except it takes a Context and allows setting request options on the pages.
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 *DataSync) DescribeStorageSystemResourcesRequest(input *DescribeStorageSystemResourcesInput) (req *request.Request, output *DescribeStorageSystemResourcesOutput)
DescribeStorageSystemResourcesRequest generates a "aws/request.Request" representing the client's request for the DescribeStorageSystemResources 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 DescribeStorageSystemResources for more information on using the DescribeStorageSystemResources 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 DescribeStorageSystemResourcesRequest method. req, resp := client.DescribeStorageSystemResourcesRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) DescribeStorageSystemResourcesWithContext(ctx aws.Context, input *DescribeStorageSystemResourcesInput, opts ...request.Option) (*DescribeStorageSystemResourcesOutput, error)
DescribeStorageSystemResourcesWithContext is the same as DescribeStorageSystemResources with the addition of the ability to pass a context and additional request options.
See DescribeStorageSystemResources 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 *DataSync) DescribeStorageSystemWithContext(ctx aws.Context, input *DescribeStorageSystemInput, opts ...request.Option) (*DescribeStorageSystemOutput, error)
DescribeStorageSystemWithContext is the same as DescribeStorageSystem with the addition of the ability to pass a context and additional request options.
See DescribeStorageSystem 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 *DataSync) DescribeTask(input *DescribeTaskInput) (*DescribeTaskOutput, error)
DescribeTask API operation for AWS DataSync.
Provides information about a task, which defines where and how DataSync transfers your data.
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 DataSync's API operation DescribeTask for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTask
func (c *DataSync) DescribeTaskExecution(input *DescribeTaskExecutionInput) (*DescribeTaskExecutionOutput, error)
DescribeTaskExecution API operation for AWS DataSync.
Provides information about an execution of your DataSync task. You can use this operation to help monitor the progress of an ongoing transfer or check the results of the transfer.
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 DataSync's API operation DescribeTaskExecution for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) DescribeTaskExecutionRequest(input *DescribeTaskExecutionInput) (req *request.Request, output *DescribeTaskExecutionOutput)
DescribeTaskExecutionRequest generates a "aws/request.Request" representing the client's request for the DescribeTaskExecution 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 DescribeTaskExecution for more information on using the DescribeTaskExecution 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 DescribeTaskExecutionRequest method. req, resp := client.DescribeTaskExecutionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) DescribeTaskExecutionWithContext(ctx aws.Context, input *DescribeTaskExecutionInput, opts ...request.Option) (*DescribeTaskExecutionOutput, error)
DescribeTaskExecutionWithContext is the same as DescribeTaskExecution with the addition of the ability to pass a context and additional request options.
See DescribeTaskExecution 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 *DataSync) DescribeTaskRequest(input *DescribeTaskInput) (req *request.Request, output *DescribeTaskOutput)
DescribeTaskRequest generates a "aws/request.Request" representing the client's request for the DescribeTask 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 DescribeTask for more information on using the DescribeTask 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 DescribeTaskRequest method. req, resp := client.DescribeTaskRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTask
func (c *DataSync) DescribeTaskWithContext(ctx aws.Context, input *DescribeTaskInput, opts ...request.Option) (*DescribeTaskOutput, error)
DescribeTaskWithContext is the same as DescribeTask with the addition of the ability to pass a context and additional request options.
See DescribeTask 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 *DataSync) GenerateRecommendations(input *GenerateRecommendationsInput) (*GenerateRecommendationsOutput, error)
GenerateRecommendations API operation for AWS DataSync.
Creates recommendations about where to migrate your data to in Amazon Web Services. Recommendations are generated based on information that DataSync Discovery collects about your on-premises storage system's resources. For more information, see Recommendations provided by DataSync Discovery (https://docs.aws.amazon.com/datasync/latest/userguide/discovery-understand-recommendations.html).
Once generated, you can view your recommendations by using the DescribeStorageSystemResources (https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeStorageSystemResources.html) operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS DataSync's API operation GenerateRecommendations for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) GenerateRecommendationsRequest(input *GenerateRecommendationsInput) (req *request.Request, output *GenerateRecommendationsOutput)
GenerateRecommendationsRequest generates a "aws/request.Request" representing the client's request for the GenerateRecommendations 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 GenerateRecommendations for more information on using the GenerateRecommendations 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 GenerateRecommendationsRequest method. req, resp := client.GenerateRecommendationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) GenerateRecommendationsWithContext(ctx aws.Context, input *GenerateRecommendationsInput, opts ...request.Option) (*GenerateRecommendationsOutput, error)
GenerateRecommendationsWithContext is the same as GenerateRecommendations with the addition of the ability to pass a context and additional request options.
See GenerateRecommendations 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 *DataSync) ListAgents(input *ListAgentsInput) (*ListAgentsOutput, error)
ListAgents API operation for AWS DataSync.
Returns a list of DataSync agents that belong to an Amazon Web Services account in the Amazon Web Services Region specified in the request.
With pagination, you can reduce the number of agents returned in a response. If you get a truncated list of agents in a response, the response contains a marker that you can specify in your next request to fetch the next page of agents.
ListAgents is eventually consistent. This means the result of running the operation might not reflect that you just created or deleted an agent. For example, if you create an agent with CreateAgent (https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateAgent.html) and then immediately run ListAgents, that agent might not show up in the list right away. In situations like this, you can always confirm whether an agent has been created (or deleted) by using DescribeAgent (https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeAgent.html).
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 DataSync's API operation ListAgents for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListAgents
func (c *DataSync) ListAgentsPages(input *ListAgentsInput, fn func(*ListAgentsOutput, bool) bool) error
ListAgentsPages iterates over the pages of a ListAgents operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListAgents method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListAgents operation. pageNum := 0 err := client.ListAgentsPages(params, func(page *datasync.ListAgentsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *DataSync) ListAgentsPagesWithContext(ctx aws.Context, input *ListAgentsInput, fn func(*ListAgentsOutput, bool) bool, opts ...request.Option) error
ListAgentsPagesWithContext same as ListAgentsPages except it takes a Context and allows setting request options on the pages.
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 *DataSync) ListAgentsRequest(input *ListAgentsInput) (req *request.Request, output *ListAgentsOutput)
ListAgentsRequest generates a "aws/request.Request" representing the client's request for the ListAgents 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 ListAgents for more information on using the ListAgents 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 ListAgentsRequest method. req, resp := client.ListAgentsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListAgents
func (c *DataSync) ListAgentsWithContext(ctx aws.Context, input *ListAgentsInput, opts ...request.Option) (*ListAgentsOutput, error)
ListAgentsWithContext is the same as ListAgents with the addition of the ability to pass a context and additional request options.
See ListAgents 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 *DataSync) ListDiscoveryJobs(input *ListDiscoveryJobsInput) (*ListDiscoveryJobsOutput, error)
ListDiscoveryJobs API operation for AWS DataSync.
Provides a list of the existing discovery jobs in the Amazon Web Services Region and Amazon Web Services account where you're using DataSync Discovery.
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 DataSync's API operation ListDiscoveryJobs for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListDiscoveryJobs
func (c *DataSync) ListDiscoveryJobsPages(input *ListDiscoveryJobsInput, fn func(*ListDiscoveryJobsOutput, bool) bool) error
ListDiscoveryJobsPages iterates over the pages of a ListDiscoveryJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListDiscoveryJobs method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListDiscoveryJobs operation. pageNum := 0 err := client.ListDiscoveryJobsPages(params, func(page *datasync.ListDiscoveryJobsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *DataSync) ListDiscoveryJobsPagesWithContext(ctx aws.Context, input *ListDiscoveryJobsInput, fn func(*ListDiscoveryJobsOutput, bool) bool, opts ...request.Option) error
ListDiscoveryJobsPagesWithContext same as ListDiscoveryJobsPages except it takes a Context and allows setting request options on the pages.
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 *DataSync) ListDiscoveryJobsRequest(input *ListDiscoveryJobsInput) (req *request.Request, output *ListDiscoveryJobsOutput)
ListDiscoveryJobsRequest generates a "aws/request.Request" representing the client's request for the ListDiscoveryJobs 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 ListDiscoveryJobs for more information on using the ListDiscoveryJobs 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 ListDiscoveryJobsRequest method. req, resp := client.ListDiscoveryJobsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListDiscoveryJobs
func (c *DataSync) ListDiscoveryJobsWithContext(ctx aws.Context, input *ListDiscoveryJobsInput, opts ...request.Option) (*ListDiscoveryJobsOutput, error)
ListDiscoveryJobsWithContext is the same as ListDiscoveryJobs with the addition of the ability to pass a context and additional request options.
See ListDiscoveryJobs 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 *DataSync) ListLocations(input *ListLocationsInput) (*ListLocationsOutput, error)
ListLocations API operation for AWS DataSync.
Returns a list of source and destination locations.
If you have more locations than are returned in a response (that is, the response returns only a truncated list of your agents), the response contains a token that you can specify in your next request to fetch the next page of locations.
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 DataSync's API operation ListLocations for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListLocations
func (c *DataSync) ListLocationsPages(input *ListLocationsInput, fn func(*ListLocationsOutput, bool) bool) error
ListLocationsPages iterates over the pages of a ListLocations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListLocations method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListLocations operation. pageNum := 0 err := client.ListLocationsPages(params, func(page *datasync.ListLocationsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *DataSync) ListLocationsPagesWithContext(ctx aws.Context, input *ListLocationsInput, fn func(*ListLocationsOutput, bool) bool, opts ...request.Option) error
ListLocationsPagesWithContext same as ListLocationsPages except it takes a Context and allows setting request options on the pages.
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 *DataSync) ListLocationsRequest(input *ListLocationsInput) (req *request.Request, output *ListLocationsOutput)
ListLocationsRequest generates a "aws/request.Request" representing the client's request for the ListLocations 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 ListLocations for more information on using the ListLocations 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 ListLocationsRequest method. req, resp := client.ListLocationsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListLocations
func (c *DataSync) ListLocationsWithContext(ctx aws.Context, input *ListLocationsInput, opts ...request.Option) (*ListLocationsOutput, error)
ListLocationsWithContext is the same as ListLocations with the addition of the ability to pass a context and additional request options.
See ListLocations 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 *DataSync) ListStorageSystems(input *ListStorageSystemsInput) (*ListStorageSystemsOutput, error)
ListStorageSystems API operation for AWS DataSync.
Lists the on-premises storage systems that you're using with DataSync Discovery.
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 DataSync's API operation ListStorageSystems for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListStorageSystems
func (c *DataSync) ListStorageSystemsPages(input *ListStorageSystemsInput, fn func(*ListStorageSystemsOutput, bool) bool) error
ListStorageSystemsPages iterates over the pages of a ListStorageSystems operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListStorageSystems method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListStorageSystems operation. pageNum := 0 err := client.ListStorageSystemsPages(params, func(page *datasync.ListStorageSystemsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *DataSync) ListStorageSystemsPagesWithContext(ctx aws.Context, input *ListStorageSystemsInput, fn func(*ListStorageSystemsOutput, bool) bool, opts ...request.Option) error
ListStorageSystemsPagesWithContext same as ListStorageSystemsPages except it takes a Context and allows setting request options on the pages.
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 *DataSync) ListStorageSystemsRequest(input *ListStorageSystemsInput) (req *request.Request, output *ListStorageSystemsOutput)
ListStorageSystemsRequest generates a "aws/request.Request" representing the client's request for the ListStorageSystems 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 ListStorageSystems for more information on using the ListStorageSystems 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 ListStorageSystemsRequest method. req, resp := client.ListStorageSystemsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListStorageSystems
func (c *DataSync) ListStorageSystemsWithContext(ctx aws.Context, input *ListStorageSystemsInput, opts ...request.Option) (*ListStorageSystemsOutput, error)
ListStorageSystemsWithContext is the same as ListStorageSystems with the addition of the ability to pass a context and additional request options.
See ListStorageSystems 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 *DataSync) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)
ListTagsForResource API operation for AWS DataSync.
Returns all the tags associated with an Amazon Web Services resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS DataSync's API operation ListTagsForResource for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListTagsForResource
func (c *DataSync) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error
ListTagsForResourcePages iterates over the pages of a ListTagsForResource operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListTagsForResource method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListTagsForResource operation. pageNum := 0 err := client.ListTagsForResourcePages(params, func(page *datasync.ListTagsForResourceOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *DataSync) ListTagsForResourcePagesWithContext(ctx aws.Context, input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool, opts ...request.Option) error
ListTagsForResourcePagesWithContext same as ListTagsForResourcePages except it takes a Context and allows setting request options on the pages.
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 *DataSync) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput)
ListTagsForResourceRequest generates a "aws/request.Request" representing the client's request for the ListTagsForResource operation. The "output" return value 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 ListTagsForResource for more information on using the ListTagsForResource 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 ListTagsForResourceRequest method. req, resp := client.ListTagsForResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListTagsForResource
func (c *DataSync) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error)
ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of the ability to pass a context and additional request options.
See ListTagsForResource 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 *DataSync) ListTaskExecutions(input *ListTaskExecutionsInput) (*ListTaskExecutionsOutput, error)
ListTaskExecutions API operation for AWS DataSync.
Returns a list of executions for an DataSync transfer task.
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 DataSync's API operation ListTaskExecutions for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListTaskExecutions
func (c *DataSync) ListTaskExecutionsPages(input *ListTaskExecutionsInput, fn func(*ListTaskExecutionsOutput, bool) bool) error
ListTaskExecutionsPages iterates over the pages of a ListTaskExecutions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListTaskExecutions method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListTaskExecutions operation. pageNum := 0 err := client.ListTaskExecutionsPages(params, func(page *datasync.ListTaskExecutionsOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *DataSync) ListTaskExecutionsPagesWithContext(ctx aws.Context, input *ListTaskExecutionsInput, fn func(*ListTaskExecutionsOutput, bool) bool, opts ...request.Option) error
ListTaskExecutionsPagesWithContext same as ListTaskExecutionsPages except it takes a Context and allows setting request options on the pages.
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 *DataSync) ListTaskExecutionsRequest(input *ListTaskExecutionsInput) (req *request.Request, output *ListTaskExecutionsOutput)
ListTaskExecutionsRequest generates a "aws/request.Request" representing the client's request for the ListTaskExecutions 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 ListTaskExecutions for more information on using the ListTaskExecutions 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 ListTaskExecutionsRequest method. req, resp := client.ListTaskExecutionsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListTaskExecutions
func (c *DataSync) ListTaskExecutionsWithContext(ctx aws.Context, input *ListTaskExecutionsInput, opts ...request.Option) (*ListTaskExecutionsOutput, error)
ListTaskExecutionsWithContext is the same as ListTaskExecutions with the addition of the ability to pass a context and additional request options.
See ListTaskExecutions 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 *DataSync) ListTasks(input *ListTasksInput) (*ListTasksOutput, error)
ListTasks API operation for AWS DataSync.
Returns a list of the DataSync tasks you created.
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 DataSync's API operation ListTasks for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListTasks
func (c *DataSync) ListTasksPages(input *ListTasksInput, fn func(*ListTasksOutput, bool) bool) error
ListTasksPages iterates over the pages of a ListTasks operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See ListTasks method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a ListTasks operation. pageNum := 0 err := client.ListTasksPages(params, func(page *datasync.ListTasksOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (c *DataSync) ListTasksPagesWithContext(ctx aws.Context, input *ListTasksInput, fn func(*ListTasksOutput, bool) bool, opts ...request.Option) error
ListTasksPagesWithContext same as ListTasksPages except it takes a Context and allows setting request options on the pages.
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 *DataSync) ListTasksRequest(input *ListTasksInput) (req *request.Request, output *ListTasksOutput)
ListTasksRequest generates a "aws/request.Request" representing the client's request for the ListTasks 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 ListTasks for more information on using the ListTasks 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 ListTasksRequest method. req, resp := client.ListTasksRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListTasks
func (c *DataSync) ListTasksWithContext(ctx aws.Context, input *ListTasksInput, opts ...request.Option) (*ListTasksOutput, error)
ListTasksWithContext is the same as ListTasks with the addition of the ability to pass a context and additional request options.
See ListTasks 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 *DataSync) RemoveStorageSystem(input *RemoveStorageSystemInput) (*RemoveStorageSystemOutput, error)
RemoveStorageSystem API operation for AWS DataSync.
Permanently removes a storage system resource from DataSync Discovery, including the associated discovery jobs, collected data, and recommendations.
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 DataSync's API operation RemoveStorageSystem for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/RemoveStorageSystem
func (c *DataSync) RemoveStorageSystemRequest(input *RemoveStorageSystemInput) (req *request.Request, output *RemoveStorageSystemOutput)
RemoveStorageSystemRequest generates a "aws/request.Request" representing the client's request for the RemoveStorageSystem 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 RemoveStorageSystem for more information on using the RemoveStorageSystem 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 RemoveStorageSystemRequest method. req, resp := client.RemoveStorageSystemRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/RemoveStorageSystem
func (c *DataSync) RemoveStorageSystemWithContext(ctx aws.Context, input *RemoveStorageSystemInput, opts ...request.Option) (*RemoveStorageSystemOutput, error)
RemoveStorageSystemWithContext is the same as RemoveStorageSystem with the addition of the ability to pass a context and additional request options.
See RemoveStorageSystem 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 *DataSync) StartDiscoveryJob(input *StartDiscoveryJobInput) (*StartDiscoveryJobOutput, error)
StartDiscoveryJob API operation for AWS DataSync.
Runs a DataSync discovery job on your on-premises storage system. If you haven't added the storage system to DataSync Discovery yet, do this first by using the AddStorageSystem (https://docs.aws.amazon.com/datasync/latest/userguide/API_AddStorageSystem.html) operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS DataSync's API operation StartDiscoveryJob for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/StartDiscoveryJob
func (c *DataSync) StartDiscoveryJobRequest(input *StartDiscoveryJobInput) (req *request.Request, output *StartDiscoveryJobOutput)
StartDiscoveryJobRequest generates a "aws/request.Request" representing the client's request for the StartDiscoveryJob 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 StartDiscoveryJob for more information on using the StartDiscoveryJob 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 StartDiscoveryJobRequest method. req, resp := client.StartDiscoveryJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/StartDiscoveryJob
func (c *DataSync) StartDiscoveryJobWithContext(ctx aws.Context, input *StartDiscoveryJobInput, opts ...request.Option) (*StartDiscoveryJobOutput, error)
StartDiscoveryJobWithContext is the same as StartDiscoveryJob with the addition of the ability to pass a context and additional request options.
See StartDiscoveryJob 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 *DataSync) StartTaskExecution(input *StartTaskExecutionInput) (*StartTaskExecutionOutput, error)
StartTaskExecution API operation for AWS DataSync.
Starts an DataSync transfer task. For each task, you can only run one task execution at a time.
There are several phases to a task execution. For more information, see Task execution statuses (https://docs.aws.amazon.com/datasync/latest/userguide/working-with-task-executions.html#understand-task-execution-statuses).
If you're planning to transfer data to or from an Amazon S3 location, review how DataSync can affect your S3 request charges (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-s3-requests) and the DataSync pricing page (http://aws.amazon.com/datasync/pricing/) before you begin.
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 DataSync's API operation StartTaskExecution for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/StartTaskExecution
func (c *DataSync) StartTaskExecutionRequest(input *StartTaskExecutionInput) (req *request.Request, output *StartTaskExecutionOutput)
StartTaskExecutionRequest generates a "aws/request.Request" representing the client's request for the StartTaskExecution 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 StartTaskExecution for more information on using the StartTaskExecution 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 StartTaskExecutionRequest method. req, resp := client.StartTaskExecutionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/StartTaskExecution
func (c *DataSync) StartTaskExecutionWithContext(ctx aws.Context, input *StartTaskExecutionInput, opts ...request.Option) (*StartTaskExecutionOutput, error)
StartTaskExecutionWithContext is the same as StartTaskExecution with the addition of the ability to pass a context and additional request options.
See StartTaskExecution 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 *DataSync) StopDiscoveryJob(input *StopDiscoveryJobInput) (*StopDiscoveryJobOutput, error)
StopDiscoveryJob API operation for AWS DataSync.
Stops a running DataSync discovery job.
You can stop a discovery job anytime. A job that's stopped before it's scheduled to end likely will provide you some information about your on-premises storage system resources. To get recommendations for a stopped job, you must use the GenerateRecommendations (https://docs.aws.amazon.com/datasync/latest/userguide/API_GenerateRecommendations.html) operation.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS DataSync's API operation StopDiscoveryJob for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/StopDiscoveryJob
func (c *DataSync) StopDiscoveryJobRequest(input *StopDiscoveryJobInput) (req *request.Request, output *StopDiscoveryJobOutput)
StopDiscoveryJobRequest generates a "aws/request.Request" representing the client's request for the StopDiscoveryJob 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 StopDiscoveryJob for more information on using the StopDiscoveryJob 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 StopDiscoveryJobRequest method. req, resp := client.StopDiscoveryJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/StopDiscoveryJob
func (c *DataSync) StopDiscoveryJobWithContext(ctx aws.Context, input *StopDiscoveryJobInput, opts ...request.Option) (*StopDiscoveryJobOutput, error)
StopDiscoveryJobWithContext is the same as StopDiscoveryJob with the addition of the ability to pass a context and additional request options.
See StopDiscoveryJob 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 *DataSync) TagResource(input *TagResourceInput) (*TagResourceOutput, error)
TagResource API operation for AWS DataSync.
Applies a tag to an Amazon Web Services resource. Tags are key-value pairs that can help you manage, filter, and search for your resources.
These include DataSync resources, such as locations, tasks, and task executions.
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 DataSync's API operation TagResource for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/TagResource
func (c *DataSync) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput)
TagResourceRequest generates a "aws/request.Request" representing the client's request for the TagResource 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 TagResource for more information on using the TagResource 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 TagResourceRequest method. req, resp := client.TagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/TagResource
func (c *DataSync) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error)
TagResourceWithContext is the same as TagResource with the addition of the ability to pass a context and additional request options.
See TagResource 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 *DataSync) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)
UntagResource API operation for AWS DataSync.
Removes tags from an Amazon Web Services resource.
Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.
See the AWS API reference guide for AWS DataSync's API operation UntagResource for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UntagResource
func (c *DataSync) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput)
UntagResourceRequest generates a "aws/request.Request" representing the client's request for the UntagResource 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 UntagResource for more information on using the UntagResource 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 UntagResourceRequest method. req, resp := client.UntagResourceRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UntagResource
func (c *DataSync) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error)
UntagResourceWithContext is the same as UntagResource with the addition of the ability to pass a context and additional request options.
See UntagResource 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 *DataSync) UpdateAgent(input *UpdateAgentInput) (*UpdateAgentOutput, error)
UpdateAgent API operation for AWS DataSync.
Updates the name of an DataSync agent.
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 DataSync's API operation UpdateAgent for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateAgent
func (c *DataSync) UpdateAgentRequest(input *UpdateAgentInput) (req *request.Request, output *UpdateAgentOutput)
UpdateAgentRequest generates a "aws/request.Request" representing the client's request for the UpdateAgent 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 UpdateAgent for more information on using the UpdateAgent 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 UpdateAgentRequest method. req, resp := client.UpdateAgentRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateAgent
func (c *DataSync) UpdateAgentWithContext(ctx aws.Context, input *UpdateAgentInput, opts ...request.Option) (*UpdateAgentOutput, error)
UpdateAgentWithContext is the same as UpdateAgent with the addition of the ability to pass a context and additional request options.
See UpdateAgent 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 *DataSync) UpdateDiscoveryJob(input *UpdateDiscoveryJobInput) (*UpdateDiscoveryJobOutput, error)
UpdateDiscoveryJob API operation for AWS DataSync.
Edits a DataSync discovery job configuration.
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 DataSync's API operation UpdateDiscoveryJob for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateDiscoveryJob
func (c *DataSync) UpdateDiscoveryJobRequest(input *UpdateDiscoveryJobInput) (req *request.Request, output *UpdateDiscoveryJobOutput)
UpdateDiscoveryJobRequest generates a "aws/request.Request" representing the client's request for the UpdateDiscoveryJob 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 UpdateDiscoveryJob for more information on using the UpdateDiscoveryJob 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 UpdateDiscoveryJobRequest method. req, resp := client.UpdateDiscoveryJobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateDiscoveryJob
func (c *DataSync) UpdateDiscoveryJobWithContext(ctx aws.Context, input *UpdateDiscoveryJobInput, opts ...request.Option) (*UpdateDiscoveryJobOutput, error)
UpdateDiscoveryJobWithContext is the same as UpdateDiscoveryJob with the addition of the ability to pass a context and additional request options.
See UpdateDiscoveryJob 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 *DataSync) UpdateLocationAzureBlob(input *UpdateLocationAzureBlobInput) (*UpdateLocationAzureBlobOutput, error)
UpdateLocationAzureBlob API operation for AWS DataSync.
Modifies some configurations of the Microsoft Azure Blob Storage transfer location that you're using with DataSync.
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 DataSync's API operation UpdateLocationAzureBlob for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) UpdateLocationAzureBlobRequest(input *UpdateLocationAzureBlobInput) (req *request.Request, output *UpdateLocationAzureBlobOutput)
UpdateLocationAzureBlobRequest generates a "aws/request.Request" representing the client's request for the UpdateLocationAzureBlob 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 UpdateLocationAzureBlob for more information on using the UpdateLocationAzureBlob 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 UpdateLocationAzureBlobRequest method. req, resp := client.UpdateLocationAzureBlobRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) UpdateLocationAzureBlobWithContext(ctx aws.Context, input *UpdateLocationAzureBlobInput, opts ...request.Option) (*UpdateLocationAzureBlobOutput, error)
UpdateLocationAzureBlobWithContext is the same as UpdateLocationAzureBlob with the addition of the ability to pass a context and additional request options.
See UpdateLocationAzureBlob 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 *DataSync) UpdateLocationHdfs(input *UpdateLocationHdfsInput) (*UpdateLocationHdfsOutput, error)
UpdateLocationHdfs API operation for AWS DataSync.
Updates some parameters of a previously created location for a Hadoop Distributed File System cluster.
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 DataSync's API operation UpdateLocationHdfs for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationHdfs
func (c *DataSync) UpdateLocationHdfsRequest(input *UpdateLocationHdfsInput) (req *request.Request, output *UpdateLocationHdfsOutput)
UpdateLocationHdfsRequest generates a "aws/request.Request" representing the client's request for the UpdateLocationHdfs 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 UpdateLocationHdfs for more information on using the UpdateLocationHdfs 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 UpdateLocationHdfsRequest method. req, resp := client.UpdateLocationHdfsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationHdfs
func (c *DataSync) UpdateLocationHdfsWithContext(ctx aws.Context, input *UpdateLocationHdfsInput, opts ...request.Option) (*UpdateLocationHdfsOutput, error)
UpdateLocationHdfsWithContext is the same as UpdateLocationHdfs with the addition of the ability to pass a context and additional request options.
See UpdateLocationHdfs 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 *DataSync) UpdateLocationNfs(input *UpdateLocationNfsInput) (*UpdateLocationNfsOutput, error)
UpdateLocationNfs API operation for AWS DataSync.
Modifies some configurations of the Network File System (NFS) transfer location that you're using with DataSync.
For more information, see Configuring transfers to or from an NFS file server (https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html).
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 DataSync's API operation UpdateLocationNfs for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationNfs
func (c *DataSync) UpdateLocationNfsRequest(input *UpdateLocationNfsInput) (req *request.Request, output *UpdateLocationNfsOutput)
UpdateLocationNfsRequest generates a "aws/request.Request" representing the client's request for the UpdateLocationNfs 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 UpdateLocationNfs for more information on using the UpdateLocationNfs 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 UpdateLocationNfsRequest method. req, resp := client.UpdateLocationNfsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationNfs
func (c *DataSync) UpdateLocationNfsWithContext(ctx aws.Context, input *UpdateLocationNfsInput, opts ...request.Option) (*UpdateLocationNfsOutput, error)
UpdateLocationNfsWithContext is the same as UpdateLocationNfs with the addition of the ability to pass a context and additional request options.
See UpdateLocationNfs 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 *DataSync) UpdateLocationObjectStorage(input *UpdateLocationObjectStorageInput) (*UpdateLocationObjectStorageOutput, error)
UpdateLocationObjectStorage API operation for AWS DataSync.
Updates some parameters of an existing DataSync location for an object storage system.
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 DataSync's API operation UpdateLocationObjectStorage for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
func (c *DataSync) UpdateLocationObjectStorageRequest(input *UpdateLocationObjectStorageInput) (req *request.Request, output *UpdateLocationObjectStorageOutput)
UpdateLocationObjectStorageRequest generates a "aws/request.Request" representing the client's request for the UpdateLocationObjectStorage 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 UpdateLocationObjectStorage for more information on using the UpdateLocationObjectStorage 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 UpdateLocationObjectStorageRequest method. req, resp := client.UpdateLocationObjectStorageRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (c *DataSync) UpdateLocationObjectStorageWithContext(ctx aws.Context, input *UpdateLocationObjectStorageInput, opts ...request.Option) (*UpdateLocationObjectStorageOutput, error)
UpdateLocationObjectStorageWithContext is the same as UpdateLocationObjectStorage with the addition of the ability to pass a context and additional request options.
See UpdateLocationObjectStorage 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 *DataSync) UpdateLocationSmb(input *UpdateLocationSmbInput) (*UpdateLocationSmbOutput, error)
UpdateLocationSmb API operation for AWS DataSync.
Updates some of the parameters of a Server Message Block (SMB) file server location that you can use for DataSync transfers.
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 DataSync's API operation UpdateLocationSmb for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmb
func (c *DataSync) UpdateLocationSmbRequest(input *UpdateLocationSmbInput) (req *request.Request, output *UpdateLocationSmbOutput)
UpdateLocationSmbRequest generates a "aws/request.Request" representing the client's request for the UpdateLocationSmb 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 UpdateLocationSmb for more information on using the UpdateLocationSmb 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 UpdateLocationSmbRequest method. req, resp := client.UpdateLocationSmbRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmb
func (c *DataSync) UpdateLocationSmbWithContext(ctx aws.Context, input *UpdateLocationSmbInput, opts ...request.Option) (*UpdateLocationSmbOutput, error)
UpdateLocationSmbWithContext is the same as UpdateLocationSmb with the addition of the ability to pass a context and additional request options.
See UpdateLocationSmb 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 *DataSync) UpdateStorageSystem(input *UpdateStorageSystemInput) (*UpdateStorageSystemOutput, error)
UpdateStorageSystem API operation for AWS DataSync.
Modifies some configurations of an on-premises storage system resource that you're using with DataSync Discovery.
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 DataSync's API operation UpdateStorageSystem for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateStorageSystem
func (c *DataSync) UpdateStorageSystemRequest(input *UpdateStorageSystemInput) (req *request.Request, output *UpdateStorageSystemOutput)
UpdateStorageSystemRequest generates a "aws/request.Request" representing the client's request for the UpdateStorageSystem 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 UpdateStorageSystem for more information on using the UpdateStorageSystem 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 UpdateStorageSystemRequest method. req, resp := client.UpdateStorageSystemRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateStorageSystem
func (c *DataSync) UpdateStorageSystemWithContext(ctx aws.Context, input *UpdateStorageSystemInput, opts ...request.Option) (*UpdateStorageSystemOutput, error)
UpdateStorageSystemWithContext is the same as UpdateStorageSystem with the addition of the ability to pass a context and additional request options.
See UpdateStorageSystem 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 *DataSync) UpdateTask(input *UpdateTaskInput) (*UpdateTaskOutput, error)
UpdateTask API operation for AWS DataSync.
Updates the configuration of a task, which defines where and how DataSync transfers your data.
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 DataSync's API operation UpdateTask for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateTask
func (c *DataSync) UpdateTaskExecution(input *UpdateTaskExecutionInput) (*UpdateTaskExecutionOutput, error)
UpdateTaskExecution API operation for AWS DataSync.
Updates the configuration of a running DataSync task execution.
Currently, the only Option that you can modify with UpdateTaskExecution is BytesPerSecond (https://docs.aws.amazon.com/datasync/latest/userguide/API_Options.html#DataSync-Type-Options-BytesPerSecond) , which throttles bandwidth for a running or queued task execution.
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 DataSync's API operation UpdateTaskExecution for usage and error information.
Returned Error Types:
InvalidRequestException This exception is thrown when the client submits a malformed request.
InternalException This exception is thrown when an error occurs in the DataSync service.
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateTaskExecution
func (c *DataSync) UpdateTaskExecutionRequest(input *UpdateTaskExecutionInput) (req *request.Request, output *UpdateTaskExecutionOutput)
UpdateTaskExecutionRequest generates a "aws/request.Request" representing the client's request for the UpdateTaskExecution 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 UpdateTaskExecution for more information on using the UpdateTaskExecution 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 UpdateTaskExecutionRequest method. req, resp := client.UpdateTaskExecutionRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateTaskExecution
func (c *DataSync) UpdateTaskExecutionWithContext(ctx aws.Context, input *UpdateTaskExecutionInput, opts ...request.Option) (*UpdateTaskExecutionOutput, error)
UpdateTaskExecutionWithContext is the same as UpdateTaskExecution with the addition of the ability to pass a context and additional request options.
See UpdateTaskExecution 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 *DataSync) UpdateTaskRequest(input *UpdateTaskInput) (req *request.Request, output *UpdateTaskOutput)
UpdateTaskRequest generates a "aws/request.Request" representing the client's request for the UpdateTask 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 UpdateTask for more information on using the UpdateTask 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 UpdateTaskRequest method. req, resp := client.UpdateTaskRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateTask
func (c *DataSync) UpdateTaskWithContext(ctx aws.Context, input *UpdateTaskInput, opts ...request.Option) (*UpdateTaskOutput, error)
UpdateTaskWithContext is the same as UpdateTask with the addition of the ability to pass a context and additional request options.
See UpdateTask 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.
type DeleteAgentInput struct { // The Amazon Resource Name (ARN) of the agent to delete. Use the ListAgents // operation to return a list of agents for your account and Amazon Web Services // Region. // // AgentArn is a required field AgentArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
DeleteAgentRequest
func (s DeleteAgentInput) 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 *DeleteAgentInput) SetAgentArn(v string) *DeleteAgentInput
SetAgentArn sets the AgentArn field's value.
func (s DeleteAgentInput) 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 *DeleteAgentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteAgentOutput struct {
// contains filtered or unexported fields
}
func (s DeleteAgentOutput) 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 DeleteAgentOutput) 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 DeleteLocationInput struct { // The Amazon Resource Name (ARN) of the location to delete. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
DeleteLocation
func (s DeleteLocationInput) 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 *DeleteLocationInput) SetLocationArn(v string) *DeleteLocationInput
SetLocationArn sets the LocationArn field's value.
func (s DeleteLocationInput) 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 *DeleteLocationInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteLocationOutput struct {
// contains filtered or unexported fields
}
func (s DeleteLocationOutput) 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 DeleteLocationOutput) 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 DeleteTaskInput struct { // Specifies the Amazon Resource Name (ARN) of the task that you want to delete. // // TaskArn is a required field TaskArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
DeleteTask
func (s DeleteTaskInput) 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 *DeleteTaskInput) SetTaskArn(v string) *DeleteTaskInput
SetTaskArn sets the TaskArn field's value.
func (s DeleteTaskInput) 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 *DeleteTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DeleteTaskOutput struct {
// contains filtered or unexported fields
}
func (s DeleteTaskOutput) 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 DeleteTaskOutput) 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 DescribeAgentInput struct { // Specifies the Amazon Resource Name (ARN) of the DataSync agent that you want // information about. // // AgentArn is a required field AgentArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
DescribeAgent
func (s DescribeAgentInput) 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 *DescribeAgentInput) SetAgentArn(v string) *DescribeAgentInput
SetAgentArn sets the AgentArn field's value.
func (s DescribeAgentInput) 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 *DescribeAgentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeAgentOutput struct { // The ARN of the agent. AgentArn *string `type:"string"` // The time that the agent was activated (https://docs.aws.amazon.com/datasync/latest/userguide/activate-agent.html). CreationTime *time.Time `type:"timestamp"` // The type of service endpoint (https://docs.aws.amazon.com/datasync/latest/userguide/choose-service-endpoint.html) // that your agent is connected to. EndpointType *string `type:"string" enum:"EndpointType"` // The last time that the agent was communicating with the DataSync service. LastConnectionTime *time.Time `type:"timestamp"` // The name of the agent. Name *string `type:"string"` // The platform-related details about the agent, such as the version number. Platform *Platform `type:"structure"` // The network configuration that the agent uses when connecting to a VPC service // endpoint (https://docs.aws.amazon.com/datasync/latest/userguide/choose-service-endpoint.html#choose-service-endpoint-vpc). PrivateLinkConfig *PrivateLinkConfig `type:"structure"` // The status of the agent. // // * If the status is ONLINE, the agent is configured properly and ready // to use. // // * If the status is OFFLINE, the agent has been out of contact with DataSync // for five minutes or longer. This can happen for a few reasons. For more // information, see What do I do if my agent is offline? (https://docs.aws.amazon.com/datasync/latest/userguide/troubleshooting-datasync-agents.html#troubleshoot-agent-offline) Status *string `type:"string" enum:"AgentStatus"` // contains filtered or unexported fields }
DescribeAgentResponse
func (s DescribeAgentOutput) 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 *DescribeAgentOutput) SetAgentArn(v string) *DescribeAgentOutput
SetAgentArn sets the AgentArn field's value.
func (s *DescribeAgentOutput) SetCreationTime(v time.Time) *DescribeAgentOutput
SetCreationTime sets the CreationTime field's value.
func (s *DescribeAgentOutput) SetEndpointType(v string) *DescribeAgentOutput
SetEndpointType sets the EndpointType field's value.
func (s *DescribeAgentOutput) SetLastConnectionTime(v time.Time) *DescribeAgentOutput
SetLastConnectionTime sets the LastConnectionTime field's value.
func (s *DescribeAgentOutput) SetName(v string) *DescribeAgentOutput
SetName sets the Name field's value.
func (s *DescribeAgentOutput) SetPlatform(v *Platform) *DescribeAgentOutput
SetPlatform sets the Platform field's value.
func (s *DescribeAgentOutput) SetPrivateLinkConfig(v *PrivateLinkConfig) *DescribeAgentOutput
SetPrivateLinkConfig sets the PrivateLinkConfig field's value.
func (s *DescribeAgentOutput) SetStatus(v string) *DescribeAgentOutput
SetStatus sets the Status field's value.
func (s DescribeAgentOutput) 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 DescribeDiscoveryJobInput struct { // Specifies the Amazon Resource Name (ARN) of the discovery job that you want // information about. // // DiscoveryJobArn is a required field DiscoveryJobArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeDiscoveryJobInput) 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 *DescribeDiscoveryJobInput) SetDiscoveryJobArn(v string) *DescribeDiscoveryJobInput
SetDiscoveryJobArn sets the DiscoveryJobArn field's value.
func (s DescribeDiscoveryJobInput) 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 *DescribeDiscoveryJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeDiscoveryJobOutput struct { // The number of minutes that the discovery job runs. CollectionDurationMinutes *int64 `min:"60" type:"integer"` // The ARN of the discovery job. DiscoveryJobArn *string `type:"string"` // The time when the discovery job ended. JobEndTime *time.Time `type:"timestamp"` // The time when the discovery job started. JobStartTime *time.Time `type:"timestamp"` // Indicates the status of a discovery job. For more information, see Discovery // job statuses (https://docs.aws.amazon.com/datasync/latest/userguide/discovery-job-statuses.html#discovery-job-statuses-table). Status *string `type:"string" enum:"DiscoveryJobStatus"` // The ARN of the on-premises storage system you're running the discovery job // on. StorageSystemArn *string `type:"string"` // contains filtered or unexported fields }
func (s DescribeDiscoveryJobOutput) 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 *DescribeDiscoveryJobOutput) SetCollectionDurationMinutes(v int64) *DescribeDiscoveryJobOutput
SetCollectionDurationMinutes sets the CollectionDurationMinutes field's value.
func (s *DescribeDiscoveryJobOutput) SetDiscoveryJobArn(v string) *DescribeDiscoveryJobOutput
SetDiscoveryJobArn sets the DiscoveryJobArn field's value.
func (s *DescribeDiscoveryJobOutput) SetJobEndTime(v time.Time) *DescribeDiscoveryJobOutput
SetJobEndTime sets the JobEndTime field's value.
func (s *DescribeDiscoveryJobOutput) SetJobStartTime(v time.Time) *DescribeDiscoveryJobOutput
SetJobStartTime sets the JobStartTime field's value.
func (s *DescribeDiscoveryJobOutput) SetStatus(v string) *DescribeDiscoveryJobOutput
SetStatus sets the Status field's value.
func (s *DescribeDiscoveryJobOutput) SetStorageSystemArn(v string) *DescribeDiscoveryJobOutput
SetStorageSystemArn sets the StorageSystemArn field's value.
func (s DescribeDiscoveryJobOutput) 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 DescribeLocationAzureBlobInput struct { // Specifies the Amazon Resource Name (ARN) of your Azure Blob Storage transfer // location. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeLocationAzureBlobInput) 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 *DescribeLocationAzureBlobInput) SetLocationArn(v string) *DescribeLocationAzureBlobInput
SetLocationArn sets the LocationArn field's value.
func (s DescribeLocationAzureBlobInput) 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 *DescribeLocationAzureBlobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeLocationAzureBlobOutput struct { // The access tier that you want your objects or files transferred into. This // only applies when using the location as a transfer destination. For more // information, see Access tiers (https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access-tiers). AccessTier *string `type:"string" enum:"AzureAccessTier"` // The ARNs of the DataSync agents that can connect with your Azure Blob Storage // container. AgentArns []*string `min:"1" type:"list"` // The authentication method DataSync uses to access your Azure Blob Storage. // DataSync can access blob storage using a shared access signature (SAS). AuthenticationType *string `type:"string" enum:"AzureBlobAuthenticationType"` // The type of blob that you want your objects or files to be when transferring // them into Azure Blob Storage. Currently, DataSync only supports moving data // into Azure Blob Storage as block blobs. For more information on blob types, // see the Azure Blob Storage documentation (https://learn.microsoft.com/en-us/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs). BlobType *string `type:"string" enum:"AzureBlobType"` // The time that your Azure Blob Storage transfer location was created. CreationTime *time.Time `type:"timestamp"` // The ARN of your Azure Blob Storage transfer location. LocationArn *string `type:"string"` // The URL of the Azure Blob Storage container involved in your transfer. LocationUri *string `type:"string"` // contains filtered or unexported fields }
func (s DescribeLocationAzureBlobOutput) 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 *DescribeLocationAzureBlobOutput) SetAccessTier(v string) *DescribeLocationAzureBlobOutput
SetAccessTier sets the AccessTier field's value.
func (s *DescribeLocationAzureBlobOutput) SetAgentArns(v []*string) *DescribeLocationAzureBlobOutput
SetAgentArns sets the AgentArns field's value.
func (s *DescribeLocationAzureBlobOutput) SetAuthenticationType(v string) *DescribeLocationAzureBlobOutput
SetAuthenticationType sets the AuthenticationType field's value.
func (s *DescribeLocationAzureBlobOutput) SetBlobType(v string) *DescribeLocationAzureBlobOutput
SetBlobType sets the BlobType field's value.
func (s *DescribeLocationAzureBlobOutput) SetCreationTime(v time.Time) *DescribeLocationAzureBlobOutput
SetCreationTime sets the CreationTime field's value.
func (s *DescribeLocationAzureBlobOutput) SetLocationArn(v string) *DescribeLocationAzureBlobOutput
SetLocationArn sets the LocationArn field's value.
func (s *DescribeLocationAzureBlobOutput) SetLocationUri(v string) *DescribeLocationAzureBlobOutput
SetLocationUri sets the LocationUri field's value.
func (s DescribeLocationAzureBlobOutput) 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 DescribeLocationEfsInput struct { // The Amazon Resource Name (ARN) of the Amazon EFS file system location that // you want information about. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
DescribeLocationEfsRequest
func (s DescribeLocationEfsInput) 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 *DescribeLocationEfsInput) SetLocationArn(v string) *DescribeLocationEfsInput
SetLocationArn sets the LocationArn field's value.
func (s DescribeLocationEfsInput) 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 *DescribeLocationEfsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeLocationEfsOutput struct { // The ARN of the access point that DataSync uses to access the Amazon EFS file // system. AccessPointArn *string `type:"string"` // The time that the location was created. CreationTime *time.Time `type:"timestamp"` // The subnet and security groups that DataSync uses to access your Amazon EFS // file system. Ec2Config *Ec2Config `type:"structure"` // The Identity and Access Management (IAM) role that DataSync assumes when // mounting the Amazon EFS file system. FileSystemAccessRoleArn *string `type:"string"` // Describes whether DataSync uses Transport Layer Security (TLS) encryption // when copying data to or from the Amazon EFS file system. InTransitEncryption *string `type:"string" enum:"EfsInTransitEncryption"` // The ARN of the Amazon EFS file system location. LocationArn *string `type:"string"` // The URL of the Amazon EFS file system location. LocationUri *string `type:"string"` // contains filtered or unexported fields }
DescribeLocationEfsResponse
func (s DescribeLocationEfsOutput) 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 *DescribeLocationEfsOutput) SetAccessPointArn(v string) *DescribeLocationEfsOutput
SetAccessPointArn sets the AccessPointArn field's value.
func (s *DescribeLocationEfsOutput) SetCreationTime(v time.Time) *DescribeLocationEfsOutput
SetCreationTime sets the CreationTime field's value.
func (s *DescribeLocationEfsOutput) SetEc2Config(v *Ec2Config) *DescribeLocationEfsOutput
SetEc2Config sets the Ec2Config field's value.
func (s *DescribeLocationEfsOutput) SetFileSystemAccessRoleArn(v string) *DescribeLocationEfsOutput
SetFileSystemAccessRoleArn sets the FileSystemAccessRoleArn field's value.
func (s *DescribeLocationEfsOutput) SetInTransitEncryption(v string) *DescribeLocationEfsOutput
SetInTransitEncryption sets the InTransitEncryption field's value.
func (s *DescribeLocationEfsOutput) SetLocationArn(v string) *DescribeLocationEfsOutput
SetLocationArn sets the LocationArn field's value.
func (s *DescribeLocationEfsOutput) SetLocationUri(v string) *DescribeLocationEfsOutput
SetLocationUri sets the LocationUri field's value.
func (s DescribeLocationEfsOutput) 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 DescribeLocationFsxLustreInput struct { // The Amazon Resource Name (ARN) of the FSx for Lustre location to describe. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeLocationFsxLustreInput) 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 *DescribeLocationFsxLustreInput) SetLocationArn(v string) *DescribeLocationFsxLustreInput
SetLocationArn sets the LocationArn field's value.
func (s DescribeLocationFsxLustreInput) 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 *DescribeLocationFsxLustreInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeLocationFsxLustreOutput struct { // The time that the FSx for Lustre location was created. CreationTime *time.Time `type:"timestamp"` // The Amazon Resource Name (ARN) of the FSx for Lustre location that was described. LocationArn *string `type:"string"` // The URI of the FSx for Lustre location that was described. LocationUri *string `type:"string"` // The Amazon Resource Names (ARNs) of the security groups that are configured // for the FSx for Lustre file system. SecurityGroupArns []*string `min:"1" type:"list"` // contains filtered or unexported fields }
func (s DescribeLocationFsxLustreOutput) 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 *DescribeLocationFsxLustreOutput) SetCreationTime(v time.Time) *DescribeLocationFsxLustreOutput
SetCreationTime sets the CreationTime field's value.
func (s *DescribeLocationFsxLustreOutput) SetLocationArn(v string) *DescribeLocationFsxLustreOutput
SetLocationArn sets the LocationArn field's value.
func (s *DescribeLocationFsxLustreOutput) SetLocationUri(v string) *DescribeLocationFsxLustreOutput
SetLocationUri sets the LocationUri field's value.
func (s *DescribeLocationFsxLustreOutput) SetSecurityGroupArns(v []*string) *DescribeLocationFsxLustreOutput
SetSecurityGroupArns sets the SecurityGroupArns field's value.
func (s DescribeLocationFsxLustreOutput) 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 DescribeLocationFsxOntapInput struct { // Specifies the Amazon Resource Name (ARN) of the FSx for ONTAP file system // location that you want information about. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeLocationFsxOntapInput) 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 *DescribeLocationFsxOntapInput) SetLocationArn(v string) *DescribeLocationFsxOntapInput
SetLocationArn sets the LocationArn field's value.
func (s DescribeLocationFsxOntapInput) 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 *DescribeLocationFsxOntapInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeLocationFsxOntapOutput struct { // The time that the location was created. CreationTime *time.Time `type:"timestamp"` // The ARN of the FSx for ONTAP file system. FsxFilesystemArn *string `type:"string"` // The ARN of the FSx for ONTAP file system location. LocationArn *string `type:"string"` // The uniform resource identifier (URI) of the FSx for ONTAP file system location. LocationUri *string `type:"string"` // Specifies the data transfer protocol that DataSync uses to access your Amazon // FSx file system. Protocol *FsxProtocol `type:"structure"` // The security groups that DataSync uses to access your FSx for ONTAP file // system. SecurityGroupArns []*string `min:"1" type:"list"` // The ARN of the storage virtual machine (SVM) on your FSx for ONTAP file system // where you're copying data to or from. StorageVirtualMachineArn *string `type:"string"` // contains filtered or unexported fields }
func (s DescribeLocationFsxOntapOutput) 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 *DescribeLocationFsxOntapOutput) SetCreationTime(v time.Time) *DescribeLocationFsxOntapOutput
SetCreationTime sets the CreationTime field's value.
func (s *DescribeLocationFsxOntapOutput) SetFsxFilesystemArn(v string) *DescribeLocationFsxOntapOutput
SetFsxFilesystemArn sets the FsxFilesystemArn field's value.
func (s *DescribeLocationFsxOntapOutput) SetLocationArn(v string) *DescribeLocationFsxOntapOutput
SetLocationArn sets the LocationArn field's value.
func (s *DescribeLocationFsxOntapOutput) SetLocationUri(v string) *DescribeLocationFsxOntapOutput
SetLocationUri sets the LocationUri field's value.
func (s *DescribeLocationFsxOntapOutput) SetProtocol(v *FsxProtocol) *DescribeLocationFsxOntapOutput
SetProtocol sets the Protocol field's value.
func (s *DescribeLocationFsxOntapOutput) SetSecurityGroupArns(v []*string) *DescribeLocationFsxOntapOutput
SetSecurityGroupArns sets the SecurityGroupArns field's value.
func (s *DescribeLocationFsxOntapOutput) SetStorageVirtualMachineArn(v string) *DescribeLocationFsxOntapOutput
SetStorageVirtualMachineArn sets the StorageVirtualMachineArn field's value.
func (s DescribeLocationFsxOntapOutput) 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 DescribeLocationFsxOpenZfsInput struct { // The Amazon Resource Name (ARN) of the FSx for OpenZFS location to describe. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeLocationFsxOpenZfsInput) 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 *DescribeLocationFsxOpenZfsInput) SetLocationArn(v string) *DescribeLocationFsxOpenZfsInput
SetLocationArn sets the LocationArn field's value.
func (s DescribeLocationFsxOpenZfsInput) 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 *DescribeLocationFsxOpenZfsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeLocationFsxOpenZfsOutput struct { // The time that the FSx for OpenZFS location was created. CreationTime *time.Time `type:"timestamp"` // The ARN of the FSx for OpenZFS location that was described. LocationArn *string `type:"string"` // The uniform resource identifier (URI) of the FSx for OpenZFS location that // was described. // // Example: fsxz://us-west-2.fs-1234567890abcdef02/fsx/folderA/folder LocationUri *string `type:"string"` // The type of protocol that DataSync uses to access your file system. Protocol *FsxProtocol `type:"structure"` // The ARNs of the security groups that are configured for the FSx for OpenZFS // file system. SecurityGroupArns []*string `min:"1" type:"list"` // contains filtered or unexported fields }
func (s DescribeLocationFsxOpenZfsOutput) 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 *DescribeLocationFsxOpenZfsOutput) SetCreationTime(v time.Time) *DescribeLocationFsxOpenZfsOutput
SetCreationTime sets the CreationTime field's value.
func (s *DescribeLocationFsxOpenZfsOutput) SetLocationArn(v string) *DescribeLocationFsxOpenZfsOutput
SetLocationArn sets the LocationArn field's value.
func (s *DescribeLocationFsxOpenZfsOutput) SetLocationUri(v string) *DescribeLocationFsxOpenZfsOutput
SetLocationUri sets the LocationUri field's value.
func (s *DescribeLocationFsxOpenZfsOutput) SetProtocol(v *FsxProtocol) *DescribeLocationFsxOpenZfsOutput
SetProtocol sets the Protocol field's value.
func (s *DescribeLocationFsxOpenZfsOutput) SetSecurityGroupArns(v []*string) *DescribeLocationFsxOpenZfsOutput
SetSecurityGroupArns sets the SecurityGroupArns field's value.
func (s DescribeLocationFsxOpenZfsOutput) 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 DescribeLocationFsxWindowsInput struct { // Specifies the Amazon Resource Name (ARN) of the FSx for Windows File Server // location. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeLocationFsxWindowsInput) 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 *DescribeLocationFsxWindowsInput) SetLocationArn(v string) *DescribeLocationFsxWindowsInput
SetLocationArn sets the LocationArn field's value.
func (s DescribeLocationFsxWindowsInput) 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 *DescribeLocationFsxWindowsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeLocationFsxWindowsOutput struct { // The time that the FSx for Windows File Server location was created. CreationTime *time.Time `type:"timestamp"` // The name of the Microsoft Active Directory domain that the FSx for Windows // File Server file system belongs to. Domain *string `type:"string"` // The ARN of the FSx for Windows File Server location. LocationArn *string `type:"string"` // The uniform resource identifier (URI) of the FSx for Windows File Server // location. LocationUri *string `type:"string"` // The ARNs of the security groups that are configured for the FSx for Windows // File Server file system. SecurityGroupArns []*string `min:"1" type:"list"` // The user with the permissions to mount and access the FSx for Windows File // Server file system. User *string `type:"string"` // contains filtered or unexported fields }
func (s DescribeLocationFsxWindowsOutput) 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 *DescribeLocationFsxWindowsOutput) SetCreationTime(v time.Time) *DescribeLocationFsxWindowsOutput
SetCreationTime sets the CreationTime field's value.
func (s *DescribeLocationFsxWindowsOutput) SetDomain(v string) *DescribeLocationFsxWindowsOutput
SetDomain sets the Domain field's value.
func (s *DescribeLocationFsxWindowsOutput) SetLocationArn(v string) *DescribeLocationFsxWindowsOutput
SetLocationArn sets the LocationArn field's value.
func (s *DescribeLocationFsxWindowsOutput) SetLocationUri(v string) *DescribeLocationFsxWindowsOutput
SetLocationUri sets the LocationUri field's value.
func (s *DescribeLocationFsxWindowsOutput) SetSecurityGroupArns(v []*string) *DescribeLocationFsxWindowsOutput
SetSecurityGroupArns sets the SecurityGroupArns field's value.
func (s *DescribeLocationFsxWindowsOutput) SetUser(v string) *DescribeLocationFsxWindowsOutput
SetUser sets the User field's value.
func (s DescribeLocationFsxWindowsOutput) 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 DescribeLocationHdfsInput struct { // Specifies the Amazon Resource Name (ARN) of the HDFS location. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeLocationHdfsInput) 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 *DescribeLocationHdfsInput) SetLocationArn(v string) *DescribeLocationHdfsInput
SetLocationArn sets the LocationArn field's value.
func (s DescribeLocationHdfsInput) 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 *DescribeLocationHdfsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeLocationHdfsOutput struct { // The ARNs of the DataSync agents that can connect with your HDFS cluster. AgentArns []*string `min:"1" type:"list"` // The type of authentication used to determine the identity of the user. AuthenticationType *string `type:"string" enum:"HdfsAuthenticationType"` // The size of the data blocks to write into the HDFS cluster. BlockSize *int64 `min:"1.048576e+06" type:"integer"` // The time that the HDFS location was created. CreationTime *time.Time `type:"timestamp"` // The Kerberos principal with access to the files and folders on the HDFS cluster. // This parameter is used if the AuthenticationType is defined as KERBEROS. KerberosPrincipal *string `min:"1" type:"string"` // The URI of the HDFS cluster's Key Management Server (KMS). KmsKeyProviderUri *string `min:"1" type:"string"` // The ARN of the HDFS location. LocationArn *string `type:"string"` // The URI of the HDFS location. LocationUri *string `type:"string"` // The NameNode that manages the HDFS namespace. NameNodes []*HdfsNameNode `min:"1" type:"list"` // The Quality of Protection (QOP) configuration, which specifies the Remote // Procedure Call (RPC) and data transfer protection settings configured on // the HDFS cluster. QopConfiguration *QopConfiguration `type:"structure"` // The number of DataNodes to replicate the data to when writing to the HDFS // cluster. ReplicationFactor *int64 `min:"1" type:"integer"` // The user name to identify the client on the host operating system. This parameter // is used if the AuthenticationType is defined as SIMPLE. SimpleUser *string `min:"1" type:"string"` // contains filtered or unexported fields }
func (s DescribeLocationHdfsOutput) 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 *DescribeLocationHdfsOutput) SetAgentArns(v []*string) *DescribeLocationHdfsOutput
SetAgentArns sets the AgentArns field's value.
func (s *DescribeLocationHdfsOutput) SetAuthenticationType(v string) *DescribeLocationHdfsOutput
SetAuthenticationType sets the AuthenticationType field's value.
func (s *DescribeLocationHdfsOutput) SetBlockSize(v int64) *DescribeLocationHdfsOutput
SetBlockSize sets the BlockSize field's value.
func (s *DescribeLocationHdfsOutput) SetCreationTime(v time.Time) *DescribeLocationHdfsOutput
SetCreationTime sets the CreationTime field's value.
func (s *DescribeLocationHdfsOutput) SetKerberosPrincipal(v string) *DescribeLocationHdfsOutput
SetKerberosPrincipal sets the KerberosPrincipal field's value.
func (s *DescribeLocationHdfsOutput) SetKmsKeyProviderUri(v string) *DescribeLocationHdfsOutput
SetKmsKeyProviderUri sets the KmsKeyProviderUri field's value.
func (s *DescribeLocationHdfsOutput) SetLocationArn(v string) *DescribeLocationHdfsOutput
SetLocationArn sets the LocationArn field's value.
func (s *DescribeLocationHdfsOutput) SetLocationUri(v string) *DescribeLocationHdfsOutput
SetLocationUri sets the LocationUri field's value.
func (s *DescribeLocationHdfsOutput) SetNameNodes(v []*HdfsNameNode) *DescribeLocationHdfsOutput
SetNameNodes sets the NameNodes field's value.
func (s *DescribeLocationHdfsOutput) SetQopConfiguration(v *QopConfiguration) *DescribeLocationHdfsOutput
SetQopConfiguration sets the QopConfiguration field's value.
func (s *DescribeLocationHdfsOutput) SetReplicationFactor(v int64) *DescribeLocationHdfsOutput
SetReplicationFactor sets the ReplicationFactor field's value.
func (s *DescribeLocationHdfsOutput) SetSimpleUser(v string) *DescribeLocationHdfsOutput
SetSimpleUser sets the SimpleUser field's value.
func (s DescribeLocationHdfsOutput) 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 DescribeLocationNfsInput struct { // Specifies the Amazon Resource Name (ARN) of the NFS location that you want // information about. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
DescribeLocationNfsRequest
func (s DescribeLocationNfsInput) 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 *DescribeLocationNfsInput) SetLocationArn(v string) *DescribeLocationNfsInput
SetLocationArn sets the LocationArn field's value.
func (s DescribeLocationNfsInput) 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 *DescribeLocationNfsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeLocationNfsOutput struct { // The time when the NFS location was created. CreationTime *time.Time `type:"timestamp"` // The ARN of the NFS location. LocationArn *string `type:"string"` // The URI of the NFS location. LocationUri *string `type:"string"` // The mount options that DataSync uses to mount your NFS file server. MountOptions *NfsMountOptions `type:"structure"` // The DataSync agents that are connecting to a Network File System (NFS) location. OnPremConfig *OnPremConfig `type:"structure"` // contains filtered or unexported fields }
DescribeLocationNfsResponse
func (s DescribeLocationNfsOutput) 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 *DescribeLocationNfsOutput) SetCreationTime(v time.Time) *DescribeLocationNfsOutput
SetCreationTime sets the CreationTime field's value.
func (s *DescribeLocationNfsOutput) SetLocationArn(v string) *DescribeLocationNfsOutput
SetLocationArn sets the LocationArn field's value.
func (s *DescribeLocationNfsOutput) SetLocationUri(v string) *DescribeLocationNfsOutput
SetLocationUri sets the LocationUri field's value.
func (s *DescribeLocationNfsOutput) SetMountOptions(v *NfsMountOptions) *DescribeLocationNfsOutput
SetMountOptions sets the MountOptions field's value.
func (s *DescribeLocationNfsOutput) SetOnPremConfig(v *OnPremConfig) *DescribeLocationNfsOutput
SetOnPremConfig sets the OnPremConfig field's value.
func (s DescribeLocationNfsOutput) 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 DescribeLocationObjectStorageInput struct { // Specifies the Amazon Resource Name (ARN) of the object storage system location. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
DescribeLocationObjectStorageRequest
func (s DescribeLocationObjectStorageInput) 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 *DescribeLocationObjectStorageInput) SetLocationArn(v string) *DescribeLocationObjectStorageInput
SetLocationArn sets the LocationArn field's value.
func (s DescribeLocationObjectStorageInput) 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 *DescribeLocationObjectStorageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeLocationObjectStorageOutput struct { // The access key (for example, a user name) required to authenticate with the // object storage system. AccessKey *string `type:"string"` // The ARNs of the DataSync agents that can connect with your object storage // system. AgentArns []*string `min:"1" type:"list"` // The time that the location was created. CreationTime *time.Time `type:"timestamp"` // The ARN of the object storage system location. LocationArn *string `type:"string"` // The URI of the object storage system location. LocationUri *string `type:"string"` // The certificate chain for DataSync to authenticate with your object storage // system if the system uses a private or self-signed certificate authority // (CA). // ServerCertificate is automatically base64 encoded/decoded by the SDK. ServerCertificate []byte `type:"blob"` // The port that your object storage server accepts inbound network traffic // on (for example, port 443). ServerPort *int64 `min:"1" type:"integer"` // The protocol that your object storage system uses to communicate. ServerProtocol *string `type:"string" enum:"ObjectStorageServerProtocol"` // contains filtered or unexported fields }
DescribeLocationObjectStorageResponse
func (s DescribeLocationObjectStorageOutput) 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 *DescribeLocationObjectStorageOutput) SetAccessKey(v string) *DescribeLocationObjectStorageOutput
SetAccessKey sets the AccessKey field's value.
func (s *DescribeLocationObjectStorageOutput) SetAgentArns(v []*string) *DescribeLocationObjectStorageOutput
SetAgentArns sets the AgentArns field's value.
func (s *DescribeLocationObjectStorageOutput) SetCreationTime(v time.Time) *DescribeLocationObjectStorageOutput
SetCreationTime sets the CreationTime field's value.
func (s *DescribeLocationObjectStorageOutput) SetLocationArn(v string) *DescribeLocationObjectStorageOutput
SetLocationArn sets the LocationArn field's value.
func (s *DescribeLocationObjectStorageOutput) SetLocationUri(v string) *DescribeLocationObjectStorageOutput
SetLocationUri sets the LocationUri field's value.
func (s *DescribeLocationObjectStorageOutput) SetServerCertificate(v []byte) *DescribeLocationObjectStorageOutput
SetServerCertificate sets the ServerCertificate field's value.
func (s *DescribeLocationObjectStorageOutput) SetServerPort(v int64) *DescribeLocationObjectStorageOutput
SetServerPort sets the ServerPort field's value.
func (s *DescribeLocationObjectStorageOutput) SetServerProtocol(v string) *DescribeLocationObjectStorageOutput
SetServerProtocol sets the ServerProtocol field's value.
func (s DescribeLocationObjectStorageOutput) 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 DescribeLocationS3Input struct { // Specifies the Amazon Resource Name (ARN) of the Amazon S3 location. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
DescribeLocationS3Request
func (s DescribeLocationS3Input) 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 *DescribeLocationS3Input) SetLocationArn(v string) *DescribeLocationS3Input
SetLocationArn sets the LocationArn field's value.
func (s DescribeLocationS3Input) 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 *DescribeLocationS3Input) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeLocationS3Output struct { // The ARNs of the DataSync agents deployed on your Outpost when using working // with Amazon S3 on Outposts. // // For more information, see Deploy your DataSync agent on Outposts (https://docs.aws.amazon.com/datasync/latest/userguide/deploy-agents.html#outposts-agent). AgentArns []*string `min:"1" type:"list"` // The time that the Amazon S3 location was created. CreationTime *time.Time `type:"timestamp"` // The ARN of the Amazon S3 location. LocationArn *string `type:"string"` // The URL of the Amazon S3 location that was described. LocationUri *string `type:"string"` // Specifies the Amazon Resource Name (ARN) of the Identity and Access Management // (IAM) role that DataSync uses to access your S3 bucket. // // For more information, see Accessing S3 buckets (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-access). S3Config *S3Config `type:"structure"` // When Amazon S3 is a destination location, this is the storage class that // you chose for your objects. // // Some storage classes have behaviors that can affect your Amazon S3 storage // costs. For more information, see Storage class considerations with Amazon // S3 transfers (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes). S3StorageClass *string `type:"string" enum:"S3StorageClass"` // contains filtered or unexported fields }
DescribeLocationS3Response
func (s DescribeLocationS3Output) 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 *DescribeLocationS3Output) SetAgentArns(v []*string) *DescribeLocationS3Output
SetAgentArns sets the AgentArns field's value.
func (s *DescribeLocationS3Output) SetCreationTime(v time.Time) *DescribeLocationS3Output
SetCreationTime sets the CreationTime field's value.
func (s *DescribeLocationS3Output) SetLocationArn(v string) *DescribeLocationS3Output
SetLocationArn sets the LocationArn field's value.
func (s *DescribeLocationS3Output) SetLocationUri(v string) *DescribeLocationS3Output
SetLocationUri sets the LocationUri field's value.
func (s *DescribeLocationS3Output) SetS3Config(v *S3Config) *DescribeLocationS3Output
SetS3Config sets the S3Config field's value.
func (s *DescribeLocationS3Output) SetS3StorageClass(v string) *DescribeLocationS3Output
SetS3StorageClass sets the S3StorageClass field's value.
func (s DescribeLocationS3Output) 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 DescribeLocationSmbInput struct { // Specifies the Amazon Resource Name (ARN) of the SMB location that you want // information about. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
DescribeLocationSmbRequest
func (s DescribeLocationSmbInput) 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 *DescribeLocationSmbInput) SetLocationArn(v string) *DescribeLocationSmbInput
SetLocationArn sets the LocationArn field's value.
func (s DescribeLocationSmbInput) 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 *DescribeLocationSmbInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeLocationSmbOutput struct { // The ARNs of the DataSync agents that can connect with your SMB file server. AgentArns []*string `min:"1" type:"list"` // The time that the SMB location was created. CreationTime *time.Time `type:"timestamp"` // The name of the Microsoft Active Directory domain that the SMB file server // belongs to. Domain *string `type:"string"` // The ARN of the SMB location. LocationArn *string `type:"string"` // The URI of the SMB location. LocationUri *string `type:"string"` // The protocol that DataSync use to access your SMB file. MountOptions *SmbMountOptions `type:"structure"` // The user that can mount and access the files, folders, and file metadata // in your SMB file server. User *string `type:"string"` // contains filtered or unexported fields }
DescribeLocationSmbResponse
func (s DescribeLocationSmbOutput) 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 *DescribeLocationSmbOutput) SetAgentArns(v []*string) *DescribeLocationSmbOutput
SetAgentArns sets the AgentArns field's value.
func (s *DescribeLocationSmbOutput) SetCreationTime(v time.Time) *DescribeLocationSmbOutput
SetCreationTime sets the CreationTime field's value.
func (s *DescribeLocationSmbOutput) SetDomain(v string) *DescribeLocationSmbOutput
SetDomain sets the Domain field's value.
func (s *DescribeLocationSmbOutput) SetLocationArn(v string) *DescribeLocationSmbOutput
SetLocationArn sets the LocationArn field's value.
func (s *DescribeLocationSmbOutput) SetLocationUri(v string) *DescribeLocationSmbOutput
SetLocationUri sets the LocationUri field's value.
func (s *DescribeLocationSmbOutput) SetMountOptions(v *SmbMountOptions) *DescribeLocationSmbOutput
SetMountOptions sets the MountOptions field's value.
func (s *DescribeLocationSmbOutput) SetUser(v string) *DescribeLocationSmbOutput
SetUser sets the User field's value.
func (s DescribeLocationSmbOutput) 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 DescribeStorageSystemInput struct { // Specifies the Amazon Resource Name (ARN) of an on-premises storage system // that you're using with DataSync Discovery. // // StorageSystemArn is a required field StorageSystemArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s DescribeStorageSystemInput) 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 *DescribeStorageSystemInput) SetStorageSystemArn(v string) *DescribeStorageSystemInput
SetStorageSystemArn sets the StorageSystemArn field's value.
func (s DescribeStorageSystemInput) 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 *DescribeStorageSystemInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeStorageSystemOutput struct { // The ARN of the DataSync agent that connects to and reads from your on-premises // storage system. AgentArns []*string `min:"1" type:"list"` // The ARN of the Amazon CloudWatch log group that's used to monitor and log // discovery job events. CloudWatchLogGroupArn *string `type:"string"` // Indicates whether your DataSync agent can connect to your on-premises storage // system. ConnectivityStatus *string `type:"string" enum:"StorageSystemConnectivityStatus"` // The time when you added the on-premises storage system to DataSync Discovery. CreationTime *time.Time `type:"timestamp"` // Describes the connectivity error that the DataSync agent is encountering // with your on-premises storage system. ErrorMessage *string `type:"string"` // The name that you gave your on-premises storage system when adding it to // DataSync Discovery. Name *string `min:"1" type:"string"` // The ARN of the secret that stores your on-premises storage system's credentials. // DataSync Discovery stores these credentials in Secrets Manager (https://docs.aws.amazon.com/datasync/latest/userguide/discovery-configure-storage.html#discovery-add-storage). SecretsManagerArn *string `type:"string"` // The server name and network port required to connect with your on-premises // storage system's management interface. ServerConfiguration *DiscoveryServerConfiguration `type:"structure"` // The ARN of the on-premises storage system that the discovery job looked at. StorageSystemArn *string `type:"string"` // The type of on-premises storage system. // // DataSync Discovery currently only supports NetApp Fabric-Attached Storage // (FAS) and All Flash FAS (AFF) systems running ONTAP 9.7 or later. SystemType *string `type:"string" enum:"DiscoverySystemType"` // contains filtered or unexported fields }
func (s DescribeStorageSystemOutput) 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 *DescribeStorageSystemOutput) SetAgentArns(v []*string) *DescribeStorageSystemOutput
SetAgentArns sets the AgentArns field's value.
func (s *DescribeStorageSystemOutput) SetCloudWatchLogGroupArn(v string) *DescribeStorageSystemOutput
SetCloudWatchLogGroupArn sets the CloudWatchLogGroupArn field's value.
func (s *DescribeStorageSystemOutput) SetConnectivityStatus(v string) *DescribeStorageSystemOutput
SetConnectivityStatus sets the ConnectivityStatus field's value.
func (s *DescribeStorageSystemOutput) SetCreationTime(v time.Time) *DescribeStorageSystemOutput
SetCreationTime sets the CreationTime field's value.
func (s *DescribeStorageSystemOutput) SetErrorMessage(v string) *DescribeStorageSystemOutput
SetErrorMessage sets the ErrorMessage field's value.
func (s *DescribeStorageSystemOutput) SetName(v string) *DescribeStorageSystemOutput
SetName sets the Name field's value.
func (s *DescribeStorageSystemOutput) SetSecretsManagerArn(v string) *DescribeStorageSystemOutput
SetSecretsManagerArn sets the SecretsManagerArn field's value.
func (s *DescribeStorageSystemOutput) SetServerConfiguration(v *DiscoveryServerConfiguration) *DescribeStorageSystemOutput
SetServerConfiguration sets the ServerConfiguration field's value.
func (s *DescribeStorageSystemOutput) SetStorageSystemArn(v string) *DescribeStorageSystemOutput
SetStorageSystemArn sets the StorageSystemArn field's value.
func (s *DescribeStorageSystemOutput) SetSystemType(v string) *DescribeStorageSystemOutput
SetSystemType sets the SystemType field's value.
func (s DescribeStorageSystemOutput) 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 DescribeStorageSystemResourceMetricsInput struct { // Specifies the Amazon Resource Name (ARN) of the discovery job that collects // information about your on-premises storage system. // // DiscoveryJobArn is a required field DiscoveryJobArn *string `type:"string" required:"true"` // Specifies a time within the total duration that the discovery job ran. To // see information gathered during a certain time frame, use this parameter // with StartTime. EndTime *time.Time `type:"timestamp"` // Specifies how many results that you want in the response. MaxResults *int64 `min:"1" type:"integer"` // Specifies an opaque string that indicates the position to begin the next // list of results in the response. NextToken *string `type:"string"` // Specifies the universally unique identifier (UUID) of the storage system // resource that you want information about. // // ResourceId is a required field ResourceId *string `type:"string" required:"true"` // Specifies the kind of storage system resource that you want information about. // // ResourceType is a required field ResourceType *string `type:"string" required:"true" enum:"DiscoveryResourceType"` // Specifies a time within the total duration that the discovery job ran. To // see information gathered during a certain time frame, use this parameter // with EndTime. StartTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
func (s DescribeStorageSystemResourceMetricsInput) 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 *DescribeStorageSystemResourceMetricsInput) SetDiscoveryJobArn(v string) *DescribeStorageSystemResourceMetricsInput
SetDiscoveryJobArn sets the DiscoveryJobArn field's value.
func (s *DescribeStorageSystemResourceMetricsInput) SetEndTime(v time.Time) *DescribeStorageSystemResourceMetricsInput
SetEndTime sets the EndTime field's value.
func (s *DescribeStorageSystemResourceMetricsInput) SetMaxResults(v int64) *DescribeStorageSystemResourceMetricsInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeStorageSystemResourceMetricsInput) SetNextToken(v string) *DescribeStorageSystemResourceMetricsInput
SetNextToken sets the NextToken field's value.
func (s *DescribeStorageSystemResourceMetricsInput) SetResourceId(v string) *DescribeStorageSystemResourceMetricsInput
SetResourceId sets the ResourceId field's value.
func (s *DescribeStorageSystemResourceMetricsInput) SetResourceType(v string) *DescribeStorageSystemResourceMetricsInput
SetResourceType sets the ResourceType field's value.
func (s *DescribeStorageSystemResourceMetricsInput) SetStartTime(v time.Time) *DescribeStorageSystemResourceMetricsInput
SetStartTime sets the StartTime field's value.
func (s DescribeStorageSystemResourceMetricsInput) 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 *DescribeStorageSystemResourceMetricsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeStorageSystemResourceMetricsOutput struct { // The details that your discovery job collected about your storage system resource. Metrics []*ResourceMetrics `type:"list"` // The opaque string that indicates the position to begin the next list of results // in the response. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (s DescribeStorageSystemResourceMetricsOutput) 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 *DescribeStorageSystemResourceMetricsOutput) SetMetrics(v []*ResourceMetrics) *DescribeStorageSystemResourceMetricsOutput
SetMetrics sets the Metrics field's value.
func (s *DescribeStorageSystemResourceMetricsOutput) SetNextToken(v string) *DescribeStorageSystemResourceMetricsOutput
SetNextToken sets the NextToken field's value.
func (s DescribeStorageSystemResourceMetricsOutput) 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 DescribeStorageSystemResourcesInput struct { // Specifies the Amazon Resource Name (ARN) of the discovery job that's collecting // data from your on-premises storage system. // // DiscoveryJobArn is a required field DiscoveryJobArn *string `type:"string" required:"true"` // Filters the storage system resources that you want returned. For example, // this might be volumes associated with a specific storage virtual machine // (SVM). Filter map[string][]*string `type:"map"` // Specifies the maximum number of storage system resources that you want to // list in a response. MaxResults *int64 `min:"1" type:"integer"` // Specifies an opaque string that indicates the position to begin the next // list of results in the response. NextToken *string `type:"string"` // Specifies the universally unique identifiers (UUIDs) of the storage system // resources that you want information about. You can't use this parameter in // combination with the Filter parameter. ResourceIds []*string `min:"1" type:"list"` // Specifies what kind of storage system resources that you want information // about. // // ResourceType is a required field ResourceType *string `type:"string" required:"true" enum:"DiscoveryResourceType"` // contains filtered or unexported fields }
func (s DescribeStorageSystemResourcesInput) 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 *DescribeStorageSystemResourcesInput) SetDiscoveryJobArn(v string) *DescribeStorageSystemResourcesInput
SetDiscoveryJobArn sets the DiscoveryJobArn field's value.
func (s *DescribeStorageSystemResourcesInput) SetFilter(v map[string][]*string) *DescribeStorageSystemResourcesInput
SetFilter sets the Filter field's value.
func (s *DescribeStorageSystemResourcesInput) SetMaxResults(v int64) *DescribeStorageSystemResourcesInput
SetMaxResults sets the MaxResults field's value.
func (s *DescribeStorageSystemResourcesInput) SetNextToken(v string) *DescribeStorageSystemResourcesInput
SetNextToken sets the NextToken field's value.
func (s *DescribeStorageSystemResourcesInput) SetResourceIds(v []*string) *DescribeStorageSystemResourcesInput
SetResourceIds sets the ResourceIds field's value.
func (s *DescribeStorageSystemResourcesInput) SetResourceType(v string) *DescribeStorageSystemResourcesInput
SetResourceType sets the ResourceType field's value.
func (s DescribeStorageSystemResourcesInput) 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 *DescribeStorageSystemResourcesInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeStorageSystemResourcesOutput struct { // The opaque string that indicates the position to begin the next list of results // in the response. NextToken *string `type:"string"` // The information collected about your storage system's resources. A response // can also include Amazon Web Services storage service recommendations. // // For more information, see storage resource information (https://docs.aws.amazon.com/datasync/latest/userguide/discovery-understand-findings.html) // collected by and recommendations (https://docs.aws.amazon.com/datasync/latest/userguide/discovery-understand-recommendations.html) // provided by DataSync Discovery. ResourceDetails *ResourceDetails `type:"structure"` // contains filtered or unexported fields }
func (s DescribeStorageSystemResourcesOutput) 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 *DescribeStorageSystemResourcesOutput) SetNextToken(v string) *DescribeStorageSystemResourcesOutput
SetNextToken sets the NextToken field's value.
func (s *DescribeStorageSystemResourcesOutput) SetResourceDetails(v *ResourceDetails) *DescribeStorageSystemResourcesOutput
SetResourceDetails sets the ResourceDetails field's value.
func (s DescribeStorageSystemResourcesOutput) 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 DescribeTaskExecutionInput struct { // Specifies the Amazon Resource Name (ARN) of the task execution that you want // information about. // // TaskExecutionArn is a required field TaskExecutionArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
DescribeTaskExecutionRequest
func (s DescribeTaskExecutionInput) 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 *DescribeTaskExecutionInput) SetTaskExecutionArn(v string) *DescribeTaskExecutionInput
SetTaskExecutionArn sets the TaskExecutionArn field's value.
func (s DescribeTaskExecutionInput) 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 *DescribeTaskExecutionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeTaskExecutionOutput struct { // The physical number of bytes transferred over the network after compression // was applied. In most cases, this number is less than BytesTransferred unless // the data isn't compressible. BytesCompressed *int64 `type:"long"` // The total number of bytes that are involved in the transfer. For the number // of bytes sent over the network, see BytesCompressed. BytesTransferred *int64 `type:"long"` // The number of logical bytes written to the destination location. BytesWritten *int64 `type:"long"` // The estimated physical number of bytes that will transfer over the network. EstimatedBytesToTransfer *int64 `type:"long"` // The expected number of files, objects, and directories that DataSync will // delete in your destination location. If you don't configure your task (https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html) // to delete data in the destination that isn't in the source, the value is // always 0. EstimatedFilesToDelete *int64 `type:"long"` // The expected number of files, objects, and directories that DataSync will // transfer over the network. This value is calculated during the task execution's // PREPARING phase before the TRANSFERRING phase. The calculation is based on // comparing the content of the source and destination locations and finding // the difference that needs to be transferred. EstimatedFilesToTransfer *int64 `type:"long"` // A list of filter rules that exclude specific data during your transfer. For // more information and examples, see Filtering data transferred by DataSync // (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). Excludes []*FilterRule `type:"list"` // The number of files, objects, and directories that DataSync deleted in your // destination location. If you don't configure your task (https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html) // to delete data in the destination that isn't in the source, the value is // always 0. FilesDeleted *int64 `type:"long"` // The number of files, objects, and directories that DataSync skipped during // your transfer. FilesSkipped *int64 `type:"long"` // The actual number of files, objects, and directories that DataSync transferred // over the network. This value is updated periodically during the task execution's // TRANSFERRING phase when something is read from the source and sent over the // network. // // If DataSync fails to transfer something, this value can be less than EstimatedFilesToTransfer. // In some cases, this value can also be greater than EstimatedFilesToTransfer. // This element is implementation-specific for some location types, so don't // use it as an exact indication of what transferred or to monitor your task // execution. FilesTransferred *int64 `type:"long"` // The number of files, objects, and directories that DataSync verified during // your transfer. // // When you configure your task to verify only the data that's transferred (https://docs.aws.amazon.com/datasync/latest/userguide/configure-data-verification-options.html), // DataSync doesn't verify directories in some situations or files that fail // to transfer. FilesVerified *int64 `type:"long"` // A list of filter rules that include specific data during your transfer. For // more information and examples, see Filtering data transferred by DataSync // (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). Includes []*FilterRule `type:"list"` // The configuration of the manifest that lists the files or objects to transfer. // For more information, see Specifying what DataSync transfers by using a manifest // (https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html). ManifestConfig *ManifestConfig `type:"structure"` // Indicates how your transfer task is configured. These options include how // DataSync handles files, objects, and their associated metadata during your // transfer. You also can specify how to verify data integrity, set bandwidth // limits for your task, among other options. // // Each option has a default value. Unless you need to, you don't have to configure // any option before calling StartTaskExecution (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html). // // You also can override your task options for each task execution. For example, // you might want to adjust the LogLevel for an individual execution. Options *Options `type:"structure"` // Indicates whether DataSync generated a complete task report (https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html) // for your transfer. ReportResult *ReportResult `type:"structure"` // The result of the task execution. Result *TaskExecutionResultDetail `type:"structure"` // The time when the task execution started. StartTime *time.Time `type:"timestamp"` // The status of the task execution. Status *string `type:"string" enum:"TaskExecutionStatus"` // The ARN of the task execution that you wanted information about. TaskExecutionArn // is hierarchical and includes TaskArn for the task that was executed. // // For example, a TaskExecution value with the ARN arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b // executed the task with the ARN arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2. TaskExecutionArn *string `type:"string"` // The configuration of your task report, which provides detailed information // about for your DataSync transfer. For more information, see Creating a task // report (https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html). TaskReportConfig *TaskReportConfig `type:"structure"` // contains filtered or unexported fields }
DescribeTaskExecutionResponse
func (s DescribeTaskExecutionOutput) 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 *DescribeTaskExecutionOutput) SetBytesCompressed(v int64) *DescribeTaskExecutionOutput
SetBytesCompressed sets the BytesCompressed field's value.
func (s *DescribeTaskExecutionOutput) SetBytesTransferred(v int64) *DescribeTaskExecutionOutput
SetBytesTransferred sets the BytesTransferred field's value.
func (s *DescribeTaskExecutionOutput) SetBytesWritten(v int64) *DescribeTaskExecutionOutput
SetBytesWritten sets the BytesWritten field's value.
func (s *DescribeTaskExecutionOutput) SetEstimatedBytesToTransfer(v int64) *DescribeTaskExecutionOutput
SetEstimatedBytesToTransfer sets the EstimatedBytesToTransfer field's value.
func (s *DescribeTaskExecutionOutput) SetEstimatedFilesToDelete(v int64) *DescribeTaskExecutionOutput
SetEstimatedFilesToDelete sets the EstimatedFilesToDelete field's value.
func (s *DescribeTaskExecutionOutput) SetEstimatedFilesToTransfer(v int64) *DescribeTaskExecutionOutput
SetEstimatedFilesToTransfer sets the EstimatedFilesToTransfer field's value.
func (s *DescribeTaskExecutionOutput) SetExcludes(v []*FilterRule) *DescribeTaskExecutionOutput
SetExcludes sets the Excludes field's value.
func (s *DescribeTaskExecutionOutput) SetFilesDeleted(v int64) *DescribeTaskExecutionOutput
SetFilesDeleted sets the FilesDeleted field's value.
func (s *DescribeTaskExecutionOutput) SetFilesSkipped(v int64) *DescribeTaskExecutionOutput
SetFilesSkipped sets the FilesSkipped field's value.
func (s *DescribeTaskExecutionOutput) SetFilesTransferred(v int64) *DescribeTaskExecutionOutput
SetFilesTransferred sets the FilesTransferred field's value.
func (s *DescribeTaskExecutionOutput) SetFilesVerified(v int64) *DescribeTaskExecutionOutput
SetFilesVerified sets the FilesVerified field's value.
func (s *DescribeTaskExecutionOutput) SetIncludes(v []*FilterRule) *DescribeTaskExecutionOutput
SetIncludes sets the Includes field's value.
func (s *DescribeTaskExecutionOutput) SetManifestConfig(v *ManifestConfig) *DescribeTaskExecutionOutput
SetManifestConfig sets the ManifestConfig field's value.
func (s *DescribeTaskExecutionOutput) SetOptions(v *Options) *DescribeTaskExecutionOutput
SetOptions sets the Options field's value.
func (s *DescribeTaskExecutionOutput) SetReportResult(v *ReportResult) *DescribeTaskExecutionOutput
SetReportResult sets the ReportResult field's value.
func (s *DescribeTaskExecutionOutput) SetResult(v *TaskExecutionResultDetail) *DescribeTaskExecutionOutput
SetResult sets the Result field's value.
func (s *DescribeTaskExecutionOutput) SetStartTime(v time.Time) *DescribeTaskExecutionOutput
SetStartTime sets the StartTime field's value.
func (s *DescribeTaskExecutionOutput) SetStatus(v string) *DescribeTaskExecutionOutput
SetStatus sets the Status field's value.
func (s *DescribeTaskExecutionOutput) SetTaskExecutionArn(v string) *DescribeTaskExecutionOutput
SetTaskExecutionArn sets the TaskExecutionArn field's value.
func (s *DescribeTaskExecutionOutput) SetTaskReportConfig(v *TaskReportConfig) *DescribeTaskExecutionOutput
SetTaskReportConfig sets the TaskReportConfig field's value.
func (s DescribeTaskExecutionOutput) 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 DescribeTaskInput struct { // Specifies the Amazon Resource Name (ARN) of the transfer task that you want // information about. // // TaskArn is a required field TaskArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
DescribeTaskRequest
func (s DescribeTaskInput) 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 *DescribeTaskInput) SetTaskArn(v string) *DescribeTaskInput
SetTaskArn sets the TaskArn field's value.
func (s DescribeTaskInput) 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 *DescribeTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type DescribeTaskOutput struct { // The Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring // your task. // // For more information, see Monitoring DataSync with Amazon CloudWatch (https://docs.aws.amazon.com/datasync/latest/userguide/monitor-datasync.html). CloudWatchLogGroupArn *string `type:"string"` // The time that the task was created. CreationTime *time.Time `type:"timestamp"` // The ARN of the most recent task execution. CurrentTaskExecutionArn *string `type:"string"` // The ARN of your transfer's destination location. DestinationLocationArn *string `type:"string"` // The ARNs of the network interfaces (https://docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html#required-network-interfaces) // that DataSync created for your destination location. DestinationNetworkInterfaceArns []*string `type:"list"` // If there's an issue with your task, you can use the error code to help you // troubleshoot the problem. For more information, see Troubleshooting issues // with DataSync transfers (https://docs.aws.amazon.com/datasync/latest/userguide/troubleshooting-datasync-locations-tasks.html). ErrorCode *string `type:"string"` // If there's an issue with your task, you can use the error details to help // you troubleshoot the problem. For more information, see Troubleshooting issues // with DataSync transfers (https://docs.aws.amazon.com/datasync/latest/userguide/troubleshooting-datasync-locations-tasks.html). ErrorDetail *string `type:"string"` // The exclude filters that define the files, objects, and folders in your source // location that you don't want DataSync to transfer. For more information and // examples, see Specifying what DataSync transfers by using filters (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). Excludes []*FilterRule `type:"list"` // The include filters that define the files, objects, and folders in your source // location that you want DataSync to transfer. For more information and examples, // see Specifying what DataSync transfers by using filters (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). Includes []*FilterRule `type:"list"` // The configuration of the manifest that lists the files or objects that you // want DataSync to transfer. For more information, see Specifying what DataSync // transfers by using a manifest (https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html). ManifestConfig *ManifestConfig `type:"structure"` // The name of your task. Name *string `type:"string"` // The task's settings. For example, what file metadata gets preserved, how // data integrity gets verified at the end of your transfer, bandwidth limits, // among other options. Options *Options `type:"structure"` // The schedule for when you want your task to run. For more information, see // Scheduling your task (https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html). Schedule *TaskSchedule `type:"structure"` // The details about your task schedule (https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html). ScheduleDetails *TaskScheduleDetails `type:"structure"` // The ARN of your transfer's source location. SourceLocationArn *string `type:"string"` // The ARNs of the network interfaces (https://docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html#required-network-interfaces) // that DataSync created for your source location. SourceNetworkInterfaceArns []*string `type:"list"` // The status of your task. For information about what each status means, see // Task statuses (https://docs.aws.amazon.com/datasync/latest/userguide/understand-task-statuses.html#understand-task-creation-statuses). Status *string `type:"string" enum:"TaskStatus"` // The ARN of your task. TaskArn *string `type:"string"` // The configuration of your task report, which provides detailed information // about your DataSync transfer. For more information, see Monitoring your DataSync // transfers with task reports (https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html). TaskReportConfig *TaskReportConfig `type:"structure"` // contains filtered or unexported fields }
DescribeTaskResponse
func (s DescribeTaskOutput) 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 *DescribeTaskOutput) SetCloudWatchLogGroupArn(v string) *DescribeTaskOutput
SetCloudWatchLogGroupArn sets the CloudWatchLogGroupArn field's value.
func (s *DescribeTaskOutput) SetCreationTime(v time.Time) *DescribeTaskOutput
SetCreationTime sets the CreationTime field's value.
func (s *DescribeTaskOutput) SetCurrentTaskExecutionArn(v string) *DescribeTaskOutput
SetCurrentTaskExecutionArn sets the CurrentTaskExecutionArn field's value.
func (s *DescribeTaskOutput) SetDestinationLocationArn(v string) *DescribeTaskOutput
SetDestinationLocationArn sets the DestinationLocationArn field's value.
func (s *DescribeTaskOutput) SetDestinationNetworkInterfaceArns(v []*string) *DescribeTaskOutput
SetDestinationNetworkInterfaceArns sets the DestinationNetworkInterfaceArns field's value.
func (s *DescribeTaskOutput) SetErrorCode(v string) *DescribeTaskOutput
SetErrorCode sets the ErrorCode field's value.
func (s *DescribeTaskOutput) SetErrorDetail(v string) *DescribeTaskOutput
SetErrorDetail sets the ErrorDetail field's value.
func (s *DescribeTaskOutput) SetExcludes(v []*FilterRule) *DescribeTaskOutput
SetExcludes sets the Excludes field's value.
func (s *DescribeTaskOutput) SetIncludes(v []*FilterRule) *DescribeTaskOutput
SetIncludes sets the Includes field's value.
func (s *DescribeTaskOutput) SetManifestConfig(v *ManifestConfig) *DescribeTaskOutput
SetManifestConfig sets the ManifestConfig field's value.
func (s *DescribeTaskOutput) SetName(v string) *DescribeTaskOutput
SetName sets the Name field's value.
func (s *DescribeTaskOutput) SetOptions(v *Options) *DescribeTaskOutput
SetOptions sets the Options field's value.
func (s *DescribeTaskOutput) SetSchedule(v *TaskSchedule) *DescribeTaskOutput
SetSchedule sets the Schedule field's value.
func (s *DescribeTaskOutput) SetScheduleDetails(v *TaskScheduleDetails) *DescribeTaskOutput
SetScheduleDetails sets the ScheduleDetails field's value.
func (s *DescribeTaskOutput) SetSourceLocationArn(v string) *DescribeTaskOutput
SetSourceLocationArn sets the SourceLocationArn field's value.
func (s *DescribeTaskOutput) SetSourceNetworkInterfaceArns(v []*string) *DescribeTaskOutput
SetSourceNetworkInterfaceArns sets the SourceNetworkInterfaceArns field's value.
func (s *DescribeTaskOutput) SetStatus(v string) *DescribeTaskOutput
SetStatus sets the Status field's value.
func (s *DescribeTaskOutput) SetTaskArn(v string) *DescribeTaskOutput
SetTaskArn sets the TaskArn field's value.
func (s *DescribeTaskOutput) SetTaskReportConfig(v *TaskReportConfig) *DescribeTaskOutput
SetTaskReportConfig sets the TaskReportConfig field's value.
func (s DescribeTaskOutput) 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 DiscoveryJobListEntry struct { // The Amazon Resource Name (ARN) of a discovery job. DiscoveryJobArn *string `type:"string"` // The status of a discovery job. For more information, see Discovery job statuses // (https://docs.aws.amazon.com/datasync/latest/userguide/discovery-job-statuses.html#discovery-job-statuses-table). Status *string `type:"string" enum:"DiscoveryJobStatus"` // contains filtered or unexported fields }
The details about a specific DataSync discovery job.
func (s DiscoveryJobListEntry) 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 *DiscoveryJobListEntry) SetDiscoveryJobArn(v string) *DiscoveryJobListEntry
SetDiscoveryJobArn sets the DiscoveryJobArn field's value.
func (s *DiscoveryJobListEntry) SetStatus(v string) *DiscoveryJobListEntry
SetStatus sets the Status field's value.
func (s DiscoveryJobListEntry) 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 DiscoveryServerConfiguration struct { // The domain name or IP address of your storage system's management interface. // // ServerHostname is a required field ServerHostname *string `type:"string" required:"true"` // The network port for accessing the storage system's management interface. ServerPort *int64 `min:"1" type:"integer"` // contains filtered or unexported fields }
The network settings that DataSync Discovery uses to connect with your on-premises storage system's management interface.
func (s DiscoveryServerConfiguration) 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 *DiscoveryServerConfiguration) SetServerHostname(v string) *DiscoveryServerConfiguration
SetServerHostname sets the ServerHostname field's value.
func (s *DiscoveryServerConfiguration) SetServerPort(v int64) *DiscoveryServerConfiguration
SetServerPort sets the ServerPort field's value.
func (s DiscoveryServerConfiguration) 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 *DiscoveryServerConfiguration) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Ec2Config struct { // Specifies the Amazon Resource Names (ARNs) of the security groups associated // with an Amazon EFS file system's mount target. // // SecurityGroupArns is a required field SecurityGroupArns []*string `min:"1" type:"list" required:"true"` // Specifies the ARN of a subnet where DataSync creates the network interfaces // (https://docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html#required-network-interfaces) // for managing traffic during your transfer. // // The subnet must be located: // // * In the same virtual private cloud (VPC) as the Amazon EFS file system. // // * In the same Availability Zone as at least one mount target for the Amazon // EFS file system. // // You don't need to specify a subnet that includes a file system mount target. // // SubnetArn is a required field SubnetArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
The subnet and security groups that DataSync uses to access your Amazon EFS file system.
func (s Ec2Config) 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 *Ec2Config) SetSecurityGroupArns(v []*string) *Ec2Config
SetSecurityGroupArns sets the SecurityGroupArns field's value.
func (s *Ec2Config) SetSubnetArn(v string) *Ec2Config
SetSubnetArn sets the SubnetArn field's value.
func (s Ec2Config) 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 *Ec2Config) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FilterRule struct { // The type of filter rule to apply. DataSync only supports the SIMPLE_PATTERN // rule type. FilterType *string `type:"string" enum:"FilterType"` // A single filter string that consists of the patterns to include or exclude. // The patterns are delimited by "|" (that is, a pipe), for example: /folder1|/folder2 Value *string `type:"string"` // contains filtered or unexported fields }
Specifies which files, folders, and objects to include or exclude when transferring files from source to destination.
func (s FilterRule) 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 *FilterRule) SetFilterType(v string) *FilterRule
SetFilterType sets the FilterType field's value.
func (s *FilterRule) SetValue(v string) *FilterRule
SetValue sets the Value field's value.
func (s FilterRule) 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 FsxProtocol struct { // Specifies the Network File System (NFS) protocol configuration that DataSync // uses to access your FSx for OpenZFS file system or FSx for ONTAP file system's // storage virtual machine (SVM). NFS *FsxProtocolNfs `type:"structure"` // Specifies the Server Message Block (SMB) protocol configuration that DataSync // uses to access your FSx for ONTAP file system's SVM. SMB *FsxProtocolSmb `type:"structure"` // contains filtered or unexported fields }
Specifies the data transfer protocol that DataSync uses to access your Amazon FSx file system.
func (s FsxProtocol) 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 *FsxProtocol) SetNFS(v *FsxProtocolNfs) *FsxProtocol
SetNFS sets the NFS field's value.
func (s *FsxProtocol) SetSMB(v *FsxProtocolSmb) *FsxProtocol
SetSMB sets the SMB field's value.
func (s FsxProtocol) 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 *FsxProtocol) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type FsxProtocolNfs struct { // Specifies how DataSync can access a location using the NFS protocol. MountOptions *NfsMountOptions `type:"structure"` // contains filtered or unexported fields }
Specifies the Network File System (NFS) protocol configuration that DataSync uses to access your Amazon FSx for OpenZFS or Amazon FSx for NetApp ONTAP file system.
func (s FsxProtocolNfs) 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 *FsxProtocolNfs) SetMountOptions(v *NfsMountOptions) *FsxProtocolNfs
SetMountOptions sets the MountOptions field's value.
func (s FsxProtocolNfs) 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 FsxProtocolSmb struct { // Specifies the fully qualified domain name (FQDN) of the Microsoft Active // Directory that your storage virtual machine (SVM) belongs to. // // If you have multiple domains in your environment, configuring this setting // makes sure that DataSync connects to the right SVM. Domain *string `type:"string"` // Specifies the version of the Server Message Block (SMB) protocol that DataSync // uses to access an SMB file server. MountOptions *SmbMountOptions `type:"structure"` // Specifies the password of a user who has permission to access your SVM. // // Password is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by FsxProtocolSmb's // String and GoString methods. // // Password is a required field Password *string `type:"string" required:"true" sensitive:"true"` // Specifies a user that can mount and access the files, folders, and metadata // in your SVM. // // For information about choosing a user with the right level of access for // your transfer, see Using the SMB protocol (https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html#create-ontap-location-smb). // // User is a required field User *string `type:"string" required:"true"` // contains filtered or unexported fields }
Specifies the Server Message Block (SMB) protocol configuration that DataSync uses to access your Amazon FSx for NetApp ONTAP file system. For more information, see Accessing FSx for ONTAP file systems (https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html#create-ontap-location-access).
func (s FsxProtocolSmb) 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 *FsxProtocolSmb) SetDomain(v string) *FsxProtocolSmb
SetDomain sets the Domain field's value.
func (s *FsxProtocolSmb) SetMountOptions(v *SmbMountOptions) *FsxProtocolSmb
SetMountOptions sets the MountOptions field's value.
func (s *FsxProtocolSmb) SetPassword(v string) *FsxProtocolSmb
SetPassword sets the Password field's value.
func (s *FsxProtocolSmb) SetUser(v string) *FsxProtocolSmb
SetUser sets the User field's value.
func (s FsxProtocolSmb) 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 *FsxProtocolSmb) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GenerateRecommendationsInput struct { // Specifies the Amazon Resource Name (ARN) of the discovery job that collects // information about your on-premises storage system. // // DiscoveryJobArn is a required field DiscoveryJobArn *string `type:"string" required:"true"` // Specifies the universally unique identifiers (UUIDs) of the resources in // your storage system that you want recommendations on. // // ResourceIds is a required field ResourceIds []*string `min:"1" type:"list" required:"true"` // Specifies the type of resource in your storage system that you want recommendations // on. // // ResourceType is a required field ResourceType *string `type:"string" required:"true" enum:"DiscoveryResourceType"` // contains filtered or unexported fields }
func (s GenerateRecommendationsInput) 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 *GenerateRecommendationsInput) SetDiscoveryJobArn(v string) *GenerateRecommendationsInput
SetDiscoveryJobArn sets the DiscoveryJobArn field's value.
func (s *GenerateRecommendationsInput) SetResourceIds(v []*string) *GenerateRecommendationsInput
SetResourceIds sets the ResourceIds field's value.
func (s *GenerateRecommendationsInput) SetResourceType(v string) *GenerateRecommendationsInput
SetResourceType sets the ResourceType field's value.
func (s GenerateRecommendationsInput) 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 *GenerateRecommendationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GenerateRecommendationsOutput struct {
// contains filtered or unexported fields
}
func (s GenerateRecommendationsOutput) 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 GenerateRecommendationsOutput) 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 HdfsNameNode struct { // The hostname of the NameNode in the HDFS cluster. This value is the IP address // or Domain Name Service (DNS) name of the NameNode. An agent that's installed // on-premises uses this hostname to communicate with the NameNode in the network. // // Hostname is a required field Hostname *string `min:"1" type:"string" required:"true"` // The port that the NameNode uses to listen to client requests. // // Port is a required field Port *int64 `min:"1" type:"integer" required:"true"` // contains filtered or unexported fields }
The NameNode of the Hadoop Distributed File System (HDFS). The NameNode manages the file system's namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes.
func (s HdfsNameNode) 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 *HdfsNameNode) SetHostname(v string) *HdfsNameNode
SetHostname sets the Hostname field's value.
func (s *HdfsNameNode) SetPort(v int64) *HdfsNameNode
SetPort sets the Port field's value.
func (s HdfsNameNode) 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 *HdfsNameNode) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type IOPS struct { // Peak IOPS unrelated to read and write operations. Other *float64 `type:"double"` // Peak IOPS related to read operations. Read *float64 `type:"double"` // Peak total IOPS on your on-premises storage system resource. Total *float64 `type:"double"` // Peak IOPS related to write operations. Write *float64 `type:"double"` // contains filtered or unexported fields }
The IOPS peaks for an on-premises storage system resource. Each data point represents the 95th percentile peak value during a 1-hour interval.
func (s IOPS) 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 *IOPS) SetOther(v float64) *IOPS
SetOther sets the Other field's value.
func (s *IOPS) SetRead(v float64) *IOPS
SetRead sets the Read field's value.
func (s *IOPS) SetTotal(v float64) *IOPS
SetTotal sets the Total field's value.
func (s *IOPS) SetWrite(v float64) *IOPS
SetWrite sets the Write field's value.
func (s IOPS) 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 InternalException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` ErrorCode *string `locationName:"errorCode" type:"string"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when an error occurs in the DataSync service.
func (s *InternalException) Code() string
Code returns the exception type name.
func (s *InternalException) Error() string
func (s InternalException) 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 *InternalException) Message() string
Message returns the exception's message.
func (s *InternalException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InternalException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InternalException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InternalException) 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 InvalidRequestException struct { RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` DatasyncErrorCode *string `locationName:"datasyncErrorCode" type:"string"` ErrorCode *string `locationName:"errorCode" type:"string"` Message_ *string `locationName:"message" type:"string"` // contains filtered or unexported fields }
This exception is thrown when the client submits a malformed request.
func (s *InvalidRequestException) Code() string
Code returns the exception type name.
func (s *InvalidRequestException) Error() string
func (s InvalidRequestException) 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 *InvalidRequestException) Message() string
Message returns the exception's message.
func (s *InvalidRequestException) OrigErr() error
OrigErr always returns nil, satisfies awserr.Error interface.
func (s *InvalidRequestException) RequestID() string
RequestID returns the service's response RequestID for request.
func (s *InvalidRequestException) StatusCode() int
Status code returns the HTTP status code for the request's response error.
func (s InvalidRequestException) 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 Latency struct { // Peak latency for operations unrelated to read and write operations. Other *float64 `type:"double"` // Peak latency for read operations. Read *float64 `type:"double"` // Peak latency for write operations. Write *float64 `type:"double"` // contains filtered or unexported fields }
The latency peaks for an on-premises storage system resource. Each data point represents the 95th percentile peak value during a 1-hour interval.
func (s Latency) 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 *Latency) SetOther(v float64) *Latency
SetOther sets the Other field's value.
func (s *Latency) SetRead(v float64) *Latency
SetRead sets the Read field's value.
func (s *Latency) SetWrite(v float64) *Latency
SetWrite sets the Write field's value.
func (s Latency) 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 ListAgentsInput struct { // Specifies the maximum number of DataSync agents to list in a response. By // default, a response shows a maximum of 100 agents. MaxResults *int64 `type:"integer"` // Specifies an opaque string that indicates the position to begin the next // list of results in the response. NextToken *string `type:"string"` // contains filtered or unexported fields }
ListAgentsRequest
func (s ListAgentsInput) 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 *ListAgentsInput) SetMaxResults(v int64) *ListAgentsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListAgentsInput) SetNextToken(v string) *ListAgentsInput
SetNextToken sets the NextToken field's value.
func (s ListAgentsInput) 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 ListAgentsOutput struct { // A list of DataSync agents in your Amazon Web Services account in the Amazon // Web Services Region specified in the request. The list is ordered by the // agents' Amazon Resource Names (ARNs). Agents []*AgentListEntry `type:"list"` // The opaque string that indicates the position to begin the next list of results // in the response. NextToken *string `type:"string"` // contains filtered or unexported fields }
ListAgentsResponse
func (s ListAgentsOutput) 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 *ListAgentsOutput) SetAgents(v []*AgentListEntry) *ListAgentsOutput
SetAgents sets the Agents field's value.
func (s *ListAgentsOutput) SetNextToken(v string) *ListAgentsOutput
SetNextToken sets the NextToken field's value.
func (s ListAgentsOutput) 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 ListDiscoveryJobsInput struct { // Specifies how many results you want in the response. MaxResults *int64 `min:"1" type:"integer"` // Specifies an opaque string that indicates the position to begin the next // list of results in the response. NextToken *string `type:"string"` // Specifies the Amazon Resource Name (ARN) of an on-premises storage system. // Use this parameter if you only want to list the discovery jobs that are associated // with a specific storage system. StorageSystemArn *string `type:"string"` // contains filtered or unexported fields }
func (s ListDiscoveryJobsInput) 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 *ListDiscoveryJobsInput) SetMaxResults(v int64) *ListDiscoveryJobsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListDiscoveryJobsInput) SetNextToken(v string) *ListDiscoveryJobsInput
SetNextToken sets the NextToken field's value.
func (s *ListDiscoveryJobsInput) SetStorageSystemArn(v string) *ListDiscoveryJobsInput
SetStorageSystemArn sets the StorageSystemArn field's value.
func (s ListDiscoveryJobsInput) 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 *ListDiscoveryJobsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListDiscoveryJobsOutput struct { // The discovery jobs that you've run. DiscoveryJobs []*DiscoveryJobListEntry `type:"list"` // The opaque string that indicates the position to begin the next list of results // in the response. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (s ListDiscoveryJobsOutput) 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 *ListDiscoveryJobsOutput) SetDiscoveryJobs(v []*DiscoveryJobListEntry) *ListDiscoveryJobsOutput
SetDiscoveryJobs sets the DiscoveryJobs field's value.
func (s *ListDiscoveryJobsOutput) SetNextToken(v string) *ListDiscoveryJobsOutput
SetNextToken sets the NextToken field's value.
func (s ListDiscoveryJobsOutput) 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 ListLocationsInput struct { // You can use API filters to narrow down the list of resources returned by // ListLocations. For example, to retrieve all tasks on a specific source location, // you can use ListLocations with filter name LocationType S3 and Operator Equals. Filters []*LocationFilter `type:"list"` // The maximum number of locations to return. MaxResults *int64 `type:"integer"` // An opaque string that indicates the position at which to begin the next list // of locations. NextToken *string `type:"string"` // contains filtered or unexported fields }
ListLocationsRequest
func (s ListLocationsInput) 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 *ListLocationsInput) SetFilters(v []*LocationFilter) *ListLocationsInput
SetFilters sets the Filters field's value.
func (s *ListLocationsInput) SetMaxResults(v int64) *ListLocationsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListLocationsInput) SetNextToken(v string) *ListLocationsInput
SetNextToken sets the NextToken field's value.
func (s ListLocationsInput) 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 *ListLocationsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListLocationsOutput struct { // An array that contains a list of locations. Locations []*LocationListEntry `type:"list"` // An opaque string that indicates the position at which to begin returning // the next list of locations. NextToken *string `type:"string"` // contains filtered or unexported fields }
ListLocationsResponse
func (s ListLocationsOutput) 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 *ListLocationsOutput) SetLocations(v []*LocationListEntry) *ListLocationsOutput
SetLocations sets the Locations field's value.
func (s *ListLocationsOutput) SetNextToken(v string) *ListLocationsOutput
SetNextToken sets the NextToken field's value.
func (s ListLocationsOutput) 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 ListStorageSystemsInput struct { // Specifies how many results you want in the response. MaxResults *int64 `min:"1" type:"integer"` // Specifies an opaque string that indicates the position to begin the next // list of results in the response. NextToken *string `type:"string"` // contains filtered or unexported fields }
func (s ListStorageSystemsInput) 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 *ListStorageSystemsInput) SetMaxResults(v int64) *ListStorageSystemsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListStorageSystemsInput) SetNextToken(v string) *ListStorageSystemsInput
SetNextToken sets the NextToken field's value.
func (s ListStorageSystemsInput) 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 *ListStorageSystemsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListStorageSystemsOutput struct { // The opaque string that indicates the position to begin the next list of results // in the response. NextToken *string `type:"string"` // The Amazon Resource Names ARNs) of the on-premises storage systems that you're // using with DataSync Discovery. StorageSystems []*StorageSystemListEntry `type:"list"` // contains filtered or unexported fields }
func (s ListStorageSystemsOutput) 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 *ListStorageSystemsOutput) SetNextToken(v string) *ListStorageSystemsOutput
SetNextToken sets the NextToken field's value.
func (s *ListStorageSystemsOutput) SetStorageSystems(v []*StorageSystemListEntry) *ListStorageSystemsOutput
SetStorageSystems sets the StorageSystems field's value.
func (s ListStorageSystemsOutput) 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 how many results that you want in the response. MaxResults *int64 `type:"integer"` // Specifies an opaque string that indicates the position to begin the next // list of results in the response. NextToken *string `type:"string"` // Specifies the Amazon Resource Name (ARN) of the resource that you want tag // information on. // // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
ListTagsForResourceRequest
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) SetMaxResults(v int64) *ListTagsForResourceInput
SetMaxResults sets the MaxResults field's value.
func (s *ListTagsForResourceInput) SetNextToken(v string) *ListTagsForResourceInput
SetNextToken sets the NextToken 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 { // The opaque string that indicates the position to begin the next list of results // in the response. NextToken *string `type:"string"` // An array of tags applied to the specified resource. Tags []*TagListEntry `type:"list"` // contains filtered or unexported fields }
ListTagsForResourceResponse
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) SetNextToken(v string) *ListTagsForResourceOutput
SetNextToken sets the NextToken field's value.
func (s *ListTagsForResourceOutput) SetTags(v []*TagListEntry) *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 ListTaskExecutionsInput struct { // Specifies how many results you want in the response. MaxResults *int64 `type:"integer"` // Specifies an opaque string that indicates the position at which to begin // the next list of results in the response. NextToken *string `type:"string"` // Specifies the Amazon Resource Name (ARN) of the task that you want execution // information about. TaskArn *string `type:"string"` // contains filtered or unexported fields }
ListTaskExecutions
func (s ListTaskExecutionsInput) 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 *ListTaskExecutionsInput) SetMaxResults(v int64) *ListTaskExecutionsInput
SetMaxResults sets the MaxResults field's value.
func (s *ListTaskExecutionsInput) SetNextToken(v string) *ListTaskExecutionsInput
SetNextToken sets the NextToken field's value.
func (s *ListTaskExecutionsInput) SetTaskArn(v string) *ListTaskExecutionsInput
SetTaskArn sets the TaskArn field's value.
func (s ListTaskExecutionsInput) 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 ListTaskExecutionsOutput struct { // The opaque string that indicates the position to begin the next list of results // in the response. NextToken *string `type:"string"` // A list of the task's executions. TaskExecutions []*TaskExecutionListEntry `type:"list"` // contains filtered or unexported fields }
ListTaskExecutionsResponse
func (s ListTaskExecutionsOutput) 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 *ListTaskExecutionsOutput) SetNextToken(v string) *ListTaskExecutionsOutput
SetNextToken sets the NextToken field's value.
func (s *ListTaskExecutionsOutput) SetTaskExecutions(v []*TaskExecutionListEntry) *ListTaskExecutionsOutput
SetTaskExecutions sets the TaskExecutions field's value.
func (s ListTaskExecutionsOutput) 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 ListTasksInput struct { // You can use API filters to narrow down the list of resources returned by // ListTasks. For example, to retrieve all tasks on a specific source location, // you can use ListTasks with filter name LocationId and Operator Equals with // the ARN for the location. Filters []*TaskFilter `type:"list"` // The maximum number of tasks to return. MaxResults *int64 `type:"integer"` // An opaque string that indicates the position at which to begin the next list // of tasks. NextToken *string `type:"string"` // contains filtered or unexported fields }
ListTasksRequest
func (s ListTasksInput) 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 *ListTasksInput) SetFilters(v []*TaskFilter) *ListTasksInput
SetFilters sets the Filters field's value.
func (s *ListTasksInput) SetMaxResults(v int64) *ListTasksInput
SetMaxResults sets the MaxResults field's value.
func (s *ListTasksInput) SetNextToken(v string) *ListTasksInput
SetNextToken sets the NextToken field's value.
func (s ListTasksInput) 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 *ListTasksInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ListTasksOutput struct { // An opaque string that indicates the position at which to begin returning // the next list of tasks. NextToken *string `type:"string"` // A list of all the tasks that are returned. Tasks []*TaskListEntry `type:"list"` // contains filtered or unexported fields }
ListTasksResponse
func (s ListTasksOutput) 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 *ListTasksOutput) SetNextToken(v string) *ListTasksOutput
SetNextToken sets the NextToken field's value.
func (s *ListTasksOutput) SetTasks(v []*TaskListEntry) *ListTasksOutput
SetTasks sets the Tasks field's value.
func (s ListTasksOutput) 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 LocationFilter struct { // The name of the filter being used. Each API call supports a list of filters // that are available for it (for example, LocationType for ListLocations). // // Name is a required field Name *string `type:"string" required:"true" enum:"LocationFilterName"` // The operator that is used to compare filter values (for example, Equals or // Contains). // // Operator is a required field Operator *string `type:"string" required:"true" enum:"Operator"` // The values that you want to filter for. For example, you might want to display // only Amazon S3 locations. // // Values is a required field Values []*string `type:"list" required:"true"` // contains filtered or unexported fields }
Narrow down the list of resources returned by ListLocations. For example, to see all your Amazon S3 locations, create a filter using "Name": "LocationType", "Operator": "Equals", and "Values": "S3".
For more information, see filtering resources (https://docs.aws.amazon.com/datasync/latest/userguide/query-resources.html).
func (s LocationFilter) 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 *LocationFilter) SetName(v string) *LocationFilter
SetName sets the Name field's value.
func (s *LocationFilter) SetOperator(v string) *LocationFilter
SetOperator sets the Operator field's value.
func (s *LocationFilter) SetValues(v []*string) *LocationFilter
SetValues sets the Values field's value.
func (s LocationFilter) 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 *LocationFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type LocationListEntry struct { // The Amazon Resource Name (ARN) of the location. For Network File System (NFS) // or Amazon EFS, the location is the export path. For Amazon S3, the location // is the prefix path that you want to mount and use as the root of the location. LocationArn *string `type:"string"` // Represents a list of URIs of a location. LocationUri returns an array that // contains a list of locations when the ListLocations (https://docs.aws.amazon.com/datasync/latest/userguide/API_ListLocations.html) // operation is called. // // Format: TYPE://GLOBAL_ID/SUBDIR. // // TYPE designates the type of location (for example, nfs or s3). // // GLOBAL_ID is the globally unique identifier of the resource that backs the // location. An example for EFS is us-east-2.fs-abcd1234. An example for Amazon // S3 is the bucket name, such as myBucket. An example for NFS is a valid IPv4 // address or a hostname that is compliant with Domain Name Service (DNS). // // SUBDIR is a valid file system path, delimited by forward slashes as is the // *nix convention. For NFS and Amazon EFS, it's the export path to mount the // location. For Amazon S3, it's the prefix path that you mount to and treat // as the root of the location. LocationUri *string `type:"string"` // contains filtered or unexported fields }
Represents a single entry in a list of locations. LocationListEntry returns an array that contains a list of locations when the ListLocations (https://docs.aws.amazon.com/datasync/latest/userguide/API_ListLocations.html) operation is called.
func (s LocationListEntry) 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 *LocationListEntry) SetLocationArn(v string) *LocationListEntry
SetLocationArn sets the LocationArn field's value.
func (s *LocationListEntry) SetLocationUri(v string) *LocationListEntry
SetLocationUri sets the LocationUri field's value.
func (s LocationListEntry) 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 ManifestConfig struct { // Specifies what DataSync uses the manifest for. Action *string `type:"string" enum:"ManifestAction"` // Specifies the file format of your manifest. For more information, see Creating // a manifest (https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html#transferring-with-manifest-create). Format *string `type:"string" enum:"ManifestFormat"` // Specifies the manifest that you want DataSync to use and where it's hosted. // // You must specify this parameter if you're configuring a new manifest on or // after February 7, 2024. // // If you don't, you'll get a 400 status code and ValidationException error // stating that you're missing the IAM role for DataSync to access the S3 bucket // where you're hosting your manifest. For more information, see Providing DataSync // access to your manifest (https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html#transferring-with-manifest-access). Source *SourceManifestConfig `type:"structure"` // contains filtered or unexported fields }
Configures a manifest, which is a list of files or objects that you want DataSync to transfer. For more information and configuration examples, see Specifying what DataSync transfers by using a manifest (https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html).
func (s ManifestConfig) 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 *ManifestConfig) SetAction(v string) *ManifestConfig
SetAction sets the Action field's value.
func (s *ManifestConfig) SetFormat(v string) *ManifestConfig
SetFormat sets the Format field's value.
func (s *ManifestConfig) SetSource(v *SourceManifestConfig) *ManifestConfig
SetSource sets the Source field's value.
func (s ManifestConfig) 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 *ManifestConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type MaxP95Performance struct { // Peak IOPS unrelated to read and write operations. IopsOther *float64 `type:"double"` // Peak IOPS related to read operations. IopsRead *float64 `type:"double"` // Peak total IOPS on your on-premises storage system resource. IopsTotal *float64 `type:"double"` // Peak IOPS related to write operations. IopsWrite *float64 `type:"double"` // Peak latency for operations unrelated to read and write operations. LatencyOther *float64 `type:"double"` // Peak latency for read operations. LatencyRead *float64 `type:"double"` // Peak latency for write operations. LatencyWrite *float64 `type:"double"` // Peak throughput unrelated to read and write operations. ThroughputOther *float64 `type:"double"` // Peak throughput related to read operations. ThroughputRead *float64 `type:"double"` // Peak total throughput on your on-premises storage system resource. ThroughputTotal *float64 `type:"double"` // Peak throughput related to write operations. ThroughputWrite *float64 `type:"double"` // contains filtered or unexported fields }
The performance data that DataSync Discovery collects about an on-premises storage system resource.
func (s MaxP95Performance) 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 *MaxP95Performance) SetIopsOther(v float64) *MaxP95Performance
SetIopsOther sets the IopsOther field's value.
func (s *MaxP95Performance) SetIopsRead(v float64) *MaxP95Performance
SetIopsRead sets the IopsRead field's value.
func (s *MaxP95Performance) SetIopsTotal(v float64) *MaxP95Performance
SetIopsTotal sets the IopsTotal field's value.
func (s *MaxP95Performance) SetIopsWrite(v float64) *MaxP95Performance
SetIopsWrite sets the IopsWrite field's value.
func (s *MaxP95Performance) SetLatencyOther(v float64) *MaxP95Performance
SetLatencyOther sets the LatencyOther field's value.
func (s *MaxP95Performance) SetLatencyRead(v float64) *MaxP95Performance
SetLatencyRead sets the LatencyRead field's value.
func (s *MaxP95Performance) SetLatencyWrite(v float64) *MaxP95Performance
SetLatencyWrite sets the LatencyWrite field's value.
func (s *MaxP95Performance) SetThroughputOther(v float64) *MaxP95Performance
SetThroughputOther sets the ThroughputOther field's value.
func (s *MaxP95Performance) SetThroughputRead(v float64) *MaxP95Performance
SetThroughputRead sets the ThroughputRead field's value.
func (s *MaxP95Performance) SetThroughputTotal(v float64) *MaxP95Performance
SetThroughputTotal sets the ThroughputTotal field's value.
func (s *MaxP95Performance) SetThroughputWrite(v float64) *MaxP95Performance
SetThroughputWrite sets the ThroughputWrite field's value.
func (s MaxP95Performance) 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 NetAppONTAPCluster struct { // The number of CIFS shares in the cluster. CifsShareCount *int64 `type:"long"` // The storage space that's being used in the cluster without accounting for // compression or deduplication. ClusterBlockStorageLogicalUsed *int64 `type:"long"` // The total storage space that's available in the cluster. ClusterBlockStorageSize *int64 `type:"long"` // The storage space that's being used in a cluster. ClusterBlockStorageUsed *int64 `type:"long"` // The amount of space in the cluster that's in cloud storage (for example, // if you're using data tiering). ClusterCloudStorageUsed *int64 `type:"long"` // The name of the cluster. ClusterName *string `type:"string"` // The number of LUNs (logical unit numbers) in the cluster. LunCount *int64 `type:"long"` // The performance data that DataSync Discovery collects about the cluster. MaxP95Performance *MaxP95Performance `type:"structure"` // The number of NFS volumes in the cluster. NfsExportedVolumes *int64 `type:"long"` // Indicates whether DataSync Discovery recommendations for the cluster are // ready to view, incomplete, or can't be determined. // // For more information, see Recommendation statuses (https://docs.aws.amazon.com/datasync/latest/userguide/discovery-job-statuses.html#recommendation-statuses-table). RecommendationStatus *string `type:"string" enum:"RecommendationStatus"` // The Amazon Web Services storage services that DataSync Discovery recommends // for the cluster. For more information, see Recommendations provided by DataSync // Discovery (https://docs.aws.amazon.com/datasync/latest/userguide/discovery-understand-recommendations.html). Recommendations []*Recommendation `type:"list"` // The universally unique identifier (UUID) of the cluster. ResourceId *string `type:"string"` // contains filtered or unexported fields }
The information that DataSync Discovery collects about an on-premises storage system cluster.
func (s NetAppONTAPCluster) 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 *NetAppONTAPCluster) SetCifsShareCount(v int64) *NetAppONTAPCluster
SetCifsShareCount sets the CifsShareCount field's value.
func (s *NetAppONTAPCluster) SetClusterBlockStorageLogicalUsed(v int64) *NetAppONTAPCluster
SetClusterBlockStorageLogicalUsed sets the ClusterBlockStorageLogicalUsed field's value.
func (s *NetAppONTAPCluster) SetClusterBlockStorageSize(v int64) *NetAppONTAPCluster
SetClusterBlockStorageSize sets the ClusterBlockStorageSize field's value.
func (s *NetAppONTAPCluster) SetClusterBlockStorageUsed(v int64) *NetAppONTAPCluster
SetClusterBlockStorageUsed sets the ClusterBlockStorageUsed field's value.
func (s *NetAppONTAPCluster) SetClusterCloudStorageUsed(v int64) *NetAppONTAPCluster
SetClusterCloudStorageUsed sets the ClusterCloudStorageUsed field's value.
func (s *NetAppONTAPCluster) SetClusterName(v string) *NetAppONTAPCluster
SetClusterName sets the ClusterName field's value.
func (s *NetAppONTAPCluster) SetLunCount(v int64) *NetAppONTAPCluster
SetLunCount sets the LunCount field's value.
func (s *NetAppONTAPCluster) SetMaxP95Performance(v *MaxP95Performance) *NetAppONTAPCluster
SetMaxP95Performance sets the MaxP95Performance field's value.
func (s *NetAppONTAPCluster) SetNfsExportedVolumes(v int64) *NetAppONTAPCluster
SetNfsExportedVolumes sets the NfsExportedVolumes field's value.
func (s *NetAppONTAPCluster) SetRecommendationStatus(v string) *NetAppONTAPCluster
SetRecommendationStatus sets the RecommendationStatus field's value.
func (s *NetAppONTAPCluster) SetRecommendations(v []*Recommendation) *NetAppONTAPCluster
SetRecommendations sets the Recommendations field's value.
func (s *NetAppONTAPCluster) SetResourceId(v string) *NetAppONTAPCluster
SetResourceId sets the ResourceId field's value.
func (s NetAppONTAPCluster) 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 NetAppONTAPSVM struct { // The number of CIFS shares in the SVM. CifsShareCount *int64 `type:"long"` // The universally unique identifier (UUID) of the cluster associated with the // SVM. ClusterUuid *string `type:"string"` // The data transfer protocols (such as NFS) configured for the SVM. EnabledProtocols []*string `type:"list"` // The number of LUNs (logical unit numbers) in the SVM. LunCount *int64 `type:"long"` // The performance data that DataSync Discovery collects about the SVM. MaxP95Performance *MaxP95Performance `type:"structure"` // The number of NFS volumes in the SVM. NfsExportedVolumes *int64 `type:"long"` // Indicates whether DataSync Discovery recommendations for the SVM are ready // to view, incomplete, or can't be determined. // // For more information, see Recommendation statuses (https://docs.aws.amazon.com/datasync/latest/userguide/discovery-job-statuses.html#recommendation-statuses-table). RecommendationStatus *string `type:"string" enum:"RecommendationStatus"` // The Amazon Web Services storage services that DataSync Discovery recommends // for the SVM. For more information, see Recommendations provided by DataSync // Discovery (https://docs.aws.amazon.com/datasync/latest/userguide/discovery-understand-recommendations.html). Recommendations []*Recommendation `type:"list"` // The UUID of the SVM. ResourceId *string `type:"string"` // The name of the SVM SvmName *string `type:"string"` // The total storage space that's available in the SVM. TotalCapacityProvisioned *int64 `type:"long"` // The storage space that's being used in the SVM. TotalCapacityUsed *int64 `type:"long"` // The storage space that's being used in the SVM without accounting for compression // or deduplication. TotalLogicalCapacityUsed *int64 `type:"long"` // The amount of storage in the SVM that's being used for snapshots. TotalSnapshotCapacityUsed *int64 `type:"long"` // contains filtered or unexported fields }
The information that DataSync Discovery collects about a storage virtual machine (SVM) in your on-premises storage system.
func (s NetAppONTAPSVM) 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 *NetAppONTAPSVM) SetCifsShareCount(v int64) *NetAppONTAPSVM
SetCifsShareCount sets the CifsShareCount field's value.
func (s *NetAppONTAPSVM) SetClusterUuid(v string) *NetAppONTAPSVM
SetClusterUuid sets the ClusterUuid field's value.
func (s *NetAppONTAPSVM) SetEnabledProtocols(v []*string) *NetAppONTAPSVM
SetEnabledProtocols sets the EnabledProtocols field's value.
func (s *NetAppONTAPSVM) SetLunCount(v int64) *NetAppONTAPSVM
SetLunCount sets the LunCount field's value.
func (s *NetAppONTAPSVM) SetMaxP95Performance(v *MaxP95Performance) *NetAppONTAPSVM
SetMaxP95Performance sets the MaxP95Performance field's value.
func (s *NetAppONTAPSVM) SetNfsExportedVolumes(v int64) *NetAppONTAPSVM
SetNfsExportedVolumes sets the NfsExportedVolumes field's value.
func (s *NetAppONTAPSVM) SetRecommendationStatus(v string) *NetAppONTAPSVM
SetRecommendationStatus sets the RecommendationStatus field's value.
func (s *NetAppONTAPSVM) SetRecommendations(v []*Recommendation) *NetAppONTAPSVM
SetRecommendations sets the Recommendations field's value.
func (s *NetAppONTAPSVM) SetResourceId(v string) *NetAppONTAPSVM
SetResourceId sets the ResourceId field's value.
func (s *NetAppONTAPSVM) SetSvmName(v string) *NetAppONTAPSVM
SetSvmName sets the SvmName field's value.
func (s *NetAppONTAPSVM) SetTotalCapacityProvisioned(v int64) *NetAppONTAPSVM
SetTotalCapacityProvisioned sets the TotalCapacityProvisioned field's value.
func (s *NetAppONTAPSVM) SetTotalCapacityUsed(v int64) *NetAppONTAPSVM
SetTotalCapacityUsed sets the TotalCapacityUsed field's value.
func (s *NetAppONTAPSVM) SetTotalLogicalCapacityUsed(v int64) *NetAppONTAPSVM
SetTotalLogicalCapacityUsed sets the TotalLogicalCapacityUsed field's value.
func (s *NetAppONTAPSVM) SetTotalSnapshotCapacityUsed(v int64) *NetAppONTAPSVM
SetTotalSnapshotCapacityUsed sets the TotalSnapshotCapacityUsed field's value.
func (s NetAppONTAPSVM) 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 NetAppONTAPVolume struct { // The total storage space that's available in the volume. CapacityProvisioned *int64 `type:"long"` // The storage space that's being used in the volume. CapacityUsed *int64 `type:"long"` // The number of CIFS shares in the volume. CifsShareCount *int64 `type:"long"` // The storage space that's being used in the volume without accounting for // compression or deduplication. LogicalCapacityUsed *int64 `type:"long"` // The number of LUNs (logical unit numbers) in the volume. LunCount *int64 `type:"long"` // The performance data that DataSync Discovery collects about the volume. MaxP95Performance *MaxP95Performance `type:"structure"` // The number of NFS volumes in the volume. NfsExported *bool `type:"boolean"` // Indicates whether DataSync Discovery recommendations for the volume are ready // to view, incomplete, or can't be determined. // // For more information, see Recommendation statuses (https://docs.aws.amazon.com/datasync/latest/userguide/discovery-job-statuses.html#recommendation-statuses-table). RecommendationStatus *string `type:"string" enum:"RecommendationStatus"` // The Amazon Web Services storage services that DataSync Discovery recommends // for the volume. For more information, see Recommendations provided by DataSync // Discovery (https://docs.aws.amazon.com/datasync/latest/userguide/discovery-understand-recommendations.html). Recommendations []*Recommendation `type:"list"` // The universally unique identifier (UUID) of the volume. ResourceId *string `type:"string"` // The volume's security style (such as Unix or NTFS). SecurityStyle *string `type:"string"` // The amount of storage in the volume that's being used for snapshots. SnapshotCapacityUsed *int64 `type:"long"` // The name of the SVM associated with the volume. SvmName *string `type:"string"` // The UUID of the storage virtual machine (SVM) associated with the volume. SvmUuid *string `type:"string"` // The name of the volume. VolumeName *string `type:"string"` // contains filtered or unexported fields }
The information that DataSync Discovery collects about a volume in your on-premises storage system.
func (s NetAppONTAPVolume) 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 *NetAppONTAPVolume) SetCapacityProvisioned(v int64) *NetAppONTAPVolume
SetCapacityProvisioned sets the CapacityProvisioned field's value.
func (s *NetAppONTAPVolume) SetCapacityUsed(v int64) *NetAppONTAPVolume
SetCapacityUsed sets the CapacityUsed field's value.
func (s *NetAppONTAPVolume) SetCifsShareCount(v int64) *NetAppONTAPVolume
SetCifsShareCount sets the CifsShareCount field's value.
func (s *NetAppONTAPVolume) SetLogicalCapacityUsed(v int64) *NetAppONTAPVolume
SetLogicalCapacityUsed sets the LogicalCapacityUsed field's value.
func (s *NetAppONTAPVolume) SetLunCount(v int64) *NetAppONTAPVolume
SetLunCount sets the LunCount field's value.
func (s *NetAppONTAPVolume) SetMaxP95Performance(v *MaxP95Performance) *NetAppONTAPVolume
SetMaxP95Performance sets the MaxP95Performance field's value.
func (s *NetAppONTAPVolume) SetNfsExported(v bool) *NetAppONTAPVolume
SetNfsExported sets the NfsExported field's value.
func (s *NetAppONTAPVolume) SetRecommendationStatus(v string) *NetAppONTAPVolume
SetRecommendationStatus sets the RecommendationStatus field's value.
func (s *NetAppONTAPVolume) SetRecommendations(v []*Recommendation) *NetAppONTAPVolume
SetRecommendations sets the Recommendations field's value.
func (s *NetAppONTAPVolume) SetResourceId(v string) *NetAppONTAPVolume
SetResourceId sets the ResourceId field's value.
func (s *NetAppONTAPVolume) SetSecurityStyle(v string) *NetAppONTAPVolume
SetSecurityStyle sets the SecurityStyle field's value.
func (s *NetAppONTAPVolume) SetSnapshotCapacityUsed(v int64) *NetAppONTAPVolume
SetSnapshotCapacityUsed sets the SnapshotCapacityUsed field's value.
func (s *NetAppONTAPVolume) SetSvmName(v string) *NetAppONTAPVolume
SetSvmName sets the SvmName field's value.
func (s *NetAppONTAPVolume) SetSvmUuid(v string) *NetAppONTAPVolume
SetSvmUuid sets the SvmUuid field's value.
func (s *NetAppONTAPVolume) SetVolumeName(v string) *NetAppONTAPVolume
SetVolumeName sets the VolumeName field's value.
func (s NetAppONTAPVolume) 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 NfsMountOptions struct { // Specifies the NFS version that you want DataSync to use when mounting your // NFS share. If the server refuses to use the version specified, the task fails. // // You can specify the following options: // // * AUTOMATIC (default): DataSync chooses NFS version 4.1. // // * NFS3: Stateless protocol version that allows for asynchronous writes // on the server. // // * NFSv4_0: Stateful, firewall-friendly protocol version that supports // delegations and pseudo file systems. // // * NFSv4_1: Stateful protocol version that supports sessions, directory // delegations, and parallel data processing. NFS version 4.1 also includes // all features available in version 4.0. // // DataSync currently only supports NFS version 3 with Amazon FSx for NetApp // ONTAP locations. Version *string `type:"string" enum:"NfsVersion"` // contains filtered or unexported fields }
Specifies how DataSync can access a location using the NFS protocol.
func (s NfsMountOptions) 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 *NfsMountOptions) SetVersion(v string) *NfsMountOptions
SetVersion sets the Version field's value.
func (s NfsMountOptions) 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 OnPremConfig struct { // The Amazon Resource Names (ARNs) of the agents connecting to a transfer location. // // AgentArns is a required field AgentArns []*string `min:"1" type:"list" required:"true"` // contains filtered or unexported fields }
The DataSync agents that are connecting to a Network File System (NFS) location.
func (s OnPremConfig) 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 *OnPremConfig) SetAgentArns(v []*string) *OnPremConfig
SetAgentArns sets the AgentArns field's value.
func (s OnPremConfig) 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 *OnPremConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type Options struct { // Specifies whether to preserve metadata indicating the last time a file was // read or written to. // // The behavior of Atime isn't fully standard across platforms, so DataSync // can only do this on a best-effort basis. // // * BEST_EFFORT (default) - DataSync attempts to preserve the original Atime // attribute on all source files (that is, the version before the PREPARING // phase of the task execution). This option is recommended. // // * NONE - Ignores Atime. // // If Atime is set to BEST_EFFORT, Mtime must be set to PRESERVE. // // If Atime is set to NONE, Mtime must also be NONE. Atime *string `type:"string" enum:"Atime"` // Limits the bandwidth used by a DataSync task. For example, if you want DataSync // to use a maximum of 1 MB, set this value to 1048576 (=1024*1024). BytesPerSecond *int64 `type:"long"` // Specifies the POSIX group ID (GID) of the file's owners. // // * INT_VALUE (default) - Preserves the integer value of user ID (UID) and // GID, which is recommended. // // * NONE - Ignores UID and GID. // // For more information, see Metadata copied by DataSync (https://docs.aws.amazon.com/datasync/latest/userguide/special-files.html#metadata-copied). Gid *string `type:"string" enum:"Gid"` // Specifies the type of logs that DataSync publishes to a Amazon CloudWatch // Logs log group. To specify the log group, see CloudWatchLogGroupArn (https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateTask.html#DataSync-CreateTask-request-CloudWatchLogGroupArn). // // * BASIC - Publishes logs with only basic information (such as transfer // errors). // // * TRANSFER - Publishes logs for all files or objects that your DataSync // task transfers and performs data-integrity checks on. // // * OFF - No logs are published. LogLevel *string `type:"string" enum:"LogLevel"` // Specifies whether to preserve metadata indicating the last time that a file // was written to before the PREPARING phase of your task execution. This option // is required when you need to run the a task more than once. // // * PRESERVE (default) - Preserves original Mtime, which is recommended. // // * NONE - Ignores Mtime. // // If Mtime is set to PRESERVE, Atime must be set to BEST_EFFORT. // // If Mtime is set to NONE, Atime must also be set to NONE. Mtime *string `type:"string" enum:"Mtime"` // Specifies whether you want DataSync to PRESERVE object tags (default behavior) // when transferring between object storage systems. If you want your DataSync // task to ignore object tags, specify the NONE value. ObjectTags *string `type:"string" enum:"ObjectTags"` // Specifies whether DataSync should modify or preserve data at the destination // location. // // * ALWAYS (default) - DataSync modifies data in the destination location // when source data (including metadata) has changed. If DataSync overwrites // objects, you might incur additional charges for certain Amazon S3 storage // classes (for example, for retrieval or early deletion). For more information, // see Storage class considerations with Amazon S3 transfers (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes). // // * NEVER - DataSync doesn't overwrite data in the destination location // even if the source data has changed. You can use this option to protect // against overwriting changes made to files or objects in the destination. OverwriteMode *string `type:"string" enum:"OverwriteMode"` // Specifies which users or groups can access a file for a specific purpose // such as reading, writing, or execution of the file. // // For more information, see Metadata copied by DataSync (https://docs.aws.amazon.com/datasync/latest/userguide/special-files.html#metadata-copied). // // * PRESERVE (default) - Preserves POSIX-style permissions, which is recommended. // // * NONE - Ignores POSIX-style permissions. // // DataSync can preserve extant permissions of a source location. PosixPermissions *string `type:"string" enum:"PosixPermissions"` // Specifies whether files in the destination location that don't exist in the // source should be preserved. This option can affect your Amazon S3 storage // cost. If your task deletes objects, you might incur minimum storage duration // charges for certain storage classes. For detailed information, see Considerations // when working with Amazon S3 storage classes in DataSync (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes). // // * PRESERVE (default) - Ignores such destination files, which is recommended. // // * REMOVE - Deletes destination files that aren’t present in the source. // // If you set this parameter to REMOVE, you can't set TransferMode to ALL. When // you transfer all data, DataSync doesn't scan your destination location and // doesn't know what to delete. PreserveDeletedFiles *string `type:"string" enum:"PreserveDeletedFiles"` // Specifies whether DataSync should preserve the metadata of block and character // devices in the source location and recreate the files with that device name // and metadata on the destination. DataSync copies only the name and metadata // of such devices. // // DataSync can't copy the actual contents of these devices because they're // nonterminal and don't return an end-of-file (EOF) marker. // // * NONE (default) - Ignores special devices (recommended). // // * PRESERVE - Preserves character and block device metadata. This option // currently isn't supported for Amazon EFS. PreserveDevices *string `type:"string" enum:"PreserveDevices"` // Specifies which components of the SMB security descriptor are copied from // source to destination objects. // // This value is only used for transfers between SMB and Amazon FSx for Windows // File Server locations or between two FSx for Windows File Server locations. // For more information, see how DataSync handles metadata (https://docs.aws.amazon.com/datasync/latest/userguide/special-files.html). // // * OWNER_DACL (default) - For each copied object, DataSync copies the following // metadata: The object owner. NTFS discretionary access control lists (DACLs), // which determine whether to grant access to an object. DataSync won't copy // NTFS system access control lists (SACLs) with this option. // // * OWNER_DACL_SACL - For each copied object, DataSync copies the following // metadata: The object owner. NTFS discretionary access control lists (DACLs), // which determine whether to grant access to an object. SACLs, which are // used by administrators to log attempts to access a secured object. Copying // SACLs requires granting additional permissions to the Windows user that // DataSync uses to access your SMB location. For information about choosing // a user with the right permissions, see required permissions for SMB (https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions), // FSx for Windows File Server (https://docs.aws.amazon.com/datasync/latest/userguide/create-fsx-location.html#create-fsx-windows-location-permissions), // or FSx for ONTAP (https://docs.aws.amazon.com/datasync/latest/userguide/create-ontap-location.html#create-ontap-location-smb) // (depending on the type of location in your transfer). // // * NONE - None of the SMB security descriptor components are copied. Destination // objects are owned by the user that was provided for accessing the destination // location. DACLs and SACLs are set based on the destination server’s // configuration. SecurityDescriptorCopyFlags *string `type:"string" enum:"SmbSecurityDescriptorCopyFlags"` // Specifies whether your transfer tasks should be put into a queue during certain // scenarios when running multiple tasks (https://docs.aws.amazon.com/datasync/latest/userguide/run-task.html#running-multiple-tasks). // This is ENABLED by default. TaskQueueing *string `type:"string" enum:"TaskQueueing"` // Determines whether DataSync transfers only the data and metadata that differ // between the source and the destination location or transfers all the content // from the source (without comparing what's in the destination). // // * CHANGED (default) - DataSync copies only data or metadata that is new // or different content from the source location to the destination location. // // * ALL - DataSync copies everything in the source to the destination without // comparing differences between the locations. TransferMode *string `type:"string" enum:"TransferMode"` // Specifies the POSIX user ID (UID) of the file's owner. // // * INT_VALUE (default) - Preserves the integer value of UID and group ID // (GID), which is recommended. // // * NONE - Ignores UID and GID. // // For more information, see Metadata copied by DataSync (https://docs.aws.amazon.com/datasync/latest/userguide/special-files.html#metadata-copied). Uid *string `type:"string" enum:"Uid"` // Specifies how and when DataSync checks the integrity of your data during // a transfer. // // * ONLY_FILES_TRANSFERRED (recommended) - DataSync calculates the checksum // of transferred files and metadata at the source location. At the end of // the transfer, DataSync then compares this checksum to the checksum calculated // on those files at the destination. We recommend this option when transferring // to S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage classes. // For more information, see Storage class considerations with Amazon S3 // locations (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes). // // * POINT_IN_TIME_CONSISTENT (default) - At the end of the transfer, DataSync // scans the entire source and destination to verify that both locations // are fully synchronized. If you use a manifest (https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html), // DataSync only scans and verifies what's listed in the manifest. You can't // use this option when transferring to S3 Glacier Flexible Retrieval or // S3 Glacier Deep Archive storage classes. For more information, see Storage // class considerations with Amazon S3 locations (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#using-storage-classes). // // * NONE - DataSync doesn't run additional verification at the end of the // transfer. All data transmissions are still integrity-checked with checksum // verification during the transfer. VerifyMode *string `type:"string" enum:"VerifyMode"` // contains filtered or unexported fields }
Indicates how your transfer task is configured. These options include how DataSync handles files, objects, and their associated metadata during your transfer. You also can specify how to verify data integrity, set bandwidth limits for your task, among other options.
Each option has a default value. Unless you need to, you don't have to configure any option before calling StartTaskExecution (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html).
You also can override your task options for each task execution. For example, you might want to adjust the LogLevel for an individual execution.
func (s Options) 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 *Options) SetAtime(v string) *Options
SetAtime sets the Atime field's value.
func (s *Options) SetBytesPerSecond(v int64) *Options
SetBytesPerSecond sets the BytesPerSecond field's value.
func (s *Options) SetGid(v string) *Options
SetGid sets the Gid field's value.
func (s *Options) SetLogLevel(v string) *Options
SetLogLevel sets the LogLevel field's value.
func (s *Options) SetMtime(v string) *Options
SetMtime sets the Mtime field's value.
func (s *Options) SetObjectTags(v string) *Options
SetObjectTags sets the ObjectTags field's value.
func (s *Options) SetOverwriteMode(v string) *Options
SetOverwriteMode sets the OverwriteMode field's value.
func (s *Options) SetPosixPermissions(v string) *Options
SetPosixPermissions sets the PosixPermissions field's value.
func (s *Options) SetPreserveDeletedFiles(v string) *Options
SetPreserveDeletedFiles sets the PreserveDeletedFiles field's value.
func (s *Options) SetPreserveDevices(v string) *Options
SetPreserveDevices sets the PreserveDevices field's value.
func (s *Options) SetSecurityDescriptorCopyFlags(v string) *Options
SetSecurityDescriptorCopyFlags sets the SecurityDescriptorCopyFlags field's value.
func (s *Options) SetTaskQueueing(v string) *Options
SetTaskQueueing sets the TaskQueueing field's value.
func (s *Options) SetTransferMode(v string) *Options
SetTransferMode sets the TransferMode field's value.
func (s *Options) SetUid(v string) *Options
SetUid sets the Uid field's value.
func (s *Options) SetVerifyMode(v string) *Options
SetVerifyMode sets the VerifyMode field's value.
func (s Options) 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 *Options) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type P95Metrics struct { // The IOPS peaks for an on-premises storage system resource. Each data point // represents the 95th percentile peak value during a 1-hour interval. IOPS *IOPS `type:"structure"` // The latency peaks for an on-premises storage system resource. Each data point // represents the 95th percentile peak value during a 1-hour interval. Latency *Latency `type:"structure"` // The throughput peaks for an on-premises storage system resource. Each data // point represents the 95th percentile peak value during a 1-hour interval. Throughput *Throughput `type:"structure"` // contains filtered or unexported fields }
The types of performance data that DataSync Discovery collects about an on-premises storage system resource.
func (s P95Metrics) 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 *P95Metrics) SetIOPS(v *IOPS) *P95Metrics
SetIOPS sets the IOPS field's value.
func (s *P95Metrics) SetLatency(v *Latency) *P95Metrics
SetLatency sets the Latency field's value.
func (s *P95Metrics) SetThroughput(v *Throughput) *P95Metrics
SetThroughput sets the Throughput field's value.
func (s P95Metrics) 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 Platform struct { // The version of the DataSync agent. Version *string `min:"1" type:"string"` // contains filtered or unexported fields }
The platform-related details about the DataSync agent, such as the version number.
func (s Platform) 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 *Platform) SetVersion(v string) *Platform
SetVersion sets the Version field's value.
func (s Platform) 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 PrivateLinkConfig struct { // Specifies the VPC endpoint provided by Amazon Web Services PrivateLink (https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-service.html) // that your agent connects to. PrivateLinkEndpoint *string `min:"7" type:"string"` // Specifies the Amazon Resource Names (ARN) of the security group that provides // DataSync access to your VPC endpoint. You can only specify one ARN. SecurityGroupArns []*string `min:"1" type:"list"` // Specifies the ARN of the subnet where your VPC endpoint is located. You can // only specify one ARN. SubnetArns []*string `min:"1" type:"list"` // Specifies the ID of the VPC endpoint that your agent connects to. VpcEndpointId *string `type:"string"` // contains filtered or unexported fields }
Specifies how your DataSync agent connects to Amazon Web Services using a virtual private cloud (VPC) service endpoint (https://docs.aws.amazon.com/datasync/latest/userguide/choose-service-endpoint.html#choose-service-endpoint-vpc). An agent that uses a VPC endpoint isn't accessible over the public internet.
func (s PrivateLinkConfig) 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 *PrivateLinkConfig) SetPrivateLinkEndpoint(v string) *PrivateLinkConfig
SetPrivateLinkEndpoint sets the PrivateLinkEndpoint field's value.
func (s *PrivateLinkConfig) SetSecurityGroupArns(v []*string) *PrivateLinkConfig
SetSecurityGroupArns sets the SecurityGroupArns field's value.
func (s *PrivateLinkConfig) SetSubnetArns(v []*string) *PrivateLinkConfig
SetSubnetArns sets the SubnetArns field's value.
func (s *PrivateLinkConfig) SetVpcEndpointId(v string) *PrivateLinkConfig
SetVpcEndpointId sets the VpcEndpointId field's value.
func (s PrivateLinkConfig) 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 QopConfiguration struct { // The data transfer protection setting configured on the HDFS cluster. This // setting corresponds to your dfs.data.transfer.protection setting in the hdfs-site.xml // file on your Hadoop cluster. DataTransferProtection *string `type:"string" enum:"HdfsDataTransferProtection"` // The RPC protection setting configured on the HDFS cluster. This setting corresponds // to your hadoop.rpc.protection setting in your core-site.xml file on your // Hadoop cluster. RpcProtection *string `type:"string" enum:"HdfsRpcProtection"` // contains filtered or unexported fields }
The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer privacy settings configured on the Hadoop Distributed File System (HDFS) cluster.
func (s QopConfiguration) 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 *QopConfiguration) SetDataTransferProtection(v string) *QopConfiguration
SetDataTransferProtection sets the DataTransferProtection field's value.
func (s *QopConfiguration) SetRpcProtection(v string) *QopConfiguration
SetRpcProtection sets the RpcProtection field's value.
func (s QopConfiguration) 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 Recommendation struct { // The estimated monthly cost of the recommended Amazon Web Services storage // service. EstimatedMonthlyStorageCost *string `type:"string"` // Information about how you can set up a recommended Amazon Web Services storage // service. StorageConfiguration map[string]*string `type:"map"` // A recommended Amazon Web Services storage service that you can migrate data // to based on information that DataSync Discovery collects about your on-premises // storage system. StorageType *string `type:"string"` // contains filtered or unexported fields }
The details about an Amazon Web Services storage service that DataSync Discovery recommends for a resource in your on-premises storage system.
For more information, see Recommendations provided by DataSync Discovery (https://docs.aws.amazon.com/datasync/latest/userguide/discovery-understand-recommendations.html).
func (s Recommendation) 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 *Recommendation) SetEstimatedMonthlyStorageCost(v string) *Recommendation
SetEstimatedMonthlyStorageCost sets the EstimatedMonthlyStorageCost field's value.
func (s *Recommendation) SetStorageConfiguration(v map[string]*string) *Recommendation
SetStorageConfiguration sets the StorageConfiguration field's value.
func (s *Recommendation) SetStorageType(v string) *Recommendation
SetStorageType sets the StorageType field's value.
func (s Recommendation) 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 RemoveStorageSystemInput struct { // Specifies the Amazon Resource Name (ARN) of the storage system that you want // to permanently remove from DataSync Discovery. // // StorageSystemArn is a required field StorageSystemArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s RemoveStorageSystemInput) 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 *RemoveStorageSystemInput) SetStorageSystemArn(v string) *RemoveStorageSystemInput
SetStorageSystemArn sets the StorageSystemArn field's value.
func (s RemoveStorageSystemInput) 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 *RemoveStorageSystemInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type RemoveStorageSystemOutput struct {
// contains filtered or unexported fields
}
func (s RemoveStorageSystemOutput) 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 RemoveStorageSystemOutput) 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 ReportDestination struct { // Specifies the Amazon S3 bucket where DataSync uploads your task report. S3 *ReportDestinationS3 `type:"structure"` // contains filtered or unexported fields }
Specifies where DataSync uploads your task report (https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html).
func (s ReportDestination) 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 *ReportDestination) SetS3(v *ReportDestinationS3) *ReportDestination
SetS3 sets the S3 field's value.
func (s ReportDestination) 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 *ReportDestination) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReportDestinationS3 struct { // Specifies the Amazon Resource Name (ARN) of the IAM policy that allows DataSync // to upload a task report to your S3 bucket. For more information, see Allowing // DataSync to upload a task report to an Amazon S3 bucket (https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html). // // BucketAccessRoleArn is a required field BucketAccessRoleArn *string `type:"string" required:"true"` // Specifies the ARN of the S3 bucket where DataSync uploads your report. // // S3BucketArn is a required field S3BucketArn *string `type:"string" required:"true"` // Specifies a bucket prefix for your report. Subdirectory *string `type:"string"` // contains filtered or unexported fields }
Specifies the Amazon S3 bucket where DataSync uploads your task report (https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html).
func (s ReportDestinationS3) 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 *ReportDestinationS3) SetBucketAccessRoleArn(v string) *ReportDestinationS3
SetBucketAccessRoleArn sets the BucketAccessRoleArn field's value.
func (s *ReportDestinationS3) SetS3BucketArn(v string) *ReportDestinationS3
SetS3BucketArn sets the S3BucketArn field's value.
func (s *ReportDestinationS3) SetSubdirectory(v string) *ReportDestinationS3
SetSubdirectory sets the Subdirectory field's value.
func (s ReportDestinationS3) 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 *ReportDestinationS3) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type ReportOverride struct { // Specifies whether your task report includes errors only or successes and // errors. // // For example, your report might mostly include only what didn't go well in // your transfer (ERRORS_ONLY). At the same time, you want to verify that your // task filter (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html) // is working correctly. In this situation, you can get a list of what files // DataSync successfully skipped and if something transferred that you didn't // to transfer (SUCCESSES_AND_ERRORS). ReportLevel *string `type:"string" enum:"ReportLevel"` // contains filtered or unexported fields }
Specifies the level of detail for a particular aspect of your DataSync task report (https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html).
func (s ReportOverride) 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 *ReportOverride) SetReportLevel(v string) *ReportOverride
SetReportLevel sets the ReportLevel field's value.
func (s ReportOverride) 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 ReportOverrides struct { // Specifies the level of reporting for the files, objects, and directories // that DataSync attempted to delete in your destination location. This only // applies if you configure your task (https://docs.aws.amazon.com/datasync/latest/userguide/configure-metadata.html) // to delete data in the destination that isn't in the source. Deleted *ReportOverride `type:"structure"` // Specifies the level of reporting for the files, objects, and directories // that DataSync attempted to skip during your transfer. Skipped *ReportOverride `type:"structure"` // Specifies the level of reporting for the files, objects, and directories // that DataSync attempted to transfer. Transferred *ReportOverride `type:"structure"` // Specifies the level of reporting for the files, objects, and directories // that DataSync attempted to verify at the end of your transfer. Verified *ReportOverride `type:"structure"` // contains filtered or unexported fields }
The level of detail included in each aspect of your DataSync task report (https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html).
func (s ReportOverrides) 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 *ReportOverrides) SetDeleted(v *ReportOverride) *ReportOverrides
SetDeleted sets the Deleted field's value.
func (s *ReportOverrides) SetSkipped(v *ReportOverride) *ReportOverrides
SetSkipped sets the Skipped field's value.
func (s *ReportOverrides) SetTransferred(v *ReportOverride) *ReportOverrides
SetTransferred sets the Transferred field's value.
func (s *ReportOverrides) SetVerified(v *ReportOverride) *ReportOverrides
SetVerified sets the Verified field's value.
func (s ReportOverrides) 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 ReportResult struct { // Indicates the code associated with the error if DataSync can't create a complete // report. ErrorCode *string `type:"string"` // Provides details about issues creating a report. ErrorDetail *string `type:"string"` // Indicates whether DataSync is still working on your report, created a report, // or can't create a complete report. Status *string `type:"string" enum:"PhaseStatus"` // contains filtered or unexported fields }
Indicates whether DataSync created a complete task report (https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html) for your transfer.
func (s ReportResult) 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 *ReportResult) SetErrorCode(v string) *ReportResult
SetErrorCode sets the ErrorCode field's value.
func (s *ReportResult) SetErrorDetail(v string) *ReportResult
SetErrorDetail sets the ErrorDetail field's value.
func (s *ReportResult) SetStatus(v string) *ReportResult
SetStatus sets the Status field's value.
func (s ReportResult) 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 ResourceDetails struct { // The information that DataSync Discovery collects about the cluster in your // on-premises storage system. NetAppONTAPClusters []*NetAppONTAPCluster `type:"list"` // The information that DataSync Discovery collects about storage virtual machines // (SVMs) in your on-premises storage system. NetAppONTAPSVMs []*NetAppONTAPSVM `type:"list"` // The information that DataSync Discovery collects about volumes in your on-premises // storage system. NetAppONTAPVolumes []*NetAppONTAPVolume `type:"list"` // contains filtered or unexported fields }
Information provided by DataSync Discovery about the resources in your on-premises storage system.
func (s ResourceDetails) 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 *ResourceDetails) SetNetAppONTAPClusters(v []*NetAppONTAPCluster) *ResourceDetails
SetNetAppONTAPClusters sets the NetAppONTAPClusters field's value.
func (s *ResourceDetails) SetNetAppONTAPSVMs(v []*NetAppONTAPSVM) *ResourceDetails
SetNetAppONTAPSVMs sets the NetAppONTAPSVMs field's value.
func (s *ResourceDetails) SetNetAppONTAPVolumes(v []*NetAppONTAPVolume) *ResourceDetails
SetNetAppONTAPVolumes sets the NetAppONTAPVolumes field's value.
func (s ResourceDetails) 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 ResourceMetrics struct { // The storage capacity of the on-premises storage system resource. Capacity *Capacity `type:"structure"` // The types of performance data that DataSync Discovery collects about the // on-premises storage system resource. P95Metrics *P95Metrics `type:"structure"` // The universally unique identifier (UUID) of the on-premises storage system // resource. ResourceId *string `type:"string"` // The type of on-premises storage system resource. ResourceType *string `type:"string" enum:"DiscoveryResourceType"` // The time when DataSync Discovery collected this information from the resource. Timestamp *time.Time `type:"timestamp"` // contains filtered or unexported fields }
Information, including performance data and capacity usage, provided by DataSync Discovery about a resource in your on-premises storage system.
func (s ResourceMetrics) 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 *ResourceMetrics) SetCapacity(v *Capacity) *ResourceMetrics
SetCapacity sets the Capacity field's value.
func (s *ResourceMetrics) SetP95Metrics(v *P95Metrics) *ResourceMetrics
SetP95Metrics sets the P95Metrics field's value.
func (s *ResourceMetrics) SetResourceId(v string) *ResourceMetrics
SetResourceId sets the ResourceId field's value.
func (s *ResourceMetrics) SetResourceType(v string) *ResourceMetrics
SetResourceType sets the ResourceType field's value.
func (s *ResourceMetrics) SetTimestamp(v time.Time) *ResourceMetrics
SetTimestamp sets the Timestamp field's value.
func (s ResourceMetrics) 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 S3Config struct { // Specifies the ARN of the IAM role that DataSync uses to access your S3 bucket. // // BucketAccessRoleArn is a required field BucketAccessRoleArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
Specifies the Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that DataSync uses to access your S3 bucket.
For more information, see Accessing S3 buckets (https://docs.aws.amazon.com/datasync/latest/userguide/create-s3-location.html#create-s3-location-access).
func (s S3Config) 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 *S3Config) SetBucketAccessRoleArn(v string) *S3Config
SetBucketAccessRoleArn sets the BucketAccessRoleArn field's value.
func (s S3Config) 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 *S3Config) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type S3ManifestConfig struct { // Specifies the Identity and Access Management (IAM) role that allows DataSync // to access your manifest. For more information, see Providing DataSync access // to your manifest (https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html#transferring-with-manifest-access). // // BucketAccessRoleArn is a required field BucketAccessRoleArn *string `type:"string" required:"true"` // Specifies the Amazon S3 object key of your manifest. This can include a prefix // (for example, prefix/my-manifest.csv). // // ManifestObjectPath is a required field ManifestObjectPath *string `type:"string" required:"true"` // Specifies the object version ID of the manifest that you want DataSync to // use. If you don't set this, DataSync uses the latest version of the object. ManifestObjectVersionId *string `min:"1" type:"string"` // Specifies the Amazon Resource Name (ARN) of the S3 bucket where you're hosting // your manifest. // // S3BucketArn is a required field S3BucketArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
Specifies the S3 bucket where you're hosting the manifest that you want DataSync to use. For more information and configuration examples, see Specifying what DataSync transfers by using a manifest (https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html).
func (s S3ManifestConfig) 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 *S3ManifestConfig) SetBucketAccessRoleArn(v string) *S3ManifestConfig
SetBucketAccessRoleArn sets the BucketAccessRoleArn field's value.
func (s *S3ManifestConfig) SetManifestObjectPath(v string) *S3ManifestConfig
SetManifestObjectPath sets the ManifestObjectPath field's value.
func (s *S3ManifestConfig) SetManifestObjectVersionId(v string) *S3ManifestConfig
SetManifestObjectVersionId sets the ManifestObjectVersionId field's value.
func (s *S3ManifestConfig) SetS3BucketArn(v string) *S3ManifestConfig
SetS3BucketArn sets the S3BucketArn field's value.
func (s S3ManifestConfig) 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 *S3ManifestConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type SmbMountOptions struct { // By default, DataSync automatically chooses an SMB protocol version based // on negotiation with your SMB file server. You also can configure DataSync // to use a specific SMB version, but we recommend doing this only if DataSync // has trouble negotiating with the SMB file server automatically. // // These are the following options for configuring the SMB version: // // * AUTOMATIC (default): DataSync and the SMB file server negotiate the // highest version of SMB that they mutually support between 2.1 and 3.1.1. // This is the recommended option. If you instead choose a specific version // that your file server doesn't support, you may get an Operation Not Supported // error. // // * SMB3: Restricts the protocol negotiation to only SMB version 3.0.2. // // * SMB2: Restricts the protocol negotiation to only SMB version 2.1. // // * SMB2_0: Restricts the protocol negotiation to only SMB version 2.0. // // * SMB1: Restricts the protocol negotiation to only SMB version 1.0. The // SMB1 option isn't available when creating an Amazon FSx for NetApp ONTAP // location (https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateLocationFsxOntap.html). Version *string `type:"string" enum:"SmbVersion"` // contains filtered or unexported fields }
Specifies the version of the Server Message Block (SMB) protocol that DataSync uses to access an SMB file server.
func (s SmbMountOptions) 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 *SmbMountOptions) SetVersion(v string) *SmbMountOptions
SetVersion sets the Version field's value.
func (s SmbMountOptions) 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 SourceManifestConfig struct { // Specifies the S3 bucket where you're hosting your manifest. // // S3 is a required field S3 *S3ManifestConfig `type:"structure" required:"true"` // contains filtered or unexported fields }
Specifies the manifest that you want DataSync to use and where it's hosted. For more information and configuration examples, see Specifying what DataSync transfers by using a manifest (https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html).
func (s SourceManifestConfig) 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 *SourceManifestConfig) SetS3(v *S3ManifestConfig) *SourceManifestConfig
SetS3 sets the S3 field's value.
func (s SourceManifestConfig) 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 *SourceManifestConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartDiscoveryJobInput struct { // Specifies a client token to make sure requests with this API operation are // idempotent. If you don't specify a client token, DataSync generates one for // you automatically. ClientToken *string `type:"string" idempotencyToken:"true"` // Specifies in minutes how long you want the discovery job to run. // // For more accurate recommendations, we recommend a duration of at least 14 // days. Longer durations allow time to collect a sufficient number of data // points and provide a realistic representation of storage performance and // utilization. // // CollectionDurationMinutes is a required field CollectionDurationMinutes *int64 `min:"60" type:"integer" required:"true"` // Specifies the Amazon Resource Name (ARN) of the on-premises storage system // that you want to run the discovery job on. // // StorageSystemArn is a required field StorageSystemArn *string `type:"string" required:"true"` // Specifies labels that help you categorize, filter, and search for your Amazon // Web Services resources. Tags []*TagListEntry `type:"list"` // contains filtered or unexported fields }
func (s StartDiscoveryJobInput) 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 *StartDiscoveryJobInput) SetClientToken(v string) *StartDiscoveryJobInput
SetClientToken sets the ClientToken field's value.
func (s *StartDiscoveryJobInput) SetCollectionDurationMinutes(v int64) *StartDiscoveryJobInput
SetCollectionDurationMinutes sets the CollectionDurationMinutes field's value.
func (s *StartDiscoveryJobInput) SetStorageSystemArn(v string) *StartDiscoveryJobInput
SetStorageSystemArn sets the StorageSystemArn field's value.
func (s *StartDiscoveryJobInput) SetTags(v []*TagListEntry) *StartDiscoveryJobInput
SetTags sets the Tags field's value.
func (s StartDiscoveryJobInput) 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 *StartDiscoveryJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartDiscoveryJobOutput struct { // The ARN of the discovery job that you started. DiscoveryJobArn *string `type:"string"` // contains filtered or unexported fields }
func (s StartDiscoveryJobOutput) 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 *StartDiscoveryJobOutput) SetDiscoveryJobArn(v string) *StartDiscoveryJobOutput
SetDiscoveryJobArn sets the DiscoveryJobArn field's value.
func (s StartDiscoveryJobOutput) 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 StartTaskExecutionInput struct { // Specifies a list of filter rules that determines which files to exclude from // a task. The list contains a single filter string that consists of the patterns // to exclude. The patterns are delimited by "|" (that is, a pipe), for example, // "/folder1|/folder2". Excludes []*FilterRule `type:"list"` // Specifies a list of filter rules that determines which files to include when // running a task. The pattern should contain a single filter string that consists // of the patterns to include. The patterns are delimited by "|" (that is, a // pipe), for example, "/folder1|/folder2". Includes []*FilterRule `type:"list"` // Configures a manifest, which is a list of files or objects that you want // DataSync to transfer. For more information and configuration examples, see // Specifying what DataSync transfers by using a manifest (https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html). // // When using this parameter, your caller identity (the role that you're using // DataSync with) must have the iam:PassRole permission. The AWSDataSyncFullAccess // (https://docs.aws.amazon.com/datasync/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-awsdatasyncfullaccess) // policy includes this permission. // // To remove a manifest configuration, specify this parameter with an empty // value. ManifestConfig *ManifestConfig `type:"structure"` // Indicates how your transfer task is configured. These options include how // DataSync handles files, objects, and their associated metadata during your // transfer. You also can specify how to verify data integrity, set bandwidth // limits for your task, among other options. // // Each option has a default value. Unless you need to, you don't have to configure // any option before calling StartTaskExecution (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html). // // You also can override your task options for each task execution. For example, // you might want to adjust the LogLevel for an individual execution. OverrideOptions *Options `type:"structure"` // Specifies the tags that you want to apply to the Amazon Resource Name (ARN) // representing the task execution. // // Tags are key-value pairs that help you manage, filter, and search for your // DataSync resources. Tags []*TagListEntry `type:"list"` // Specifies the Amazon Resource Name (ARN) of the task that you want to start. // // TaskArn is a required field TaskArn *string `type:"string" required:"true"` // Specifies how you want to configure a task report, which provides detailed // information about your DataSync transfer. For more information, see Monitoring // your DataSync transfers with task reports (https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html). // // When using this parameter, your caller identity (the role that you're using // DataSync with) must have the iam:PassRole permission. The AWSDataSyncFullAccess // (https://docs.aws.amazon.com/datasync/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-awsdatasyncfullaccess) // policy includes this permission. // // To remove a task report configuration, specify this parameter as empty. TaskReportConfig *TaskReportConfig `type:"structure"` // contains filtered or unexported fields }
StartTaskExecutionRequest
func (s StartTaskExecutionInput) 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 *StartTaskExecutionInput) SetExcludes(v []*FilterRule) *StartTaskExecutionInput
SetExcludes sets the Excludes field's value.
func (s *StartTaskExecutionInput) SetIncludes(v []*FilterRule) *StartTaskExecutionInput
SetIncludes sets the Includes field's value.
func (s *StartTaskExecutionInput) SetManifestConfig(v *ManifestConfig) *StartTaskExecutionInput
SetManifestConfig sets the ManifestConfig field's value.
func (s *StartTaskExecutionInput) SetOverrideOptions(v *Options) *StartTaskExecutionInput
SetOverrideOptions sets the OverrideOptions field's value.
func (s *StartTaskExecutionInput) SetTags(v []*TagListEntry) *StartTaskExecutionInput
SetTags sets the Tags field's value.
func (s *StartTaskExecutionInput) SetTaskArn(v string) *StartTaskExecutionInput
SetTaskArn sets the TaskArn field's value.
func (s *StartTaskExecutionInput) SetTaskReportConfig(v *TaskReportConfig) *StartTaskExecutionInput
SetTaskReportConfig sets the TaskReportConfig field's value.
func (s StartTaskExecutionInput) 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 *StartTaskExecutionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StartTaskExecutionOutput struct { // The ARN of the running task execution. TaskExecutionArn *string `type:"string"` // contains filtered or unexported fields }
StartTaskExecutionResponse
func (s StartTaskExecutionOutput) 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 *StartTaskExecutionOutput) SetTaskExecutionArn(v string) *StartTaskExecutionOutput
SetTaskExecutionArn sets the TaskExecutionArn field's value.
func (s StartTaskExecutionOutput) 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 StopDiscoveryJobInput struct { // Specifies the Amazon Resource Name (ARN) of the discovery job that you want // to stop. // // DiscoveryJobArn is a required field DiscoveryJobArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s StopDiscoveryJobInput) 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 *StopDiscoveryJobInput) SetDiscoveryJobArn(v string) *StopDiscoveryJobInput
SetDiscoveryJobArn sets the DiscoveryJobArn field's value.
func (s StopDiscoveryJobInput) 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 *StopDiscoveryJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type StopDiscoveryJobOutput struct {
// contains filtered or unexported fields
}
func (s StopDiscoveryJobOutput) 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 StopDiscoveryJobOutput) 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 StorageSystemListEntry struct { // The name of an on-premises storage system that you added to DataSync Discovery. Name *string `min:"1" type:"string"` // The Amazon Resource Names (ARN) of an on-premises storage system that you // added to DataSync Discovery. StorageSystemArn *string `type:"string"` // contains filtered or unexported fields }
Information that identifies an on-premises storage system that you're using with DataSync Discovery.
func (s StorageSystemListEntry) 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 *StorageSystemListEntry) SetName(v string) *StorageSystemListEntry
SetName sets the Name field's value.
func (s *StorageSystemListEntry) SetStorageSystemArn(v string) *StorageSystemListEntry
SetStorageSystemArn sets the StorageSystemArn field's value.
func (s StorageSystemListEntry) 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 TagListEntry struct { // The key for an Amazon Web Services resource tag. // // Key is a required field Key *string `min:"1" type:"string" required:"true"` // The value for an Amazon Web Services resource tag. Value *string `type:"string"` // contains filtered or unexported fields }
A key-value pair representing a single tag that's been applied to an Amazon Web Services resource.
func (s TagListEntry) 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 *TagListEntry) SetKey(v string) *TagListEntry
SetKey sets the Key field's value.
func (s *TagListEntry) SetValue(v string) *TagListEntry
SetValue sets the Value field's value.
func (s TagListEntry) 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 *TagListEntry) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceInput struct { // Specifies the Amazon Resource Name (ARN) of the resource to apply the tag // to. // // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // Specifies the tags that you want to apply to the resource. // // Tags is a required field Tags []*TagListEntry `type:"list" required:"true"` // contains filtered or unexported fields }
TagResourceRequest
func (s TagResourceInput) 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 *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s *TagResourceInput) SetTags(v []*TagListEntry) *TagResourceInput
SetTags sets the Tags field's value.
func (s TagResourceInput) 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 *TagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TagResourceOutput struct {
// contains filtered or unexported fields
}
func (s TagResourceOutput) 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 TagResourceOutput) 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 TaskExecutionListEntry struct { // The status of a task execution. For more information, see Task execution // statuses (https://docs.aws.amazon.com/datasync/latest/userguide/understand-task-statuses.html#understand-task-execution-statuses). Status *string `type:"string" enum:"TaskExecutionStatus"` // The Amazon Resource Name (ARN) of a task execution. TaskExecutionArn *string `type:"string"` // contains filtered or unexported fields }
Represents a single entry in a list of DataSync task executions that's returned with the ListTaskExecutions (https://docs.aws.amazon.com/datasync/latest/userguide/API_ListTaskExecutions.html) operation.
func (s TaskExecutionListEntry) 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 *TaskExecutionListEntry) SetStatus(v string) *TaskExecutionListEntry
SetStatus sets the Status field's value.
func (s *TaskExecutionListEntry) SetTaskExecutionArn(v string) *TaskExecutionListEntry
SetTaskExecutionArn sets the TaskExecutionArn field's value.
func (s TaskExecutionListEntry) 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 TaskExecutionResultDetail struct { // Errors that DataSync encountered during execution of the task. You can use // this error code to help troubleshoot issues. ErrorCode *string `type:"string"` // Detailed description of an error that was encountered during the task execution. // You can use this information to help troubleshoot issues. ErrorDetail *string `type:"string"` // The total time in milliseconds that DataSync spent in the PREPARING phase. PrepareDuration *int64 `type:"long"` // The status of the PREPARING phase. PrepareStatus *string `type:"string" enum:"PhaseStatus"` // The total time in milliseconds that DataSync took to transfer the file from // the source to the destination location. TotalDuration *int64 `type:"long"` // The total time in milliseconds that DataSync spent in the TRANSFERRING phase. TransferDuration *int64 `type:"long"` // The status of the TRANSFERRING phase. TransferStatus *string `type:"string" enum:"PhaseStatus"` // The total time in milliseconds that DataSync spent in the VERIFYING phase. VerifyDuration *int64 `type:"long"` // The status of the VERIFYING phase. VerifyStatus *string `type:"string" enum:"PhaseStatus"` // contains filtered or unexported fields }
Describes the detailed result of a TaskExecution operation. This result includes the time in milliseconds spent in each phase, the status of the task execution, and the errors encountered.
func (s TaskExecutionResultDetail) 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 *TaskExecutionResultDetail) SetErrorCode(v string) *TaskExecutionResultDetail
SetErrorCode sets the ErrorCode field's value.
func (s *TaskExecutionResultDetail) SetErrorDetail(v string) *TaskExecutionResultDetail
SetErrorDetail sets the ErrorDetail field's value.
func (s *TaskExecutionResultDetail) SetPrepareDuration(v int64) *TaskExecutionResultDetail
SetPrepareDuration sets the PrepareDuration field's value.
func (s *TaskExecutionResultDetail) SetPrepareStatus(v string) *TaskExecutionResultDetail
SetPrepareStatus sets the PrepareStatus field's value.
func (s *TaskExecutionResultDetail) SetTotalDuration(v int64) *TaskExecutionResultDetail
SetTotalDuration sets the TotalDuration field's value.
func (s *TaskExecutionResultDetail) SetTransferDuration(v int64) *TaskExecutionResultDetail
SetTransferDuration sets the TransferDuration field's value.
func (s *TaskExecutionResultDetail) SetTransferStatus(v string) *TaskExecutionResultDetail
SetTransferStatus sets the TransferStatus field's value.
func (s *TaskExecutionResultDetail) SetVerifyDuration(v int64) *TaskExecutionResultDetail
SetVerifyDuration sets the VerifyDuration field's value.
func (s *TaskExecutionResultDetail) SetVerifyStatus(v string) *TaskExecutionResultDetail
SetVerifyStatus sets the VerifyStatus field's value.
func (s TaskExecutionResultDetail) 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 TaskFilter struct { // The name of the filter being used. Each API call supports a list of filters // that are available for it. For example, LocationId for ListTasks. // // Name is a required field Name *string `type:"string" required:"true" enum:"TaskFilterName"` // The operator that is used to compare filter values (for example, Equals or // Contains). // // Operator is a required field Operator *string `type:"string" required:"true" enum:"Operator"` // The values that you want to filter for. For example, you might want to display // only tasks for a specific destination location. // // Values is a required field Values []*string `type:"list" required:"true"` // contains filtered or unexported fields }
You can use API filters to narrow down the list of resources returned by ListTasks. For example, to retrieve all tasks on a source location, you can use ListTasks with filter name LocationId and Operator Equals with the ARN for the location.
For more information, see filtering DataSync resources (https://docs.aws.amazon.com/datasync/latest/userguide/query-resources.html).
func (s TaskFilter) 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 *TaskFilter) SetName(v string) *TaskFilter
SetName sets the Name field's value.
func (s *TaskFilter) SetOperator(v string) *TaskFilter
SetOperator sets the Operator field's value.
func (s *TaskFilter) SetValues(v []*string) *TaskFilter
SetValues sets the Values field's value.
func (s TaskFilter) 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 *TaskFilter) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TaskListEntry struct { // The name of the task. Name *string `type:"string"` // The status of the task. Status *string `type:"string" enum:"TaskStatus"` // The Amazon Resource Name (ARN) of the task. TaskArn *string `type:"string"` // contains filtered or unexported fields }
Represents a single entry in a list of tasks. TaskListEntry returns an array that contains a list of tasks when the ListTasks (https://docs.aws.amazon.com/datasync/latest/userguide/API_ListTasks.html) operation is called. A task includes the source and destination file systems to sync and the options to use for the tasks.
func (s TaskListEntry) 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 *TaskListEntry) SetName(v string) *TaskListEntry
SetName sets the Name field's value.
func (s *TaskListEntry) SetStatus(v string) *TaskListEntry
SetStatus sets the Status field's value.
func (s *TaskListEntry) SetTaskArn(v string) *TaskListEntry
SetTaskArn sets the TaskArn field's value.
func (s TaskListEntry) 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 TaskReportConfig struct { // Specifies the Amazon S3 bucket where DataSync uploads your task report. For // more information, see Task reports (https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html#task-report-access). Destination *ReportDestination `type:"structure"` // Specifies whether your task report includes the new version of each object // transferred into an S3 bucket. This only applies if you enable versioning // on your bucket (https://docs.aws.amazon.com/AmazonS3/latest/userguide/manage-versioning-examples.html). // Keep in mind that setting this to INCLUDE can increase the duration of your // task execution. ObjectVersionIds *string `type:"string" enum:"ObjectVersionIds"` // Specifies the type of task report that you want: // // * SUMMARY_ONLY: Provides necessary details about your task, including // the number of files, objects, and directories transferred and transfer // duration. // // * STANDARD: Provides complete details about your task, including a full // list of files, objects, and directories that were transferred, skipped, // verified, and more. OutputType *string `type:"string" enum:"ReportOutputType"` // Customizes the reporting level for aspects of your task report. For example, // your report might generally only include errors, but you could specify that // you want a list of successes and errors just for the files that DataSync // attempted to delete in your destination location. Overrides *ReportOverrides `type:"structure"` // Specifies whether you want your task report to include only what went wrong // with your transfer or a list of what succeeded and didn't. // // * ERRORS_ONLY: A report shows what DataSync was unable to transfer, skip, // verify, and delete. // // * SUCCESSES_AND_ERRORS: A report shows what DataSync was able and unable // to transfer, skip, verify, and delete. ReportLevel *string `type:"string" enum:"ReportLevel"` // contains filtered or unexported fields }
Specifies how you want to configure a task report, which provides detailed information about for your DataSync transfer.
For more information, see Task reports (https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html).
func (s TaskReportConfig) 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 *TaskReportConfig) SetDestination(v *ReportDestination) *TaskReportConfig
SetDestination sets the Destination field's value.
func (s *TaskReportConfig) SetObjectVersionIds(v string) *TaskReportConfig
SetObjectVersionIds sets the ObjectVersionIds field's value.
func (s *TaskReportConfig) SetOutputType(v string) *TaskReportConfig
SetOutputType sets the OutputType field's value.
func (s *TaskReportConfig) SetOverrides(v *ReportOverrides) *TaskReportConfig
SetOverrides sets the Overrides field's value.
func (s *TaskReportConfig) SetReportLevel(v string) *TaskReportConfig
SetReportLevel sets the ReportLevel field's value.
func (s TaskReportConfig) 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 *TaskReportConfig) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TaskSchedule struct { // Specifies your task schedule by using a cron expression in UTC time. For // information about cron expression syntax, see the Amazon EventBridge User // Guide (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cron-expressions.html). // // ScheduleExpression is a required field ScheduleExpression *string `type:"string" required:"true"` // Specifies whether to enable or disable your task schedule. Your schedule // is enabled by default, but there can be situations where you need to disable // it. For example, you might need to pause a recurring transfer to fix an issue // with your task or perform maintenance on your storage system. // // DataSync might disable your schedule automatically if your task fails repeatedly // with the same error. For more information, see TaskScheduleDetails (https://docs.aws.amazon.com/datasync/latest/userguide/API_TaskScheduleDetails.html). Status *string `type:"string" enum:"ScheduleStatus"` // contains filtered or unexported fields }
Configures your DataSync task to run on a schedule (https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html) (at a minimum interval of 1 hour).
func (s TaskSchedule) 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 *TaskSchedule) SetScheduleExpression(v string) *TaskSchedule
SetScheduleExpression sets the ScheduleExpression field's value.
func (s *TaskSchedule) SetStatus(v string) *TaskSchedule
SetStatus sets the Status field's value.
func (s TaskSchedule) 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 *TaskSchedule) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type TaskScheduleDetails struct { // Indicates how your task schedule was disabled. // // * USER - Your schedule was manually disabled by using the UpdateTask (https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateTask.html) // operation or DataSync console. // // * SERVICE - Your schedule was automatically disabled by DataSync because // the task failed repeatedly with the same error. DisabledBy *string `type:"string" enum:"ScheduleDisabledBy"` // Provides a reason if the task schedule is disabled. // // If your schedule is disabled by USER, you see a Manually disabled by user. // message. // // If your schedule is disabled by SERVICE, you see an error message to help // you understand why the task keeps failing. For information on resolving DataSync // errors, see Troubleshooting issues with DataSync transfers (https://docs.aws.amazon.com/datasync/latest/userguide/troubleshooting-datasync-locations-tasks.html). DisabledReason *string `type:"string"` // Indicates the last time the status of your task schedule changed. For example, // if DataSync automatically disables your schedule because of a repeated error, // you can see when the schedule was disabled. StatusUpdateTime *time.Time `type:"timestamp"` // contains filtered or unexported fields }
Provides information about your DataSync task schedule (https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html).
func (s TaskScheduleDetails) 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 *TaskScheduleDetails) SetDisabledBy(v string) *TaskScheduleDetails
SetDisabledBy sets the DisabledBy field's value.
func (s *TaskScheduleDetails) SetDisabledReason(v string) *TaskScheduleDetails
SetDisabledReason sets the DisabledReason field's value.
func (s *TaskScheduleDetails) SetStatusUpdateTime(v time.Time) *TaskScheduleDetails
SetStatusUpdateTime sets the StatusUpdateTime field's value.
func (s TaskScheduleDetails) 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 Throughput struct { // Peak throughput unrelated to read and write operations. Other *float64 `type:"double"` // Peak throughput related to read operations. Read *float64 `type:"double"` // Peak total throughput on your on-premises storage system resource. Total *float64 `type:"double"` // Peak throughput related to write operations. Write *float64 `type:"double"` // contains filtered or unexported fields }
The throughput peaks for an on-premises storage system volume. Each data point represents the 95th percentile peak value during a 1-hour interval.
func (s Throughput) 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 *Throughput) SetOther(v float64) *Throughput
SetOther sets the Other field's value.
func (s *Throughput) SetRead(v float64) *Throughput
SetRead sets the Read field's value.
func (s *Throughput) SetTotal(v float64) *Throughput
SetTotal sets the Total field's value.
func (s *Throughput) SetWrite(v float64) *Throughput
SetWrite sets the Write field's value.
func (s Throughput) 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 UntagResourceInput struct { // Specifies the keys in the tags that you want to remove. // // Keys is a required field Keys []*string `min:"1" type:"list" required:"true"` // Specifies the Amazon Resource Name (ARN) of the resource to remove the tags // from. // // ResourceArn is a required field ResourceArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
UntagResourceRequest
func (s UntagResourceInput) 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 *UntagResourceInput) SetKeys(v []*string) *UntagResourceInput
SetKeys sets the Keys field's value.
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (s UntagResourceInput) 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 *UntagResourceInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UntagResourceOutput struct {
// contains filtered or unexported fields
}
func (s UntagResourceOutput) 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 UntagResourceOutput) 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 UpdateAgentInput struct { // The Amazon Resource Name (ARN) of the agent to update. // // AgentArn is a required field AgentArn *string `type:"string" required:"true"` // The name that you want to use to configure the agent. Name *string `type:"string"` // contains filtered or unexported fields }
UpdateAgentRequest
func (s UpdateAgentInput) 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 *UpdateAgentInput) SetAgentArn(v string) *UpdateAgentInput
SetAgentArn sets the AgentArn field's value.
func (s *UpdateAgentInput) SetName(v string) *UpdateAgentInput
SetName sets the Name field's value.
func (s UpdateAgentInput) 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 *UpdateAgentInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateAgentOutput struct {
// contains filtered or unexported fields
}
func (s UpdateAgentOutput) 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 UpdateAgentOutput) 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 UpdateDiscoveryJobInput struct { // Specifies in minutes how long that you want the discovery job to run. (You // can't set this parameter to less than the number of minutes that the job // has already run for.) // // CollectionDurationMinutes is a required field CollectionDurationMinutes *int64 `min:"60" type:"integer" required:"true"` // Specifies the Amazon Resource Name (ARN) of the discovery job that you want // to update. // // DiscoveryJobArn is a required field DiscoveryJobArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s UpdateDiscoveryJobInput) 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 *UpdateDiscoveryJobInput) SetCollectionDurationMinutes(v int64) *UpdateDiscoveryJobInput
SetCollectionDurationMinutes sets the CollectionDurationMinutes field's value.
func (s *UpdateDiscoveryJobInput) SetDiscoveryJobArn(v string) *UpdateDiscoveryJobInput
SetDiscoveryJobArn sets the DiscoveryJobArn field's value.
func (s UpdateDiscoveryJobInput) 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 *UpdateDiscoveryJobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateDiscoveryJobOutput struct {
// contains filtered or unexported fields
}
func (s UpdateDiscoveryJobOutput) 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 UpdateDiscoveryJobOutput) 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 UpdateLocationAzureBlobInput struct { // Specifies the access tier that you want your objects or files transferred // into. This only applies when using the location as a transfer destination. // For more information, see Access tiers (https://docs.aws.amazon.com/datasync/latest/userguide/creating-azure-blob-location.html#azure-blob-access-tiers). AccessTier *string `type:"string" enum:"AzureAccessTier"` // Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect // with your Azure Blob Storage container. // // You can specify more than one agent. For more information, see Using multiple // agents for your transfer (https://docs.aws.amazon.com/datasync/latest/userguide/multiple-agents.html). AgentArns []*string `min:"1" type:"list"` // Specifies the authentication method DataSync uses to access your Azure Blob // Storage. DataSync can access blob storage using a shared access signature // (SAS). AuthenticationType *string `type:"string" enum:"AzureBlobAuthenticationType"` // Specifies the type of blob that you want your objects or files to be when // transferring them into Azure Blob Storage. Currently, DataSync only supports // moving data into Azure Blob Storage as block blobs. For more information // on blob types, see the Azure Blob Storage documentation (https://learn.microsoft.com/en-us/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs). BlobType *string `type:"string" enum:"AzureBlobType"` // Specifies the ARN of the Azure Blob Storage transfer location that you're // updating. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // Specifies the SAS configuration that allows DataSync to access your Azure // Blob Storage. SasConfiguration *AzureBlobSasConfiguration `type:"structure"` // Specifies path segments if you want to limit your transfer to a virtual directory // in your container (for example, /my/images). Subdirectory *string `type:"string"` // contains filtered or unexported fields }
func (s UpdateLocationAzureBlobInput) 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 *UpdateLocationAzureBlobInput) SetAccessTier(v string) *UpdateLocationAzureBlobInput
SetAccessTier sets the AccessTier field's value.
func (s *UpdateLocationAzureBlobInput) SetAgentArns(v []*string) *UpdateLocationAzureBlobInput
SetAgentArns sets the AgentArns field's value.
func (s *UpdateLocationAzureBlobInput) SetAuthenticationType(v string) *UpdateLocationAzureBlobInput
SetAuthenticationType sets the AuthenticationType field's value.
func (s *UpdateLocationAzureBlobInput) SetBlobType(v string) *UpdateLocationAzureBlobInput
SetBlobType sets the BlobType field's value.
func (s *UpdateLocationAzureBlobInput) SetLocationArn(v string) *UpdateLocationAzureBlobInput
SetLocationArn sets the LocationArn field's value.
func (s *UpdateLocationAzureBlobInput) SetSasConfiguration(v *AzureBlobSasConfiguration) *UpdateLocationAzureBlobInput
SetSasConfiguration sets the SasConfiguration field's value.
func (s *UpdateLocationAzureBlobInput) SetSubdirectory(v string) *UpdateLocationAzureBlobInput
SetSubdirectory sets the Subdirectory field's value.
func (s UpdateLocationAzureBlobInput) 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 *UpdateLocationAzureBlobInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateLocationAzureBlobOutput struct {
// contains filtered or unexported fields
}
func (s UpdateLocationAzureBlobOutput) 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 UpdateLocationAzureBlobOutput) 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 UpdateLocationHdfsInput struct { // The ARNs of the agents that are used to connect to the HDFS cluster. AgentArns []*string `min:"1" type:"list"` // The type of authentication used to determine the identity of the user. AuthenticationType *string `type:"string" enum:"HdfsAuthenticationType"` // The size of the data blocks to write into the HDFS cluster. BlockSize *int64 `min:"1.048576e+06" type:"integer"` // The Kerberos key table (keytab) that contains mappings between the defined // Kerberos principal and the encrypted keys. You can load the keytab from a // file by providing the file's address. If you use the CLI, it performs base64 // encoding for you. Otherwise, provide the base64-encoded text. // KerberosKeytab is automatically base64 encoded/decoded by the SDK. KerberosKeytab []byte `type:"blob"` // The krb5.conf file that contains the Kerberos configuration information. // You can load the krb5.conf file by providing the file's address. If you're // using the CLI, it performs the base64 encoding for you. Otherwise, provide // the base64-encoded text. // KerberosKrb5Conf is automatically base64 encoded/decoded by the SDK. KerberosKrb5Conf []byte `type:"blob"` // The Kerberos principal with access to the files and folders on the HDFS cluster. KerberosPrincipal *string `min:"1" type:"string"` // The URI of the HDFS cluster's Key Management Server (KMS). KmsKeyProviderUri *string `min:"1" type:"string"` // The Amazon Resource Name (ARN) of the source HDFS cluster location. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // The NameNode that manages the HDFS namespace. The NameNode performs operations // such as opening, closing, and renaming files and directories. The NameNode // contains the information to map blocks of data to the DataNodes. You can // use only one NameNode. NameNodes []*HdfsNameNode `min:"1" type:"list"` // The Quality of Protection (QOP) configuration specifies the Remote Procedure // Call (RPC) and data transfer privacy settings configured on the Hadoop Distributed // File System (HDFS) cluster. QopConfiguration *QopConfiguration `type:"structure"` // The number of DataNodes to replicate the data to when writing to the HDFS // cluster. ReplicationFactor *int64 `min:"1" type:"integer"` // The user name used to identify the client on the host operating system. SimpleUser *string `min:"1" type:"string"` // A subdirectory in the HDFS cluster. This subdirectory is used to read data // from or write data to the HDFS cluster. Subdirectory *string `type:"string"` // contains filtered or unexported fields }
func (s UpdateLocationHdfsInput) 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 *UpdateLocationHdfsInput) SetAgentArns(v []*string) *UpdateLocationHdfsInput
SetAgentArns sets the AgentArns field's value.
func (s *UpdateLocationHdfsInput) SetAuthenticationType(v string) *UpdateLocationHdfsInput
SetAuthenticationType sets the AuthenticationType field's value.
func (s *UpdateLocationHdfsInput) SetBlockSize(v int64) *UpdateLocationHdfsInput
SetBlockSize sets the BlockSize field's value.
func (s *UpdateLocationHdfsInput) SetKerberosKeytab(v []byte) *UpdateLocationHdfsInput
SetKerberosKeytab sets the KerberosKeytab field's value.
func (s *UpdateLocationHdfsInput) SetKerberosKrb5Conf(v []byte) *UpdateLocationHdfsInput
SetKerberosKrb5Conf sets the KerberosKrb5Conf field's value.
func (s *UpdateLocationHdfsInput) SetKerberosPrincipal(v string) *UpdateLocationHdfsInput
SetKerberosPrincipal sets the KerberosPrincipal field's value.
func (s *UpdateLocationHdfsInput) SetKmsKeyProviderUri(v string) *UpdateLocationHdfsInput
SetKmsKeyProviderUri sets the KmsKeyProviderUri field's value.
func (s *UpdateLocationHdfsInput) SetLocationArn(v string) *UpdateLocationHdfsInput
SetLocationArn sets the LocationArn field's value.
func (s *UpdateLocationHdfsInput) SetNameNodes(v []*HdfsNameNode) *UpdateLocationHdfsInput
SetNameNodes sets the NameNodes field's value.
func (s *UpdateLocationHdfsInput) SetQopConfiguration(v *QopConfiguration) *UpdateLocationHdfsInput
SetQopConfiguration sets the QopConfiguration field's value.
func (s *UpdateLocationHdfsInput) SetReplicationFactor(v int64) *UpdateLocationHdfsInput
SetReplicationFactor sets the ReplicationFactor field's value.
func (s *UpdateLocationHdfsInput) SetSimpleUser(v string) *UpdateLocationHdfsInput
SetSimpleUser sets the SimpleUser field's value.
func (s *UpdateLocationHdfsInput) SetSubdirectory(v string) *UpdateLocationHdfsInput
SetSubdirectory sets the Subdirectory field's value.
func (s UpdateLocationHdfsInput) 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 *UpdateLocationHdfsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateLocationHdfsOutput struct {
// contains filtered or unexported fields
}
func (s UpdateLocationHdfsOutput) 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 UpdateLocationHdfsOutput) 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 UpdateLocationNfsInput struct { // Specifies the Amazon Resource Name (ARN) of the NFS transfer location that // you want to update. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // Specifies how DataSync can access a location using the NFS protocol. MountOptions *NfsMountOptions `type:"structure"` // The DataSync agents that are connecting to a Network File System (NFS) location. OnPremConfig *OnPremConfig `type:"structure"` // Specifies the export path in your NFS file server that you want DataSync // to mount. // // This path (or a subdirectory of the path) is where DataSync transfers data // to or from. For information on configuring an export for DataSync, see Accessing // NFS file servers (https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#accessing-nfs). Subdirectory *string `type:"string"` // contains filtered or unexported fields }
func (s UpdateLocationNfsInput) 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 *UpdateLocationNfsInput) SetLocationArn(v string) *UpdateLocationNfsInput
SetLocationArn sets the LocationArn field's value.
func (s *UpdateLocationNfsInput) SetMountOptions(v *NfsMountOptions) *UpdateLocationNfsInput
SetMountOptions sets the MountOptions field's value.
func (s *UpdateLocationNfsInput) SetOnPremConfig(v *OnPremConfig) *UpdateLocationNfsInput
SetOnPremConfig sets the OnPremConfig field's value.
func (s *UpdateLocationNfsInput) SetSubdirectory(v string) *UpdateLocationNfsInput
SetSubdirectory sets the Subdirectory field's value.
func (s UpdateLocationNfsInput) 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 *UpdateLocationNfsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateLocationNfsOutput struct {
// contains filtered or unexported fields
}
func (s UpdateLocationNfsOutput) 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 UpdateLocationNfsOutput) 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 UpdateLocationObjectStorageInput struct { // Specifies the access key (for example, a user name) if credentials are required // to authenticate with the object storage server. AccessKey *string `type:"string"` // Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can // securely connect with your location. AgentArns []*string `min:"1" type:"list"` // Specifies the ARN of the object storage system location that you're updating. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // Specifies the secret key (for example, a password) if credentials are required // to authenticate with the object storage server. // // SecretKey is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateLocationObjectStorageInput's // String and GoString methods. SecretKey *string `type:"string" sensitive:"true"` // Specifies a certificate chain for DataSync to authenticate with your object // storage system if the system uses a private or self-signed certificate authority // (CA). You must specify a single .pem file with a full certificate chain (for // example, file:///home/user/.ssh/object_storage_certificates.pem). // // The certificate chain might include: // // * The object storage system's certificate // // * All intermediate certificates (if there are any) // // * The root certificate of the signing CA // // You can concatenate your certificates into a .pem file (which can be up to // 32768 bytes before base64 encoding). The following example cat command creates // an object_storage_certificates.pem file that includes three certificates: // // cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem // > object_storage_certificates.pem // // To use this parameter, configure ServerProtocol to HTTPS. // // Updating this parameter doesn't interfere with tasks that you have in progress. // ServerCertificate is automatically base64 encoded/decoded by the SDK. ServerCertificate []byte `type:"blob"` // Specifies the port that your object storage server accepts inbound network // traffic on (for example, port 443). ServerPort *int64 `min:"1" type:"integer"` // Specifies the protocol that your object storage server uses to communicate. ServerProtocol *string `type:"string" enum:"ObjectStorageServerProtocol"` // Specifies the object prefix for your object storage server. If this is a // source location, DataSync only copies objects with this prefix. If this is // a destination location, DataSync writes all objects with this prefix. Subdirectory *string `type:"string"` // contains filtered or unexported fields }
func (s UpdateLocationObjectStorageInput) 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 *UpdateLocationObjectStorageInput) SetAccessKey(v string) *UpdateLocationObjectStorageInput
SetAccessKey sets the AccessKey field's value.
func (s *UpdateLocationObjectStorageInput) SetAgentArns(v []*string) *UpdateLocationObjectStorageInput
SetAgentArns sets the AgentArns field's value.
func (s *UpdateLocationObjectStorageInput) SetLocationArn(v string) *UpdateLocationObjectStorageInput
SetLocationArn sets the LocationArn field's value.
func (s *UpdateLocationObjectStorageInput) SetSecretKey(v string) *UpdateLocationObjectStorageInput
SetSecretKey sets the SecretKey field's value.
func (s *UpdateLocationObjectStorageInput) SetServerCertificate(v []byte) *UpdateLocationObjectStorageInput
SetServerCertificate sets the ServerCertificate field's value.
func (s *UpdateLocationObjectStorageInput) SetServerPort(v int64) *UpdateLocationObjectStorageInput
SetServerPort sets the ServerPort field's value.
func (s *UpdateLocationObjectStorageInput) SetServerProtocol(v string) *UpdateLocationObjectStorageInput
SetServerProtocol sets the ServerProtocol field's value.
func (s *UpdateLocationObjectStorageInput) SetSubdirectory(v string) *UpdateLocationObjectStorageInput
SetSubdirectory sets the Subdirectory field's value.
func (s UpdateLocationObjectStorageInput) 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 *UpdateLocationObjectStorageInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateLocationObjectStorageOutput struct {
// contains filtered or unexported fields
}
func (s UpdateLocationObjectStorageOutput) 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 UpdateLocationObjectStorageOutput) 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 UpdateLocationSmbInput struct { // Specifies the DataSync agent (or agents) which you want to connect to your // SMB file server. You specify an agent by using its Amazon Resource Name (ARN). AgentArns []*string `min:"1" type:"list"` // Specifies the Windows domain name that your SMB file server belongs to. // // If you have multiple domains in your environment, configuring this parameter // makes sure that DataSync connects to the right file server. // // For more information, see required permissions (https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions) // for SMB locations. Domain *string `type:"string"` // Specifies the ARN of the SMB location that you want to update. // // LocationArn is a required field LocationArn *string `type:"string" required:"true"` // Specifies the version of the Server Message Block (SMB) protocol that DataSync // uses to access an SMB file server. MountOptions *SmbMountOptions `type:"structure"` // Specifies the password of the user who can mount your SMB file server and // has permission to access the files and folders involved in your transfer. // // For more information, see required permissions (https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions) // for SMB locations. // // Password is a sensitive parameter and its value will be // replaced with "sensitive" in string returned by UpdateLocationSmbInput's // String and GoString methods. Password *string `type:"string" sensitive:"true"` // Specifies the name of the share exported by your SMB file server where DataSync // will read or write data. You can include a subdirectory in the share path // (for example, /path/to/subdirectory). Make sure that other SMB clients in // your network can also mount this path. // // To copy all data in the specified subdirectory, DataSync must be able to // mount the SMB share and access all of its data. For more information, see // required permissions (https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions) // for SMB locations. Subdirectory *string `type:"string"` // Specifies the user name that can mount your SMB file server and has permission // to access the files and folders involved in your transfer. // // For information about choosing a user with the right level of access for // your transfer, see required permissions (https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions) // for SMB locations. User *string `type:"string"` // contains filtered or unexported fields }
func (s UpdateLocationSmbInput) 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 *UpdateLocationSmbInput) SetAgentArns(v []*string) *UpdateLocationSmbInput
SetAgentArns sets the AgentArns field's value.
func (s *UpdateLocationSmbInput) SetDomain(v string) *UpdateLocationSmbInput
SetDomain sets the Domain field's value.
func (s *UpdateLocationSmbInput) SetLocationArn(v string) *UpdateLocationSmbInput
SetLocationArn sets the LocationArn field's value.
func (s *UpdateLocationSmbInput) SetMountOptions(v *SmbMountOptions) *UpdateLocationSmbInput
SetMountOptions sets the MountOptions field's value.
func (s *UpdateLocationSmbInput) SetPassword(v string) *UpdateLocationSmbInput
SetPassword sets the Password field's value.
func (s *UpdateLocationSmbInput) SetSubdirectory(v string) *UpdateLocationSmbInput
SetSubdirectory sets the Subdirectory field's value.
func (s *UpdateLocationSmbInput) SetUser(v string) *UpdateLocationSmbInput
SetUser sets the User field's value.
func (s UpdateLocationSmbInput) 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 *UpdateLocationSmbInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateLocationSmbOutput struct {
// contains filtered or unexported fields
}
func (s UpdateLocationSmbOutput) 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 UpdateLocationSmbOutput) 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 UpdateStorageSystemInput struct { // Specifies the Amazon Resource Name (ARN) of the DataSync agent that connects // to and reads your on-premises storage system. You can only specify one ARN. AgentArns []*string `min:"1" type:"list"` // Specifies the ARN of the Amazon CloudWatch log group for monitoring and logging // discovery job events. CloudWatchLogGroupArn *string `type:"string"` // Specifies the user name and password for accessing your on-premises storage // system's management interface. Credentials *Credentials `type:"structure"` // Specifies a familiar name for your on-premises storage system. Name *string `min:"1" type:"string"` // Specifies the server name and network port required to connect with your // on-premises storage system's management interface. ServerConfiguration *DiscoveryServerConfiguration `type:"structure"` // Specifies the ARN of the on-premises storage system that you want reconfigure. // // StorageSystemArn is a required field StorageSystemArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s UpdateStorageSystemInput) 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 *UpdateStorageSystemInput) SetAgentArns(v []*string) *UpdateStorageSystemInput
SetAgentArns sets the AgentArns field's value.
func (s *UpdateStorageSystemInput) SetCloudWatchLogGroupArn(v string) *UpdateStorageSystemInput
SetCloudWatchLogGroupArn sets the CloudWatchLogGroupArn field's value.
func (s *UpdateStorageSystemInput) SetCredentials(v *Credentials) *UpdateStorageSystemInput
SetCredentials sets the Credentials field's value.
func (s *UpdateStorageSystemInput) SetName(v string) *UpdateStorageSystemInput
SetName sets the Name field's value.
func (s *UpdateStorageSystemInput) SetServerConfiguration(v *DiscoveryServerConfiguration) *UpdateStorageSystemInput
SetServerConfiguration sets the ServerConfiguration field's value.
func (s *UpdateStorageSystemInput) SetStorageSystemArn(v string) *UpdateStorageSystemInput
SetStorageSystemArn sets the StorageSystemArn field's value.
func (s UpdateStorageSystemInput) 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 *UpdateStorageSystemInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateStorageSystemOutput struct {
// contains filtered or unexported fields
}
func (s UpdateStorageSystemOutput) 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 UpdateStorageSystemOutput) 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 UpdateTaskExecutionInput struct { // Indicates how your transfer task is configured. These options include how // DataSync handles files, objects, and their associated metadata during your // transfer. You also can specify how to verify data integrity, set bandwidth // limits for your task, among other options. // // Each option has a default value. Unless you need to, you don't have to configure // any option before calling StartTaskExecution (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html). // // You also can override your task options for each task execution. For example, // you might want to adjust the LogLevel for an individual execution. // // Options is a required field Options *Options `type:"structure" required:"true"` // Specifies the Amazon Resource Name (ARN) of the task execution that you're // updating. // // TaskExecutionArn is a required field TaskExecutionArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
func (s UpdateTaskExecutionInput) 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 *UpdateTaskExecutionInput) SetOptions(v *Options) *UpdateTaskExecutionInput
SetOptions sets the Options field's value.
func (s *UpdateTaskExecutionInput) SetTaskExecutionArn(v string) *UpdateTaskExecutionInput
SetTaskExecutionArn sets the TaskExecutionArn field's value.
func (s UpdateTaskExecutionInput) 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 *UpdateTaskExecutionInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateTaskExecutionOutput struct {
// contains filtered or unexported fields
}
func (s UpdateTaskExecutionOutput) 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 UpdateTaskExecutionOutput) 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 UpdateTaskInput struct { // Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group // for monitoring your task. CloudWatchLogGroupArn *string `type:"string"` // Specifies exclude filters that define the files, objects, and folders in // your source location that you don't want DataSync to transfer. For more information // and examples, see Specifying what DataSync transfers by using filters (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). Excludes []*FilterRule `type:"list"` // Specifies include filters define the files, objects, and folders in your // source location that you want DataSync to transfer. For more information // and examples, see Specifying what DataSync transfers by using filters (https://docs.aws.amazon.com/datasync/latest/userguide/filtering.html). Includes []*FilterRule `type:"list"` // Configures a manifest, which is a list of files or objects that you want // DataSync to transfer. For more information and configuration examples, see // Specifying what DataSync transfers by using a manifest (https://docs.aws.amazon.com/datasync/latest/userguide/transferring-with-manifest.html). // // When using this parameter, your caller identity (the IAM role that you're // using DataSync with) must have the iam:PassRole permission. The AWSDataSyncFullAccess // (https://docs.aws.amazon.com/datasync/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-awsdatasyncfullaccess) // policy includes this permission. // // To remove a manifest configuration, specify this parameter as empty. ManifestConfig *ManifestConfig `type:"structure"` // Specifies the name of your task. Name *string `type:"string"` // Indicates how your transfer task is configured. These options include how // DataSync handles files, objects, and their associated metadata during your // transfer. You also can specify how to verify data integrity, set bandwidth // limits for your task, among other options. // // Each option has a default value. Unless you need to, you don't have to configure // any option before calling StartTaskExecution (https://docs.aws.amazon.com/datasync/latest/userguide/API_StartTaskExecution.html). // // You also can override your task options for each task execution. For example, // you might want to adjust the LogLevel for an individual execution. Options *Options `type:"structure"` // Specifies a schedule for when you want your task to run. For more information, // see Scheduling your task (https://docs.aws.amazon.com/datasync/latest/userguide/task-scheduling.html). Schedule *TaskSchedule `type:"structure"` // Specifies the ARN of the task that you want to update. // // TaskArn is a required field TaskArn *string `type:"string" required:"true"` // Specifies how you want to configure a task report, which provides detailed // information about your DataSync transfer. For more information, see Monitoring // your DataSync transfers with task reports (https://docs.aws.amazon.com/datasync/latest/userguide/task-reports.html). // // When using this parameter, your caller identity (the IAM role that you're // using DataSync with) must have the iam:PassRole permission. The AWSDataSyncFullAccess // (https://docs.aws.amazon.com/datasync/latest/userguide/security-iam-awsmanpol.html#security-iam-awsmanpol-awsdatasyncfullaccess) // policy includes this permission. // // To remove a task report configuration, specify this parameter as empty. TaskReportConfig *TaskReportConfig `type:"structure"` // contains filtered or unexported fields }
UpdateTaskResponse
func (s UpdateTaskInput) 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 *UpdateTaskInput) SetCloudWatchLogGroupArn(v string) *UpdateTaskInput
SetCloudWatchLogGroupArn sets the CloudWatchLogGroupArn field's value.
func (s *UpdateTaskInput) SetExcludes(v []*FilterRule) *UpdateTaskInput
SetExcludes sets the Excludes field's value.
func (s *UpdateTaskInput) SetIncludes(v []*FilterRule) *UpdateTaskInput
SetIncludes sets the Includes field's value.
func (s *UpdateTaskInput) SetManifestConfig(v *ManifestConfig) *UpdateTaskInput
SetManifestConfig sets the ManifestConfig field's value.
func (s *UpdateTaskInput) SetName(v string) *UpdateTaskInput
SetName sets the Name field's value.
func (s *UpdateTaskInput) SetOptions(v *Options) *UpdateTaskInput
SetOptions sets the Options field's value.
func (s *UpdateTaskInput) SetSchedule(v *TaskSchedule) *UpdateTaskInput
SetSchedule sets the Schedule field's value.
func (s *UpdateTaskInput) SetTaskArn(v string) *UpdateTaskInput
SetTaskArn sets the TaskArn field's value.
func (s *UpdateTaskInput) SetTaskReportConfig(v *TaskReportConfig) *UpdateTaskInput
SetTaskReportConfig sets the TaskReportConfig field's value.
func (s UpdateTaskInput) 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 *UpdateTaskInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type UpdateTaskOutput struct {
// contains filtered or unexported fields
}
func (s UpdateTaskOutput) 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 UpdateTaskOutput) 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".