dataexchange

package
v1.34.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2020 License: Apache-2.0 Imports: 10 Imported by: 25

Documentation

Overview

Package dataexchange provides the client and types for making API requests to AWS Data Exchange.

This is the API reference for AWS Data Exchange.

See https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25 for more information on this service.

See dataexchange package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/dataexchange/

Using the Client

To contact AWS Data Exchange with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Data Exchange client DataExchange for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/dataexchange/#New

Index

Constants

View Source
const (
	// CodeAccessDeniedException is a Code enum value
	CodeAccessDeniedException = "ACCESS_DENIED_EXCEPTION"

	// CodeInternalServerException is a Code enum value
	CodeInternalServerException = "INTERNAL_SERVER_EXCEPTION"

	// CodeMalwareDetected is a Code enum value
	CodeMalwareDetected = "MALWARE_DETECTED"

	// CodeResourceNotFoundException is a Code enum value
	CodeResourceNotFoundException = "RESOURCE_NOT_FOUND_EXCEPTION"

	// CodeServiceQuotaExceededException is a Code enum value
	CodeServiceQuotaExceededException = "SERVICE_QUOTA_EXCEEDED_EXCEPTION"

	// CodeValidationException is a Code enum value
	CodeValidationException = "VALIDATION_EXCEPTION"

	// CodeMalwareScanEncryptedFile is a Code enum value
	CodeMalwareScanEncryptedFile = "MALWARE_SCAN_ENCRYPTED_FILE"
)
View Source
const (
	// JobErrorLimitNameAssetsperrevision is a JobErrorLimitName enum value
	JobErrorLimitNameAssetsperrevision = "Assets per revision"

	// JobErrorLimitNameAssetsizeinGb is a JobErrorLimitName enum value
	JobErrorLimitNameAssetsizeinGb = "Asset size in GB"
)

The name of the limit that was reached.

View Source
const (
	// JobErrorResourceTypesRevision is a JobErrorResourceTypes enum value
	JobErrorResourceTypesRevision = "REVISION"

	// JobErrorResourceTypesAsset is a JobErrorResourceTypes enum value
	JobErrorResourceTypesAsset = "ASSET"
)

The types of resource which the job error can apply to.

View Source
const (
	// LimitNameProductsperaccount is a LimitName enum value
	LimitNameProductsperaccount = "Products per account"

	// LimitNameDatasetsperaccount is a LimitName enum value
	LimitNameDatasetsperaccount = "Data sets per account"

	// LimitNameDatasetsperproduct is a LimitName enum value
	LimitNameDatasetsperproduct = "Data sets per product"

	// LimitNameRevisionsperdataset is a LimitName enum value
	LimitNameRevisionsperdataset = "Revisions per data set"

	// LimitNameAssetsperrevision is a LimitName enum value
	LimitNameAssetsperrevision = "Assets per revision"

	// LimitNameAssetsperimportjobfromAmazonS3 is a LimitName enum value
	LimitNameAssetsperimportjobfromAmazonS3 = "Assets per import job from Amazon S3"

	// LimitNameAssetperexportjobfromAmazonS3 is a LimitName enum value
	LimitNameAssetperexportjobfromAmazonS3 = "Asset per export job from Amazon S3"

	// LimitNameAssetsizeinGb is a LimitName enum value
	LimitNameAssetsizeinGb = "Asset size in GB"

	// LimitNameConcurrentinprogressjobstoimportassetsfromAmazonS3 is a LimitName enum value
	LimitNameConcurrentinprogressjobstoimportassetsfromAmazonS3 = "Concurrent in progress jobs to import assets from Amazon S3"

	// LimitNameConcurrentinprogressjobstoimportassetsfromasignedUrl is a LimitName enum value
	LimitNameConcurrentinprogressjobstoimportassetsfromasignedUrl = "Concurrent in progress jobs to import assets from a signed URL"

	// LimitNameConcurrentinprogressjobstoexportassetstoAmazonS3 is a LimitName enum value
	LimitNameConcurrentinprogressjobstoexportassetstoAmazonS3 = "Concurrent in progress jobs to export assets to Amazon S3"

	// LimitNameConcurrentinprogressjobstoexportassetstoasignedUrl is a LimitName enum value
	LimitNameConcurrentinprogressjobstoexportassetstoasignedUrl = "Concurrent in progress jobs to export assets to a signed URL"
)
View Source
const (
	// OriginOwned is a Origin enum value
	OriginOwned = "OWNED"

	// OriginEntitled is a Origin enum value
	OriginEntitled = "ENTITLED"
)

A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers). When an owned data set is published in a product, AWS Data Exchange creates a copy of the data set. Subscribers can access that copy of the data set as an entitled data set.

View Source
const (
	// ResourceTypeDataSet is a ResourceType enum value
	ResourceTypeDataSet = "DATA_SET"

	// ResourceTypeRevision is a ResourceType enum value
	ResourceTypeRevision = "REVISION"

	// ResourceTypeAsset is a ResourceType enum value
	ResourceTypeAsset = "ASSET"

	// ResourceTypeJob is a ResourceType enum value
	ResourceTypeJob = "JOB"
)
View Source
const (
	// ServerSideEncryptionTypesAwsKms is a ServerSideEncryptionTypes enum value
	ServerSideEncryptionTypesAwsKms = "aws:kms"

	// ServerSideEncryptionTypesAes256 is a ServerSideEncryptionTypes enum value
	ServerSideEncryptionTypesAes256 = "AES256"
)

The types of encryption supported in export jobs to Amazon S3.

View Source
const (
	// StateWaiting is a State enum value
	StateWaiting = "WAITING"

	// StateInProgress is a State enum value
	StateInProgress = "IN_PROGRESS"

	// StateError is a State enum value
	StateError = "ERROR"

	// StateCompleted is a State enum value
	StateCompleted = "COMPLETED"

	// StateCancelled is a State enum value
	StateCancelled = "CANCELLED"

	// StateTimedOut is a State enum value
	StateTimedOut = "TIMED_OUT"
)
View Source
const (
	// TypeImportAssetsFromS3 is a Type enum value
	TypeImportAssetsFromS3 = "IMPORT_ASSETS_FROM_S3"

	// TypeImportAssetFromSignedUrl is a Type enum value
	TypeImportAssetFromSignedUrl = "IMPORT_ASSET_FROM_SIGNED_URL"

	// TypeExportAssetsToS3 is a Type enum value
	TypeExportAssetsToS3 = "EXPORT_ASSETS_TO_S3"

	// TypeExportAssetToSignedUrl is a Type enum value
	TypeExportAssetToSignedUrl = "EXPORT_ASSET_TO_SIGNED_URL"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// Access to the resource is denied.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// The request couldn't be completed because it conflicted with the current
	// state of the resource.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// An exception occurred with the service.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The resource couldn't be found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceLimitExceededException for service response error code
	// "ServiceLimitExceededException".
	//
	// The request has exceeded the quotas imposed by the service.
	ErrCodeServiceLimitExceededException = "ServiceLimitExceededException"

	// ErrCodeThrottlingException for service response error code
	// "ThrottlingException".
	//
	// The limit on the number of requests per second was exceeded.
	ErrCodeThrottlingException = "ThrottlingException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// The request was invalid.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "DataExchange" // Name of service.
	EndpointsID = "dataexchange" // ID to lookup a service endpoint with.
	ServiceID   = "DataExchange" // ServiceID is a unique identifier of a specific service.
)

Service information constants

View Source
const (
	// AssetTypeS3Snapshot is a AssetType enum value
	AssetTypeS3Snapshot = "S3_SNAPSHOT"
)

The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.

Variables

This section is empty.

Functions

func AssetType_Values added in v1.34.3

func AssetType_Values() []string

AssetType_Values returns all elements of the AssetType enum

func Code_Values added in v1.34.3

func Code_Values() []string

Code_Values returns all elements of the Code enum

func JobErrorLimitName_Values added in v1.34.3

func JobErrorLimitName_Values() []string

JobErrorLimitName_Values returns all elements of the JobErrorLimitName enum

func JobErrorResourceTypes_Values added in v1.34.3

func JobErrorResourceTypes_Values() []string

JobErrorResourceTypes_Values returns all elements of the JobErrorResourceTypes enum

func LimitName_Values added in v1.34.3

func LimitName_Values() []string

LimitName_Values returns all elements of the LimitName enum

func Origin_Values added in v1.34.3

func Origin_Values() []string

Origin_Values returns all elements of the Origin enum

func ResourceType_Values added in v1.34.3

func ResourceType_Values() []string

ResourceType_Values returns all elements of the ResourceType enum

func ServerSideEncryptionTypes_Values added in v1.34.3

func ServerSideEncryptionTypes_Values() []string

ServerSideEncryptionTypes_Values returns all elements of the ServerSideEncryptionTypes enum

func State_Values added in v1.34.3

func State_Values() []string

State_Values returns all elements of the State enum

func Type_Values added in v1.34.3

func Type_Values() []string

Type_Values returns all elements of the Type enum

Types

type AccessDeniedException added in v1.28.0

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// Access to the resource is denied.
	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

Access to the resource is denied.

func (*AccessDeniedException) Code added in v1.28.0

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error added in v1.28.0

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString added in v1.28.0

func (s AccessDeniedException) GoString() string

GoString returns the string representation

func (*AccessDeniedException) Message added in v1.28.0

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr added in v1.28.0

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID added in v1.28.0

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode added in v1.28.0

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String added in v1.28.0

func (s AccessDeniedException) String() string

String returns the string representation

type AssetDestinationEntry

type AssetDestinationEntry struct {

	// The unique identifier for the asset.
	//
	// AssetId is a required field
	AssetId *string `type:"string" required:"true"`

	// The S3 bucket that is the destination for the asset.
	//
	// Bucket is a required field
	Bucket *string `type:"string" required:"true"`

	// The name of the object in Amazon S3 for the asset.
	Key *string `type:"string"`
	// contains filtered or unexported fields
}

The destination for the asset.

func (AssetDestinationEntry) GoString

func (s AssetDestinationEntry) GoString() string

GoString returns the string representation

func (*AssetDestinationEntry) SetAssetId

SetAssetId sets the AssetId field's value.

func (*AssetDestinationEntry) SetBucket

SetBucket sets the Bucket field's value.

func (*AssetDestinationEntry) SetKey

SetKey sets the Key field's value.

func (AssetDestinationEntry) String

func (s AssetDestinationEntry) String() string

String returns the string representation

func (*AssetDestinationEntry) Validate

func (s *AssetDestinationEntry) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssetDetails

type AssetDetails struct {

	// The S3 object that is the asset.
	S3SnapshotAsset *S3SnapshotAsset `type:"structure"`
	// contains filtered or unexported fields
}

func (AssetDetails) GoString

func (s AssetDetails) GoString() string

GoString returns the string representation

func (*AssetDetails) SetS3SnapshotAsset

func (s *AssetDetails) SetS3SnapshotAsset(v *S3SnapshotAsset) *AssetDetails

SetS3SnapshotAsset sets the S3SnapshotAsset field's value.

func (AssetDetails) String

func (s AssetDetails) String() string

String returns the string representation

type AssetEntry

type AssetEntry struct {

	// The ARN for the asset.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// Information about the asset, including its size.
	//
	// AssetDetails is a required field
	AssetDetails *AssetDetails `type:"structure" required:"true"`

	// The type of file your data is stored in. Currently, the supported asset type
	// is S3_SNAPSHOT.
	//
	// AssetType is a required field
	AssetType *string `type:"string" required:"true" enum:"AssetType"`

	// The date and time that the asset was created, in ISO 8601 format.
	//
	// CreatedAt is a required field
	CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The unique identifier for the data set associated with this asset.
	//
	// DataSetId is a required field
	DataSetId *string `type:"string" required:"true"`

	// The unique identifier for the asset.
	//
	// Id is a required field
	Id *string `type:"string" required:"true"`

	// The name of the asset. When importing from Amazon S3, the S3 object key is
	// used as the asset name. When exporting to Amazon S3, the asset name is used
	// as default target S3 object key.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The unique identifier for the revision associated with this asset.
	//
	// RevisionId is a required field
	RevisionId *string `type:"string" required:"true"`

	// The asset ID of the owned asset corresponding to the entitled asset being
	// viewed. This parameter is returned when an asset owner is viewing the entitled
	// copy of its owned asset.
	SourceId *string `type:"string"`

	// The date and time that the asset was last updated, in ISO 8601 format.
	//
	// UpdatedAt is a required field
	UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

An asset in AWS Data Exchange is a piece of data that can be stored as an S3 object. The asset can be a structured data file, an image file, or some other data file. When you create an import job for your files, you create an asset in AWS Data Exchange for each of those files.

func (AssetEntry) GoString

func (s AssetEntry) GoString() string

GoString returns the string representation

func (*AssetEntry) SetArn

func (s *AssetEntry) SetArn(v string) *AssetEntry

SetArn sets the Arn field's value.

func (*AssetEntry) SetAssetDetails

func (s *AssetEntry) SetAssetDetails(v *AssetDetails) *AssetEntry

SetAssetDetails sets the AssetDetails field's value.

func (*AssetEntry) SetAssetType

func (s *AssetEntry) SetAssetType(v string) *AssetEntry

SetAssetType sets the AssetType field's value.

func (*AssetEntry) SetCreatedAt

func (s *AssetEntry) SetCreatedAt(v time.Time) *AssetEntry

SetCreatedAt sets the CreatedAt field's value.

func (*AssetEntry) SetDataSetId

func (s *AssetEntry) SetDataSetId(v string) *AssetEntry

SetDataSetId sets the DataSetId field's value.

func (*AssetEntry) SetId

func (s *AssetEntry) SetId(v string) *AssetEntry

SetId sets the Id field's value.

func (*AssetEntry) SetName

func (s *AssetEntry) SetName(v string) *AssetEntry

SetName sets the Name field's value.

func (*AssetEntry) SetRevisionId

func (s *AssetEntry) SetRevisionId(v string) *AssetEntry

SetRevisionId sets the RevisionId field's value.

func (*AssetEntry) SetSourceId

func (s *AssetEntry) SetSourceId(v string) *AssetEntry

SetSourceId sets the SourceId field's value.

func (*AssetEntry) SetUpdatedAt

func (s *AssetEntry) SetUpdatedAt(v time.Time) *AssetEntry

SetUpdatedAt sets the UpdatedAt field's value.

func (AssetEntry) String

func (s AssetEntry) String() string

String returns the string representation

type AssetSourceEntry

type AssetSourceEntry struct {

	// The S3 bucket that's part of the source of the asset.
	//
	// Bucket is a required field
	Bucket *string `type:"string" required:"true"`

	// The name of the object in Amazon S3 for the asset.
	//
	// Key is a required field
	Key *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

The source of the assets.

func (AssetSourceEntry) GoString

func (s AssetSourceEntry) GoString() string

GoString returns the string representation

func (*AssetSourceEntry) SetBucket

func (s *AssetSourceEntry) SetBucket(v string) *AssetSourceEntry

SetBucket sets the Bucket field's value.

func (*AssetSourceEntry) SetKey

SetKey sets the Key field's value.

func (AssetSourceEntry) String

func (s AssetSourceEntry) String() string

String returns the string representation

func (*AssetSourceEntry) Validate

func (s *AssetSourceEntry) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CancelJobInput

type CancelJobInput struct {

	// JobId is a required field
	JobId *string `location:"uri" locationName:"JobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CancelJobInput) GoString

func (s CancelJobInput) GoString() string

GoString returns the string representation

func (*CancelJobInput) SetJobId

func (s *CancelJobInput) SetJobId(v string) *CancelJobInput

SetJobId sets the JobId field's value.

func (CancelJobInput) String

func (s CancelJobInput) String() string

String returns the string representation

func (*CancelJobInput) Validate

func (s *CancelJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CancelJobOutput

type CancelJobOutput struct {
	// contains filtered or unexported fields
}

func (CancelJobOutput) GoString

func (s CancelJobOutput) GoString() string

GoString returns the string representation

func (CancelJobOutput) String

func (s CancelJobOutput) String() string

String returns the string representation

type ConflictException added in v1.28.0

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The request couldn't be completed because it conflicted with the current
	// state of the resource.
	Message_ *string `locationName:"Message" type:"string"`

	// The unique identifier for the resource with the conflict.
	ResourceId *string `type:"string"`

	// The type of the resource with the conflict.
	ResourceType *string `type:"string" enum:"ResourceType"`
	// contains filtered or unexported fields
}

The request couldn't be completed because it conflicted with the current state of the resource.

func (*ConflictException) Code added in v1.28.0

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error added in v1.28.0

func (s *ConflictException) Error() string

func (ConflictException) GoString added in v1.28.0

func (s ConflictException) GoString() string

GoString returns the string representation

func (*ConflictException) Message added in v1.28.0

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr added in v1.28.0

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID added in v1.28.0

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode added in v1.28.0

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String added in v1.28.0

func (s ConflictException) String() string

String returns the string representation

type CreateDataSetInput

type CreateDataSetInput struct {

	// The type of file your data is stored in. Currently, the supported asset type
	// is S3_SNAPSHOT.
	//
	// AssetType is a required field
	AssetType *string `type:"string" required:"true" enum:"AssetType"`

	// A description for the data set. This value can be up to 16,348 characters
	// long.
	//
	// Description is a required field
	Description *string `type:"string" required:"true"`

	// The name of the data set.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// A data set tag is an optional label that you can assign to a data set when
	// you create it. Each tag consists of a key and an optional value, both of
	// which you define. When you use tagging, you can also use tag-based access
	// control in IAM policies to control access to these data sets and revisions.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

A request to create a data set that contains one or more revisions.

func (CreateDataSetInput) GoString

func (s CreateDataSetInput) GoString() string

GoString returns the string representation

func (*CreateDataSetInput) SetAssetType

func (s *CreateDataSetInput) SetAssetType(v string) *CreateDataSetInput

SetAssetType sets the AssetType field's value.

func (*CreateDataSetInput) SetDescription

func (s *CreateDataSetInput) SetDescription(v string) *CreateDataSetInput

SetDescription sets the Description field's value.

func (*CreateDataSetInput) SetName

SetName sets the Name field's value.

func (*CreateDataSetInput) SetTags

func (s *CreateDataSetInput) SetTags(v map[string]*string) *CreateDataSetInput

SetTags sets the Tags field's value.

func (CreateDataSetInput) String

func (s CreateDataSetInput) String() string

String returns the string representation

func (*CreateDataSetInput) Validate

func (s *CreateDataSetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDataSetOutput

type CreateDataSetOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
	Arn *string `type:"string"`

	// The type of file your data is stored in. Currently, the supported asset type
	// is S3_SNAPSHOT.
	AssetType *string `type:"string" enum:"AssetType"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// A description of a resource.
	Description *string `type:"string"`

	// A unique identifier.
	Id *string `type:"string"`

	// The name of the model.
	Name *string `type:"string"`

	// A property that defines the data set as OWNED by the account (for providers)
	// or ENTITLED to the account (for subscribers). When an owned data set is published
	// in a product, AWS Data Exchange creates a copy of the data set. Subscribers
	// can access that copy of the data set as an entitled data set.
	Origin *string `type:"string" enum:"Origin"`

	OriginDetails *OriginDetails `type:"structure"`

	// A unique identifier.
	SourceId *string `type:"string"`

	Tags map[string]*string `type:"map"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

func (CreateDataSetOutput) GoString

func (s CreateDataSetOutput) GoString() string

GoString returns the string representation

func (*CreateDataSetOutput) SetArn

SetArn sets the Arn field's value.

func (*CreateDataSetOutput) SetAssetType

func (s *CreateDataSetOutput) SetAssetType(v string) *CreateDataSetOutput

SetAssetType sets the AssetType field's value.

func (*CreateDataSetOutput) SetCreatedAt

func (s *CreateDataSetOutput) SetCreatedAt(v time.Time) *CreateDataSetOutput

SetCreatedAt sets the CreatedAt field's value.

func (*CreateDataSetOutput) SetDescription

func (s *CreateDataSetOutput) SetDescription(v string) *CreateDataSetOutput

SetDescription sets the Description field's value.

func (*CreateDataSetOutput) SetId

SetId sets the Id field's value.

func (*CreateDataSetOutput) SetName

SetName sets the Name field's value.

func (*CreateDataSetOutput) SetOrigin

SetOrigin sets the Origin field's value.

func (*CreateDataSetOutput) SetOriginDetails

func (s *CreateDataSetOutput) SetOriginDetails(v *OriginDetails) *CreateDataSetOutput

SetOriginDetails sets the OriginDetails field's value.

func (*CreateDataSetOutput) SetSourceId

func (s *CreateDataSetOutput) SetSourceId(v string) *CreateDataSetOutput

SetSourceId sets the SourceId field's value.

func (*CreateDataSetOutput) SetTags

SetTags sets the Tags field's value.

func (*CreateDataSetOutput) SetUpdatedAt

func (s *CreateDataSetOutput) SetUpdatedAt(v time.Time) *CreateDataSetOutput

SetUpdatedAt sets the UpdatedAt field's value.

func (CreateDataSetOutput) String

func (s CreateDataSetOutput) String() string

String returns the string representation

type CreateJobInput

type CreateJobInput struct {

	// The details for the CreateJob request.
	//
	// Details is a required field
	Details *RequestDetails `type:"structure" required:"true"`

	// The type of job to be created.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"Type"`
	// contains filtered or unexported fields
}

The CreateJob request. AWS Data Exchange Jobs are asynchronous import or export operations used to create or copy assets. A data set owner can both import and export as they see fit. Someone with an entitlement to a data set can only export. Jobs are deleted 90 days after they are created. Created jobs must be started with the StartJob operation.

func (CreateJobInput) GoString

func (s CreateJobInput) GoString() string

GoString returns the string representation

func (*CreateJobInput) SetDetails

func (s *CreateJobInput) SetDetails(v *RequestDetails) *CreateJobInput

SetDetails sets the Details field's value.

func (*CreateJobInput) SetType

func (s *CreateJobInput) SetType(v string) *CreateJobInput

SetType sets the Type field's value.

func (CreateJobInput) String

func (s CreateJobInput) String() string

String returns the string representation

func (*CreateJobInput) Validate

func (s *CreateJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateJobOutput

type CreateJobOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
	Arn *string `type:"string"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// Details for the response.
	Details *ResponseDetails `type:"structure"`

	Errors []*JobError `type:"list"`

	// A unique identifier.
	Id *string `type:"string"`

	State *string `type:"string" enum:"State"`

	Type *string `type:"string" enum:"Type"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

func (CreateJobOutput) GoString

func (s CreateJobOutput) GoString() string

GoString returns the string representation

func (*CreateJobOutput) SetArn

func (s *CreateJobOutput) SetArn(v string) *CreateJobOutput

SetArn sets the Arn field's value.

func (*CreateJobOutput) SetCreatedAt

func (s *CreateJobOutput) SetCreatedAt(v time.Time) *CreateJobOutput

SetCreatedAt sets the CreatedAt field's value.

func (*CreateJobOutput) SetDetails

func (s *CreateJobOutput) SetDetails(v *ResponseDetails) *CreateJobOutput

SetDetails sets the Details field's value.

func (*CreateJobOutput) SetErrors

func (s *CreateJobOutput) SetErrors(v []*JobError) *CreateJobOutput

SetErrors sets the Errors field's value.

func (*CreateJobOutput) SetId

func (s *CreateJobOutput) SetId(v string) *CreateJobOutput

SetId sets the Id field's value.

func (*CreateJobOutput) SetState

func (s *CreateJobOutput) SetState(v string) *CreateJobOutput

SetState sets the State field's value.

func (*CreateJobOutput) SetType

func (s *CreateJobOutput) SetType(v string) *CreateJobOutput

SetType sets the Type field's value.

func (*CreateJobOutput) SetUpdatedAt

func (s *CreateJobOutput) SetUpdatedAt(v time.Time) *CreateJobOutput

SetUpdatedAt sets the UpdatedAt field's value.

func (CreateJobOutput) String

func (s CreateJobOutput) String() string

String returns the string representation

type CreateRevisionInput

type CreateRevisionInput struct {

	// An optional comment about the revision.
	Comment *string `type:"string"`

	// DataSetId is a required field
	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`

	// A revision tag is an optional label that you can assign to a revision when
	// you create it. Each tag consists of a key and an optional value, both of
	// which you define. When you use tagging, you can also use tag-based access
	// control in IAM policies to control access to these data sets and revisions.
	Tags map[string]*string `type:"map"`
	// contains filtered or unexported fields
}

Creates a revision for a data set. When they're created, revisions are not published to products, and therefore are not available to subscribers. To publish a revision to a data set in a product, the revision must first be finalized.

func (CreateRevisionInput) GoString

func (s CreateRevisionInput) GoString() string

GoString returns the string representation

func (*CreateRevisionInput) SetComment

SetComment sets the Comment field's value.

func (*CreateRevisionInput) SetDataSetId

func (s *CreateRevisionInput) SetDataSetId(v string) *CreateRevisionInput

SetDataSetId sets the DataSetId field's value.

func (*CreateRevisionInput) SetTags

SetTags sets the Tags field's value.

func (CreateRevisionInput) String

func (s CreateRevisionInput) String() string

String returns the string representation

func (*CreateRevisionInput) Validate

func (s *CreateRevisionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateRevisionOutput

type CreateRevisionOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
	Arn *string `type:"string"`

	Comment *string `type:"string"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// A unique identifier.
	DataSetId *string `type:"string"`

	Finalized *bool `type:"boolean"`

	// A unique identifier.
	Id *string `type:"string"`

	// A unique identifier.
	SourceId *string `type:"string"`

	Tags map[string]*string `type:"map"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

func (CreateRevisionOutput) GoString

func (s CreateRevisionOutput) GoString() string

GoString returns the string representation

func (*CreateRevisionOutput) SetArn

SetArn sets the Arn field's value.

func (*CreateRevisionOutput) SetComment

SetComment sets the Comment field's value.

func (*CreateRevisionOutput) SetCreatedAt

func (s *CreateRevisionOutput) SetCreatedAt(v time.Time) *CreateRevisionOutput

SetCreatedAt sets the CreatedAt field's value.

func (*CreateRevisionOutput) SetDataSetId

func (s *CreateRevisionOutput) SetDataSetId(v string) *CreateRevisionOutput

SetDataSetId sets the DataSetId field's value.

func (*CreateRevisionOutput) SetFinalized

func (s *CreateRevisionOutput) SetFinalized(v bool) *CreateRevisionOutput

SetFinalized sets the Finalized field's value.

func (*CreateRevisionOutput) SetId

SetId sets the Id field's value.

func (*CreateRevisionOutput) SetSourceId

SetSourceId sets the SourceId field's value.

func (*CreateRevisionOutput) SetTags

SetTags sets the Tags field's value.

func (*CreateRevisionOutput) SetUpdatedAt

func (s *CreateRevisionOutput) SetUpdatedAt(v time.Time) *CreateRevisionOutput

SetUpdatedAt sets the UpdatedAt field's value.

func (CreateRevisionOutput) String

func (s CreateRevisionOutput) String() string

String returns the string representation

type DataExchange

type DataExchange struct {
	*client.Client
}

DataExchange provides the API operation methods for making requests to AWS Data Exchange. See this package's package overview docs for details on the service.

DataExchange methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *DataExchange

New creates a new instance of the DataExchange 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 DataExchange client from just a session.
svc := dataexchange.New(mySession)

// Create a DataExchange client with additional configuration
svc := dataexchange.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*DataExchange) CancelJob

func (c *DataExchange) CancelJob(input *CancelJobInput) (*CancelJobOutput, error)

CancelJob API operation for AWS Data Exchange.

This operation cancels a job. Jobs can be cancelled only when they are in the WAITING state.

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 Data Exchange's API operation CancelJob for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CancelJob

func (*DataExchange) CancelJobRequest

func (c *DataExchange) CancelJobRequest(input *CancelJobInput) (req *request.Request, output *CancelJobOutput)

CancelJobRequest generates a "aws/request.Request" representing the client's request for the CancelJob 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 CancelJob for more information on using the CancelJob 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 CancelJobRequest method.
req, resp := client.CancelJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CancelJob

func (*DataExchange) CancelJobWithContext

func (c *DataExchange) CancelJobWithContext(ctx aws.Context, input *CancelJobInput, opts ...request.Option) (*CancelJobOutput, error)

CancelJobWithContext is the same as CancelJob with the addition of the ability to pass a context and additional request options.

See CancelJob 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 (*DataExchange) CreateDataSet

func (c *DataExchange) CreateDataSet(input *CreateDataSetInput) (*CreateDataSetOutput, error)

CreateDataSet API operation for AWS Data Exchange.

This operation creates a data set.

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 Data Exchange's API operation CreateDataSet for usage and error information.

Returned Error Types:

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

  • ServiceLimitExceededException The request has exceeded the quotas imposed by the service.

  • AccessDeniedException Access to the resource is denied.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateDataSet

func (*DataExchange) CreateDataSetRequest

func (c *DataExchange) CreateDataSetRequest(input *CreateDataSetInput) (req *request.Request, output *CreateDataSetOutput)

CreateDataSetRequest generates a "aws/request.Request" representing the client's request for the CreateDataSet 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 CreateDataSet for more information on using the CreateDataSet 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 CreateDataSetRequest method.
req, resp := client.CreateDataSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateDataSet

func (*DataExchange) CreateDataSetWithContext

func (c *DataExchange) CreateDataSetWithContext(ctx aws.Context, input *CreateDataSetInput, opts ...request.Option) (*CreateDataSetOutput, error)

CreateDataSetWithContext is the same as CreateDataSet with the addition of the ability to pass a context and additional request options.

See CreateDataSet 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 (*DataExchange) CreateJob

func (c *DataExchange) CreateJob(input *CreateJobInput) (*CreateJobOutput, error)

CreateJob API operation for AWS Data Exchange.

This operation creates a 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 Data Exchange's API operation CreateJob for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

  • AccessDeniedException Access to the resource is denied.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateJob

func (*DataExchange) CreateJobRequest

func (c *DataExchange) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobOutput)

CreateJobRequest generates a "aws/request.Request" representing the client's request for the CreateJob 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 CreateJob for more information on using the CreateJob 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 CreateJobRequest method.
req, resp := client.CreateJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateJob

func (*DataExchange) CreateJobWithContext

func (c *DataExchange) CreateJobWithContext(ctx aws.Context, input *CreateJobInput, opts ...request.Option) (*CreateJobOutput, error)

CreateJobWithContext is the same as CreateJob with the addition of the ability to pass a context and additional request options.

See CreateJob 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 (*DataExchange) CreateRevision

func (c *DataExchange) CreateRevision(input *CreateRevisionInput) (*CreateRevisionOutput, error)

CreateRevision API operation for AWS Data Exchange.

This operation creates a revision for a data set.

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 Data Exchange's API operation CreateRevision for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

  • AccessDeniedException Access to the resource is denied.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateRevision

func (*DataExchange) CreateRevisionRequest

func (c *DataExchange) CreateRevisionRequest(input *CreateRevisionInput) (req *request.Request, output *CreateRevisionOutput)

CreateRevisionRequest generates a "aws/request.Request" representing the client's request for the CreateRevision 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 CreateRevision for more information on using the CreateRevision 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 CreateRevisionRequest method.
req, resp := client.CreateRevisionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateRevision

func (*DataExchange) CreateRevisionWithContext

func (c *DataExchange) CreateRevisionWithContext(ctx aws.Context, input *CreateRevisionInput, opts ...request.Option) (*CreateRevisionOutput, error)

CreateRevisionWithContext is the same as CreateRevision with the addition of the ability to pass a context and additional request options.

See CreateRevision 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 (*DataExchange) DeleteAsset

func (c *DataExchange) DeleteAsset(input *DeleteAssetInput) (*DeleteAssetOutput, error)

DeleteAsset API operation for AWS Data Exchange.

This operation deletes an asset.

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 Data Exchange's API operation DeleteAsset for usage and error information.

Returned Error Types:

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

  • AccessDeniedException Access to the resource is denied.

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteAsset

func (*DataExchange) DeleteAssetRequest

func (c *DataExchange) DeleteAssetRequest(input *DeleteAssetInput) (req *request.Request, output *DeleteAssetOutput)

DeleteAssetRequest generates a "aws/request.Request" representing the client's request for the DeleteAsset 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 DeleteAsset for more information on using the DeleteAsset 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 DeleteAssetRequest method.
req, resp := client.DeleteAssetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteAsset

func (*DataExchange) DeleteAssetWithContext

func (c *DataExchange) DeleteAssetWithContext(ctx aws.Context, input *DeleteAssetInput, opts ...request.Option) (*DeleteAssetOutput, error)

DeleteAssetWithContext is the same as DeleteAsset with the addition of the ability to pass a context and additional request options.

See DeleteAsset 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 (*DataExchange) DeleteDataSet

func (c *DataExchange) DeleteDataSet(input *DeleteDataSetInput) (*DeleteDataSetOutput, error)

DeleteDataSet API operation for AWS Data Exchange.

This operation deletes a data set.

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 Data Exchange's API operation DeleteDataSet for usage and error information.

Returned Error Types:

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

  • AccessDeniedException Access to the resource is denied.

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteDataSet

func (*DataExchange) DeleteDataSetRequest

func (c *DataExchange) DeleteDataSetRequest(input *DeleteDataSetInput) (req *request.Request, output *DeleteDataSetOutput)

DeleteDataSetRequest generates a "aws/request.Request" representing the client's request for the DeleteDataSet 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 DeleteDataSet for more information on using the DeleteDataSet 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 DeleteDataSetRequest method.
req, resp := client.DeleteDataSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteDataSet

func (*DataExchange) DeleteDataSetWithContext

func (c *DataExchange) DeleteDataSetWithContext(ctx aws.Context, input *DeleteDataSetInput, opts ...request.Option) (*DeleteDataSetOutput, error)

DeleteDataSetWithContext is the same as DeleteDataSet with the addition of the ability to pass a context and additional request options.

See DeleteDataSet 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 (*DataExchange) DeleteRevision

func (c *DataExchange) DeleteRevision(input *DeleteRevisionInput) (*DeleteRevisionOutput, error)

DeleteRevision API operation for AWS Data Exchange.

This operation deletes a revision.

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 Data Exchange's API operation DeleteRevision for usage and error information.

Returned Error Types:

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

  • AccessDeniedException Access to the resource is denied.

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteRevision

func (*DataExchange) DeleteRevisionRequest

func (c *DataExchange) DeleteRevisionRequest(input *DeleteRevisionInput) (req *request.Request, output *DeleteRevisionOutput)

DeleteRevisionRequest generates a "aws/request.Request" representing the client's request for the DeleteRevision 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 DeleteRevision for more information on using the DeleteRevision 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 DeleteRevisionRequest method.
req, resp := client.DeleteRevisionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteRevision

func (*DataExchange) DeleteRevisionWithContext

func (c *DataExchange) DeleteRevisionWithContext(ctx aws.Context, input *DeleteRevisionInput, opts ...request.Option) (*DeleteRevisionOutput, error)

DeleteRevisionWithContext is the same as DeleteRevision with the addition of the ability to pass a context and additional request options.

See DeleteRevision 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 (*DataExchange) GetAsset

func (c *DataExchange) GetAsset(input *GetAssetInput) (*GetAssetOutput, error)

GetAsset API operation for AWS Data Exchange.

This operation returns information about an asset.

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 Data Exchange's API operation GetAsset for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetAsset

func (*DataExchange) GetAssetRequest

func (c *DataExchange) GetAssetRequest(input *GetAssetInput) (req *request.Request, output *GetAssetOutput)

GetAssetRequest generates a "aws/request.Request" representing the client's request for the GetAsset 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 GetAsset for more information on using the GetAsset 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 GetAssetRequest method.
req, resp := client.GetAssetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetAsset

func (*DataExchange) GetAssetWithContext

func (c *DataExchange) GetAssetWithContext(ctx aws.Context, input *GetAssetInput, opts ...request.Option) (*GetAssetOutput, error)

GetAssetWithContext is the same as GetAsset with the addition of the ability to pass a context and additional request options.

See GetAsset 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 (*DataExchange) GetDataSet

func (c *DataExchange) GetDataSet(input *GetDataSetInput) (*GetDataSetOutput, error)

GetDataSet API operation for AWS Data Exchange.

This operation returns information about a data set.

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 Data Exchange's API operation GetDataSet for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetDataSet

func (*DataExchange) GetDataSetRequest

func (c *DataExchange) GetDataSetRequest(input *GetDataSetInput) (req *request.Request, output *GetDataSetOutput)

GetDataSetRequest generates a "aws/request.Request" representing the client's request for the GetDataSet 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 GetDataSet for more information on using the GetDataSet 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 GetDataSetRequest method.
req, resp := client.GetDataSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetDataSet

func (*DataExchange) GetDataSetWithContext

func (c *DataExchange) GetDataSetWithContext(ctx aws.Context, input *GetDataSetInput, opts ...request.Option) (*GetDataSetOutput, error)

GetDataSetWithContext is the same as GetDataSet with the addition of the ability to pass a context and additional request options.

See GetDataSet 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 (*DataExchange) GetJob

func (c *DataExchange) GetJob(input *GetJobInput) (*GetJobOutput, error)

GetJob API operation for AWS Data Exchange.

This operation returns information about a 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 Data Exchange's API operation GetJob for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetJob

func (*DataExchange) GetJobRequest

func (c *DataExchange) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput)

GetJobRequest generates a "aws/request.Request" representing the client's request for the GetJob 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 GetJob for more information on using the GetJob 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 GetJobRequest method.
req, resp := client.GetJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetJob

func (*DataExchange) GetJobWithContext

func (c *DataExchange) GetJobWithContext(ctx aws.Context, input *GetJobInput, opts ...request.Option) (*GetJobOutput, error)

GetJobWithContext is the same as GetJob with the addition of the ability to pass a context and additional request options.

See GetJob 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 (*DataExchange) GetRevision

func (c *DataExchange) GetRevision(input *GetRevisionInput) (*GetRevisionOutput, error)

GetRevision API operation for AWS Data Exchange.

This operation returns information about a revision.

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 Data Exchange's API operation GetRevision for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetRevision

func (*DataExchange) GetRevisionRequest

func (c *DataExchange) GetRevisionRequest(input *GetRevisionInput) (req *request.Request, output *GetRevisionOutput)

GetRevisionRequest generates a "aws/request.Request" representing the client's request for the GetRevision 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 GetRevision for more information on using the GetRevision 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 GetRevisionRequest method.
req, resp := client.GetRevisionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetRevision

func (*DataExchange) GetRevisionWithContext

func (c *DataExchange) GetRevisionWithContext(ctx aws.Context, input *GetRevisionInput, opts ...request.Option) (*GetRevisionOutput, error)

GetRevisionWithContext is the same as GetRevision with the addition of the ability to pass a context and additional request options.

See GetRevision 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 (*DataExchange) ListDataSetRevisions

func (c *DataExchange) ListDataSetRevisions(input *ListDataSetRevisionsInput) (*ListDataSetRevisionsOutput, error)

ListDataSetRevisions API operation for AWS Data Exchange.

This operation lists a data set's revisions sorted by CreatedAt in descending order.

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 Data Exchange's API operation ListDataSetRevisions for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataSetRevisions

func (*DataExchange) ListDataSetRevisionsPages

func (c *DataExchange) ListDataSetRevisionsPages(input *ListDataSetRevisionsInput, fn func(*ListDataSetRevisionsOutput, bool) bool) error

ListDataSetRevisionsPages iterates over the pages of a ListDataSetRevisions operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDataSetRevisions 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 ListDataSetRevisions operation.
pageNum := 0
err := client.ListDataSetRevisionsPages(params,
    func(page *dataexchange.ListDataSetRevisionsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DataExchange) ListDataSetRevisionsPagesWithContext

func (c *DataExchange) ListDataSetRevisionsPagesWithContext(ctx aws.Context, input *ListDataSetRevisionsInput, fn func(*ListDataSetRevisionsOutput, bool) bool, opts ...request.Option) error

ListDataSetRevisionsPagesWithContext same as ListDataSetRevisionsPages 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 (*DataExchange) ListDataSetRevisionsRequest

func (c *DataExchange) ListDataSetRevisionsRequest(input *ListDataSetRevisionsInput) (req *request.Request, output *ListDataSetRevisionsOutput)

ListDataSetRevisionsRequest generates a "aws/request.Request" representing the client's request for the ListDataSetRevisions 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 ListDataSetRevisions for more information on using the ListDataSetRevisions 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 ListDataSetRevisionsRequest method.
req, resp := client.ListDataSetRevisionsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataSetRevisions

func (*DataExchange) ListDataSetRevisionsWithContext

func (c *DataExchange) ListDataSetRevisionsWithContext(ctx aws.Context, input *ListDataSetRevisionsInput, opts ...request.Option) (*ListDataSetRevisionsOutput, error)

ListDataSetRevisionsWithContext is the same as ListDataSetRevisions with the addition of the ability to pass a context and additional request options.

See ListDataSetRevisions 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 (*DataExchange) ListDataSets

func (c *DataExchange) ListDataSets(input *ListDataSetsInput) (*ListDataSetsOutput, error)

ListDataSets API operation for AWS Data Exchange.

This operation lists your data sets. When listing by origin OWNED, results are sorted by CreatedAt in descending order. When listing by origin ENTITLED, there is no order and the maxResults parameter is ignored.

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 Data Exchange's API operation ListDataSets for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataSets

func (*DataExchange) ListDataSetsPages

func (c *DataExchange) ListDataSetsPages(input *ListDataSetsInput, fn func(*ListDataSetsOutput, bool) bool) error

ListDataSetsPages iterates over the pages of a ListDataSets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListDataSets 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 ListDataSets operation.
pageNum := 0
err := client.ListDataSetsPages(params,
    func(page *dataexchange.ListDataSetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DataExchange) ListDataSetsPagesWithContext

func (c *DataExchange) ListDataSetsPagesWithContext(ctx aws.Context, input *ListDataSetsInput, fn func(*ListDataSetsOutput, bool) bool, opts ...request.Option) error

ListDataSetsPagesWithContext same as ListDataSetsPages 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 (*DataExchange) ListDataSetsRequest

func (c *DataExchange) ListDataSetsRequest(input *ListDataSetsInput) (req *request.Request, output *ListDataSetsOutput)

ListDataSetsRequest generates a "aws/request.Request" representing the client's request for the ListDataSets 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 ListDataSets for more information on using the ListDataSets 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 ListDataSetsRequest method.
req, resp := client.ListDataSetsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataSets

func (*DataExchange) ListDataSetsWithContext

func (c *DataExchange) ListDataSetsWithContext(ctx aws.Context, input *ListDataSetsInput, opts ...request.Option) (*ListDataSetsOutput, error)

ListDataSetsWithContext is the same as ListDataSets with the addition of the ability to pass a context and additional request options.

See ListDataSets 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 (*DataExchange) ListJobs

func (c *DataExchange) ListJobs(input *ListJobsInput) (*ListJobsOutput, error)

ListJobs API operation for AWS Data Exchange.

This operation lists your jobs sorted by CreatedAt in descending order.

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 Data Exchange's API operation ListJobs for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListJobs

func (*DataExchange) ListJobsPages

func (c *DataExchange) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error

ListJobsPages iterates over the pages of a ListJobs operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListJobs 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 ListJobs operation.
pageNum := 0
err := client.ListJobsPages(params,
    func(page *dataexchange.ListJobsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DataExchange) ListJobsPagesWithContext

func (c *DataExchange) ListJobsPagesWithContext(ctx aws.Context, input *ListJobsInput, fn func(*ListJobsOutput, bool) bool, opts ...request.Option) error

ListJobsPagesWithContext same as ListJobsPages 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 (*DataExchange) ListJobsRequest

func (c *DataExchange) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput)

ListJobsRequest generates a "aws/request.Request" representing the client's request for the ListJobs 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 ListJobs for more information on using the ListJobs 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 ListJobsRequest method.
req, resp := client.ListJobsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListJobs

func (*DataExchange) ListJobsWithContext

func (c *DataExchange) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts ...request.Option) (*ListJobsOutput, error)

ListJobsWithContext is the same as ListJobs with the addition of the ability to pass a context and additional request options.

See ListJobs 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 (*DataExchange) ListRevisionAssets

func (c *DataExchange) ListRevisionAssets(input *ListRevisionAssetsInput) (*ListRevisionAssetsOutput, error)

ListRevisionAssets API operation for AWS Data Exchange.

This operation lists a revision's assets sorted alphabetically in descending order.

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 Data Exchange's API operation ListRevisionAssets for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListRevisionAssets

func (*DataExchange) ListRevisionAssetsPages

func (c *DataExchange) ListRevisionAssetsPages(input *ListRevisionAssetsInput, fn func(*ListRevisionAssetsOutput, bool) bool) error

ListRevisionAssetsPages iterates over the pages of a ListRevisionAssets operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListRevisionAssets 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 ListRevisionAssets operation.
pageNum := 0
err := client.ListRevisionAssetsPages(params,
    func(page *dataexchange.ListRevisionAssetsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*DataExchange) ListRevisionAssetsPagesWithContext

func (c *DataExchange) ListRevisionAssetsPagesWithContext(ctx aws.Context, input *ListRevisionAssetsInput, fn func(*ListRevisionAssetsOutput, bool) bool, opts ...request.Option) error

ListRevisionAssetsPagesWithContext same as ListRevisionAssetsPages 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 (*DataExchange) ListRevisionAssetsRequest

func (c *DataExchange) ListRevisionAssetsRequest(input *ListRevisionAssetsInput) (req *request.Request, output *ListRevisionAssetsOutput)

ListRevisionAssetsRequest generates a "aws/request.Request" representing the client's request for the ListRevisionAssets 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 ListRevisionAssets for more information on using the ListRevisionAssets 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 ListRevisionAssetsRequest method.
req, resp := client.ListRevisionAssetsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListRevisionAssets

func (*DataExchange) ListRevisionAssetsWithContext

func (c *DataExchange) ListRevisionAssetsWithContext(ctx aws.Context, input *ListRevisionAssetsInput, opts ...request.Option) (*ListRevisionAssetsOutput, error)

ListRevisionAssetsWithContext is the same as ListRevisionAssets with the addition of the ability to pass a context and additional request options.

See ListRevisionAssets 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 (*DataExchange) ListTagsForResource

func (c *DataExchange) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error)

ListTagsForResource API operation for AWS Data Exchange.

This operation lists the tags on the 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 Data Exchange's API operation ListTagsForResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListTagsForResource

func (*DataExchange) ListTagsForResourceRequest

func (c *DataExchange) 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/dataexchange-2017-07-25/ListTagsForResource

func (*DataExchange) ListTagsForResourceWithContext

func (c *DataExchange) 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 (*DataExchange) StartJob

func (c *DataExchange) StartJob(input *StartJobInput) (*StartJobOutput, error)

StartJob API operation for AWS Data Exchange.

This operation starts a 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 Data Exchange's API operation StartJob for usage and error information.

Returned Error Types:

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

  • AccessDeniedException Access to the resource is denied.

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/StartJob

func (*DataExchange) StartJobRequest

func (c *DataExchange) StartJobRequest(input *StartJobInput) (req *request.Request, output *StartJobOutput)

StartJobRequest generates a "aws/request.Request" representing the client's request for the StartJob 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 StartJob for more information on using the StartJob 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 StartJobRequest method.
req, resp := client.StartJobRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/StartJob

func (*DataExchange) StartJobWithContext

func (c *DataExchange) StartJobWithContext(ctx aws.Context, input *StartJobInput, opts ...request.Option) (*StartJobOutput, error)

StartJobWithContext is the same as StartJob with the addition of the ability to pass a context and additional request options.

See StartJob 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 (*DataExchange) TagResource

func (c *DataExchange) TagResource(input *TagResourceInput) (*TagResourceOutput, error)

TagResource API operation for AWS Data Exchange.

This operation tags a 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 Data Exchange's API operation TagResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/TagResource

func (*DataExchange) TagResourceRequest

func (c *DataExchange) 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/dataexchange-2017-07-25/TagResource

func (*DataExchange) TagResourceWithContext

func (c *DataExchange) 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 (*DataExchange) UntagResource

func (c *DataExchange) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error)

UntagResource API operation for AWS Data Exchange.

This operation removes one or more tags from a 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 Data Exchange's API operation UntagResource for usage and error information. See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UntagResource

func (*DataExchange) UntagResourceRequest

func (c *DataExchange) 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/dataexchange-2017-07-25/UntagResource

func (*DataExchange) UntagResourceWithContext

func (c *DataExchange) 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 (*DataExchange) UpdateAsset

func (c *DataExchange) UpdateAsset(input *UpdateAssetInput) (*UpdateAssetOutput, error)

UpdateAsset API operation for AWS Data Exchange.

This operation updates an asset.

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 Data Exchange's API operation UpdateAsset for usage and error information.

Returned Error Types:

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

  • AccessDeniedException Access to the resource is denied.

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateAsset

func (*DataExchange) UpdateAssetRequest

func (c *DataExchange) UpdateAssetRequest(input *UpdateAssetInput) (req *request.Request, output *UpdateAssetOutput)

UpdateAssetRequest generates a "aws/request.Request" representing the client's request for the UpdateAsset 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 UpdateAsset for more information on using the UpdateAsset 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 UpdateAssetRequest method.
req, resp := client.UpdateAssetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateAsset

func (*DataExchange) UpdateAssetWithContext

func (c *DataExchange) UpdateAssetWithContext(ctx aws.Context, input *UpdateAssetInput, opts ...request.Option) (*UpdateAssetOutput, error)

UpdateAssetWithContext is the same as UpdateAsset with the addition of the ability to pass a context and additional request options.

See UpdateAsset 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 (*DataExchange) UpdateDataSet

func (c *DataExchange) UpdateDataSet(input *UpdateDataSetInput) (*UpdateDataSetOutput, error)

UpdateDataSet API operation for AWS Data Exchange.

This operation updates a data set.

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 Data Exchange's API operation UpdateDataSet for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

  • AccessDeniedException Access to the resource is denied.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateDataSet

func (*DataExchange) UpdateDataSetRequest

func (c *DataExchange) UpdateDataSetRequest(input *UpdateDataSetInput) (req *request.Request, output *UpdateDataSetOutput)

UpdateDataSetRequest generates a "aws/request.Request" representing the client's request for the UpdateDataSet 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 UpdateDataSet for more information on using the UpdateDataSet 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 UpdateDataSetRequest method.
req, resp := client.UpdateDataSetRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateDataSet

func (*DataExchange) UpdateDataSetWithContext

func (c *DataExchange) UpdateDataSetWithContext(ctx aws.Context, input *UpdateDataSetInput, opts ...request.Option) (*UpdateDataSetOutput, error)

UpdateDataSetWithContext is the same as UpdateDataSet with the addition of the ability to pass a context and additional request options.

See UpdateDataSet 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 (*DataExchange) UpdateRevision

func (c *DataExchange) UpdateRevision(input *UpdateRevisionInput) (*UpdateRevisionOutput, error)

UpdateRevision API operation for AWS Data Exchange.

This operation updates a revision.

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 Data Exchange's API operation UpdateRevision for usage and error information.

Returned Error Types:

  • ValidationException The request was invalid.

  • InternalServerException An exception occurred with the service.

  • AccessDeniedException Access to the resource is denied.

  • ResourceNotFoundException The resource couldn't be found.

  • ThrottlingException The limit on the number of requests per second was exceeded.

  • ConflictException The request couldn't be completed because it conflicted with the current state of the resource.

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateRevision

func (*DataExchange) UpdateRevisionRequest

func (c *DataExchange) UpdateRevisionRequest(input *UpdateRevisionInput) (req *request.Request, output *UpdateRevisionOutput)

UpdateRevisionRequest generates a "aws/request.Request" representing the client's request for the UpdateRevision 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 UpdateRevision for more information on using the UpdateRevision 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 UpdateRevisionRequest method.
req, resp := client.UpdateRevisionRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateRevision

func (*DataExchange) UpdateRevisionWithContext

func (c *DataExchange) UpdateRevisionWithContext(ctx aws.Context, input *UpdateRevisionInput, opts ...request.Option) (*UpdateRevisionOutput, error)

UpdateRevisionWithContext is the same as UpdateRevision with the addition of the ability to pass a context and additional request options.

See UpdateRevision 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 DataSetEntry

type DataSetEntry struct {

	// The ARN for the data set.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The type of file your data is stored in. Currently, the supported asset type
	// is S3_SNAPSHOT.
	//
	// AssetType is a required field
	AssetType *string `type:"string" required:"true" enum:"AssetType"`

	// The date and time that the data set was created, in ISO 8601 format.
	//
	// CreatedAt is a required field
	CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The description for the data set.
	//
	// Description is a required field
	Description *string `type:"string" required:"true"`

	// The unique identifier for the data set.
	//
	// Id is a required field
	Id *string `type:"string" required:"true"`

	// The name of the data set.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// A property that defines the data set as OWNED by the account (for providers)
	// or ENTITLED to the account (for subscribers).
	//
	// Origin is a required field
	Origin *string `type:"string" required:"true" enum:"Origin"`

	// If the origin of this data set is ENTITLED, includes the details for the
	// product on AWS Marketplace.
	OriginDetails *OriginDetails `type:"structure"`

	// The data set ID of the owned data set corresponding to the entitled data
	// set being viewed. This parameter is returned when a data set owner is viewing
	// the entitled copy of its owned data set.
	SourceId *string `type:"string"`

	// The date and time that the data set was last updated, in ISO 8601 format.
	//
	// UpdatedAt is a required field
	UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

A data set is an AWS resource with one or more revisions.

func (DataSetEntry) GoString

func (s DataSetEntry) GoString() string

GoString returns the string representation

func (*DataSetEntry) SetArn

func (s *DataSetEntry) SetArn(v string) *DataSetEntry

SetArn sets the Arn field's value.

func (*DataSetEntry) SetAssetType

func (s *DataSetEntry) SetAssetType(v string) *DataSetEntry

SetAssetType sets the AssetType field's value.

func (*DataSetEntry) SetCreatedAt

func (s *DataSetEntry) SetCreatedAt(v time.Time) *DataSetEntry

SetCreatedAt sets the CreatedAt field's value.

func (*DataSetEntry) SetDescription

func (s *DataSetEntry) SetDescription(v string) *DataSetEntry

SetDescription sets the Description field's value.

func (*DataSetEntry) SetId

func (s *DataSetEntry) SetId(v string) *DataSetEntry

SetId sets the Id field's value.

func (*DataSetEntry) SetName

func (s *DataSetEntry) SetName(v string) *DataSetEntry

SetName sets the Name field's value.

func (*DataSetEntry) SetOrigin

func (s *DataSetEntry) SetOrigin(v string) *DataSetEntry

SetOrigin sets the Origin field's value.

func (*DataSetEntry) SetOriginDetails

func (s *DataSetEntry) SetOriginDetails(v *OriginDetails) *DataSetEntry

SetOriginDetails sets the OriginDetails field's value.

func (*DataSetEntry) SetSourceId

func (s *DataSetEntry) SetSourceId(v string) *DataSetEntry

SetSourceId sets the SourceId field's value.

func (*DataSetEntry) SetUpdatedAt

func (s *DataSetEntry) SetUpdatedAt(v time.Time) *DataSetEntry

SetUpdatedAt sets the UpdatedAt field's value.

func (DataSetEntry) String

func (s DataSetEntry) String() string

String returns the string representation

type DeleteAssetInput

type DeleteAssetInput struct {

	// AssetId is a required field
	AssetId *string `location:"uri" locationName:"AssetId" type:"string" required:"true"`

	// DataSetId is a required field
	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`

	// RevisionId is a required field
	RevisionId *string `location:"uri" locationName:"RevisionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAssetInput) GoString

func (s DeleteAssetInput) GoString() string

GoString returns the string representation

func (*DeleteAssetInput) SetAssetId

func (s *DeleteAssetInput) SetAssetId(v string) *DeleteAssetInput

SetAssetId sets the AssetId field's value.

func (*DeleteAssetInput) SetDataSetId

func (s *DeleteAssetInput) SetDataSetId(v string) *DeleteAssetInput

SetDataSetId sets the DataSetId field's value.

func (*DeleteAssetInput) SetRevisionId

func (s *DeleteAssetInput) SetRevisionId(v string) *DeleteAssetInput

SetRevisionId sets the RevisionId field's value.

func (DeleteAssetInput) String

func (s DeleteAssetInput) String() string

String returns the string representation

func (*DeleteAssetInput) Validate

func (s *DeleteAssetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAssetOutput

type DeleteAssetOutput struct {
	// contains filtered or unexported fields
}

func (DeleteAssetOutput) GoString

func (s DeleteAssetOutput) GoString() string

GoString returns the string representation

func (DeleteAssetOutput) String

func (s DeleteAssetOutput) String() string

String returns the string representation

type DeleteDataSetInput

type DeleteDataSetInput struct {

	// DataSetId is a required field
	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteDataSetInput) GoString

func (s DeleteDataSetInput) GoString() string

GoString returns the string representation

func (*DeleteDataSetInput) SetDataSetId

func (s *DeleteDataSetInput) SetDataSetId(v string) *DeleteDataSetInput

SetDataSetId sets the DataSetId field's value.

func (DeleteDataSetInput) String

func (s DeleteDataSetInput) String() string

String returns the string representation

func (*DeleteDataSetInput) Validate

func (s *DeleteDataSetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteDataSetOutput

type DeleteDataSetOutput struct {
	// contains filtered or unexported fields
}

func (DeleteDataSetOutput) GoString

func (s DeleteDataSetOutput) GoString() string

GoString returns the string representation

func (DeleteDataSetOutput) String

func (s DeleteDataSetOutput) String() string

String returns the string representation

type DeleteRevisionInput

type DeleteRevisionInput struct {

	// DataSetId is a required field
	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`

	// RevisionId is a required field
	RevisionId *string `location:"uri" locationName:"RevisionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteRevisionInput) GoString

func (s DeleteRevisionInput) GoString() string

GoString returns the string representation

func (*DeleteRevisionInput) SetDataSetId

func (s *DeleteRevisionInput) SetDataSetId(v string) *DeleteRevisionInput

SetDataSetId sets the DataSetId field's value.

func (*DeleteRevisionInput) SetRevisionId

func (s *DeleteRevisionInput) SetRevisionId(v string) *DeleteRevisionInput

SetRevisionId sets the RevisionId field's value.

func (DeleteRevisionInput) String

func (s DeleteRevisionInput) String() string

String returns the string representation

func (*DeleteRevisionInput) Validate

func (s *DeleteRevisionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteRevisionOutput

type DeleteRevisionOutput struct {
	// contains filtered or unexported fields
}

func (DeleteRevisionOutput) GoString

func (s DeleteRevisionOutput) GoString() string

GoString returns the string representation

func (DeleteRevisionOutput) String

func (s DeleteRevisionOutput) String() string

String returns the string representation

type Details

type Details struct {
	ImportAssetFromSignedUrlJobErrorDetails *ImportAssetFromSignedUrlJobErrorDetails `type:"structure"`

	// The list of sources for the assets.
	ImportAssetsFromS3JobErrorDetails []*AssetSourceEntry `type:"list"`
	// contains filtered or unexported fields
}

func (Details) GoString

func (s Details) GoString() string

GoString returns the string representation

func (*Details) SetImportAssetFromSignedUrlJobErrorDetails

func (s *Details) SetImportAssetFromSignedUrlJobErrorDetails(v *ImportAssetFromSignedUrlJobErrorDetails) *Details

SetImportAssetFromSignedUrlJobErrorDetails sets the ImportAssetFromSignedUrlJobErrorDetails field's value.

func (*Details) SetImportAssetsFromS3JobErrorDetails

func (s *Details) SetImportAssetsFromS3JobErrorDetails(v []*AssetSourceEntry) *Details

SetImportAssetsFromS3JobErrorDetails sets the ImportAssetsFromS3JobErrorDetails field's value.

func (Details) String

func (s Details) String() string

String returns the string representation

type ExportAssetToSignedUrlRequestDetails

type ExportAssetToSignedUrlRequestDetails struct {

	// The unique identifier for the asset that is exported to a signed URL.
	//
	// AssetId is a required field
	AssetId *string `type:"string" required:"true"`

	// The unique identifier for the data set associated with this export job.
	//
	// DataSetId is a required field
	DataSetId *string `type:"string" required:"true"`

	// The unique identifier for the revision associated with this export request.
	//
	// RevisionId is a required field
	RevisionId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Details of the operation to be performed by the job.

func (ExportAssetToSignedUrlRequestDetails) GoString

GoString returns the string representation

func (*ExportAssetToSignedUrlRequestDetails) SetAssetId

SetAssetId sets the AssetId field's value.

func (*ExportAssetToSignedUrlRequestDetails) SetDataSetId

SetDataSetId sets the DataSetId field's value.

func (*ExportAssetToSignedUrlRequestDetails) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (ExportAssetToSignedUrlRequestDetails) String

String returns the string representation

func (*ExportAssetToSignedUrlRequestDetails) Validate

Validate inspects the fields of the type to determine if they are valid.

type ExportAssetToSignedUrlResponseDetails

type ExportAssetToSignedUrlResponseDetails struct {

	// The unique identifier for the asset associated with this export job.
	//
	// AssetId is a required field
	AssetId *string `type:"string" required:"true"`

	// The unique identifier for the data set associated with this export job.
	//
	// DataSetId is a required field
	DataSetId *string `type:"string" required:"true"`

	// The unique identifier for the revision associated with this export response.
	//
	// RevisionId is a required field
	RevisionId *string `type:"string" required:"true"`

	// The signed URL for the export request.
	SignedUrl *string `type:"string"`

	// The date and time that the signed URL expires, in ISO 8601 format.
	SignedUrlExpiresAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

The details of the export to signed URL response.

func (ExportAssetToSignedUrlResponseDetails) GoString

GoString returns the string representation

func (*ExportAssetToSignedUrlResponseDetails) SetAssetId

SetAssetId sets the AssetId field's value.

func (*ExportAssetToSignedUrlResponseDetails) SetDataSetId

SetDataSetId sets the DataSetId field's value.

func (*ExportAssetToSignedUrlResponseDetails) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (*ExportAssetToSignedUrlResponseDetails) SetSignedUrl

SetSignedUrl sets the SignedUrl field's value.

func (*ExportAssetToSignedUrlResponseDetails) SetSignedUrlExpiresAt

SetSignedUrlExpiresAt sets the SignedUrlExpiresAt field's value.

func (ExportAssetToSignedUrlResponseDetails) String

String returns the string representation

type ExportAssetsToS3RequestDetails

type ExportAssetsToS3RequestDetails struct {

	// The destination for the asset.
	//
	// AssetDestinations is a required field
	AssetDestinations []*AssetDestinationEntry `type:"list" required:"true"`

	// The unique identifier for the data set associated with this export job.
	//
	// DataSetId is a required field
	DataSetId *string `type:"string" required:"true"`

	// Encryption configuration for the export job.
	Encryption *ExportServerSideEncryption `type:"structure"`

	// The unique identifier for the revision associated with this export request.
	//
	// RevisionId is a required field
	RevisionId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Details of the operation to be performed by the job.

func (ExportAssetsToS3RequestDetails) GoString

GoString returns the string representation

func (*ExportAssetsToS3RequestDetails) SetAssetDestinations

SetAssetDestinations sets the AssetDestinations field's value.

func (*ExportAssetsToS3RequestDetails) SetDataSetId

SetDataSetId sets the DataSetId field's value.

func (*ExportAssetsToS3RequestDetails) SetEncryption added in v1.30.15

SetEncryption sets the Encryption field's value.

func (*ExportAssetsToS3RequestDetails) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (ExportAssetsToS3RequestDetails) String

String returns the string representation

func (*ExportAssetsToS3RequestDetails) Validate

func (s *ExportAssetsToS3RequestDetails) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ExportAssetsToS3ResponseDetails

type ExportAssetsToS3ResponseDetails struct {

	// The destination in Amazon S3 where the asset is exported.
	//
	// AssetDestinations is a required field
	AssetDestinations []*AssetDestinationEntry `type:"list" required:"true"`

	// The unique identifier for the data set associated with this export job.
	//
	// DataSetId is a required field
	DataSetId *string `type:"string" required:"true"`

	// Encryption configuration of the export job.
	Encryption *ExportServerSideEncryption `type:"structure"`

	// The unique identifier for the revision associated with this export response.
	//
	// RevisionId is a required field
	RevisionId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Details about the export to Amazon S3 response.

func (ExportAssetsToS3ResponseDetails) GoString

GoString returns the string representation

func (*ExportAssetsToS3ResponseDetails) SetAssetDestinations

SetAssetDestinations sets the AssetDestinations field's value.

func (*ExportAssetsToS3ResponseDetails) SetDataSetId

SetDataSetId sets the DataSetId field's value.

func (*ExportAssetsToS3ResponseDetails) SetEncryption added in v1.30.15

SetEncryption sets the Encryption field's value.

func (*ExportAssetsToS3ResponseDetails) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (ExportAssetsToS3ResponseDetails) String

String returns the string representation

type ExportServerSideEncryption added in v1.30.15

type ExportServerSideEncryption struct {

	// The Amazon Resource Name (ARN) of the the AWS KMS key you want to use to
	// encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms
	// as an encryption type.
	KmsKeyArn *string `type:"string"`

	// The type of server side encryption used for encrypting the objects in Amazon
	// S3.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"ServerSideEncryptionTypes"`
	// contains filtered or unexported fields
}

Encryption configuration of the export job. Includes the encryption type as well as the AWS KMS key. The KMS key is only necessary if you chose the KMS encryption type.

func (ExportServerSideEncryption) GoString added in v1.30.15

func (s ExportServerSideEncryption) GoString() string

GoString returns the string representation

func (*ExportServerSideEncryption) SetKmsKeyArn added in v1.30.15

SetKmsKeyArn sets the KmsKeyArn field's value.

func (*ExportServerSideEncryption) SetType added in v1.30.15

SetType sets the Type field's value.

func (ExportServerSideEncryption) String added in v1.30.15

String returns the string representation

func (*ExportServerSideEncryption) Validate added in v1.30.15

func (s *ExportServerSideEncryption) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAssetInput

type GetAssetInput struct {

	// AssetId is a required field
	AssetId *string `location:"uri" locationName:"AssetId" type:"string" required:"true"`

	// DataSetId is a required field
	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`

	// RevisionId is a required field
	RevisionId *string `location:"uri" locationName:"RevisionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAssetInput) GoString

func (s GetAssetInput) GoString() string

GoString returns the string representation

func (*GetAssetInput) SetAssetId

func (s *GetAssetInput) SetAssetId(v string) *GetAssetInput

SetAssetId sets the AssetId field's value.

func (*GetAssetInput) SetDataSetId

func (s *GetAssetInput) SetDataSetId(v string) *GetAssetInput

SetDataSetId sets the DataSetId field's value.

func (*GetAssetInput) SetRevisionId

func (s *GetAssetInput) SetRevisionId(v string) *GetAssetInput

SetRevisionId sets the RevisionId field's value.

func (GetAssetInput) String

func (s GetAssetInput) String() string

String returns the string representation

func (*GetAssetInput) Validate

func (s *GetAssetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetAssetOutput

type GetAssetOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
	Arn *string `type:"string"`

	AssetDetails *AssetDetails `type:"structure"`

	// The type of file your data is stored in. Currently, the supported asset type
	// is S3_SNAPSHOT.
	AssetType *string `type:"string" enum:"AssetType"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// A unique identifier.
	DataSetId *string `type:"string"`

	// A unique identifier.
	Id *string `type:"string"`

	// The name of the asset. When importing from Amazon S3, the S3 object key is
	// used as the asset name. When exporting to Amazon S3, the asset name is used
	// as default target S3 object key.
	Name *string `type:"string"`

	// A unique identifier.
	RevisionId *string `type:"string"`

	// A unique identifier.
	SourceId *string `type:"string"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

func (GetAssetOutput) GoString

func (s GetAssetOutput) GoString() string

GoString returns the string representation

func (*GetAssetOutput) SetArn

func (s *GetAssetOutput) SetArn(v string) *GetAssetOutput

SetArn sets the Arn field's value.

func (*GetAssetOutput) SetAssetDetails

func (s *GetAssetOutput) SetAssetDetails(v *AssetDetails) *GetAssetOutput

SetAssetDetails sets the AssetDetails field's value.

func (*GetAssetOutput) SetAssetType

func (s *GetAssetOutput) SetAssetType(v string) *GetAssetOutput

SetAssetType sets the AssetType field's value.

func (*GetAssetOutput) SetCreatedAt

func (s *GetAssetOutput) SetCreatedAt(v time.Time) *GetAssetOutput

SetCreatedAt sets the CreatedAt field's value.

func (*GetAssetOutput) SetDataSetId

func (s *GetAssetOutput) SetDataSetId(v string) *GetAssetOutput

SetDataSetId sets the DataSetId field's value.

func (*GetAssetOutput) SetId

func (s *GetAssetOutput) SetId(v string) *GetAssetOutput

SetId sets the Id field's value.

func (*GetAssetOutput) SetName

func (s *GetAssetOutput) SetName(v string) *GetAssetOutput

SetName sets the Name field's value.

func (*GetAssetOutput) SetRevisionId

func (s *GetAssetOutput) SetRevisionId(v string) *GetAssetOutput

SetRevisionId sets the RevisionId field's value.

func (*GetAssetOutput) SetSourceId

func (s *GetAssetOutput) SetSourceId(v string) *GetAssetOutput

SetSourceId sets the SourceId field's value.

func (*GetAssetOutput) SetUpdatedAt

func (s *GetAssetOutput) SetUpdatedAt(v time.Time) *GetAssetOutput

SetUpdatedAt sets the UpdatedAt field's value.

func (GetAssetOutput) String

func (s GetAssetOutput) String() string

String returns the string representation

type GetDataSetInput

type GetDataSetInput struct {

	// DataSetId is a required field
	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetDataSetInput) GoString

func (s GetDataSetInput) GoString() string

GoString returns the string representation

func (*GetDataSetInput) SetDataSetId

func (s *GetDataSetInput) SetDataSetId(v string) *GetDataSetInput

SetDataSetId sets the DataSetId field's value.

func (GetDataSetInput) String

func (s GetDataSetInput) String() string

String returns the string representation

func (*GetDataSetInput) Validate

func (s *GetDataSetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetDataSetOutput

type GetDataSetOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
	Arn *string `type:"string"`

	// The type of file your data is stored in. Currently, the supported asset type
	// is S3_SNAPSHOT.
	AssetType *string `type:"string" enum:"AssetType"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// A description of a resource.
	Description *string `type:"string"`

	// A unique identifier.
	Id *string `type:"string"`

	// The name of the model.
	Name *string `type:"string"`

	// A property that defines the data set as OWNED by the account (for providers)
	// or ENTITLED to the account (for subscribers). When an owned data set is published
	// in a product, AWS Data Exchange creates a copy of the data set. Subscribers
	// can access that copy of the data set as an entitled data set.
	Origin *string `type:"string" enum:"Origin"`

	OriginDetails *OriginDetails `type:"structure"`

	// A unique identifier.
	SourceId *string `type:"string"`

	Tags map[string]*string `type:"map"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

func (GetDataSetOutput) GoString

func (s GetDataSetOutput) GoString() string

GoString returns the string representation

func (*GetDataSetOutput) SetArn

SetArn sets the Arn field's value.

func (*GetDataSetOutput) SetAssetType

func (s *GetDataSetOutput) SetAssetType(v string) *GetDataSetOutput

SetAssetType sets the AssetType field's value.

func (*GetDataSetOutput) SetCreatedAt

func (s *GetDataSetOutput) SetCreatedAt(v time.Time) *GetDataSetOutput

SetCreatedAt sets the CreatedAt field's value.

func (*GetDataSetOutput) SetDescription

func (s *GetDataSetOutput) SetDescription(v string) *GetDataSetOutput

SetDescription sets the Description field's value.

func (*GetDataSetOutput) SetId

SetId sets the Id field's value.

func (*GetDataSetOutput) SetName

func (s *GetDataSetOutput) SetName(v string) *GetDataSetOutput

SetName sets the Name field's value.

func (*GetDataSetOutput) SetOrigin

func (s *GetDataSetOutput) SetOrigin(v string) *GetDataSetOutput

SetOrigin sets the Origin field's value.

func (*GetDataSetOutput) SetOriginDetails

func (s *GetDataSetOutput) SetOriginDetails(v *OriginDetails) *GetDataSetOutput

SetOriginDetails sets the OriginDetails field's value.

func (*GetDataSetOutput) SetSourceId

func (s *GetDataSetOutput) SetSourceId(v string) *GetDataSetOutput

SetSourceId sets the SourceId field's value.

func (*GetDataSetOutput) SetTags

func (s *GetDataSetOutput) SetTags(v map[string]*string) *GetDataSetOutput

SetTags sets the Tags field's value.

func (*GetDataSetOutput) SetUpdatedAt

func (s *GetDataSetOutput) SetUpdatedAt(v time.Time) *GetDataSetOutput

SetUpdatedAt sets the UpdatedAt field's value.

func (GetDataSetOutput) String

func (s GetDataSetOutput) String() string

String returns the string representation

type GetJobInput

type GetJobInput struct {

	// JobId is a required field
	JobId *string `location:"uri" locationName:"JobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetJobInput) GoString

func (s GetJobInput) GoString() string

GoString returns the string representation

func (*GetJobInput) SetJobId

func (s *GetJobInput) SetJobId(v string) *GetJobInput

SetJobId sets the JobId field's value.

func (GetJobInput) String

func (s GetJobInput) String() string

String returns the string representation

func (*GetJobInput) Validate

func (s *GetJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetJobOutput

type GetJobOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
	Arn *string `type:"string"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// Details for the response.
	Details *ResponseDetails `type:"structure"`

	Errors []*JobError `type:"list"`

	// A unique identifier.
	Id *string `type:"string"`

	State *string `type:"string" enum:"State"`

	Type *string `type:"string" enum:"Type"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

func (GetJobOutput) GoString

func (s GetJobOutput) GoString() string

GoString returns the string representation

func (*GetJobOutput) SetArn

func (s *GetJobOutput) SetArn(v string) *GetJobOutput

SetArn sets the Arn field's value.

func (*GetJobOutput) SetCreatedAt

func (s *GetJobOutput) SetCreatedAt(v time.Time) *GetJobOutput

SetCreatedAt sets the CreatedAt field's value.

func (*GetJobOutput) SetDetails

func (s *GetJobOutput) SetDetails(v *ResponseDetails) *GetJobOutput

SetDetails sets the Details field's value.

func (*GetJobOutput) SetErrors

func (s *GetJobOutput) SetErrors(v []*JobError) *GetJobOutput

SetErrors sets the Errors field's value.

func (*GetJobOutput) SetId

func (s *GetJobOutput) SetId(v string) *GetJobOutput

SetId sets the Id field's value.

func (*GetJobOutput) SetState

func (s *GetJobOutput) SetState(v string) *GetJobOutput

SetState sets the State field's value.

func (*GetJobOutput) SetType

func (s *GetJobOutput) SetType(v string) *GetJobOutput

SetType sets the Type field's value.

func (*GetJobOutput) SetUpdatedAt

func (s *GetJobOutput) SetUpdatedAt(v time.Time) *GetJobOutput

SetUpdatedAt sets the UpdatedAt field's value.

func (GetJobOutput) String

func (s GetJobOutput) String() string

String returns the string representation

type GetRevisionInput

type GetRevisionInput struct {

	// DataSetId is a required field
	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`

	// RevisionId is a required field
	RevisionId *string `location:"uri" locationName:"RevisionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRevisionInput) GoString

func (s GetRevisionInput) GoString() string

GoString returns the string representation

func (*GetRevisionInput) SetDataSetId

func (s *GetRevisionInput) SetDataSetId(v string) *GetRevisionInput

SetDataSetId sets the DataSetId field's value.

func (*GetRevisionInput) SetRevisionId

func (s *GetRevisionInput) SetRevisionId(v string) *GetRevisionInput

SetRevisionId sets the RevisionId field's value.

func (GetRevisionInput) String

func (s GetRevisionInput) String() string

String returns the string representation

func (*GetRevisionInput) Validate

func (s *GetRevisionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetRevisionOutput

type GetRevisionOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
	Arn *string `type:"string"`

	Comment *string `type:"string"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// A unique identifier.
	DataSetId *string `type:"string"`

	Finalized *bool `type:"boolean"`

	// A unique identifier.
	Id *string `type:"string"`

	// A unique identifier.
	SourceId *string `type:"string"`

	Tags map[string]*string `type:"map"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

func (GetRevisionOutput) GoString

func (s GetRevisionOutput) GoString() string

GoString returns the string representation

func (*GetRevisionOutput) SetArn

SetArn sets the Arn field's value.

func (*GetRevisionOutput) SetComment

func (s *GetRevisionOutput) SetComment(v string) *GetRevisionOutput

SetComment sets the Comment field's value.

func (*GetRevisionOutput) SetCreatedAt

func (s *GetRevisionOutput) SetCreatedAt(v time.Time) *GetRevisionOutput

SetCreatedAt sets the CreatedAt field's value.

func (*GetRevisionOutput) SetDataSetId

func (s *GetRevisionOutput) SetDataSetId(v string) *GetRevisionOutput

SetDataSetId sets the DataSetId field's value.

func (*GetRevisionOutput) SetFinalized

func (s *GetRevisionOutput) SetFinalized(v bool) *GetRevisionOutput

SetFinalized sets the Finalized field's value.

func (*GetRevisionOutput) SetId

SetId sets the Id field's value.

func (*GetRevisionOutput) SetSourceId

func (s *GetRevisionOutput) SetSourceId(v string) *GetRevisionOutput

SetSourceId sets the SourceId field's value.

func (*GetRevisionOutput) SetTags

func (s *GetRevisionOutput) SetTags(v map[string]*string) *GetRevisionOutput

SetTags sets the Tags field's value.

func (*GetRevisionOutput) SetUpdatedAt

func (s *GetRevisionOutput) SetUpdatedAt(v time.Time) *GetRevisionOutput

SetUpdatedAt sets the UpdatedAt field's value.

func (GetRevisionOutput) String

func (s GetRevisionOutput) String() string

String returns the string representation

type ImportAssetFromSignedUrlJobErrorDetails

type ImportAssetFromSignedUrlJobErrorDetails struct {

	// The name of the asset. When importing from Amazon S3, the S3 object key is
	// used as the asset name. When exporting to Amazon S3, the asset name is used
	// as default target S3 object key.
	//
	// AssetName is a required field
	AssetName *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ImportAssetFromSignedUrlJobErrorDetails) GoString

GoString returns the string representation

func (*ImportAssetFromSignedUrlJobErrorDetails) SetAssetName

SetAssetName sets the AssetName field's value.

func (ImportAssetFromSignedUrlJobErrorDetails) String

String returns the string representation

type ImportAssetFromSignedUrlRequestDetails

type ImportAssetFromSignedUrlRequestDetails struct {

	// The name of the asset. When importing from Amazon S3, the S3 object key is
	// used as the asset name.
	//
	// AssetName is a required field
	AssetName *string `type:"string" required:"true"`

	// The unique identifier for the data set associated with this import job.
	//
	// DataSetId is a required field
	DataSetId *string `type:"string" required:"true"`

	// The Base64-encoded Md5 hash for the asset, used to ensure the integrity of
	// the file at that location.
	//
	// Md5Hash is a required field
	Md5Hash *string `min:"24" type:"string" required:"true"`

	// The unique identifier for the revision associated with this import request.
	//
	// RevisionId is a required field
	RevisionId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Details of the operation to be performed by the job.

func (ImportAssetFromSignedUrlRequestDetails) GoString

GoString returns the string representation

func (*ImportAssetFromSignedUrlRequestDetails) SetAssetName

SetAssetName sets the AssetName field's value.

func (*ImportAssetFromSignedUrlRequestDetails) SetDataSetId

SetDataSetId sets the DataSetId field's value.

func (*ImportAssetFromSignedUrlRequestDetails) SetMd5Hash

SetMd5Hash sets the Md5Hash field's value.

func (*ImportAssetFromSignedUrlRequestDetails) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (ImportAssetFromSignedUrlRequestDetails) String

String returns the string representation

func (*ImportAssetFromSignedUrlRequestDetails) Validate

Validate inspects the fields of the type to determine if they are valid.

type ImportAssetFromSignedUrlResponseDetails

type ImportAssetFromSignedUrlResponseDetails struct {

	// The name for the asset associated with this import response.
	//
	// AssetName is a required field
	AssetName *string `type:"string" required:"true"`

	// The unique identifier for the data set associated with this import job.
	//
	// DataSetId is a required field
	DataSetId *string `type:"string" required:"true"`

	// The Base64-encoded Md5 hash for the asset, used to ensure the integrity of
	// the file at that location.
	Md5Hash *string `min:"24" type:"string"`

	// The unique identifier for the revision associated with this import response.
	//
	// RevisionId is a required field
	RevisionId *string `type:"string" required:"true"`

	// The signed URL.
	SignedUrl *string `type:"string"`

	// The time and date at which the signed URL expires, in ISO 8601 format.
	SignedUrlExpiresAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

The details in the response for an import request, including the signed URL and other information.

func (ImportAssetFromSignedUrlResponseDetails) GoString

GoString returns the string representation

func (*ImportAssetFromSignedUrlResponseDetails) SetAssetName

SetAssetName sets the AssetName field's value.

func (*ImportAssetFromSignedUrlResponseDetails) SetDataSetId

SetDataSetId sets the DataSetId field's value.

func (*ImportAssetFromSignedUrlResponseDetails) SetMd5Hash

SetMd5Hash sets the Md5Hash field's value.

func (*ImportAssetFromSignedUrlResponseDetails) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (*ImportAssetFromSignedUrlResponseDetails) SetSignedUrl

SetSignedUrl sets the SignedUrl field's value.

func (*ImportAssetFromSignedUrlResponseDetails) SetSignedUrlExpiresAt

SetSignedUrlExpiresAt sets the SignedUrlExpiresAt field's value.

func (ImportAssetFromSignedUrlResponseDetails) String

String returns the string representation

type ImportAssetsFromS3RequestDetails

type ImportAssetsFromS3RequestDetails struct {

	// Is a list of S3 bucket and object key pairs.
	//
	// AssetSources is a required field
	AssetSources []*AssetSourceEntry `type:"list" required:"true"`

	// The unique identifier for the data set associated with this import job.
	//
	// DataSetId is a required field
	DataSetId *string `type:"string" required:"true"`

	// The unique identifier for the revision associated with this import request.
	//
	// RevisionId is a required field
	RevisionId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Details of the operation to be performed by the job.

func (ImportAssetsFromS3RequestDetails) GoString

GoString returns the string representation

func (*ImportAssetsFromS3RequestDetails) SetAssetSources

SetAssetSources sets the AssetSources field's value.

func (*ImportAssetsFromS3RequestDetails) SetDataSetId

SetDataSetId sets the DataSetId field's value.

func (*ImportAssetsFromS3RequestDetails) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (ImportAssetsFromS3RequestDetails) String

String returns the string representation

func (*ImportAssetsFromS3RequestDetails) Validate

Validate inspects the fields of the type to determine if they are valid.

type ImportAssetsFromS3ResponseDetails

type ImportAssetsFromS3ResponseDetails struct {

	// Is a list of Amazon S3 bucket and object key pairs.
	//
	// AssetSources is a required field
	AssetSources []*AssetSourceEntry `type:"list" required:"true"`

	// The unique identifier for the data set associated with this import job.
	//
	// DataSetId is a required field
	DataSetId *string `type:"string" required:"true"`

	// The unique identifier for the revision associated with this import response.
	//
	// RevisionId is a required field
	RevisionId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Details from an import from Amazon S3 response.

func (ImportAssetsFromS3ResponseDetails) GoString

GoString returns the string representation

func (*ImportAssetsFromS3ResponseDetails) SetAssetSources

SetAssetSources sets the AssetSources field's value.

func (*ImportAssetsFromS3ResponseDetails) SetDataSetId

SetDataSetId sets the DataSetId field's value.

func (*ImportAssetsFromS3ResponseDetails) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (ImportAssetsFromS3ResponseDetails) String

String returns the string representation

type InternalServerException added in v1.28.0

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The message identifying the service exception that occurred.
	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

An exception occurred with the service.

func (*InternalServerException) Code added in v1.28.0

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error added in v1.28.0

func (s *InternalServerException) Error() string

func (InternalServerException) GoString added in v1.28.0

func (s InternalServerException) GoString() string

GoString returns the string representation

func (*InternalServerException) Message added in v1.28.0

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr added in v1.28.0

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID added in v1.28.0

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode added in v1.28.0

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String added in v1.28.0

func (s InternalServerException) String() string

String returns the string representation

type JobEntry

type JobEntry struct {

	// The ARN for the job.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// The date and time that the job was created, in ISO 8601 format.
	//
	// CreatedAt is a required field
	CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// Details of the operation to be performed by the job, such as export destination
	// details or import source details.
	//
	// Details is a required field
	Details *ResponseDetails `type:"structure" required:"true"`

	// Errors for jobs.
	Errors []*JobError `type:"list"`

	// The unique identifier for the job.
	//
	// Id is a required field
	Id *string `type:"string" required:"true"`

	// The state of the job.
	//
	// State is a required field
	State *string `type:"string" required:"true" enum:"State"`

	// The job type.
	//
	// Type is a required field
	Type *string `type:"string" required:"true" enum:"Type"`

	// The date and time that the job was last updated, in ISO 8601 format.
	//
	// UpdatedAt is a required field
	UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

AWS Data Exchange Jobs are asynchronous import or export operations used to create or copy assets. A data set owner can both import and export as they see fit. Someone with an entitlement to a data set can only export. Jobs are deleted 90 days after they are created.

func (JobEntry) GoString

func (s JobEntry) GoString() string

GoString returns the string representation

func (*JobEntry) SetArn

func (s *JobEntry) SetArn(v string) *JobEntry

SetArn sets the Arn field's value.

func (*JobEntry) SetCreatedAt

func (s *JobEntry) SetCreatedAt(v time.Time) *JobEntry

SetCreatedAt sets the CreatedAt field's value.

func (*JobEntry) SetDetails

func (s *JobEntry) SetDetails(v *ResponseDetails) *JobEntry

SetDetails sets the Details field's value.

func (*JobEntry) SetErrors

func (s *JobEntry) SetErrors(v []*JobError) *JobEntry

SetErrors sets the Errors field's value.

func (*JobEntry) SetId

func (s *JobEntry) SetId(v string) *JobEntry

SetId sets the Id field's value.

func (*JobEntry) SetState

func (s *JobEntry) SetState(v string) *JobEntry

SetState sets the State field's value.

func (*JobEntry) SetType

func (s *JobEntry) SetType(v string) *JobEntry

SetType sets the Type field's value.

func (*JobEntry) SetUpdatedAt

func (s *JobEntry) SetUpdatedAt(v time.Time) *JobEntry

SetUpdatedAt sets the UpdatedAt field's value.

func (JobEntry) String

func (s JobEntry) String() string

String returns the string representation

type JobError

type JobError struct {

	// The code for the job error.
	//
	// Code is a required field
	Code *string `type:"string" required:"true" enum:"Code"`

	Details *Details `type:"structure"`

	// The name of the limit that was reached.
	LimitName *string `type:"string" enum:"JobErrorLimitName"`

	// The value of the exceeded limit.
	LimitValue *float64 `type:"double"`

	// The message related to the job error.
	//
	// Message is a required field
	Message *string `type:"string" required:"true"`

	// The unique identifier for the resource related to the error.
	ResourceId *string `type:"string"`

	// The type of resource related to the error.
	ResourceType *string `type:"string" enum:"JobErrorResourceTypes"`
	// contains filtered or unexported fields
}

An error that occurred with the job request.

func (JobError) GoString

func (s JobError) GoString() string

GoString returns the string representation

func (*JobError) SetCode

func (s *JobError) SetCode(v string) *JobError

SetCode sets the Code field's value.

func (*JobError) SetDetails

func (s *JobError) SetDetails(v *Details) *JobError

SetDetails sets the Details field's value.

func (*JobError) SetLimitName

func (s *JobError) SetLimitName(v string) *JobError

SetLimitName sets the LimitName field's value.

func (*JobError) SetLimitValue

func (s *JobError) SetLimitValue(v float64) *JobError

SetLimitValue sets the LimitValue field's value.

func (*JobError) SetMessage

func (s *JobError) SetMessage(v string) *JobError

SetMessage sets the Message field's value.

func (*JobError) SetResourceId

func (s *JobError) SetResourceId(v string) *JobError

SetResourceId sets the ResourceId field's value.

func (*JobError) SetResourceType

func (s *JobError) SetResourceType(v string) *JobError

SetResourceType sets the ResourceType field's value.

func (JobError) String

func (s JobError) String() string

String returns the string representation

type ListDataSetRevisionsInput

type ListDataSetRevisionsInput struct {

	// DataSetId is a required field
	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`

	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`
	// contains filtered or unexported fields
}

func (ListDataSetRevisionsInput) GoString

func (s ListDataSetRevisionsInput) GoString() string

GoString returns the string representation

func (*ListDataSetRevisionsInput) SetDataSetId

SetDataSetId sets the DataSetId field's value.

func (*ListDataSetRevisionsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListDataSetRevisionsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListDataSetRevisionsInput) String

func (s ListDataSetRevisionsInput) String() string

String returns the string representation

func (*ListDataSetRevisionsInput) Validate

func (s *ListDataSetRevisionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDataSetRevisionsOutput

type ListDataSetRevisionsOutput struct {

	// The token value retrieved from a previous call to access the next page of
	// results.
	NextToken *string `type:"string"`

	Revisions []*RevisionEntry `type:"list"`
	// contains filtered or unexported fields
}

func (ListDataSetRevisionsOutput) GoString

func (s ListDataSetRevisionsOutput) GoString() string

GoString returns the string representation

func (*ListDataSetRevisionsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListDataSetRevisionsOutput) SetRevisions

SetRevisions sets the Revisions field's value.

func (ListDataSetRevisionsOutput) String

String returns the string representation

type ListDataSetsInput

type ListDataSetsInput struct {
	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	Origin *string `location:"querystring" locationName:"origin" type:"string"`
	// contains filtered or unexported fields
}

func (ListDataSetsInput) GoString

func (s ListDataSetsInput) GoString() string

GoString returns the string representation

func (*ListDataSetsInput) SetMaxResults

func (s *ListDataSetsInput) SetMaxResults(v int64) *ListDataSetsInput

SetMaxResults sets the MaxResults field's value.

func (*ListDataSetsInput) SetNextToken

func (s *ListDataSetsInput) SetNextToken(v string) *ListDataSetsInput

SetNextToken sets the NextToken field's value.

func (*ListDataSetsInput) SetOrigin

func (s *ListDataSetsInput) SetOrigin(v string) *ListDataSetsInput

SetOrigin sets the Origin field's value.

func (ListDataSetsInput) String

func (s ListDataSetsInput) String() string

String returns the string representation

func (*ListDataSetsInput) Validate

func (s *ListDataSetsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListDataSetsOutput

type ListDataSetsOutput struct {
	DataSets []*DataSetEntry `type:"list"`

	// The token value retrieved from a previous call to access the next page of
	// results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListDataSetsOutput) GoString

func (s ListDataSetsOutput) GoString() string

GoString returns the string representation

func (*ListDataSetsOutput) SetDataSets

func (s *ListDataSetsOutput) SetDataSets(v []*DataSetEntry) *ListDataSetsOutput

SetDataSets sets the DataSets field's value.

func (*ListDataSetsOutput) SetNextToken

func (s *ListDataSetsOutput) SetNextToken(v string) *ListDataSetsOutput

SetNextToken sets the NextToken field's value.

func (ListDataSetsOutput) String

func (s ListDataSetsOutput) String() string

String returns the string representation

type ListJobsInput

type ListJobsInput struct {
	DataSetId *string `location:"querystring" locationName:"dataSetId" type:"string"`

	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	RevisionId *string `location:"querystring" locationName:"revisionId" type:"string"`
	// contains filtered or unexported fields
}

func (ListJobsInput) GoString

func (s ListJobsInput) GoString() string

GoString returns the string representation

func (*ListJobsInput) SetDataSetId

func (s *ListJobsInput) SetDataSetId(v string) *ListJobsInput

SetDataSetId sets the DataSetId field's value.

func (*ListJobsInput) SetMaxResults

func (s *ListJobsInput) SetMaxResults(v int64) *ListJobsInput

SetMaxResults sets the MaxResults field's value.

func (*ListJobsInput) SetNextToken

func (s *ListJobsInput) SetNextToken(v string) *ListJobsInput

SetNextToken sets the NextToken field's value.

func (*ListJobsInput) SetRevisionId

func (s *ListJobsInput) SetRevisionId(v string) *ListJobsInput

SetRevisionId sets the RevisionId field's value.

func (ListJobsInput) String

func (s ListJobsInput) String() string

String returns the string representation

func (*ListJobsInput) Validate

func (s *ListJobsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListJobsOutput

type ListJobsOutput struct {
	Jobs []*JobEntry `type:"list"`

	// The token value retrieved from a previous call to access the next page of
	// results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListJobsOutput) GoString

func (s ListJobsOutput) GoString() string

GoString returns the string representation

func (*ListJobsOutput) SetJobs

func (s *ListJobsOutput) SetJobs(v []*JobEntry) *ListJobsOutput

SetJobs sets the Jobs field's value.

func (*ListJobsOutput) SetNextToken

func (s *ListJobsOutput) SetNextToken(v string) *ListJobsOutput

SetNextToken sets the NextToken field's value.

func (ListJobsOutput) String

func (s ListJobsOutput) String() string

String returns the string representation

type ListRevisionAssetsInput

type ListRevisionAssetsInput struct {

	// DataSetId is a required field
	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`

	MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"`

	NextToken *string `location:"querystring" locationName:"nextToken" type:"string"`

	// RevisionId is a required field
	RevisionId *string `location:"uri" locationName:"RevisionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListRevisionAssetsInput) GoString

func (s ListRevisionAssetsInput) GoString() string

GoString returns the string representation

func (*ListRevisionAssetsInput) SetDataSetId

SetDataSetId sets the DataSetId field's value.

func (*ListRevisionAssetsInput) SetMaxResults

SetMaxResults sets the MaxResults field's value.

func (*ListRevisionAssetsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListRevisionAssetsInput) SetRevisionId

SetRevisionId sets the RevisionId field's value.

func (ListRevisionAssetsInput) String

func (s ListRevisionAssetsInput) String() string

String returns the string representation

func (*ListRevisionAssetsInput) Validate

func (s *ListRevisionAssetsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListRevisionAssetsOutput

type ListRevisionAssetsOutput struct {
	Assets []*AssetEntry `type:"list"`

	// The token value retrieved from a previous call to access the next page of
	// results.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

func (ListRevisionAssetsOutput) GoString

func (s ListRevisionAssetsOutput) GoString() string

GoString returns the string representation

func (*ListRevisionAssetsOutput) SetAssets

SetAssets sets the Assets field's value.

func (*ListRevisionAssetsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListRevisionAssetsOutput) String

func (s ListRevisionAssetsOutput) String() string

String returns the string representation

type ListTagsForResourceInput

type ListTagsForResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceInput) GoString

func (s ListTagsForResourceInput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceInput) SetResourceArn

SetResourceArn sets the ResourceArn field's value.

func (ListTagsForResourceInput) String

func (s ListTagsForResourceInput) String() string

String returns the string representation

func (*ListTagsForResourceInput) Validate

func (s *ListTagsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsForResourceOutput

type ListTagsForResourceOutput struct {
	Tags map[string]*string `locationName:"tags" type:"map"`
	// contains filtered or unexported fields
}

func (ListTagsForResourceOutput) GoString

func (s ListTagsForResourceOutput) GoString() string

GoString returns the string representation

func (*ListTagsForResourceOutput) SetTags

SetTags sets the Tags field's value.

func (ListTagsForResourceOutput) String

func (s ListTagsForResourceOutput) String() string

String returns the string representation

type OriginDetails

type OriginDetails struct {

	// ProductId is a required field
	ProductId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (OriginDetails) GoString

func (s OriginDetails) GoString() string

GoString returns the string representation

func (*OriginDetails) SetProductId

func (s *OriginDetails) SetProductId(v string) *OriginDetails

SetProductId sets the ProductId field's value.

func (OriginDetails) String

func (s OriginDetails) String() string

String returns the string representation

type RequestDetails

type RequestDetails struct {

	// Details about the export to signed URL request.
	ExportAssetToSignedUrl *ExportAssetToSignedUrlRequestDetails `type:"structure"`

	// Details about the export to Amazon S3 request.
	ExportAssetsToS3 *ExportAssetsToS3RequestDetails `type:"structure"`

	// Details about the import from signed URL request.
	ImportAssetFromSignedUrl *ImportAssetFromSignedUrlRequestDetails `type:"structure"`

	// Details about the import from Amazon S3 request.
	ImportAssetsFromS3 *ImportAssetsFromS3RequestDetails `type:"structure"`
	// contains filtered or unexported fields
}

The details for the request.

func (RequestDetails) GoString

func (s RequestDetails) GoString() string

GoString returns the string representation

func (*RequestDetails) SetExportAssetToSignedUrl

func (s *RequestDetails) SetExportAssetToSignedUrl(v *ExportAssetToSignedUrlRequestDetails) *RequestDetails

SetExportAssetToSignedUrl sets the ExportAssetToSignedUrl field's value.

func (*RequestDetails) SetExportAssetsToS3

func (s *RequestDetails) SetExportAssetsToS3(v *ExportAssetsToS3RequestDetails) *RequestDetails

SetExportAssetsToS3 sets the ExportAssetsToS3 field's value.

func (*RequestDetails) SetImportAssetFromSignedUrl

func (s *RequestDetails) SetImportAssetFromSignedUrl(v *ImportAssetFromSignedUrlRequestDetails) *RequestDetails

SetImportAssetFromSignedUrl sets the ImportAssetFromSignedUrl field's value.

func (*RequestDetails) SetImportAssetsFromS3

func (s *RequestDetails) SetImportAssetsFromS3(v *ImportAssetsFromS3RequestDetails) *RequestDetails

SetImportAssetsFromS3 sets the ImportAssetsFromS3 field's value.

func (RequestDetails) String

func (s RequestDetails) String() string

String returns the string representation

func (*RequestDetails) Validate

func (s *RequestDetails) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ResourceNotFoundException added in v1.28.0

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The resource couldn't be found.
	Message_ *string `locationName:"Message" type:"string"`

	// The unique identifier for the resource that couldn't be found.
	ResourceId *string `type:"string"`

	// The type of resource that couldn't be found.
	ResourceType *string `type:"string" enum:"ResourceType"`
	// contains filtered or unexported fields
}

The resource couldn't be found.

func (*ResourceNotFoundException) Code added in v1.28.0

Code returns the exception type name.

func (*ResourceNotFoundException) Error added in v1.28.0

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString added in v1.28.0

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation

func (*ResourceNotFoundException) Message added in v1.28.0

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr added in v1.28.0

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID added in v1.28.0

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode added in v1.28.0

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String added in v1.28.0

func (s ResourceNotFoundException) String() string

String returns the string representation

type ResponseDetails

type ResponseDetails struct {

	// Details for the export to signed URL response.
	ExportAssetToSignedUrl *ExportAssetToSignedUrlResponseDetails `type:"structure"`

	// Details for the export to Amazon S3 response.
	ExportAssetsToS3 *ExportAssetsToS3ResponseDetails `type:"structure"`

	// Details for the import from signed URL response.
	ImportAssetFromSignedUrl *ImportAssetFromSignedUrlResponseDetails `type:"structure"`

	// Details for the import from Amazon S3 response.
	ImportAssetsFromS3 *ImportAssetsFromS3ResponseDetails `type:"structure"`
	// contains filtered or unexported fields
}

Details for the response.

func (ResponseDetails) GoString

func (s ResponseDetails) GoString() string

GoString returns the string representation

func (*ResponseDetails) SetExportAssetToSignedUrl

func (s *ResponseDetails) SetExportAssetToSignedUrl(v *ExportAssetToSignedUrlResponseDetails) *ResponseDetails

SetExportAssetToSignedUrl sets the ExportAssetToSignedUrl field's value.

func (*ResponseDetails) SetExportAssetsToS3

SetExportAssetsToS3 sets the ExportAssetsToS3 field's value.

func (*ResponseDetails) SetImportAssetFromSignedUrl

func (s *ResponseDetails) SetImportAssetFromSignedUrl(v *ImportAssetFromSignedUrlResponseDetails) *ResponseDetails

SetImportAssetFromSignedUrl sets the ImportAssetFromSignedUrl field's value.

func (*ResponseDetails) SetImportAssetsFromS3

SetImportAssetsFromS3 sets the ImportAssetsFromS3 field's value.

func (ResponseDetails) String

func (s ResponseDetails) String() string

String returns the string representation

type RevisionEntry

type RevisionEntry struct {

	// The ARN for the revision.
	//
	// Arn is a required field
	Arn *string `type:"string" required:"true"`

	// An optional comment about the revision.
	Comment *string `type:"string"`

	// The date and time that the revision was created, in ISO 8601 format.
	//
	// CreatedAt is a required field
	CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`

	// The unique identifier for the data set associated with this revision.
	//
	// DataSetId is a required field
	DataSetId *string `type:"string" required:"true"`

	// To publish a revision to a data set in a product, the revision must first
	// be finalized. Finalizing a revision tells AWS Data Exchange that your changes
	// to the assets in the revision are complete. After it's in this read-only
	// state, you can publish the revision to your products.
	//
	// Finalized revisions can be published through the AWS Data Exchange console
	// or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace
	// Catalog API action. When using the API, revisions are uniquely identified
	// by their ARN.
	Finalized *bool `type:"boolean"`

	// The unique identifier for the revision.
	//
	// Id is a required field
	Id *string `type:"string" required:"true"`

	// The revision ID of the owned revision corresponding to the entitled revision
	// being viewed. This parameter is returned when a revision owner is viewing
	// the entitled copy of its owned revision.
	SourceId *string `type:"string"`

	// The date and time that the revision was last updated, in ISO 8601 format.
	//
	// UpdatedAt is a required field
	UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"`
	// contains filtered or unexported fields
}

A revision is a container for one or more assets.

func (RevisionEntry) GoString

func (s RevisionEntry) GoString() string

GoString returns the string representation

func (*RevisionEntry) SetArn

func (s *RevisionEntry) SetArn(v string) *RevisionEntry

SetArn sets the Arn field's value.

func (*RevisionEntry) SetComment

func (s *RevisionEntry) SetComment(v string) *RevisionEntry

SetComment sets the Comment field's value.

func (*RevisionEntry) SetCreatedAt

func (s *RevisionEntry) SetCreatedAt(v time.Time) *RevisionEntry

SetCreatedAt sets the CreatedAt field's value.

func (*RevisionEntry) SetDataSetId

func (s *RevisionEntry) SetDataSetId(v string) *RevisionEntry

SetDataSetId sets the DataSetId field's value.

func (*RevisionEntry) SetFinalized

func (s *RevisionEntry) SetFinalized(v bool) *RevisionEntry

SetFinalized sets the Finalized field's value.

func (*RevisionEntry) SetId

func (s *RevisionEntry) SetId(v string) *RevisionEntry

SetId sets the Id field's value.

func (*RevisionEntry) SetSourceId

func (s *RevisionEntry) SetSourceId(v string) *RevisionEntry

SetSourceId sets the SourceId field's value.

func (*RevisionEntry) SetUpdatedAt

func (s *RevisionEntry) SetUpdatedAt(v time.Time) *RevisionEntry

SetUpdatedAt sets the UpdatedAt field's value.

func (RevisionEntry) String

func (s RevisionEntry) String() string

String returns the string representation

type S3SnapshotAsset

type S3SnapshotAsset struct {

	// The size of the S3 object that is the object.
	//
	// Size is a required field
	Size *float64 `type:"double" required:"true"`
	// contains filtered or unexported fields
}

The S3 object that is the asset.

func (S3SnapshotAsset) GoString

func (s S3SnapshotAsset) GoString() string

GoString returns the string representation

func (*S3SnapshotAsset) SetSize

func (s *S3SnapshotAsset) SetSize(v float64) *S3SnapshotAsset

SetSize sets the Size field's value.

func (S3SnapshotAsset) String

func (s S3SnapshotAsset) String() string

String returns the string representation

type ServiceLimitExceededException added in v1.28.0

type ServiceLimitExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	LimitName *string `type:"string" enum:"LimitName"`

	LimitValue *float64 `type:"double"`

	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The request has exceeded the quotas imposed by the service.

func (*ServiceLimitExceededException) Code added in v1.28.0

Code returns the exception type name.

func (*ServiceLimitExceededException) Error added in v1.28.0

func (ServiceLimitExceededException) GoString added in v1.28.0

GoString returns the string representation

func (*ServiceLimitExceededException) Message added in v1.28.0

Message returns the exception's message.

func (*ServiceLimitExceededException) OrigErr added in v1.28.0

func (s *ServiceLimitExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceLimitExceededException) RequestID added in v1.28.0

func (s *ServiceLimitExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceLimitExceededException) StatusCode added in v1.28.0

func (s *ServiceLimitExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceLimitExceededException) String added in v1.28.0

String returns the string representation

type StartJobInput

type StartJobInput struct {

	// JobId is a required field
	JobId *string `location:"uri" locationName:"JobId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartJobInput) GoString

func (s StartJobInput) GoString() string

GoString returns the string representation

func (*StartJobInput) SetJobId

func (s *StartJobInput) SetJobId(v string) *StartJobInput

SetJobId sets the JobId field's value.

func (StartJobInput) String

func (s StartJobInput) String() string

String returns the string representation

func (*StartJobInput) Validate

func (s *StartJobInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartJobOutput

type StartJobOutput struct {
	// contains filtered or unexported fields
}

func (StartJobOutput) GoString

func (s StartJobOutput) GoString() string

GoString returns the string representation

func (StartJobOutput) String

func (s StartJobOutput) String() string

String returns the string representation

type TagResourceInput

type TagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`

	// Tags is a required field
	Tags map[string]*string `locationName:"tags" type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) GoString

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (*TagResourceInput) SetResourceArn

func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*TagResourceInput) SetTags

func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput

SetTags sets the Tags field's value.

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) GoString

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type ThrottlingException added in v1.28.0

type ThrottlingException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The limit on the number of requests per second was exceeded.
	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The limit on the number of requests per second was exceeded.

func (*ThrottlingException) Code added in v1.28.0

func (s *ThrottlingException) Code() string

Code returns the exception type name.

func (*ThrottlingException) Error added in v1.28.0

func (s *ThrottlingException) Error() string

func (ThrottlingException) GoString added in v1.28.0

func (s ThrottlingException) GoString() string

GoString returns the string representation

func (*ThrottlingException) Message added in v1.28.0

func (s *ThrottlingException) Message() string

Message returns the exception's message.

func (*ThrottlingException) OrigErr added in v1.28.0

func (s *ThrottlingException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ThrottlingException) RequestID added in v1.28.0

func (s *ThrottlingException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ThrottlingException) StatusCode added in v1.28.0

func (s *ThrottlingException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ThrottlingException) String added in v1.28.0

func (s ThrottlingException) String() string

String returns the string representation

type UntagResourceInput

type UntagResourceInput struct {

	// ResourceArn is a required field
	ResourceArn *string `location:"uri" locationName:"resource-arn" type:"string" required:"true"`

	// TagKeys is a required field
	TagKeys []*string `location:"querystring" locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) GoString

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (*UntagResourceInput) SetResourceArn

func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput

SetResourceArn sets the ResourceArn field's value.

func (*UntagResourceInput) SetTagKeys

func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput

SetTagKeys sets the TagKeys field's value.

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) GoString

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UpdateAssetInput

type UpdateAssetInput struct {

	// AssetId is a required field
	AssetId *string `location:"uri" locationName:"AssetId" type:"string" required:"true"`

	// DataSetId is a required field
	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`

	// The name of the asset. When importing from Amazon S3, the S3 object key is
	// used as the asset name. When exporting to Amazon S3, the asset name is used
	// as default target S3 object key.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// RevisionId is a required field
	RevisionId *string `location:"uri" locationName:"RevisionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The request to update an asset.

func (UpdateAssetInput) GoString

func (s UpdateAssetInput) GoString() string

GoString returns the string representation

func (*UpdateAssetInput) SetAssetId

func (s *UpdateAssetInput) SetAssetId(v string) *UpdateAssetInput

SetAssetId sets the AssetId field's value.

func (*UpdateAssetInput) SetDataSetId

func (s *UpdateAssetInput) SetDataSetId(v string) *UpdateAssetInput

SetDataSetId sets the DataSetId field's value.

func (*UpdateAssetInput) SetName

func (s *UpdateAssetInput) SetName(v string) *UpdateAssetInput

SetName sets the Name field's value.

func (*UpdateAssetInput) SetRevisionId

func (s *UpdateAssetInput) SetRevisionId(v string) *UpdateAssetInput

SetRevisionId sets the RevisionId field's value.

func (UpdateAssetInput) String

func (s UpdateAssetInput) String() string

String returns the string representation

func (*UpdateAssetInput) Validate

func (s *UpdateAssetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateAssetOutput

type UpdateAssetOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
	Arn *string `type:"string"`

	AssetDetails *AssetDetails `type:"structure"`

	// The type of file your data is stored in. Currently, the supported asset type
	// is S3_SNAPSHOT.
	AssetType *string `type:"string" enum:"AssetType"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// A unique identifier.
	DataSetId *string `type:"string"`

	// A unique identifier.
	Id *string `type:"string"`

	// The name of the asset. When importing from Amazon S3, the S3 object key is
	// used as the asset name. When exporting to Amazon S3, the asset name is used
	// as default target S3 object key.
	Name *string `type:"string"`

	// A unique identifier.
	RevisionId *string `type:"string"`

	// A unique identifier.
	SourceId *string `type:"string"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

func (UpdateAssetOutput) GoString

func (s UpdateAssetOutput) GoString() string

GoString returns the string representation

func (*UpdateAssetOutput) SetArn

SetArn sets the Arn field's value.

func (*UpdateAssetOutput) SetAssetDetails

func (s *UpdateAssetOutput) SetAssetDetails(v *AssetDetails) *UpdateAssetOutput

SetAssetDetails sets the AssetDetails field's value.

func (*UpdateAssetOutput) SetAssetType

func (s *UpdateAssetOutput) SetAssetType(v string) *UpdateAssetOutput

SetAssetType sets the AssetType field's value.

func (*UpdateAssetOutput) SetCreatedAt

func (s *UpdateAssetOutput) SetCreatedAt(v time.Time) *UpdateAssetOutput

SetCreatedAt sets the CreatedAt field's value.

func (*UpdateAssetOutput) SetDataSetId

func (s *UpdateAssetOutput) SetDataSetId(v string) *UpdateAssetOutput

SetDataSetId sets the DataSetId field's value.

func (*UpdateAssetOutput) SetId

SetId sets the Id field's value.

func (*UpdateAssetOutput) SetName

SetName sets the Name field's value.

func (*UpdateAssetOutput) SetRevisionId

func (s *UpdateAssetOutput) SetRevisionId(v string) *UpdateAssetOutput

SetRevisionId sets the RevisionId field's value.

func (*UpdateAssetOutput) SetSourceId

func (s *UpdateAssetOutput) SetSourceId(v string) *UpdateAssetOutput

SetSourceId sets the SourceId field's value.

func (*UpdateAssetOutput) SetUpdatedAt

func (s *UpdateAssetOutput) SetUpdatedAt(v time.Time) *UpdateAssetOutput

SetUpdatedAt sets the UpdatedAt field's value.

func (UpdateAssetOutput) String

func (s UpdateAssetOutput) String() string

String returns the string representation

type UpdateDataSetInput

type UpdateDataSetInput struct {

	// DataSetId is a required field
	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`

	// The description for the data set.
	Description *string `type:"string"`

	// The name of the data set.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

The request to update a data set.

func (UpdateDataSetInput) GoString

func (s UpdateDataSetInput) GoString() string

GoString returns the string representation

func (*UpdateDataSetInput) SetDataSetId

func (s *UpdateDataSetInput) SetDataSetId(v string) *UpdateDataSetInput

SetDataSetId sets the DataSetId field's value.

func (*UpdateDataSetInput) SetDescription

func (s *UpdateDataSetInput) SetDescription(v string) *UpdateDataSetInput

SetDescription sets the Description field's value.

func (*UpdateDataSetInput) SetName

SetName sets the Name field's value.

func (UpdateDataSetInput) String

func (s UpdateDataSetInput) String() string

String returns the string representation

func (*UpdateDataSetInput) Validate

func (s *UpdateDataSetInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDataSetOutput

type UpdateDataSetOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
	Arn *string `type:"string"`

	// The type of file your data is stored in. Currently, the supported asset type
	// is S3_SNAPSHOT.
	AssetType *string `type:"string" enum:"AssetType"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// A description of a resource.
	Description *string `type:"string"`

	// A unique identifier.
	Id *string `type:"string"`

	// The name of the model.
	Name *string `type:"string"`

	// A property that defines the data set as OWNED by the account (for providers)
	// or ENTITLED to the account (for subscribers). When an owned data set is published
	// in a product, AWS Data Exchange creates a copy of the data set. Subscribers
	// can access that copy of the data set as an entitled data set.
	Origin *string `type:"string" enum:"Origin"`

	OriginDetails *OriginDetails `type:"structure"`

	// A unique identifier.
	SourceId *string `type:"string"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

func (UpdateDataSetOutput) GoString

func (s UpdateDataSetOutput) GoString() string

GoString returns the string representation

func (*UpdateDataSetOutput) SetArn

SetArn sets the Arn field's value.

func (*UpdateDataSetOutput) SetAssetType

func (s *UpdateDataSetOutput) SetAssetType(v string) *UpdateDataSetOutput

SetAssetType sets the AssetType field's value.

func (*UpdateDataSetOutput) SetCreatedAt

func (s *UpdateDataSetOutput) SetCreatedAt(v time.Time) *UpdateDataSetOutput

SetCreatedAt sets the CreatedAt field's value.

func (*UpdateDataSetOutput) SetDescription

func (s *UpdateDataSetOutput) SetDescription(v string) *UpdateDataSetOutput

SetDescription sets the Description field's value.

func (*UpdateDataSetOutput) SetId

SetId sets the Id field's value.

func (*UpdateDataSetOutput) SetName

SetName sets the Name field's value.

func (*UpdateDataSetOutput) SetOrigin

SetOrigin sets the Origin field's value.

func (*UpdateDataSetOutput) SetOriginDetails

func (s *UpdateDataSetOutput) SetOriginDetails(v *OriginDetails) *UpdateDataSetOutput

SetOriginDetails sets the OriginDetails field's value.

func (*UpdateDataSetOutput) SetSourceId

func (s *UpdateDataSetOutput) SetSourceId(v string) *UpdateDataSetOutput

SetSourceId sets the SourceId field's value.

func (*UpdateDataSetOutput) SetUpdatedAt

func (s *UpdateDataSetOutput) SetUpdatedAt(v time.Time) *UpdateDataSetOutput

SetUpdatedAt sets the UpdatedAt field's value.

func (UpdateDataSetOutput) String

func (s UpdateDataSetOutput) String() string

String returns the string representation

type UpdateRevisionInput

type UpdateRevisionInput struct {

	// An optional comment about the revision.
	Comment *string `type:"string"`

	// DataSetId is a required field
	DataSetId *string `location:"uri" locationName:"DataSetId" type:"string" required:"true"`

	// Finalizing a revision tells AWS Data Exchange that your changes to the assets
	// in the revision are complete. After it's in this read-only state, you can
	// publish the revision to your products.
	Finalized *bool `type:"boolean"`

	// RevisionId is a required field
	RevisionId *string `location:"uri" locationName:"RevisionId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

The request to update a revision.

func (UpdateRevisionInput) GoString

func (s UpdateRevisionInput) GoString() string

GoString returns the string representation

func (*UpdateRevisionInput) SetComment

SetComment sets the Comment field's value.

func (*UpdateRevisionInput) SetDataSetId

func (s *UpdateRevisionInput) SetDataSetId(v string) *UpdateRevisionInput

SetDataSetId sets the DataSetId field's value.

func (*UpdateRevisionInput) SetFinalized

func (s *UpdateRevisionInput) SetFinalized(v bool) *UpdateRevisionInput

SetFinalized sets the Finalized field's value.

func (*UpdateRevisionInput) SetRevisionId

func (s *UpdateRevisionInput) SetRevisionId(v string) *UpdateRevisionInput

SetRevisionId sets the RevisionId field's value.

func (UpdateRevisionInput) String

func (s UpdateRevisionInput) String() string

String returns the string representation

func (*UpdateRevisionInput) Validate

func (s *UpdateRevisionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateRevisionOutput

type UpdateRevisionOutput struct {

	// An Amazon Resource Name (ARN) that uniquely identifies an AWS resource.
	Arn *string `type:"string"`

	Comment *string `type:"string"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	CreatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`

	// A unique identifier.
	DataSetId *string `type:"string"`

	Finalized *bool `type:"boolean"`

	// A unique identifier.
	Id *string `type:"string"`

	// A unique identifier.
	SourceId *string `type:"string"`

	// Dates and times in AWS Data Exchange are recorded in ISO 8601 format.
	UpdatedAt *time.Time `type:"timestamp" timestampFormat:"iso8601"`
	// contains filtered or unexported fields
}

func (UpdateRevisionOutput) GoString

func (s UpdateRevisionOutput) GoString() string

GoString returns the string representation

func (*UpdateRevisionOutput) SetArn

SetArn sets the Arn field's value.

func (*UpdateRevisionOutput) SetComment

SetComment sets the Comment field's value.

func (*UpdateRevisionOutput) SetCreatedAt

func (s *UpdateRevisionOutput) SetCreatedAt(v time.Time) *UpdateRevisionOutput

SetCreatedAt sets the CreatedAt field's value.

func (*UpdateRevisionOutput) SetDataSetId

func (s *UpdateRevisionOutput) SetDataSetId(v string) *UpdateRevisionOutput

SetDataSetId sets the DataSetId field's value.

func (*UpdateRevisionOutput) SetFinalized

func (s *UpdateRevisionOutput) SetFinalized(v bool) *UpdateRevisionOutput

SetFinalized sets the Finalized field's value.

func (*UpdateRevisionOutput) SetId

SetId sets the Id field's value.

func (*UpdateRevisionOutput) SetSourceId

SetSourceId sets the SourceId field's value.

func (*UpdateRevisionOutput) SetUpdatedAt

func (s *UpdateRevisionOutput) SetUpdatedAt(v time.Time) *UpdateRevisionOutput

SetUpdatedAt sets the UpdatedAt field's value.

func (UpdateRevisionOutput) String

func (s UpdateRevisionOutput) String() string

String returns the string representation

type ValidationException added in v1.28.0

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	// The message that informs you about what was invalid about the request.
	Message_ *string `locationName:"Message" type:"string"`
	// contains filtered or unexported fields
}

The request was invalid.

func (*ValidationException) Code added in v1.28.0

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error added in v1.28.0

func (s *ValidationException) Error() string

func (ValidationException) GoString added in v1.28.0

func (s ValidationException) GoString() string

GoString returns the string representation

func (*ValidationException) Message added in v1.28.0

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr added in v1.28.0

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID added in v1.28.0

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode added in v1.28.0

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String added in v1.28.0

func (s ValidationException) String() string

String returns the string representation

Directories

Path Synopsis
Package dataexchangeiface provides an interface to enable mocking the AWS Data Exchange service client for testing your code.
Package dataexchangeiface provides an interface to enable mocking the AWS Data Exchange service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL